2004-07-18 Bud Davis <bdavis9659@comcast.net>
[official-gcc.git] / libstdc++-v3 / configure
blobfe0bb85e9f38ba8ff5629036e4605037ad71d1be
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-symvers=STYLE enables symbol versioning of the shared library
888 [default=yes]
889 --enable-version-specific-runtime-libs
890 Specify that runtime libraries should be installed
891 in a compiler-specific directory
893 Optional Packages:
894 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
895 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
896 --with-target-subdir=SUBDIR
897 configuring in a subdirectory
898 --with-cross-host=HOST configuring with a cross compiler
899 --with-newlib assume newlib as a system C library
900 --with-gnu-ld assume the C compiler uses GNU ld default=no
901 --with-pic try to use only PIC/non-PIC objects default=use both
902 --with-gxx-include-dir=DIR
903 installation directory for include files
905 Some influential environment variables:
906 CC C compiler command
907 CFLAGS C compiler flags
908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
909 nonstandard directory <lib dir>
910 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
911 headers in a nonstandard directory <include dir>
912 CXX C++ compiler command
913 CXXFLAGS C++ compiler flags
914 CXXCPP C++ preprocessor
915 CPP C preprocessor
917 Use these variables to override the choices made by `configure' or to help
918 it to find libraries and programs with nonstandard names/locations.
920 _ACEOF
923 if test "$ac_init_help" = "recursive"; then
924 # If there are subdirs, report their specific --help.
925 ac_popdir=`pwd`
926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927 test -d $ac_dir || continue
928 ac_builddir=.
930 if test "$ac_dir" != .; then
931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932 # A "../" for each directory in $ac_dir_suffix.
933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 else
935 ac_dir_suffix= ac_top_builddir=
938 case $srcdir in
939 .) # No --srcdir option. We are building in place.
940 ac_srcdir=.
941 if test -z "$ac_top_builddir"; then
942 ac_top_srcdir=.
943 else
944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945 fi ;;
946 [\\/]* | ?:[\\/]* ) # Absolute path.
947 ac_srcdir=$srcdir$ac_dir_suffix;
948 ac_top_srcdir=$srcdir ;;
949 *) # Relative path.
950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
952 esac
954 # Do not use `cd foo && pwd` to compute absolute paths, because
955 # the directories may not exist.
956 case `pwd` in
957 .) ac_abs_builddir="$ac_dir";;
959 case "$ac_dir" in
960 .) ac_abs_builddir=`pwd`;;
961 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962 *) ac_abs_builddir=`pwd`/"$ac_dir";;
963 esac;;
964 esac
965 case $ac_abs_builddir in
966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
968 case ${ac_top_builddir}. in
969 .) ac_abs_top_builddir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
972 esac;;
973 esac
974 case $ac_abs_builddir in
975 .) ac_abs_srcdir=$ac_srcdir;;
977 case $ac_srcdir in
978 .) ac_abs_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
981 esac;;
982 esac
983 case $ac_abs_builddir in
984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
986 case $ac_top_srcdir in
987 .) ac_abs_top_srcdir=$ac_abs_builddir;;
988 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
990 esac;;
991 esac
993 cd $ac_dir
994 # Check for guested configure; otherwise get Cygnus style configure.
995 if test -f $ac_srcdir/configure.gnu; then
996 echo
997 $SHELL $ac_srcdir/configure.gnu --help=recursive
998 elif test -f $ac_srcdir/configure; then
999 echo
1000 $SHELL $ac_srcdir/configure --help=recursive
1001 elif test -f $ac_srcdir/configure.ac ||
1002 test -f $ac_srcdir/configure.in; then
1003 echo
1004 $ac_configure --help
1005 else
1006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1008 cd $ac_popdir
1009 done
1012 test -n "$ac_init_help" && exit 0
1013 if $ac_init_version; then
1014 cat <<\_ACEOF
1015 package-unused configure version-unused
1016 generated by GNU Autoconf 2.59
1018 Copyright (C) 2003 Free Software Foundation, Inc.
1019 This configure script is free software; the Free Software Foundation
1020 gives unlimited permission to copy, distribute and modify it.
1021 _ACEOF
1022 exit 0
1024 exec 5>config.log
1025 cat >&5 <<_ACEOF
1026 This file contains any messages produced by compilers while
1027 running configure, to aid debugging if configure makes a mistake.
1029 It was created by package-unused $as_me version-unused, which was
1030 generated by GNU Autoconf 2.59. Invocation command line was
1032 $ $0 $@
1034 _ACEOF
1036 cat <<_ASUNAME
1037 ## --------- ##
1038 ## Platform. ##
1039 ## --------- ##
1041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1053 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 _ASUNAME
1060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1061 for as_dir in $PATH
1063 IFS=$as_save_IFS
1064 test -z "$as_dir" && as_dir=.
1065 echo "PATH: $as_dir"
1066 done
1068 } >&5
1070 cat >&5 <<_ACEOF
1073 ## ----------- ##
1074 ## Core tests. ##
1075 ## ----------- ##
1077 _ACEOF
1080 # Keep a trace of the command line.
1081 # Strip out --no-create and --no-recursion so they do not pile up.
1082 # Strip out --silent because we don't want to record it for future runs.
1083 # Also quote any args containing shell meta-characters.
1084 # Make two passes to allow for proper duplicate-argument suppression.
1085 ac_configure_args=
1086 ac_configure_args0=
1087 ac_configure_args1=
1088 ac_sep=
1089 ac_must_keep_next=false
1090 for ac_pass in 1 2
1092 for ac_arg
1094 case $ac_arg in
1095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097 | -silent | --silent | --silen | --sile | --sil)
1098 continue ;;
1099 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1100 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 esac
1102 case $ac_pass in
1103 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1105 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106 if test $ac_must_keep_next = true; then
1107 ac_must_keep_next=false # Got value, back to normal.
1108 else
1109 case $ac_arg in
1110 *=* | --config-cache | -C | -disable-* | --disable-* \
1111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1113 | -with-* | --with-* | -without-* | --without-* | --x)
1114 case "$ac_configure_args0 " in
1115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 esac
1118 -* ) ac_must_keep_next=true ;;
1119 esac
1121 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1122 # Get rid of the leading space.
1123 ac_sep=" "
1125 esac
1126 done
1127 done
1128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1131 # When interrupted or exit'd, cleanup temporary files, and complete
1132 # config.log. We remove comments because anyway the quotes in there
1133 # would cause problems or look ugly.
1134 # WARNING: Be sure not to use single quotes in there, as some shells,
1135 # such as our DU 5.0 friend, will then `close' the trap.
1136 trap 'exit_status=$?
1137 # Save into config.log some information that might help in debugging.
1139 echo
1141 cat <<\_ASBOX
1142 ## ---------------- ##
1143 ## Cache variables. ##
1144 ## ---------------- ##
1145 _ASBOX
1146 echo
1147 # The following way of writing the cache mishandles newlines in values,
1149 (set) 2>&1 |
1150 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 *ac_space=\ *)
1152 sed -n \
1153 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1157 sed -n \
1158 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1160 esac;
1162 echo
1164 cat <<\_ASBOX
1165 ## ----------------- ##
1166 ## Output variables. ##
1167 ## ----------------- ##
1168 _ASBOX
1169 echo
1170 for ac_var in $ac_subst_vars
1172 eval ac_val=$`echo $ac_var`
1173 echo "$ac_var='"'"'$ac_val'"'"'"
1174 done | sort
1175 echo
1177 if test -n "$ac_subst_files"; then
1178 cat <<\_ASBOX
1179 ## ------------- ##
1180 ## Output files. ##
1181 ## ------------- ##
1182 _ASBOX
1183 echo
1184 for ac_var in $ac_subst_files
1186 eval ac_val=$`echo $ac_var`
1187 echo "$ac_var='"'"'$ac_val'"'"'"
1188 done | sort
1189 echo
1192 if test -s confdefs.h; then
1193 cat <<\_ASBOX
1194 ## ----------- ##
1195 ## confdefs.h. ##
1196 ## ----------- ##
1197 _ASBOX
1198 echo
1199 sed "/^$/d" confdefs.h | sort
1200 echo
1202 test "$ac_signal" != 0 &&
1203 echo "$as_me: caught signal $ac_signal"
1204 echo "$as_me: exit $exit_status"
1205 } >&5
1206 rm -f core *.core &&
1207 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 exit $exit_status
1210 for ac_signal in 1 2 13 15; do
1211 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212 done
1213 ac_signal=0
1215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1216 rm -rf conftest* confdefs.h
1217 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 echo >confdefs.h
1220 # Predefined preprocessor variables.
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_NAME "$PACKAGE_NAME"
1224 _ACEOF
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_STRING "$PACKAGE_STRING"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244 _ACEOF
1247 # Let the site file select an alternate cache file if it wants to.
1248 # Prefer explicitly selected file to automatically selected ones.
1249 if test -z "$CONFIG_SITE"; then
1250 if test "x$prefix" != xNONE; then
1251 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252 else
1253 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1256 for ac_site_file in $CONFIG_SITE; do
1257 if test -r "$ac_site_file"; then
1258 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1259 echo "$as_me: loading site script $ac_site_file" >&6;}
1260 sed 's/^/| /' "$ac_site_file" >&5
1261 . "$ac_site_file"
1263 done
1265 if test -r "$cache_file"; then
1266 # Some versions of bash will fail to source /dev/null (special
1267 # files actually), so we avoid doing that.
1268 if test -f "$cache_file"; then
1269 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1270 echo "$as_me: loading cache $cache_file" >&6;}
1271 case $cache_file in
1272 [\\/]* | ?:[\\/]* ) . $cache_file;;
1273 *) . ./$cache_file;;
1274 esac
1276 else
1277 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1278 echo "$as_me: creating cache $cache_file" >&6;}
1279 >$cache_file
1282 # Check that the precious variables saved in the cache have kept the same
1283 # value.
1284 ac_cache_corrupted=false
1285 for ac_var in `(set) 2>&1 |
1286 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1287 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1288 eval ac_new_set=\$ac_env_${ac_var}_set
1289 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1290 eval ac_new_val="\$ac_env_${ac_var}_value"
1291 case $ac_old_set,$ac_new_set in
1292 set,)
1293 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1294 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1295 ac_cache_corrupted=: ;;
1296 ,set)
1297 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1298 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1299 ac_cache_corrupted=: ;;
1300 ,);;
1302 if test "x$ac_old_val" != "x$ac_new_val"; then
1303 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1304 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1305 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1306 echo "$as_me: former value: $ac_old_val" >&2;}
1307 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1308 echo "$as_me: current value: $ac_new_val" >&2;}
1309 ac_cache_corrupted=:
1310 fi;;
1311 esac
1312 # Pass precious variables to config.status.
1313 if test "$ac_new_set" = set; then
1314 case $ac_new_val in
1315 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1316 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1317 *) ac_arg=$ac_var=$ac_new_val ;;
1318 esac
1319 case " $ac_configure_args " in
1320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1322 esac
1324 done
1325 if $ac_cache_corrupted; then
1326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1330 { (exit 1); exit 1; }; }
1333 ac_ext=c
1334 ac_cpp='$CPP $CPPFLAGS'
1335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1366 ac_config_headers="$ac_config_headers config.h"
1369 # This works around the fact that libtool configuration may change LD
1370 # for this particular configuration, but some shells, instead of
1371 # keeping the changes in LD private, export them just because LD is
1372 # exported. Only used at the end of this file.
1373 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1375 # For libtool versioning info, format is CURRENT:REVISION:AGE
1376 libtool_VERSION=6:2:0
1379 # Find the rest of the source tree framework.
1380 # Default to --enable-multilib
1381 # Check whether --enable-multilib or --disable-multilib was given.
1382 if test "${enable_multilib+set}" = set; then
1383 enableval="$enable_multilib"
1384 case "$enableval" in
1385 yes) multilib=yes ;;
1386 no) multilib=no ;;
1387 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1388 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1389 { (exit 1); exit 1; }; } ;;
1390 esac
1391 else
1392 multilib=yes
1395 # We may get other options which we leave undocumented:
1396 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1397 # See config-ml.in if you want the gory details.
1399 if test "$srcdir" = "."; then
1400 if test "$with_target_subdir" != "."; then
1401 multi_basedir="$srcdir/$with_multisrctop../.."
1402 else
1403 multi_basedir="$srcdir/$with_multisrctop.."
1405 else
1406 multi_basedir="$srcdir/.."
1410 ac_config_commands="$ac_config_commands default-1"
1413 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1415 # You will slowly go insane if you do not grok the following fact: when
1416 # building v3 as part of the compiler, the top-level /target/ becomes the
1417 # library's /host/. configure then causes --target to default to --host,
1418 # exactly like any other package using autoconf. Therefore, 'target' and
1419 # 'host' will always be the same. This makes sense both for native and
1420 # cross compilers, just think about it for a little while. :-)
1422 # Also, if v3 is being configured as part of a cross compiler, the top-level
1423 # configure script will pass the "real" host as $with_cross_host.
1425 # Do not delete or change the following two lines. For why, see
1426 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1427 ac_aux_dir=
1428 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1429 if test -f $ac_dir/install-sh; then
1430 ac_aux_dir=$ac_dir
1431 ac_install_sh="$ac_aux_dir/install-sh -c"
1432 break
1433 elif test -f $ac_dir/install.sh; then
1434 ac_aux_dir=$ac_dir
1435 ac_install_sh="$ac_aux_dir/install.sh -c"
1436 break
1437 elif test -f $ac_dir/shtool; then
1438 ac_aux_dir=$ac_dir
1439 ac_install_sh="$ac_aux_dir/shtool install -c"
1440 break
1442 done
1443 if test -z "$ac_aux_dir"; then
1444 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1445 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1446 { (exit 1); exit 1; }; }
1448 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1449 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1450 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1452 # Make sure we can run config.sub.
1453 $ac_config_sub sun4 >/dev/null 2>&1 ||
1454 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1455 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1456 { (exit 1); exit 1; }; }
1458 echo "$as_me:$LINENO: checking build system type" >&5
1459 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1460 if test "${ac_cv_build+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 else
1463 ac_cv_build_alias=$build_alias
1464 test -z "$ac_cv_build_alias" &&
1465 ac_cv_build_alias=`$ac_config_guess`
1466 test -z "$ac_cv_build_alias" &&
1467 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1468 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1469 { (exit 1); exit 1; }; }
1470 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1471 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1472 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1473 { (exit 1); exit 1; }; }
1476 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1477 echo "${ECHO_T}$ac_cv_build" >&6
1478 build=$ac_cv_build
1479 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1480 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1481 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1484 echo "$as_me:$LINENO: checking host system type" >&5
1485 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1486 if test "${ac_cv_host+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 else
1489 ac_cv_host_alias=$host_alias
1490 test -z "$ac_cv_host_alias" &&
1491 ac_cv_host_alias=$ac_cv_build_alias
1492 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1493 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1495 { (exit 1); exit 1; }; }
1498 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1499 echo "${ECHO_T}$ac_cv_host" >&6
1500 host=$ac_cv_host
1501 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1502 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1503 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1506 echo "$as_me:$LINENO: checking target system type" >&5
1507 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1508 if test "${ac_cv_target+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511 ac_cv_target_alias=$target_alias
1512 test "x$ac_cv_target_alias" = "x" &&
1513 ac_cv_target_alias=$ac_cv_host_alias
1514 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1521 echo "${ECHO_T}$ac_cv_target" >&6
1522 target=$ac_cv_target
1523 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 # The aliases save the names the user supplied, while $host etc.
1529 # will get canonicalized.
1530 test -n "$target_alias" &&
1531 test "$program_prefix$program_suffix$program_transform_name" = \
1532 NONENONEs,x,x, &&
1533 program_prefix=${target_alias}-
1534 target_alias=${target_alias-$host_alias}
1536 # Handy for debugging:
1537 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1539 if test "$build" != "$host"; then
1540 # We are being configured with some form of cross compiler.
1541 GLIBCXX_IS_NATIVE=false
1543 else
1544 GLIBCXX_IS_NATIVE=true
1547 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1548 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1549 # 1.x: minimum required version
1550 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1551 # of other PACKAGE_* variables will, however, and there's nothing
1552 # we can do about that; they come from AC_INIT).
1553 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1554 # file in the top srcdir, etc, etc), so stop complaining.
1555 # no-dependencies: turns off auto dependency generation (just for now)
1556 # -Wall: turns on all automake warnings...
1557 # -Wno-portability: ...except this one, since GNU make is now required.
1558 am__api_version="1.8"
1559 # Find a good install program. We prefer a C program (faster),
1560 # so one script is as good as another. But avoid the broken or
1561 # incompatible versions:
1562 # SysV /etc/install, /usr/sbin/install
1563 # SunOS /usr/etc/install
1564 # IRIX /sbin/install
1565 # AIX /bin/install
1566 # AmigaOS /C/install, which installs bootblocks on floppy discs
1567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1570 # OS/2's system install, which has a completely different semantic
1571 # ./install, which can be erroneously created by make from ./install.sh.
1572 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1573 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1574 if test -z "$INSTALL"; then
1575 if test "${ac_cv_path_install+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 else
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 for as_dir in $PATH
1581 IFS=$as_save_IFS
1582 test -z "$as_dir" && as_dir=.
1583 # Account for people who put trailing slashes in PATH elements.
1584 case $as_dir/ in
1585 ./ | .// | /cC/* | \
1586 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1587 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1588 /usr/ucb/* ) ;;
1590 # OSF1 and SCO ODT 3.0 have their own names for install.
1591 # Don't use installbsd from OSF since it installs stuff as root
1592 # by default.
1593 for ac_prog in ginstall scoinst install; do
1594 for ac_exec_ext in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1596 if test $ac_prog = install &&
1597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1598 # AIX install. It has an incompatible calling convention.
1600 elif test $ac_prog = install &&
1601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1602 # program-specific install script used by HP pwplus--don't use.
1604 else
1605 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1606 break 3
1609 done
1610 done
1612 esac
1613 done
1617 if test "${ac_cv_path_install+set}" = set; then
1618 INSTALL=$ac_cv_path_install
1619 else
1620 # As a last resort, use the slow shell script. We don't cache a
1621 # path for INSTALL within a source directory, because that will
1622 # break other packages using the cache if that directory is
1623 # removed, or if the path is relative.
1624 INSTALL=$ac_install_sh
1627 echo "$as_me:$LINENO: result: $INSTALL" >&5
1628 echo "${ECHO_T}$INSTALL" >&6
1630 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1631 # It thinks the first close brace ends the variable substitution.
1632 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1634 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1636 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1638 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1639 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1640 # Just in case
1641 sleep 1
1642 echo timestamp > conftest.file
1643 # Do `set' in a subshell so we don't clobber the current shell's
1644 # arguments. Must try -L first in case configure is actually a
1645 # symlink; some systems play weird games with the mod time of symlinks
1646 # (eg FreeBSD returns the mod time of the symlink's containing
1647 # directory).
1648 if (
1649 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1650 if test "$*" = "X"; then
1651 # -L didn't work.
1652 set X `ls -t $srcdir/configure conftest.file`
1654 rm -f conftest.file
1655 if test "$*" != "X $srcdir/configure conftest.file" \
1656 && test "$*" != "X conftest.file $srcdir/configure"; then
1658 # If neither matched, then we have a broken ls. This can happen
1659 # if, for instance, CONFIG_SHELL is bash and it inherits a
1660 # broken ls alias from the environment. This has actually
1661 # happened. Such a system could not be considered "sane".
1662 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1663 alias in your environment" >&5
1664 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1665 alias in your environment" >&2;}
1666 { (exit 1); exit 1; }; }
1669 test "$2" = conftest.file
1671 then
1672 # Ok.
1674 else
1675 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1676 Check your system clock" >&5
1677 echo "$as_me: error: newly created file is older than distributed files!
1678 Check your system clock" >&2;}
1679 { (exit 1); exit 1; }; }
1681 echo "$as_me:$LINENO: result: yes" >&5
1682 echo "${ECHO_T}yes" >&6
1683 test "$program_prefix" != NONE &&
1684 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1685 # Use a double $ so make ignores it.
1686 test "$program_suffix" != NONE &&
1687 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1688 # Double any \ or $. echo might interpret backslashes.
1689 # By default was `s,x,x', remove it if useless.
1690 cat <<\_ACEOF >conftest.sed
1691 s/[\\$]/&&/g;s/;s,x,x,$//
1692 _ACEOF
1693 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694 rm conftest.sed
1696 # expand $ac_aux_dir to an absolute path
1697 am_aux_dir=`cd $ac_aux_dir && pwd`
1699 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1700 # Use eval to expand $SHELL
1701 if eval "$MISSING --run true"; then
1702 am_missing_run="$MISSING --run "
1703 else
1704 am_missing_run=
1705 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1706 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1709 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1710 # Keeping the `.' argument allows $(mkdir_p) to be used without
1711 # argument. Indeed, we sometimes output rules like
1712 # $(mkdir_p) $(somedir)
1713 # where $(somedir) is conditionally defined.
1714 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1715 # expensive solution, as it forces Make to start a sub-shell.)
1716 mkdir_p='mkdir -p -- .'
1717 else
1718 # On NextStep and OpenStep, the `mkdir' command does not
1719 # recognize any option. It will interpret all options as
1720 # directories to create, and then abort because `.' already
1721 # exists.
1722 for d in ./-p ./--version;
1724 test -d $d && rmdir $d
1725 done
1726 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1727 if test -f "$ac_aux_dir/mkinstalldirs"; then
1728 mkdir_p='$(mkinstalldirs)'
1729 else
1730 mkdir_p='$(install_sh) -d'
1734 for ac_prog in gawk mawk nawk awk
1736 # Extract the first word of "$ac_prog", so it can be a program name with args.
1737 set dummy $ac_prog; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_AWK+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743 if test -n "$AWK"; then
1744 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1745 else
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 for as_dir in $PATH
1749 IFS=$as_save_IFS
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753 ac_cv_prog_AWK="$ac_prog"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 break 2
1757 done
1758 done
1762 AWK=$ac_cv_prog_AWK
1763 if test -n "$AWK"; then
1764 echo "$as_me:$LINENO: result: $AWK" >&5
1765 echo "${ECHO_T}$AWK" >&6
1766 else
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1771 test -n "$AWK" && break
1772 done
1774 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1775 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1776 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1777 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 else
1780 cat >conftest.make <<\_ACEOF
1781 all:
1782 @echo 'ac_maketemp="$(MAKE)"'
1783 _ACEOF
1784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1785 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1786 if test -n "$ac_maketemp"; then
1787 eval ac_cv_prog_make_${ac_make}_set=yes
1788 else
1789 eval ac_cv_prog_make_${ac_make}_set=no
1791 rm -f conftest.make
1793 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1794 echo "$as_me:$LINENO: result: yes" >&5
1795 echo "${ECHO_T}yes" >&6
1796 SET_MAKE=
1797 else
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1800 SET_MAKE="MAKE=${MAKE-make}"
1803 rm -rf .tst 2>/dev/null
1804 mkdir .tst 2>/dev/null
1805 if test -d .tst; then
1806 am__leading_dot=.
1807 else
1808 am__leading_dot=_
1810 rmdir .tst 2>/dev/null
1812 # test to see if srcdir already configured
1813 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1814 test -f $srcdir/config.status; then
1815 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1816 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1817 { (exit 1); exit 1; }; }
1820 # test whether we have cygpath
1821 if test -z "$CYGPATH_W"; then
1822 if (cygpath --version) >/dev/null 2>/dev/null; then
1823 CYGPATH_W='cygpath -w'
1824 else
1825 CYGPATH_W=echo
1830 # Define the identity of the package.
1831 PACKAGE='libstdc++'
1832 VERSION='version-unused'
1835 # Some tools Automake needs.
1837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1852 AMTAR=${AMTAR-"${am_missing_run}tar"}
1854 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1856 # Installed binaries are usually stripped using `strip' when the user
1857 # run `make install-strip'. However `strip' might not be the right
1858 # tool to use in cross-compilation environments, therefore Automake
1859 # will honor the `STRIP' environment variable to overrule this program.
1860 if test "$cross_compiling" != no; then
1861 if test -n "$ac_tool_prefix"; then
1862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1863 set dummy ${ac_tool_prefix}strip; ac_word=$2
1864 echo "$as_me:$LINENO: checking for $ac_word" >&5
1865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866 if test "${ac_cv_prog_STRIP+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 else
1869 if test -n "$STRIP"; then
1870 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1871 else
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 for as_dir in $PATH
1875 IFS=$as_save_IFS
1876 test -z "$as_dir" && as_dir=.
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881 break 2
1883 done
1884 done
1888 STRIP=$ac_cv_prog_STRIP
1889 if test -n "$STRIP"; then
1890 echo "$as_me:$LINENO: result: $STRIP" >&5
1891 echo "${ECHO_T}$STRIP" >&6
1892 else
1893 echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6
1898 if test -z "$ac_cv_prog_STRIP"; then
1899 ac_ct_STRIP=$STRIP
1900 # Extract the first word of "strip", so it can be a program name with args.
1901 set dummy strip; ac_word=$2
1902 echo "$as_me:$LINENO: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1904 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 else
1907 if test -n "$ac_ct_STRIP"; then
1908 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1917 ac_cv_prog_ac_ct_STRIP="strip"
1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 break 2
1921 done
1922 done
1924 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1928 if test -n "$ac_ct_STRIP"; then
1929 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1930 echo "${ECHO_T}$ac_ct_STRIP" >&6
1931 else
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 STRIP=$ac_ct_STRIP
1937 else
1938 STRIP="$ac_cv_prog_STRIP"
1942 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1944 # We need awk for the "check" target. The system "awk" is bad on
1945 # some platforms.
1950 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1951 # up critical shell variables.
1953 # Keep these sync'd with the list in Makefile.am. The first provides an
1954 # expandable list at autoconf time; the second provides an expandable list
1955 # (i.e., shell variable) at configure time.
1957 SUBDIRS='include libmath libsupc++ src po testsuite'
1959 # These need to be absolute paths, yet at the same time need to
1960 # canonicalize only relative paths, because then amd will not unmount
1961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1962 glibcxx_builddir=`${PWDCMD-pwd}`
1963 case $srcdir in
1964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1966 esac
1967 toplevel_srcdir=${glibcxx_srcdir}/..
1972 # We use these options to decide which functions to include. They are
1973 # set from the top level.
1975 # Check whether --with-target-subdir or --without-target-subdir was given.
1976 if test "${with_target_subdir+set}" = set; then
1977 withval="$with_target_subdir"
1982 # Check whether --with-cross-host or --without-cross-host was given.
1983 if test "${with_cross_host+set}" = set; then
1984 withval="$with_cross_host"
1989 # Check whether --with-newlib or --without-newlib was given.
1990 if test "${with_newlib+set}" = set; then
1991 withval="$with_newlib"
1995 # We're almost certainly being configured before anything else which uses
1996 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1997 # we not cache the value of CXX that we "discover" here, because it's set
1998 # to something unique for us and libjava. Other target libraries need to
1999 # find CXX for themselves. We yank the rug out from under the normal AC_*
2000 # process by sneakily renaming the cache variable. This also lets us debug
2001 # the value of "our" CXX in postmortems.
2003 # We must also force CXX to /not/ be a precious variable, otherwise the
2004 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2005 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2006 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2007 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2009 # -fno-builtin must be present here so that a non-conflicting form of
2010 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2015 save_CXXFLAGS="$CXXFLAGS"
2016 CXXFLAGS="$CXXFLAGS -fno-builtin"
2017 ac_ext=c
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2022 if test -n "$ac_tool_prefix"; then
2023 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2024 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2025 echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2027 if test "${ac_cv_prog_CC+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 else
2030 if test -n "$CC"; then
2031 ac_cv_prog_CC="$CC" # Let the user override the test.
2032 else
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2036 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2
2044 done
2045 done
2049 CC=$ac_cv_prog_CC
2050 if test -n "$CC"; then
2051 echo "$as_me:$LINENO: result: $CC" >&5
2052 echo "${ECHO_T}$CC" >&6
2053 else
2054 echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6
2059 if test -z "$ac_cv_prog_CC"; then
2060 ac_ct_CC=$CC
2061 # Extract the first word of "gcc", so it can be a program name with args.
2062 set dummy gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_ac_ct_CC="gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2088 if test -n "$ac_ct_CC"; then
2089 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2090 echo "${ECHO_T}$ac_ct_CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2096 CC=$ac_ct_CC
2097 else
2098 CC="$ac_cv_prog_CC"
2101 if test -z "$CC"; then
2102 if test -n "$ac_tool_prefix"; then
2103 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2104 set dummy ${ac_tool_prefix}cc; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_CC+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC="$CC" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_CC="${ac_tool_prefix}cc"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2124 done
2125 done
2129 CC=$ac_cv_prog_CC
2130 if test -n "$CC"; then
2131 echo "$as_me:$LINENO: result: $CC" >&5
2132 echo "${ECHO_T}$CC" >&6
2133 else
2134 echo "$as_me:$LINENO: result: no" >&5
2135 echo "${ECHO_T}no" >&6
2139 if test -z "$ac_cv_prog_CC"; then
2140 ac_ct_CC=$CC
2141 # Extract the first word of "cc", so it can be a program name with args.
2142 set dummy cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$ac_ct_CC"; then
2149 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_ac_ct_CC="cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2168 if test -n "$ac_ct_CC"; then
2169 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2170 echo "${ECHO_T}$ac_ct_CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2176 CC=$ac_ct_CC
2177 else
2178 CC="$ac_cv_prog_CC"
2182 if test -z "$CC"; then
2183 # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc; ac_word=$2
2185 echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC="$CC" # Let the user override the test.
2192 else
2193 ac_prog_rejected=no
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202 ac_prog_rejected=yes
2203 continue
2205 ac_cv_prog_CC="cc"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2209 done
2210 done
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6
2230 else
2231 echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2266 CC=$ac_cv_prog_CC
2267 if test -n "$CC"; then
2268 echo "$as_me:$LINENO: result: $CC" >&5
2269 echo "${ECHO_T}$CC" >&6
2270 else
2271 echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6
2275 test -n "$CC" && break
2276 done
2278 if test -z "$CC"; then
2279 ac_ct_CC=$CC
2280 for ac_prog in cl
2282 # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 set dummy $ac_prog; ac_word=$2
2284 echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289 if test -n "$ac_ct_CC"; then
2290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2291 else
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 for as_dir in $PATH
2295 IFS=$as_save_IFS
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2299 ac_cv_prog_ac_ct_CC="$ac_prog"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 break 2
2303 done
2304 done
2308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2309 if test -n "$ac_ct_CC"; then
2310 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2311 echo "${ECHO_T}$ac_ct_CC" >&6
2312 else
2313 echo "$as_me:$LINENO: result: no" >&5
2314 echo "${ECHO_T}no" >&6
2317 test -n "$ac_ct_CC" && break
2318 done
2320 CC=$ac_ct_CC
2326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2332 # Provide some information about the compiler.
2333 echo "$as_me:$LINENO:" \
2334 "checking for C compiler version" >&5
2335 ac_compiler=`set X $ac_compile; echo $2`
2336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2337 (eval $ac_compiler --version </dev/null >&5) 2>&5
2338 ac_status=$?
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }
2341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2342 (eval $ac_compiler -v </dev/null >&5) 2>&5
2343 ac_status=$?
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2347 (eval $ac_compiler -V </dev/null >&5) 2>&5
2348 ac_status=$?
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2352 cat >conftest.$ac_ext <<_ACEOF
2353 /* confdefs.h. */
2354 _ACEOF
2355 cat confdefs.h >>conftest.$ac_ext
2356 cat >>conftest.$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2360 main ()
2364 return 0;
2366 _ACEOF
2367 # FIXME: Cleanup?
2368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2369 (eval $ac_link) 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; then
2373 gcc_no_link=no
2374 else
2375 gcc_no_link=yes
2378 if test x$gcc_no_link = xyes; then
2379 # Setting cross_compile will disable run tests; it will
2380 # also disable AC_CHECK_FILE but that's generally
2381 # correct if we can't link.
2382 cross_compiling=yes
2383 EXEEXT=
2384 else
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2409 (eval $ac_link_default) 2>&5
2410 ac_status=$?
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; then
2413 # Find the output, starting from the most likely. This scheme is
2414 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2415 # resort.
2417 # Be careful to initialize this variable, since it used to be cached.
2418 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2419 ac_cv_exeext=
2420 # b.out is created by i960 compilers.
2421 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2423 test -f "$ac_file" || continue
2424 case $ac_file in
2425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2427 conftest.$ac_ext )
2428 # This is the source file.
2430 [ab].out )
2431 # We found the default executable, but exeext='' is most
2432 # certainly right.
2433 break;;
2434 *.* )
2435 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2436 # FIXME: I believe we export ac_cv_exeext for Libtool,
2437 # but it would be cool to find out if it's true. Does anybody
2438 # maintain Libtool? --akim.
2439 export ac_cv_exeext
2440 break;;
2442 break;;
2443 esac
2444 done
2445 else
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: C compiler cannot create executables
2452 See \`config.log' for more details." >&2;}
2453 { (exit 77); exit 77; }; }
2456 ac_exeext=$ac_cv_exeext
2457 echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6
2460 # Check the compiler produces executables we can run. If not, either
2461 # the compiler is broken, or we cross compile.
2462 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2463 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2464 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2465 # If not cross compiling, check that we can run a simple program.
2466 if test "$cross_compiling" != yes; then
2467 if { ac_try='./$ac_file'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 (eval $ac_try) 2>&5
2470 ac_status=$?
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then
2473 cross_compiling=no
2474 else
2475 if test "$cross_compiling" = maybe; then
2476 cross_compiling=yes
2477 else
2478 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2479 If you meant to cross compile, use \`--host'.
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: cannot run C compiled programs.
2482 If you meant to cross compile, use \`--host'.
2483 See \`config.log' for more details." >&2;}
2484 { (exit 1); exit 1; }; }
2488 echo "$as_me:$LINENO: result: yes" >&5
2489 echo "${ECHO_T}yes" >&6
2491 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2492 ac_clean_files=$ac_clean_files_save
2493 # Check the compiler produces executables we can run. If not, either
2494 # the compiler is broken, or we cross compile.
2495 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2496 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2497 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2498 echo "${ECHO_T}$cross_compiling" >&6
2500 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2501 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2503 (eval $ac_link) 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; then
2507 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2508 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2509 # work properly (i.e., refer to `conftest.exe'), while it won't with
2510 # `rm'.
2511 for ac_file in conftest.exe conftest conftest.*; do
2512 test -f "$ac_file" || continue
2513 case $ac_file in
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2515 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2516 export ac_cv_exeext
2517 break;;
2518 * ) break;;
2519 esac
2520 done
2521 else
2522 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2525 See \`config.log' for more details." >&2;}
2526 { (exit 1); exit 1; }; }
2529 rm -f conftest$ac_cv_exeext
2530 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2531 echo "${ECHO_T}$ac_cv_exeext" >&6
2533 rm -f conftest.$ac_ext
2534 EXEEXT=$ac_cv_exeext
2535 ac_exeext=$EXEEXT
2537 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2538 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2539 if test "${ac_cv_objext+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 else
2542 cat >conftest.$ac_ext <<_ACEOF
2543 /* confdefs.h. */
2544 _ACEOF
2545 cat confdefs.h >>conftest.$ac_ext
2546 cat >>conftest.$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2550 main ()
2554 return 0;
2556 _ACEOF
2557 rm -f conftest.o conftest.obj
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559 (eval $ac_compile) 2>&5
2560 ac_status=$?
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; then
2563 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2564 case $ac_file in
2565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2566 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2567 break;;
2568 esac
2569 done
2570 else
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2574 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2577 See \`config.log' for more details." >&2;}
2578 { (exit 1); exit 1; }; }
2581 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2583 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2584 echo "${ECHO_T}$ac_cv_objext" >&6
2585 OBJEXT=$ac_cv_objext
2586 ac_objext=$OBJEXT
2587 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2588 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2589 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 else
2592 cat >conftest.$ac_ext <<_ACEOF
2593 /* confdefs.h. */
2594 _ACEOF
2595 cat confdefs.h >>conftest.$ac_ext
2596 cat >>conftest.$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2600 main ()
2602 #ifndef __GNUC__
2603 choke me
2604 #endif
2607 return 0;
2609 _ACEOF
2610 rm -f conftest.$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2613 ac_status=$?
2614 grep -v '^ *+' conftest.er1 >conftest.err
2615 rm -f conftest.er1
2616 cat conftest.err >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -z "$ac_c_werror_flag"
2620 || test ! -s conftest.err'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 (eval $ac_try) 2>&5
2623 ac_status=$?
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 (eval $ac_try) 2>&5
2629 ac_status=$?
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2632 ac_compiler_gnu=yes
2633 else
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2637 ac_compiler_gnu=no
2639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2643 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2644 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2645 GCC=`test $ac_compiler_gnu = yes && echo yes`
2646 ac_test_CFLAGS=${CFLAGS+set}
2647 ac_save_CFLAGS=$CFLAGS
2648 CFLAGS="-g"
2649 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2650 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2651 if test "${ac_cv_prog_cc_g+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 else
2654 cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h. */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2662 main ()
2666 return 0;
2668 _ACEOF
2669 rm -f conftest.$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>conftest.er1
2672 ac_status=$?
2673 grep -v '^ *+' conftest.er1 >conftest.err
2674 rm -f conftest.er1
2675 cat conftest.err >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try='test -z "$ac_c_werror_flag"
2679 || test ! -s conftest.err'
2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 (eval $ac_try) 2>&5
2682 ac_status=$?
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; } &&
2685 { ac_try='test -s conftest.$ac_objext'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 (eval $ac_try) 2>&5
2688 ac_status=$?
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; }; then
2691 ac_cv_prog_cc_g=yes
2692 else
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.$ac_ext >&5
2696 ac_cv_prog_cc_g=no
2698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2700 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2701 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2702 if test "$ac_test_CFLAGS" = set; then
2703 CFLAGS=$ac_save_CFLAGS
2704 elif test $ac_cv_prog_cc_g = yes; then
2705 if test "$GCC" = yes; then
2706 CFLAGS="-g -O2"
2707 else
2708 CFLAGS="-g"
2710 else
2711 if test "$GCC" = yes; then
2712 CFLAGS="-O2"
2713 else
2714 CFLAGS=
2717 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2718 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2719 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 else
2722 ac_cv_prog_cc_stdc=no
2723 ac_save_CC=$CC
2724 cat >conftest.$ac_ext <<_ACEOF
2725 /* confdefs.h. */
2726 _ACEOF
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2730 #include <stdarg.h>
2731 #include <stdio.h>
2732 #include <sys/types.h>
2733 #include <sys/stat.h>
2734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2735 struct buf { int x; };
2736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2737 static char *e (p, i)
2738 char **p;
2739 int i;
2741 return p[i];
2743 static char *f (char * (*g) (char **, int), char **p, ...)
2745 char *s;
2746 va_list v;
2747 va_start (v,p);
2748 s = g (p, va_arg (v,int));
2749 va_end (v);
2750 return s;
2753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2754 function prototypes and stuff, but not '\xHH' hex character constants.
2755 These don't provoke an error unfortunately, instead are silently treated
2756 as 'x'. The following induces an error, until -std1 is added to get
2757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2758 array size at least. It's necessary to write '\x00'==0 to get something
2759 that's true only with -std1. */
2760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2762 int test (int i, double x);
2763 struct s1 {int (*f) (int a);};
2764 struct s2 {int (*f) (double a);};
2765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2766 int argc;
2767 char **argv;
2769 main ()
2771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2773 return 0;
2775 _ACEOF
2776 # Don't try gcc -ansi; that turns off useful extensions and
2777 # breaks some systems' header files.
2778 # AIX -qlanglvl=ansi
2779 # Ultrix and OSF/1 -std1
2780 # HP-UX 10.20 and later -Ae
2781 # HP-UX older versions -Aa -D_HPUX_SOURCE
2782 # SVR4 -Xc -D__EXTENSIONS__
2783 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2785 CC="$ac_save_CC $ac_arg"
2786 rm -f conftest.$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 (eval $ac_compile) 2>conftest.er1
2789 ac_status=$?
2790 grep -v '^ *+' conftest.er1 >conftest.err
2791 rm -f conftest.er1
2792 cat conftest.err >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } &&
2795 { ac_try='test -z "$ac_c_werror_flag"
2796 || test ! -s conftest.err'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 (eval $ac_try) 2>&5
2799 ac_status=$?
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; } &&
2802 { ac_try='test -s conftest.$ac_objext'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 (eval $ac_try) 2>&5
2805 ac_status=$?
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; }; then
2808 ac_cv_prog_cc_stdc=$ac_arg
2809 break
2810 else
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2815 rm -f conftest.err conftest.$ac_objext
2816 done
2817 rm -f conftest.$ac_ext conftest.$ac_objext
2818 CC=$ac_save_CC
2822 case "x$ac_cv_prog_cc_stdc" in
2823 x|xno)
2824 echo "$as_me:$LINENO: result: none needed" >&5
2825 echo "${ECHO_T}none needed" >&6 ;;
2827 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2828 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2829 CC="$CC $ac_cv_prog_cc_stdc" ;;
2830 esac
2832 # Some people use a C++ compiler to compile C. Since we use `exit',
2833 # in C++ we need to declare it. In case someone uses the same compiler
2834 # for both compiling C and C++ we need to have the C++ compiler decide
2835 # the declaration of exit, since it's the most demanding environment.
2836 cat >conftest.$ac_ext <<_ACEOF
2837 #ifndef __cplusplus
2838 choke me
2839 #endif
2840 _ACEOF
2841 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2844 ac_status=$?
2845 grep -v '^ *+' conftest.er1 >conftest.err
2846 rm -f conftest.er1
2847 cat conftest.err >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 (eval $ac_try) 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859 (eval $ac_try) 2>&5
2860 ac_status=$?
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2863 for ac_declaration in \
2864 '' \
2865 'extern "C" void std::exit (int) throw (); using std::exit;' \
2866 'extern "C" void std::exit (int); using std::exit;' \
2867 'extern "C" void exit (int) throw ();' \
2868 'extern "C" void exit (int);' \
2869 'void exit (int);'
2871 cat >conftest.$ac_ext <<_ACEOF
2872 /* confdefs.h. */
2873 _ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2877 $ac_declaration
2878 #include <stdlib.h>
2880 main ()
2882 exit (42);
2884 return 0;
2886 _ACEOF
2887 rm -f conftest.$ac_objext
2888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2889 (eval $ac_compile) 2>conftest.er1
2890 ac_status=$?
2891 grep -v '^ *+' conftest.er1 >conftest.err
2892 rm -f conftest.er1
2893 cat conftest.err >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } &&
2896 { ac_try='test -z "$ac_c_werror_flag"
2897 || test ! -s conftest.err'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 (eval $ac_try) 2>&5
2900 ac_status=$?
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; } &&
2903 { ac_try='test -s conftest.$ac_objext'
2904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 (eval $ac_try) 2>&5
2906 ac_status=$?
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 continue
2916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2917 cat >conftest.$ac_ext <<_ACEOF
2918 /* confdefs.h. */
2919 _ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2923 $ac_declaration
2925 main ()
2927 exit (42);
2929 return 0;
2931 _ACEOF
2932 rm -f conftest.$ac_objext
2933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2934 (eval $ac_compile) 2>conftest.er1
2935 ac_status=$?
2936 grep -v '^ *+' conftest.er1 >conftest.err
2937 rm -f conftest.er1
2938 cat conftest.err >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } &&
2941 { ac_try='test -z "$ac_c_werror_flag"
2942 || test ! -s conftest.err'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 (eval $ac_try) 2>&5
2945 ac_status=$?
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; } &&
2948 { ac_try='test -s conftest.$ac_objext'
2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 (eval $ac_try) 2>&5
2951 ac_status=$?
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; }; then
2954 break
2955 else
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2961 done
2962 rm -f conftest*
2963 if test -n "$ac_declaration"; then
2964 echo '#ifdef __cplusplus' >>confdefs.h
2965 echo $ac_declaration >>confdefs.h
2966 echo '#endif' >>confdefs.h
2969 else
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975 ac_ext=c
2976 ac_cpp='$CPP $CPPFLAGS'
2977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981 ac_ext=cc
2982 ac_cpp='$CXXCPP $CPPFLAGS'
2983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2986 if test -n "$ac_tool_prefix"; then
2987 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2991 echo "$as_me:$LINENO: checking for $ac_word" >&5
2992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2993 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 else
2996 if test -n "$CXX"; then
2997 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2998 else
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH
3002 IFS=$as_save_IFS
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 break 2
3010 done
3011 done
3015 CXX=$glibcxx_cv_prog_CXX
3016 if test -n "$CXX"; then
3017 echo "$as_me:$LINENO: result: $CXX" >&5
3018 echo "${ECHO_T}$CXX" >&6
3019 else
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3024 test -n "$CXX" && break
3025 done
3027 if test -z "$CXX"; then
3028 ac_ct_CXX=$CXX
3029 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3031 # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 echo "$as_me:$LINENO: checking for $ac_word" >&5
3034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3035 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 else
3038 if test -n "$ac_ct_CXX"; then
3039 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3044 IFS=$as_save_IFS
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CXX="$ac_prog"
3049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 break 2
3052 done
3053 done
3057 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3058 if test -n "$ac_ct_CXX"; then
3059 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3060 echo "${ECHO_T}$ac_ct_CXX" >&6
3061 else
3062 echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3066 test -n "$ac_ct_CXX" && break
3067 done
3068 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3070 CXX=$ac_ct_CXX
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO:" \
3076 "checking for C++ compiler version" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3079 (eval $ac_compiler --version </dev/null >&5) 2>&5
3080 ac_status=$?
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }
3083 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3084 (eval $ac_compiler -v </dev/null >&5) 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3089 (eval $ac_compiler -V </dev/null >&5) 2>&5
3090 ac_status=$?
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }
3094 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3095 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3096 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3098 else
3099 cat >conftest.$ac_ext <<_ACEOF
3100 /* confdefs.h. */
3101 _ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3107 main ()
3109 #ifndef __GNUC__
3110 choke me
3111 #endif
3114 return 0;
3116 _ACEOF
3117 rm -f conftest.$ac_objext
3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3119 (eval $ac_compile) 2>conftest.er1
3120 ac_status=$?
3121 grep -v '^ *+' conftest.er1 >conftest.err
3122 rm -f conftest.er1
3123 cat conftest.err >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } &&
3126 { ac_try='test -z "$ac_cxx_werror_flag"
3127 || test ! -s conftest.err'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 (eval $ac_try) 2>&5
3130 ac_status=$?
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; } &&
3133 { ac_try='test -s conftest.$ac_objext'
3134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135 (eval $ac_try) 2>&5
3136 ac_status=$?
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); }; }; then
3139 ac_compiler_gnu=yes
3140 else
3141 echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3144 ac_compiler_gnu=no
3146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3147 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3150 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3151 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3152 GXX=`test $ac_compiler_gnu = yes && echo yes`
3153 ac_test_CXXFLAGS=${CXXFLAGS+set}
3154 ac_save_CXXFLAGS=$CXXFLAGS
3155 CXXFLAGS="-g"
3156 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3158 if test "${ac_cv_prog_cxx_g+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 else
3161 cat >conftest.$ac_ext <<_ACEOF
3162 /* confdefs.h. */
3163 _ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3169 main ()
3173 return 0;
3175 _ACEOF
3176 rm -f conftest.$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>conftest.er1
3179 ac_status=$?
3180 grep -v '^ *+' conftest.er1 >conftest.err
3181 rm -f conftest.er1
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -z "$ac_cxx_werror_flag"
3186 || test ! -s conftest.err'
3187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 (eval $ac_try) 2>&5
3189 ac_status=$?
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194 (eval $ac_try) 2>&5
3195 ac_status=$?
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3198 ac_cv_prog_cxx_g=yes
3199 else
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 ac_cv_prog_cxx_g=no
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3207 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3208 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3209 if test "$ac_test_CXXFLAGS" = set; then
3210 CXXFLAGS=$ac_save_CXXFLAGS
3211 elif test $ac_cv_prog_cxx_g = yes; then
3212 if test "$GXX" = yes; then
3213 CXXFLAGS="-g -O2"
3214 else
3215 CXXFLAGS="-g"
3217 else
3218 if test "$GXX" = yes; then
3219 CXXFLAGS="-O2"
3220 else
3221 CXXFLAGS=
3224 for ac_declaration in \
3225 '' \
3226 'extern "C" void std::exit (int) throw (); using std::exit;' \
3227 'extern "C" void std::exit (int); using std::exit;' \
3228 'extern "C" void exit (int) throw ();' \
3229 'extern "C" void exit (int);' \
3230 'void exit (int);'
3232 cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h. */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3238 $ac_declaration
3239 #include <stdlib.h>
3241 main ()
3243 exit (42);
3245 return 0;
3247 _ACEOF
3248 rm -f conftest.$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3251 ac_status=$?
3252 grep -v '^ *+' conftest.er1 >conftest.err
3253 rm -f conftest.er1
3254 cat conftest.err >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try='test -z "$ac_cxx_werror_flag"
3258 || test ! -s conftest.err'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 (eval $ac_try) 2>&5
3261 ac_status=$?
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; } &&
3264 { ac_try='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 (eval $ac_try) 2>&5
3267 ac_status=$?
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3271 else
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 continue
3277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3278 cat >conftest.$ac_ext <<_ACEOF
3279 /* confdefs.h. */
3280 _ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3284 $ac_declaration
3286 main ()
3288 exit (42);
3290 return 0;
3292 _ACEOF
3293 rm -f conftest.$ac_objext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3295 (eval $ac_compile) 2>conftest.er1
3296 ac_status=$?
3297 grep -v '^ *+' conftest.er1 >conftest.err
3298 rm -f conftest.er1
3299 cat conftest.err >&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); } &&
3302 { ac_try='test -z "$ac_cxx_werror_flag"
3303 || test ! -s conftest.err'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 (eval $ac_try) 2>&5
3306 ac_status=$?
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; } &&
3309 { ac_try='test -s conftest.$ac_objext'
3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3311 (eval $ac_try) 2>&5
3312 ac_status=$?
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3315 break
3316 else
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3322 done
3323 rm -f conftest*
3324 if test -n "$ac_declaration"; then
3325 echo '#ifdef __cplusplus' >>confdefs.h
3326 echo $ac_declaration >>confdefs.h
3327 echo '#endif' >>confdefs.h
3330 ac_ext=c
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 CXXFLAGS="$save_CXXFLAGS"
3341 # For directory versioning (e.g., headers) and other variables.
3342 echo "$as_me:$LINENO: checking for GCC version number" >&5
3343 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3344 gcc_version=`$CXX -dumpversion`
3345 echo "$as_me:$LINENO: result: $gcc_version" >&5
3346 echo "${ECHO_T}$gcc_version" >&6
3348 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3349 # available). Uncomment the next line to force a particular method.
3350 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3351 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3352 LN_S=$as_ln_s
3353 if test "$LN_S" = "ln -s"; then
3354 echo "$as_me:$LINENO: result: yes" >&5
3355 echo "${ECHO_T}yes" >&6
3356 else
3357 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3358 echo "${ECHO_T}no, using $LN_S" >&6
3361 #LN_S='cp -p'
3363 if test -n "$ac_tool_prefix"; then
3364 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3365 set dummy ${ac_tool_prefix}as; ac_word=$2
3366 echo "$as_me:$LINENO: checking for $ac_word" >&5
3367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3368 if test "${ac_cv_prog_AS+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 else
3371 if test -n "$AS"; then
3372 ac_cv_prog_AS="$AS" # Let the user override the test.
3373 else
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH
3377 IFS=$as_save_IFS
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381 ac_cv_prog_AS="${ac_tool_prefix}as"
3382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 break 2
3385 done
3386 done
3390 AS=$ac_cv_prog_AS
3391 if test -n "$AS"; then
3392 echo "$as_me:$LINENO: result: $AS" >&5
3393 echo "${ECHO_T}$AS" >&6
3394 else
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3400 if test -z "$ac_cv_prog_AS"; then
3401 ac_ct_AS=$AS
3402 # Extract the first word of "as", so it can be a program name with args.
3403 set dummy as; ac_word=$2
3404 echo "$as_me:$LINENO: checking for $ac_word" >&5
3405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3406 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409 if test -n "$ac_ct_AS"; then
3410 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3411 else
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3415 IFS=$as_save_IFS
3416 test -z "$as_dir" && as_dir=.
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3419 ac_cv_prog_ac_ct_AS="as"
3420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 break 2
3423 done
3424 done
3428 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3429 if test -n "$ac_ct_AS"; then
3430 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3431 echo "${ECHO_T}$ac_ct_AS" >&6
3432 else
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3437 AS=$ac_ct_AS
3438 else
3439 AS="$ac_cv_prog_AS"
3442 if test -n "$ac_tool_prefix"; then
3443 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3444 set dummy ${ac_tool_prefix}ar; ac_word=$2
3445 echo "$as_me:$LINENO: checking for $ac_word" >&5
3446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3447 if test "${ac_cv_prog_AR+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 if test -n "$AR"; then
3451 ac_cv_prog_AR="$AR" # Let the user override the test.
3452 else
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH
3456 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460 ac_cv_prog_AR="${ac_tool_prefix}ar"
3461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 break 2
3464 done
3465 done
3469 AR=$ac_cv_prog_AR
3470 if test -n "$AR"; then
3471 echo "$as_me:$LINENO: result: $AR" >&5
3472 echo "${ECHO_T}$AR" >&6
3473 else
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3479 if test -z "$ac_cv_prog_AR"; then
3480 ac_ct_AR=$AR
3481 # Extract the first word of "ar", so it can be a program name with args.
3482 set dummy ar; ac_word=$2
3483 echo "$as_me:$LINENO: checking for $ac_word" >&5
3484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3485 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3486 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 else
3488 if test -n "$ac_ct_AR"; then
3489 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3490 else
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 for as_dir in $PATH
3494 IFS=$as_save_IFS
3495 test -z "$as_dir" && as_dir=.
3496 for ac_exec_ext in '' $ac_executable_extensions; do
3497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498 ac_cv_prog_ac_ct_AR="ar"
3499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 break 2
3502 done
3503 done
3507 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3508 if test -n "$ac_ct_AR"; then
3509 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3510 echo "${ECHO_T}$ac_ct_AR" >&6
3511 else
3512 echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6
3516 AR=$ac_ct_AR
3517 else
3518 AR="$ac_cv_prog_AR"
3521 if test -n "$ac_tool_prefix"; then
3522 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3524 echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3526 if test "${ac_cv_prog_RANLIB+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 else
3529 if test -n "$RANLIB"; then
3530 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3531 else
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3535 IFS=$as_save_IFS
3536 test -z "$as_dir" && as_dir=.
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 break 2
3543 done
3544 done
3548 RANLIB=$ac_cv_prog_RANLIB
3549 if test -n "$RANLIB"; then
3550 echo "$as_me:$LINENO: result: $RANLIB" >&5
3551 echo "${ECHO_T}$RANLIB" >&6
3552 else
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3558 if test -z "$ac_cv_prog_RANLIB"; then
3559 ac_ct_RANLIB=$RANLIB
3560 # Extract the first word of "ranlib", so it can be a program name with args.
3561 set dummy ranlib; ac_word=$2
3562 echo "$as_me:$LINENO: checking for $ac_word" >&5
3563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 else
3567 if test -n "$ac_ct_RANLIB"; then
3568 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3569 else
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3573 IFS=$as_save_IFS
3574 test -z "$as_dir" && as_dir=.
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3577 ac_cv_prog_ac_ct_RANLIB="ranlib"
3578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 break 2
3581 done
3582 done
3584 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3588 if test -n "$ac_ct_RANLIB"; then
3589 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3590 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3591 else
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3596 RANLIB=$ac_ct_RANLIB
3597 else
3598 RANLIB="$ac_cv_prog_RANLIB"
3602 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3603 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3604 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3605 if test "${enable_maintainer_mode+set}" = set; then
3606 enableval="$enable_maintainer_mode"
3607 USE_MAINTAINER_MODE=$enableval
3608 else
3609 USE_MAINTAINER_MODE=no
3611 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3612 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3615 if test $USE_MAINTAINER_MODE = yes; then
3616 MAINTAINER_MODE_TRUE=
3617 MAINTAINER_MODE_FALSE='#'
3618 else
3619 MAINTAINER_MODE_TRUE='#'
3620 MAINTAINER_MODE_FALSE=
3623 MAINT=$MAINTAINER_MODE_TRUE
3627 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3628 # which are themselves conditionally expanded.
3629 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3630 ## other macros from doing the same. This should be automated.) -pme
3631 need_libmath=no
3632 enable_wchar_t=no
3633 #enable_libstdcxx_debug=no
3634 #enable_libstdcxx_pch=no
3635 #enable_cheaders=c
3636 #c_compatibility=no
3637 #enable_abi_check=no
3638 #enable_symvers=no
3639 #enable_hosted_libstdcxx=yes
3641 # Find platform-specific directories containing configuration info.
3642 # Also possibly modify flags used elsewhere, as needed by the platform.
3644 . $glibcxx_srcdir/configure.host
3645 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3646 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3647 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3648 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3652 #AC_MSG_NOTICE([====== Starting libtool configuration])
3654 # Check whether --enable-shared or --disable-shared was given.
3655 if test "${enable_shared+set}" = set; then
3656 enableval="$enable_shared"
3657 p=${PACKAGE-default}
3658 case $enableval in
3659 yes) enable_shared=yes ;;
3660 no) enable_shared=no ;;
3662 enable_shared=no
3663 # Look at the argument we got. We use all the common list separators.
3664 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3665 for pkg in $enableval; do
3666 if test "X$pkg" = "X$p"; then
3667 enable_shared=yes
3669 done
3670 IFS="$ac_save_ifs"
3672 esac
3673 else
3674 enable_shared=yes
3676 # Check whether --enable-static or --disable-static was given.
3677 if test "${enable_static+set}" = set; then
3678 enableval="$enable_static"
3679 p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_static=yes ;;
3682 no) enable_static=no ;;
3684 enable_static=no
3685 # Look at the argument we got. We use all the common list separators.
3686 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687 for pkg in $enableval; do
3688 if test "X$pkg" = "X$p"; then
3689 enable_static=yes
3691 done
3692 IFS="$ac_save_ifs"
3694 esac
3695 else
3696 enable_static=yes
3698 # Check whether --enable-fast-install or --disable-fast-install was given.
3699 if test "${enable_fast_install+set}" = set; then
3700 enableval="$enable_fast_install"
3701 p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_fast_install=yes ;;
3704 no) enable_fast_install=no ;;
3706 enable_fast_install=no
3707 # Look at the argument we got. We use all the common list separators.
3708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709 for pkg in $enableval; do
3710 if test "X$pkg" = "X$p"; then
3711 enable_fast_install=yes
3713 done
3714 IFS="$ac_save_ifs"
3716 esac
3717 else
3718 enable_fast_install=yes
3721 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3722 if test "${with_gnu_ld+set}" = set; then
3723 withval="$with_gnu_ld"
3724 test "$withval" = no || with_gnu_ld=yes
3725 else
3726 with_gnu_ld=no
3728 ac_prog=ld
3729 if test "$GCC" = yes; then
3730 # Check if gcc -print-prog-name=ld gives a path.
3731 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3732 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3733 case $host in
3734 *-*-mingw*)
3735 # gcc leaves a trailing carriage return which upsets mingw
3736 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3738 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3739 esac
3740 case $ac_prog in
3741 # Accept absolute paths.
3742 [\\/]* | [A-Za-z]:[\\/]*)
3743 re_direlt='/[^/][^/]*/\.\./'
3744 # Canonicalize the path of ld
3745 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3746 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3747 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3748 done
3749 test -z "$LD" && LD="$ac_prog"
3752 # If it fails, then pretend we aren't using GCC.
3753 ac_prog=ld
3756 # If it is relative, then search for the first ld in PATH.
3757 with_gnu_ld=unknown
3759 esac
3760 elif test "$with_gnu_ld" = yes; then
3761 echo "$as_me:$LINENO: checking for GNU ld" >&5
3762 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3763 else
3764 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3765 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3767 if test "${lt_cv_path_LD+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770 if test -z "$LD"; then
3771 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3772 for ac_dir in $PATH; do
3773 test -z "$ac_dir" && ac_dir=.
3774 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3775 lt_cv_path_LD="$ac_dir/$ac_prog"
3776 # Check to see if the program is GNU ld. I'd rather use --version,
3777 # but apparently some GNU ld's only accept -v.
3778 # Break only if it was the GNU/non-GNU ld that we prefer.
3779 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3780 test "$with_gnu_ld" != no && break
3781 else
3782 test "$with_gnu_ld" != yes && break
3785 done
3786 IFS="$ac_save_ifs"
3787 else
3788 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3792 LD="$lt_cv_path_LD"
3793 if test -n "$LD"; then
3794 echo "$as_me:$LINENO: result: $LD" >&5
3795 echo "${ECHO_T}$LD" >&6
3796 else
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3800 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3801 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3802 { (exit 1); exit 1; }; }
3803 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3804 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3805 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 else
3808 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3809 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3810 lt_cv_prog_gnu_ld=yes
3811 else
3812 lt_cv_prog_gnu_ld=no
3815 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3816 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3817 with_gnu_ld=$lt_cv_prog_gnu_ld
3820 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3821 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3822 if test "${lt_cv_ld_reload_flag+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 else
3825 lt_cv_ld_reload_flag='-r'
3827 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3828 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3829 reload_flag=$lt_cv_ld_reload_flag
3830 test -n "$reload_flag" && reload_flag=" $reload_flag"
3832 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3833 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3834 if test "${lt_cv_path_NM+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837 if test -n "$NM"; then
3838 # Let the user override the test.
3839 lt_cv_path_NM="$NM"
3840 else
3841 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3842 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3843 test -z "$ac_dir" && ac_dir=.
3844 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3845 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3846 # Check to see if the nm accepts a BSD-compat flag.
3847 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3848 # nm: unknown option "B" ignored
3849 # Tru64's nm complains that /dev/null is an invalid object file
3850 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3851 lt_cv_path_NM="$tmp_nm -B"
3852 break
3853 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3854 lt_cv_path_NM="$tmp_nm -p"
3855 break
3856 else
3857 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3858 continue # so that we can try to find one that supports BSD flags
3861 done
3862 IFS="$ac_save_ifs"
3863 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3867 NM="$lt_cv_path_NM"
3868 echo "$as_me:$LINENO: result: $NM" >&5
3869 echo "${ECHO_T}$NM" >&6
3871 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3872 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3873 if test "${lt_cv_deplibs_check_method+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 else
3876 lt_cv_file_magic_cmd='$MAGIC_CMD'
3877 lt_cv_file_magic_test_file=
3878 lt_cv_deplibs_check_method='unknown'
3879 # Need to set the preceding variable on all platforms that support
3880 # interlibrary dependencies.
3881 # 'none' -- dependencies not supported.
3882 # `unknown' -- same as none, but documents that we really don't know.
3883 # 'pass_all' -- all dependencies passed with no checks.
3884 # 'test_compile' -- check by making test program.
3885 # 'file_magic [regex]' -- check by looking for files in library path
3886 # which responds to the $file_magic_cmd with a given egrep regex.
3887 # If you have `file' or equivalent on your system and you're not sure
3888 # whether `pass_all' will *always* work, you probably want this one.
3890 case $host_os in
3891 aix*)
3892 lt_cv_deplibs_check_method=pass_all
3895 beos*)
3896 lt_cv_deplibs_check_method=pass_all
3899 bsdi4*)
3900 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3901 lt_cv_file_magic_cmd='/usr/bin/file -L'
3902 lt_cv_file_magic_test_file=/shlib/libc.so
3905 cygwin* | mingw* |pw32*)
3906 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3907 lt_cv_file_magic_cmd='$OBJDUMP -f'
3910 darwin* | rhapsody*)
3911 # this will be overwritten by pass_all, but leave it in just in case
3912 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3913 lt_cv_file_magic_cmd='/usr/bin/file -L'
3914 case "$host_os" in
3915 rhapsody* | darwin1.012)
3916 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3918 *) # Darwin 1.3 on
3919 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3921 esac
3922 lt_cv_deplibs_check_method=pass_all
3925 freebsd* | kfreebsd*-gnu)
3926 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3927 case $host_cpu in
3928 i*86 )
3929 # Not sure whether the presence of OpenBSD here was a mistake.
3930 # Let's accept both of them until this is cleared up.
3931 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3932 lt_cv_file_magic_cmd=/usr/bin/file
3933 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3935 esac
3936 else
3937 lt_cv_deplibs_check_method=pass_all
3941 gnu*)
3942 lt_cv_deplibs_check_method=pass_all
3945 hpux10.20*|hpux11*)
3946 case $host_cpu in
3947 hppa*)
3948 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3949 lt_cv_file_magic_cmd=/usr/bin/file
3950 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3952 ia64*)
3953 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3954 lt_cv_file_magic_cmd=/usr/bin/file
3955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3957 esac
3960 irix5* | irix6*)
3961 case $host_os in
3962 irix5*)
3963 # this will be overridden with pass_all, but let us keep it just in case
3964 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3967 case $LD in
3968 *-32|*"-32 ") libmagic=32-bit;;
3969 *-n32|*"-n32 ") libmagic=N32;;
3970 *-64|*"-64 ") libmagic=64-bit;;
3971 *) libmagic=never-match;;
3972 esac
3973 # this will be overridden with pass_all, but let us keep it just in case
3974 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3976 esac
3977 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3978 lt_cv_deplibs_check_method=pass_all
3981 # This must be Linux ELF.
3982 linux-gnu*)
3983 case $host_cpu in
3984 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3985 lt_cv_deplibs_check_method=pass_all ;;
3987 # glibc up to 2.1.1 does not perform some relocations on ARM
3988 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3989 esac
3990 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3993 netbsd* | knetbsd*-gnu)
3994 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3995 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3996 else
3997 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4001 newsos6)
4002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4003 lt_cv_file_magic_cmd=/usr/bin/file
4004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4007 osf3* | osf4* | osf5*)
4008 # this will be overridden with pass_all, but let us keep it just in case
4009 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4010 lt_cv_file_magic_test_file=/shlib/libc.so
4011 lt_cv_deplibs_check_method=pass_all
4014 sco3.2v5*)
4015 lt_cv_deplibs_check_method=pass_all
4018 solaris*)
4019 lt_cv_deplibs_check_method=pass_all
4020 lt_cv_file_magic_test_file=/lib/libc.so
4023 sysv5uw[78]* | sysv4*uw2*)
4024 lt_cv_deplibs_check_method=pass_all
4027 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4028 case $host_vendor in
4029 ncr)
4030 lt_cv_deplibs_check_method=pass_all
4032 motorola)
4033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4036 esac
4038 esac
4041 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4042 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4043 file_magic_cmd=$lt_cv_file_magic_cmd
4044 deplibs_check_method=$lt_cv_deplibs_check_method
4050 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4052 # Only perform the check for file, if the check method requires it
4053 case $deplibs_check_method in
4054 file_magic*)
4055 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4056 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4057 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4058 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 else
4061 case $MAGIC_CMD in
4063 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4065 ?:/*)
4066 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4069 ac_save_MAGIC_CMD="$MAGIC_CMD"
4070 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4071 ac_dummy="/usr/bin:$PATH"
4072 for ac_dir in $ac_dummy; do
4073 test -z "$ac_dir" && ac_dir=.
4074 if test -f $ac_dir/${ac_tool_prefix}file; then
4075 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4076 if test -n "$file_magic_test_file"; then
4077 case $deplibs_check_method in
4078 "file_magic "*)
4079 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4081 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4082 egrep "$file_magic_regex" > /dev/null; then
4084 else
4085 cat <<EOF 1>&2
4087 *** Warning: the command libtool uses to detect shared libraries,
4088 *** $file_magic_cmd, produces output that libtool cannot recognize.
4089 *** The result is that libtool may fail to recognize shared libraries
4090 *** as such. This will affect the creation of libtool libraries that
4091 *** depend on shared libraries, but programs linked with such libtool
4092 *** libraries will work regardless of this problem. Nevertheless, you
4093 *** may want to report the problem to your system manager and/or to
4094 *** bug-libtool@gnu.org
4097 fi ;;
4098 esac
4100 break
4102 done
4103 IFS="$ac_save_ifs"
4104 MAGIC_CMD="$ac_save_MAGIC_CMD"
4106 esac
4109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4110 if test -n "$MAGIC_CMD"; then
4111 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4112 echo "${ECHO_T}$MAGIC_CMD" >&6
4113 else
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4118 if test -z "$lt_cv_path_MAGIC_CMD"; then
4119 if test -n "$ac_tool_prefix"; then
4120 echo "$as_me:$LINENO: checking for file" >&5
4121 echo $ECHO_N "checking for file... $ECHO_C" >&6
4122 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else
4125 case $MAGIC_CMD in
4127 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4129 ?:/*)
4130 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4133 ac_save_MAGIC_CMD="$MAGIC_CMD"
4134 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4135 ac_dummy="/usr/bin:$PATH"
4136 for ac_dir in $ac_dummy; do
4137 test -z "$ac_dir" && ac_dir=.
4138 if test -f $ac_dir/file; then
4139 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4140 if test -n "$file_magic_test_file"; then
4141 case $deplibs_check_method in
4142 "file_magic "*)
4143 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4144 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4145 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4146 egrep "$file_magic_regex" > /dev/null; then
4148 else
4149 cat <<EOF 1>&2
4151 *** Warning: the command libtool uses to detect shared libraries,
4152 *** $file_magic_cmd, produces output that libtool cannot recognize.
4153 *** The result is that libtool may fail to recognize shared libraries
4154 *** as such. This will affect the creation of libtool libraries that
4155 *** depend on shared libraries, but programs linked with such libtool
4156 *** libraries will work regardless of this problem. Nevertheless, you
4157 *** may want to report the problem to your system manager and/or to
4158 *** bug-libtool@gnu.org
4161 fi ;;
4162 esac
4164 break
4166 done
4167 IFS="$ac_save_ifs"
4168 MAGIC_CMD="$ac_save_MAGIC_CMD"
4170 esac
4173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4174 if test -n "$MAGIC_CMD"; then
4175 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4176 echo "${ECHO_T}$MAGIC_CMD" >&6
4177 else
4178 echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6
4182 else
4183 MAGIC_CMD=:
4189 esac
4191 if test -n "$ac_tool_prefix"; then
4192 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4194 echo "$as_me:$LINENO: checking for $ac_word" >&5
4195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4196 if test "${ac_cv_prog_RANLIB+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 else
4199 if test -n "$RANLIB"; then
4200 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4201 else
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH
4205 IFS=$as_save_IFS
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 break 2
4213 done
4214 done
4218 RANLIB=$ac_cv_prog_RANLIB
4219 if test -n "$RANLIB"; then
4220 echo "$as_me:$LINENO: result: $RANLIB" >&5
4221 echo "${ECHO_T}$RANLIB" >&6
4222 else
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4228 if test -z "$ac_cv_prog_RANLIB"; then
4229 ac_ct_RANLIB=$RANLIB
4230 # Extract the first word of "ranlib", so it can be a program name with args.
4231 set dummy ranlib; ac_word=$2
4232 echo "$as_me:$LINENO: checking for $ac_word" >&5
4233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4234 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 else
4237 if test -n "$ac_ct_RANLIB"; then
4238 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4243 IFS=$as_save_IFS
4244 test -z "$as_dir" && as_dir=.
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4247 ac_cv_prog_ac_ct_RANLIB="ranlib"
4248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 break 2
4251 done
4252 done
4254 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4257 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4258 if test -n "$ac_ct_RANLIB"; then
4259 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4260 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4261 else
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4266 RANLIB=$ac_ct_RANLIB
4267 else
4268 RANLIB="$ac_cv_prog_RANLIB"
4271 if test -n "$ac_tool_prefix"; then
4272 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4273 set dummy ${ac_tool_prefix}strip; ac_word=$2
4274 echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4276 if test "${ac_cv_prog_STRIP+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 else
4279 if test -n "$STRIP"; then
4280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4281 else
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 for as_dir in $PATH
4285 IFS=$as_save_IFS
4286 test -z "$as_dir" && as_dir=.
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 break 2
4293 done
4294 done
4298 STRIP=$ac_cv_prog_STRIP
4299 if test -n "$STRIP"; then
4300 echo "$as_me:$LINENO: result: $STRIP" >&5
4301 echo "${ECHO_T}$STRIP" >&6
4302 else
4303 echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4308 if test -z "$ac_cv_prog_STRIP"; then
4309 ac_ct_STRIP=$STRIP
4310 # Extract the first word of "strip", so it can be a program name with args.
4311 set dummy strip; ac_word=$2
4312 echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4314 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 else
4317 if test -n "$ac_ct_STRIP"; then
4318 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_ac_ct_STRIP="strip"
4328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 break 2
4331 done
4332 done
4334 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4337 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4338 if test -n "$ac_ct_STRIP"; then
4339 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4340 echo "${ECHO_T}$ac_ct_STRIP" >&6
4341 else
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4346 STRIP=$ac_ct_STRIP
4347 else
4348 STRIP="$ac_cv_prog_STRIP"
4352 # Check for any special flags to pass to ltconfig.
4353 libtool_flags="--cache-file=$cache_file"
4354 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4355 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4356 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4357 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4358 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4361 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4362 if test "${enable_libtool_lock+set}" = set; then
4363 enableval="$enable_libtool_lock"
4366 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4367 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4370 # Check whether --with-pic or --without-pic was given.
4371 if test "${with_pic+set}" = set; then
4372 withval="$with_pic"
4373 pic_mode="$withval"
4374 else
4375 pic_mode=default
4377 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4378 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4380 # Some flags need to be propagated to the compiler or linker for good
4381 # libtool support.
4382 case $host in
4383 *-*-irix6*)
4384 # Find out which ABI we are using.
4385 echo '#line 4385 "configure"' > conftest.$ac_ext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387 (eval $ac_compile) 2>&5
4388 ac_status=$?
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; then
4391 if test "$lt_cv_prog_gnu_ld" = yes; then
4392 case `/usr/bin/file conftest.$ac_objext` in
4393 *32-bit*)
4394 LD="${LD-ld} -melf32bsmip"
4396 *N32*)
4397 LD="${LD-ld} -melf32bmipn32"
4399 *64-bit*)
4400 LD="${LD-ld} -melf64bmip"
4402 esac
4403 else
4404 case `/usr/bin/file conftest.$ac_objext` in
4405 *32-bit*)
4406 LD="${LD-ld} -32"
4408 *N32*)
4409 LD="${LD-ld} -n32"
4411 *64-bit*)
4412 LD="${LD-ld} -64"
4414 esac
4417 rm -rf conftest*
4420 ia64-*-hpux*)
4421 # Find out which ABI we are using.
4422 echo 'int i;' > conftest.$ac_ext
4423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4424 (eval $ac_compile) 2>&5
4425 ac_status=$?
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; then
4428 case "`/usr/bin/file conftest.o`" in
4429 *ELF-32*)
4430 HPUX_IA64_MODE="32"
4432 *ELF-64*)
4433 HPUX_IA64_MODE="64"
4435 esac
4437 rm -rf conftest*
4440 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4441 # Find out which ABI we are using.
4442 echo 'int i;' > conftest.$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4445 ac_status=$?
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 case "`/usr/bin/file conftest.o`" in
4449 *32-bit*)
4450 case $host in
4451 x86_64-*linux*)
4452 LD="${LD-ld} -m elf_i386"
4454 ppc64-*linux*|powerpc64-*linux*)
4455 LD="${LD-ld} -m elf32ppclinux"
4457 s390x-*linux*)
4458 LD="${LD-ld} -m elf_s390"
4460 sparc64-*linux*)
4461 LD="${LD-ld} -m elf32_sparc"
4463 esac
4465 *64-bit*)
4466 case $host in
4467 x86_64-*linux*)
4468 LD="${LD-ld} -m elf_x86_64"
4470 ppc*-*linux*|powerpc*-*linux*)
4471 LD="${LD-ld} -m elf64ppc"
4473 s390*-*linux*)
4474 LD="${LD-ld} -m elf64_s390"
4476 sparc*-*linux*)
4477 LD="${LD-ld} -m elf64_sparc"
4479 esac
4481 esac
4483 rm -rf conftest*
4486 *-*-sco3.2v5*)
4487 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4488 SAVE_CFLAGS="$CFLAGS"
4489 CFLAGS="$CFLAGS -belf"
4490 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4491 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4492 if test "${lt_cv_cc_needs_belf+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 else
4497 ac_ext=c
4498 ac_cpp='$CPP $CPPFLAGS'
4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4503 if test x$gcc_no_link = xyes; then
4504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4506 { (exit 1); exit 1; }; }
4508 cat >conftest.$ac_ext <<_ACEOF
4509 /* confdefs.h. */
4510 _ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4516 main ()
4520 return 0;
4522 _ACEOF
4523 rm -f conftest.$ac_objext conftest$ac_exeext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4525 (eval $ac_link) 2>conftest.er1
4526 ac_status=$?
4527 grep -v '^ *+' conftest.er1 >conftest.err
4528 rm -f conftest.er1
4529 cat conftest.err >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); } &&
4532 { ac_try='test -z "$ac_c_werror_flag"
4533 || test ! -s conftest.err'
4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535 (eval $ac_try) 2>&5
4536 ac_status=$?
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; } &&
4539 { ac_try='test -s conftest$ac_exeext'
4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4541 (eval $ac_try) 2>&5
4542 ac_status=$?
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); }; }; then
4545 lt_cv_cc_needs_belf=yes
4546 else
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4550 lt_cv_cc_needs_belf=no
4552 rm -f conftest.err conftest.$ac_objext \
4553 conftest$ac_exeext conftest.$ac_ext
4554 ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4562 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4563 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4564 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4565 CFLAGS="$SAVE_CFLAGS"
4570 esac
4573 # Save cache, so that ltconfig can load it
4574 cat >confcache <<\_ACEOF
4575 # This file is a shell script that caches the results of configure
4576 # tests run on this system so they can be shared between configure
4577 # scripts and configure runs, see configure's option --config-cache.
4578 # It is not useful on other systems. If it contains results you don't
4579 # want to keep, you may remove or edit it.
4581 # config.status only pays attention to the cache file if you give it
4582 # the --recheck option to rerun configure.
4584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4586 # following values.
4588 _ACEOF
4590 # The following way of writing the cache mishandles newlines in values,
4591 # but we know of no workaround that is simple, portable, and efficient.
4592 # So, don't put newlines in cache variables' values.
4593 # Ultrix sh set writes to stderr and can't be redirected directly,
4594 # and sets the high bit in the cache file unless we assign to the vars.
4596 (set) 2>&1 |
4597 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4598 *ac_space=\ *)
4599 # `set' does not quote correctly, so add quotes (double-quote
4600 # substitution turns \\\\ into \\, and sed turns \\ into \).
4601 sed -n \
4602 "s/'/'\\\\''/g;
4603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4606 # `set' quotes correctly as required by POSIX, so do not add quotes.
4607 sed -n \
4608 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4610 esac;
4612 sed '
4613 t clear
4614 : clear
4615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4616 t end
4617 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4618 : end' >>confcache
4619 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4620 if test -w $cache_file; then
4621 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4622 cat confcache >$cache_file
4623 else
4624 echo "not updating unwritable cache $cache_file"
4627 rm -f confcache
4629 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4630 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4631 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4632 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4633 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4634 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4635 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4636 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4637 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4638 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4639 echo "$as_me: error: libtool configure failed" >&2;}
4640 { (exit 1); exit 1; }; }
4642 # Reload cache, that may have been modified by ltconfig
4643 if test -r "$cache_file"; then
4644 # Some versions of bash will fail to source /dev/null (special
4645 # files actually), so we avoid doing that.
4646 if test -f "$cache_file"; then
4647 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4648 echo "$as_me: loading cache $cache_file" >&6;}
4649 case $cache_file in
4650 [\\/]* | ?:[\\/]* ) . $cache_file;;
4651 *) . ./$cache_file;;
4652 esac
4654 else
4655 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4656 echo "$as_me: creating cache $cache_file" >&6;}
4657 >$cache_file
4661 # This can be used to rebuild libtool when needed
4662 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4664 # Always use our own libtool.
4665 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4667 # Redirect the config.log output again, so that the ltconfig log is not
4668 # clobbered by the next message.
4669 exec 5>>./config.log
4671 ac_ext=cc
4672 ac_cpp='$CXXCPP $CPPFLAGS'
4673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4676 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4677 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4678 if test -z "$CXXCPP"; then
4679 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682 # Double quotes because CXXCPP needs to be expanded
4683 for CXXCPP in "$CXX -E" "/lib/cpp"
4685 ac_preproc_ok=false
4686 for ac_cxx_preproc_warn_flag in '' yes
4688 # Use a header file that comes with gcc, so configuring glibc
4689 # with a fresh cross-compiler works.
4690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4691 # <limits.h> exists even on freestanding compilers.
4692 # On the NeXT, cc -E runs the code through the compiler's parser,
4693 # not just through cpp. "Syntax error" is here to catch this case.
4694 cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h. */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 #ifdef __STDC__
4701 # include <limits.h>
4702 #else
4703 # include <assert.h>
4704 #endif
4705 Syntax error
4706 _ACEOF
4707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4709 ac_status=$?
4710 grep -v '^ *+' conftest.er1 >conftest.err
4711 rm -f conftest.er1
4712 cat conftest.err >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } >/dev/null; then
4715 if test -s conftest.err; then
4716 ac_cpp_err=$ac_cxx_preproc_warn_flag
4717 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4718 else
4719 ac_cpp_err=
4721 else
4722 ac_cpp_err=yes
4724 if test -z "$ac_cpp_err"; then
4726 else
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4730 # Broken: fails on valid input.
4731 continue
4733 rm -f conftest.err conftest.$ac_ext
4735 # OK, works on sane cases. Now check whether non-existent headers
4736 # can be detected and how.
4737 cat >conftest.$ac_ext <<_ACEOF
4738 /* confdefs.h. */
4739 _ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4747 ac_status=$?
4748 grep -v '^ *+' conftest.er1 >conftest.err
4749 rm -f conftest.er1
4750 cat conftest.err >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } >/dev/null; then
4753 if test -s conftest.err; then
4754 ac_cpp_err=$ac_cxx_preproc_warn_flag
4755 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4756 else
4757 ac_cpp_err=
4759 else
4760 ac_cpp_err=yes
4762 if test -z "$ac_cpp_err"; then
4763 # Broken: success on invalid input.
4764 continue
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 # Passes both tests.
4770 ac_preproc_ok=:
4771 break
4773 rm -f conftest.err conftest.$ac_ext
4775 done
4776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4777 rm -f conftest.err conftest.$ac_ext
4778 if $ac_preproc_ok; then
4779 break
4782 done
4783 ac_cv_prog_CXXCPP=$CXXCPP
4786 CXXCPP=$ac_cv_prog_CXXCPP
4787 else
4788 ac_cv_prog_CXXCPP=$CXXCPP
4790 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4791 echo "${ECHO_T}$CXXCPP" >&6
4792 ac_preproc_ok=false
4793 for ac_cxx_preproc_warn_flag in '' yes
4795 # Use a header file that comes with gcc, so configuring glibc
4796 # with a fresh cross-compiler works.
4797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 # <limits.h> exists even on freestanding compilers.
4799 # On the NeXT, cc -E runs the code through the compiler's parser,
4800 # not just through cpp. "Syntax error" is here to catch this case.
4801 cat >conftest.$ac_ext <<_ACEOF
4802 /* confdefs.h. */
4803 _ACEOF
4804 cat confdefs.h >>conftest.$ac_ext
4805 cat >>conftest.$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4807 #ifdef __STDC__
4808 # include <limits.h>
4809 #else
4810 # include <assert.h>
4811 #endif
4812 Syntax error
4813 _ACEOF
4814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } >/dev/null; then
4822 if test -s conftest.err; then
4823 ac_cpp_err=$ac_cxx_preproc_warn_flag
4824 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4825 else
4826 ac_cpp_err=
4828 else
4829 ac_cpp_err=yes
4831 if test -z "$ac_cpp_err"; then
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 # Broken: fails on valid input.
4838 continue
4840 rm -f conftest.err conftest.$ac_ext
4842 # OK, works on sane cases. Now check whether non-existent headers
4843 # can be detected and how.
4844 cat >conftest.$ac_ext <<_ACEOF
4845 /* confdefs.h. */
4846 _ACEOF
4847 cat confdefs.h >>conftest.$ac_ext
4848 cat >>conftest.$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4850 #include <ac_nonexistent.h>
4851 _ACEOF
4852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4854 ac_status=$?
4855 grep -v '^ *+' conftest.er1 >conftest.err
4856 rm -f conftest.er1
4857 cat conftest.err >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } >/dev/null; then
4860 if test -s conftest.err; then
4861 ac_cpp_err=$ac_cxx_preproc_warn_flag
4862 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4863 else
4864 ac_cpp_err=
4866 else
4867 ac_cpp_err=yes
4869 if test -z "$ac_cpp_err"; then
4870 # Broken: success on invalid input.
4871 continue
4872 else
4873 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4876 # Passes both tests.
4877 ac_preproc_ok=:
4878 break
4880 rm -f conftest.err conftest.$ac_ext
4882 done
4883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4884 rm -f conftest.err conftest.$ac_ext
4885 if $ac_preproc_ok; then
4887 else
4888 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4889 See \`config.log' for more details." >&5
4890 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4891 See \`config.log' for more details." >&2;}
4892 { (exit 1); exit 1; }; }
4895 ac_ext=c
4896 ac_cpp='$CPP $CPPFLAGS'
4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4903 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4904 lt_save_CC="$CC"
4905 lt_save_CFLAGS="$CFLAGS"
4906 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4907 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4908 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4909 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4910 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4911 deplibs_check_method="$deplibs_check_method" \
4912 file_magic_cmd="$file_magic_cmd" \
4913 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4914 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4915 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4916 echo "$as_me: error: libtool tag configuration failed" >&2;}
4917 { (exit 1); exit 1; }; }
4918 CC="$lt_save_CC"
4919 CFLAGS="$lt_save_CFLAGS"
4921 # Redirect the config.log output again, so that the ltconfig log is not
4922 # clobbered by the next message.
4923 exec 5>>./config.log
4932 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4934 # Possibly disable most of the library.
4935 ## XXX Consider skipping unncessary tests altogether in this case, rather
4936 ## than just ignoring the results. Faster /and/ more correct, win win.
4938 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4939 if test "${enable_hosted_libstdcxx+set}" = set; then
4940 enableval="$enable_hosted_libstdcxx"
4942 else
4943 enable_hosted_libstdcxx=yes
4945 if test "$enable_hosted_libstdcxx" = no; then
4946 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4947 echo "$as_me: Only freestanding libraries will be built" >&6;}
4948 is_hosted=no
4949 hosted_define=0
4950 enable_abi_check=no
4951 enable_libstdcxx_pch=no
4952 else
4953 is_hosted=yes
4954 hosted_define=1
4958 cat >>confdefs.h <<_ACEOF
4959 #define _GLIBCXX_HOSTED $hosted_define
4960 _ACEOF
4964 # Check for support bits and g++ features that don't require linking.
4966 echo "$as_me:$LINENO: checking for exception model to use" >&5
4967 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4970 ac_ext=cc
4971 ac_cpp='$CXXCPP $CPPFLAGS'
4972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4976 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4977 if test "${enable_sjlj_exceptions+set}" = set; then
4978 enableval="$enable_sjlj_exceptions"
4980 case "$enableval" in
4981 yes|no|auto) ;;
4982 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4983 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4984 { (exit 1); exit 1; }; } ;;
4985 esac
4987 else
4988 enable_sjlj_exceptions=auto
4992 if test $enable_sjlj_exceptions = auto; then
4993 # Botheration. Now we've got to detect the exception model. Link tests
4994 # against libgcc.a are problematic since we've not been given proper -L
4995 # bits for single-tree newlib and libgloss.
4997 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4998 cat > conftest.$ac_ext << EOF
4999 #line 4999 "configure"
5000 struct S { ~S(); };
5001 void bar();
5002 void foo()
5004 S s;
5005 bar();
5008 old_CXXFLAGS="$CXXFLAGS"
5009 CXXFLAGS=-S
5010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5011 (eval $ac_compile) 2>&5
5012 ac_status=$?
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; then
5015 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5016 enable_sjlj_exceptions=yes
5017 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5018 enable_sjlj_exceptions=no
5021 CXXFLAGS="$old_CXXFLAGS"
5022 rm -f conftest*
5025 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5026 # to two different models.
5027 case $enable_sjlj_exceptions in
5028 yes)
5030 cat >>confdefs.h <<\_ACEOF
5031 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5032 _ACEOF
5034 ac_exception_model_name=sjlj
5037 ac_exception_model_name="call frame"
5040 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5041 echo "$as_me: error: unable to detect exception model" >&2;}
5042 { (exit 1); exit 1; }; }
5044 esac
5045 ac_ext=c
5046 ac_cpp='$CPP $CPPFLAGS'
5047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5051 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5052 echo "${ECHO_T}$ac_exception_model_name" >&6
5055 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5056 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5057 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5058 if test "${enable_libstdcxx_pch+set}" = set; then
5059 enableval="$enable_libstdcxx_pch"
5061 case "$enableval" in
5062 yes|no) ;;
5063 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5064 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5065 { (exit 1); exit 1; }; } ;;
5066 esac
5068 else
5069 enable_libstdcxx_pch=$is_hosted
5072 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5073 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5075 if test $enable_libstdcxx_pch = yes; then
5076 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5077 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5078 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 else
5081 ac_save_CXXFLAGS="$CXXFLAGS"
5082 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5085 ac_ext=cc
5086 ac_cpp='$CXXCPP $CPPFLAGS'
5087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5091 echo '#include <math.h>' > conftest.h
5092 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5093 -o conftest.h.gch 1>&5 2>&1 &&
5094 echo '#error "pch failed"' > conftest.h &&
5095 echo '#include "conftest.h"' > conftest.cc &&
5096 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5097 then
5098 glibcxx_cv_prog_CXX_pch=yes
5099 else
5100 glibcxx_cv_prog_CXX_pch=no
5102 rm -f conftest*
5103 CXXFLAGS=$ac_save_CXXFLAGS
5104 ac_ext=c
5105 ac_cpp='$CPP $CPPFLAGS'
5106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5112 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5113 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5114 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5118 if test $enable_libstdcxx_pch = yes; then
5119 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5120 else
5121 glibcxx_PCHFLAGS=""
5126 # Enable all the variable C++ runtime options.
5127 # NB: C_MBCHAR must come early.
5129 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5130 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5131 # Check whether --enable-cstdio or --disable-cstdio was given.
5132 if test "${enable_cstdio+set}" = set; then
5133 enableval="$enable_cstdio"
5135 case "$enableval" in
5136 stdio) ;;
5137 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5138 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5139 { (exit 1); exit 1; }; } ;;
5140 esac
5142 else
5143 enable_cstdio=stdio
5147 # Now that libio has been removed, you can have any color you want as long
5148 # as it's black. This is one big no-op until other packages are added, but
5149 # showing the framework never hurts.
5150 case ${enable_cstdio} in
5151 stdio)
5152 CSTDIO_H=config/io/c_io_stdio.h
5153 BASIC_FILE_H=config/io/basic_file_stdio.h
5154 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5155 echo "$as_me:$LINENO: result: stdio" >&5
5156 echo "${ECHO_T}stdio" >&6
5158 esac
5164 ac_ext=c
5165 ac_cpp='$CPP $CPPFLAGS'
5166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5169 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5170 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5171 # On Suns, sometimes $CPP names a directory.
5172 if test -n "$CPP" && test -d "$CPP"; then
5173 CPP=
5175 if test -z "$CPP"; then
5176 if test "${ac_cv_prog_CPP+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 else
5179 # Double quotes because CPP needs to be expanded
5180 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5182 ac_preproc_ok=false
5183 for ac_c_preproc_warn_flag in '' yes
5185 # Use a header file that comes with gcc, so configuring glibc
5186 # with a fresh cross-compiler works.
5187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5188 # <limits.h> exists even on freestanding compilers.
5189 # On the NeXT, cc -E runs the code through the compiler's parser,
5190 # not just through cpp. "Syntax error" is here to catch this case.
5191 cat >conftest.$ac_ext <<_ACEOF
5192 /* confdefs.h. */
5193 _ACEOF
5194 cat confdefs.h >>conftest.$ac_ext
5195 cat >>conftest.$ac_ext <<_ACEOF
5196 /* end confdefs.h. */
5197 #ifdef __STDC__
5198 # include <limits.h>
5199 #else
5200 # include <assert.h>
5201 #endif
5202 Syntax error
5203 _ACEOF
5204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5206 ac_status=$?
5207 grep -v '^ *+' conftest.er1 >conftest.err
5208 rm -f conftest.er1
5209 cat conftest.err >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } >/dev/null; then
5212 if test -s conftest.err; then
5213 ac_cpp_err=$ac_c_preproc_warn_flag
5214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5215 else
5216 ac_cpp_err=
5218 else
5219 ac_cpp_err=yes
5221 if test -z "$ac_cpp_err"; then
5223 else
5224 echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.$ac_ext >&5
5227 # Broken: fails on valid input.
5228 continue
5230 rm -f conftest.err conftest.$ac_ext
5232 # OK, works on sane cases. Now check whether non-existent headers
5233 # can be detected and how.
5234 cat >conftest.$ac_ext <<_ACEOF
5235 /* confdefs.h. */
5236 _ACEOF
5237 cat confdefs.h >>conftest.$ac_ext
5238 cat >>conftest.$ac_ext <<_ACEOF
5239 /* end confdefs.h. */
5240 #include <ac_nonexistent.h>
5241 _ACEOF
5242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5244 ac_status=$?
5245 grep -v '^ *+' conftest.er1 >conftest.err
5246 rm -f conftest.er1
5247 cat conftest.err >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); } >/dev/null; then
5250 if test -s conftest.err; then
5251 ac_cpp_err=$ac_c_preproc_warn_flag
5252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5253 else
5254 ac_cpp_err=
5256 else
5257 ac_cpp_err=yes
5259 if test -z "$ac_cpp_err"; then
5260 # Broken: success on invalid input.
5261 continue
5262 else
5263 echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.$ac_ext >&5
5266 # Passes both tests.
5267 ac_preproc_ok=:
5268 break
5270 rm -f conftest.err conftest.$ac_ext
5272 done
5273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5274 rm -f conftest.err conftest.$ac_ext
5275 if $ac_preproc_ok; then
5276 break
5279 done
5280 ac_cv_prog_CPP=$CPP
5283 CPP=$ac_cv_prog_CPP
5284 else
5285 ac_cv_prog_CPP=$CPP
5287 echo "$as_me:$LINENO: result: $CPP" >&5
5288 echo "${ECHO_T}$CPP" >&6
5289 ac_preproc_ok=false
5290 for ac_c_preproc_warn_flag in '' yes
5292 # Use a header file that comes with gcc, so configuring glibc
5293 # with a fresh cross-compiler works.
5294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5295 # <limits.h> exists even on freestanding compilers.
5296 # On the NeXT, cc -E runs the code through the compiler's parser,
5297 # not just through cpp. "Syntax error" is here to catch this case.
5298 cat >conftest.$ac_ext <<_ACEOF
5299 /* confdefs.h. */
5300 _ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5304 #ifdef __STDC__
5305 # include <limits.h>
5306 #else
5307 # include <assert.h>
5308 #endif
5309 Syntax error
5310 _ACEOF
5311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5313 ac_status=$?
5314 grep -v '^ *+' conftest.er1 >conftest.err
5315 rm -f conftest.er1
5316 cat conftest.err >&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } >/dev/null; then
5319 if test -s conftest.err; then
5320 ac_cpp_err=$ac_c_preproc_warn_flag
5321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5322 else
5323 ac_cpp_err=
5325 else
5326 ac_cpp_err=yes
5328 if test -z "$ac_cpp_err"; then
5330 else
5331 echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.$ac_ext >&5
5334 # Broken: fails on valid input.
5335 continue
5337 rm -f conftest.err conftest.$ac_ext
5339 # OK, works on sane cases. Now check whether non-existent headers
5340 # can be detected and how.
5341 cat >conftest.$ac_ext <<_ACEOF
5342 /* confdefs.h. */
5343 _ACEOF
5344 cat confdefs.h >>conftest.$ac_ext
5345 cat >>conftest.$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5347 #include <ac_nonexistent.h>
5348 _ACEOF
5349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5351 ac_status=$?
5352 grep -v '^ *+' conftest.er1 >conftest.err
5353 rm -f conftest.er1
5354 cat conftest.err >&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } >/dev/null; then
5357 if test -s conftest.err; then
5358 ac_cpp_err=$ac_c_preproc_warn_flag
5359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5360 else
5361 ac_cpp_err=
5363 else
5364 ac_cpp_err=yes
5366 if test -z "$ac_cpp_err"; then
5367 # Broken: success on invalid input.
5368 continue
5369 else
5370 echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.$ac_ext >&5
5373 # Passes both tests.
5374 ac_preproc_ok=:
5375 break
5377 rm -f conftest.err conftest.$ac_ext
5379 done
5380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5381 rm -f conftest.err conftest.$ac_ext
5382 if $ac_preproc_ok; then
5384 else
5385 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5386 See \`config.log' for more details." >&5
5387 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5388 See \`config.log' for more details." >&2;}
5389 { (exit 1); exit 1; }; }
5392 ac_ext=c
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5399 echo "$as_me:$LINENO: checking for egrep" >&5
5400 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5401 if test "${ac_cv_prog_egrep+set}" = set; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5403 else
5404 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5405 then ac_cv_prog_egrep='grep -E'
5406 else ac_cv_prog_egrep='egrep'
5409 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5410 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5411 EGREP=$ac_cv_prog_egrep
5414 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5415 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5416 if test "${ac_cv_header_stdc+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 cat >conftest.$ac_ext <<_ACEOF
5420 /* confdefs.h. */
5421 _ACEOF
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5425 #include <stdlib.h>
5426 #include <stdarg.h>
5427 #include <string.h>
5428 #include <float.h>
5431 main ()
5435 return 0;
5437 _ACEOF
5438 rm -f conftest.$ac_objext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440 (eval $ac_compile) 2>conftest.er1
5441 ac_status=$?
5442 grep -v '^ *+' conftest.er1 >conftest.err
5443 rm -f conftest.er1
5444 cat conftest.err >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } &&
5447 { ac_try='test -z "$ac_c_werror_flag"
5448 || test ! -s conftest.err'
5449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 (eval $ac_try) 2>&5
5451 ac_status=$?
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); }; } &&
5454 { ac_try='test -s conftest.$ac_objext'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 (eval $ac_try) 2>&5
5457 ac_status=$?
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then
5460 ac_cv_header_stdc=yes
5461 else
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.$ac_ext >&5
5465 ac_cv_header_stdc=no
5467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5469 if test $ac_cv_header_stdc = yes; then
5470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5471 cat >conftest.$ac_ext <<_ACEOF
5472 /* confdefs.h. */
5473 _ACEOF
5474 cat confdefs.h >>conftest.$ac_ext
5475 cat >>conftest.$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5477 #include <string.h>
5479 _ACEOF
5480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5481 $EGREP "memchr" >/dev/null 2>&1; then
5483 else
5484 ac_cv_header_stdc=no
5486 rm -f conftest*
5490 if test $ac_cv_header_stdc = yes; then
5491 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5492 cat >conftest.$ac_ext <<_ACEOF
5493 /* confdefs.h. */
5494 _ACEOF
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5498 #include <stdlib.h>
5500 _ACEOF
5501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5502 $EGREP "free" >/dev/null 2>&1; then
5504 else
5505 ac_cv_header_stdc=no
5507 rm -f conftest*
5511 if test $ac_cv_header_stdc = yes; then
5512 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5513 if test "$cross_compiling" = yes; then
5515 else
5516 cat >conftest.$ac_ext <<_ACEOF
5517 /* confdefs.h. */
5518 _ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5522 #include <ctype.h>
5523 #if ((' ' & 0x0FF) == 0x020)
5524 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5525 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5526 #else
5527 # define ISLOWER(c) \
5528 (('a' <= (c) && (c) <= 'i') \
5529 || ('j' <= (c) && (c) <= 'r') \
5530 || ('s' <= (c) && (c) <= 'z'))
5531 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5532 #endif
5534 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5536 main ()
5538 int i;
5539 for (i = 0; i < 256; i++)
5540 if (XOR (islower (i), ISLOWER (i))
5541 || toupper (i) != TOUPPER (i))
5542 exit(2);
5543 exit (0);
5545 _ACEOF
5546 rm -f conftest$ac_exeext
5547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5548 (eval $ac_link) 2>&5
5549 ac_status=$?
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553 (eval $ac_try) 2>&5
5554 ac_status=$?
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); }; }; then
5558 else
5559 echo "$as_me: program exited with status $ac_status" >&5
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.$ac_ext >&5
5563 ( exit $ac_status )
5564 ac_cv_header_stdc=no
5566 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5570 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5571 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5572 if test $ac_cv_header_stdc = yes; then
5574 cat >>confdefs.h <<\_ACEOF
5575 #define STDC_HEADERS 1
5576 _ACEOF
5580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5590 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5591 inttypes.h stdint.h unistd.h
5593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5594 echo "$as_me:$LINENO: checking for $ac_header" >&5
5595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5597 echo $ECHO_N "(cached) $ECHO_C" >&6
5598 else
5599 cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h. */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 $ac_includes_default
5607 #include <$ac_header>
5608 _ACEOF
5609 rm -f conftest.$ac_objext
5610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5611 (eval $ac_compile) 2>conftest.er1
5612 ac_status=$?
5613 grep -v '^ *+' conftest.er1 >conftest.err
5614 rm -f conftest.er1
5615 cat conftest.err >&5
5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617 (exit $ac_status); } &&
5618 { ac_try='test -z "$ac_c_werror_flag"
5619 || test ! -s conftest.err'
5620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5621 (eval $ac_try) 2>&5
5622 ac_status=$?
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; } &&
5625 { ac_try='test -s conftest.$ac_objext'
5626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 (eval $ac_try) 2>&5
5628 ac_status=$?
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; }; then
5631 eval "$as_ac_Header=yes"
5632 else
5633 echo "$as_me: failed program was:" >&5
5634 sed 's/^/| /' conftest.$ac_ext >&5
5636 eval "$as_ac_Header=no"
5638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5643 cat >>confdefs.h <<_ACEOF
5644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5645 _ACEOF
5649 done
5653 echo "$as_me:$LINENO: checking for C locale to use" >&5
5654 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5655 # Check whether --enable-clocale or --disable-clocale was given.
5656 if test "${enable_clocale+set}" = set; then
5657 enableval="$enable_clocale"
5659 case "$enableval" in
5660 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5661 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5662 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5663 { (exit 1); exit 1; }; } ;;
5664 esac
5666 else
5667 enable_clocale=auto
5671 # If they didn't use this option switch, or if they specified --enable
5672 # with no specific model, we'll have to look for one. If they
5673 # specified --disable (???), do likewise.
5674 if test $enable_clocale = no || test $enable_clocale = yes; then
5675 enable_clocale=auto
5678 # Either a known package, or "auto"
5679 enable_clocale_flag=$enable_clocale
5681 # Probe for locale support if no specific model is specified.
5682 # Default to "generic".
5683 if test $enable_clocale_flag = auto; then
5684 case ${target_os} in
5685 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5686 cat >conftest.$ac_ext <<_ACEOF
5687 /* confdefs.h. */
5688 _ACEOF
5689 cat confdefs.h >>conftest.$ac_ext
5690 cat >>conftest.$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5693 #include <features.h>
5694 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5695 _GLIBCXX_ok
5696 #endif
5698 _ACEOF
5699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5700 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5701 enable_clocale_flag=gnu
5702 else
5703 enable_clocale_flag=generic
5705 rm -f conftest*
5708 # Test for bugs early in glibc-2.2.x series
5709 if test $enable_clocale_flag = gnu; then
5710 if test "$cross_compiling" = yes; then
5711 enable_clocale_flag=generic
5712 else
5713 cat >conftest.$ac_ext <<_ACEOF
5714 /* confdefs.h. */
5715 _ACEOF
5716 cat confdefs.h >>conftest.$ac_ext
5717 cat >>conftest.$ac_ext <<_ACEOF
5718 /* end confdefs.h. */
5720 #define _GNU_SOURCE 1
5721 #include <locale.h>
5722 #include <string.h>
5723 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5724 extern __typeof(newlocale) __newlocale;
5725 extern __typeof(duplocale) __duplocale;
5726 extern __typeof(strcoll_l) __strcoll_l;
5727 #endif
5728 int main()
5730 const char __one[] = "Äuglein Augmen";
5731 const char __two[] = "Äuglein";
5732 int i;
5733 int j;
5734 __locale_t loc;
5735 __locale_t loc_dup;
5736 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5737 loc_dup = __duplocale(loc);
5738 i = __strcoll_l(__one, __two, loc);
5739 j = __strcoll_l(__one, __two, loc_dup);
5740 return 0;
5743 _ACEOF
5744 rm -f conftest$ac_exeext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5746 (eval $ac_link) 2>&5
5747 ac_status=$?
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751 (eval $ac_try) 2>&5
5752 ac_status=$?
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }; }; then
5755 enable_clocale_flag=gnu
5756 else
5757 echo "$as_me: program exited with status $ac_status" >&5
5758 echo "$as_me: failed program was:" >&5
5759 sed 's/^/| /' conftest.$ac_ext >&5
5761 ( exit $ac_status )
5762 enable_clocale_flag=generic
5764 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5768 # ... at some point put __strxfrm_l tests in as well.
5771 enable_clocale_flag=generic
5773 esac
5776 # Deal with gettext issues. Default to not using it (=no) until we detect
5777 # support for it later. Let the user turn it off via --e/d, but let that
5778 # default to on for easier handling.
5779 USE_NLS=no
5780 # Check whether --enable-nls or --disable-nls was given.
5781 if test "${enable_nls+set}" = set; then
5782 enableval="$enable_nls"
5784 else
5785 enable_nls=yes
5788 # Set configure bits for specified locale package
5789 case ${enable_clocale_flag} in
5790 generic)
5791 echo "$as_me:$LINENO: result: generic" >&5
5792 echo "${ECHO_T}generic" >&6
5794 CLOCALE_H=config/locale/generic/c_locale.h
5795 CLOCALE_CC=config/locale/generic/c_locale.cc
5796 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5797 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5798 CCOLLATE_CC=config/locale/generic/collate_members.cc
5799 CCTYPE_CC=config/locale/generic/ctype_members.cc
5800 CMESSAGES_H=config/locale/generic/messages_members.h
5801 CMESSAGES_CC=config/locale/generic/messages_members.cc
5802 CMONEY_CC=config/locale/generic/monetary_members.cc
5803 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5804 CTIME_H=config/locale/generic/time_members.h
5805 CTIME_CC=config/locale/generic/time_members.cc
5806 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5808 gnu)
5809 echo "$as_me:$LINENO: result: gnu" >&5
5810 echo "${ECHO_T}gnu" >&6
5812 # Declare intention to use gettext, and add support for specific
5813 # languages.
5814 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5815 ALL_LINGUAS="de fr"
5817 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5818 # Extract the first word of "msgfmt", so it can be a program name with args.
5819 set dummy msgfmt; ac_word=$2
5820 echo "$as_me:$LINENO: checking for $ac_word" >&5
5821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5822 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5823 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 else
5825 if test -n "$check_msgfmt"; then
5826 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_check_msgfmt="yes"
5836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5842 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5845 check_msgfmt=$ac_cv_prog_check_msgfmt
5846 if test -n "$check_msgfmt"; then
5847 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5848 echo "${ECHO_T}$check_msgfmt" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5854 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5855 USE_NLS=yes
5857 # Export the build objects.
5858 for ling in $ALL_LINGUAS; do \
5859 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5860 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5861 done
5865 CLOCALE_H=config/locale/gnu/c_locale.h
5866 CLOCALE_CC=config/locale/gnu/c_locale.cc
5867 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5868 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5869 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5870 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5871 CMESSAGES_H=config/locale/gnu/messages_members.h
5872 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5873 CMONEY_CC=config/locale/gnu/monetary_members.cc
5874 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5875 CTIME_H=config/locale/gnu/time_members.h
5876 CTIME_CC=config/locale/gnu/time_members.cc
5877 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5879 ieee_1003.1-2001)
5880 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5881 echo "${ECHO_T}IEEE 1003.1" >&6
5883 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5884 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5885 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5886 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5887 CCOLLATE_CC=config/locale/generic/collate_members.cc
5888 CCTYPE_CC=config/locale/generic/ctype_members.cc
5889 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5890 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5891 CMONEY_CC=config/locale/generic/monetary_members.cc
5892 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5893 CTIME_H=config/locale/generic/time_members.h
5894 CTIME_CC=config/locale/generic/time_members.cc
5895 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5897 esac
5899 # This is where the testsuite looks for locale catalogs, using the
5900 # -DLOCALEDIR define during testsuite compilation.
5901 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5904 # A standalone libintl (e.g., GNU libintl) may be in use.
5905 if test $USE_NLS = yes; then
5907 for ac_header in libintl.h
5909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5911 echo "$as_me:$LINENO: checking for $ac_header" >&5
5912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5914 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5918 else
5919 # Is the header compilable?
5920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5922 cat >conftest.$ac_ext <<_ACEOF
5923 /* confdefs.h. */
5924 _ACEOF
5925 cat confdefs.h >>conftest.$ac_ext
5926 cat >>conftest.$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5928 $ac_includes_default
5929 #include <$ac_header>
5930 _ACEOF
5931 rm -f conftest.$ac_objext
5932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5933 (eval $ac_compile) 2>conftest.er1
5934 ac_status=$?
5935 grep -v '^ *+' conftest.er1 >conftest.err
5936 rm -f conftest.er1
5937 cat conftest.err >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } &&
5940 { ac_try='test -z "$ac_c_werror_flag"
5941 || test ! -s conftest.err'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 (eval $ac_try) 2>&5
5944 ac_status=$?
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; } &&
5947 { ac_try='test -s conftest.$ac_objext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 (eval $ac_try) 2>&5
5950 ac_status=$?
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5953 ac_header_compiler=yes
5954 else
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5958 ac_header_compiler=no
5960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5962 echo "${ECHO_T}$ac_header_compiler" >&6
5964 # Is the header present?
5965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5967 cat >conftest.$ac_ext <<_ACEOF
5968 /* confdefs.h. */
5969 _ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 #include <$ac_header>
5974 _ACEOF
5975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5977 ac_status=$?
5978 grep -v '^ *+' conftest.er1 >conftest.err
5979 rm -f conftest.er1
5980 cat conftest.err >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } >/dev/null; then
5983 if test -s conftest.err; then
5984 ac_cpp_err=$ac_c_preproc_warn_flag
5985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5986 else
5987 ac_cpp_err=
5989 else
5990 ac_cpp_err=yes
5992 if test -z "$ac_cpp_err"; then
5993 ac_header_preproc=yes
5994 else
5995 echo "$as_me: failed program was:" >&5
5996 sed 's/^/| /' conftest.$ac_ext >&5
5998 ac_header_preproc=no
6000 rm -f conftest.err conftest.$ac_ext
6001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6002 echo "${ECHO_T}$ac_header_preproc" >&6
6004 # So? What about this header?
6005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6006 yes:no: )
6007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6011 ac_header_preproc=yes
6013 no:yes:* )
6014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6027 cat <<\_ASBOX
6028 ## ----------------------------------------- ##
6029 ## Report this to the package-unused lists. ##
6030 ## ----------------------------------------- ##
6031 _ASBOX
6033 sed "s/^/$as_me: WARNING: /" >&2
6035 esac
6036 echo "$as_me:$LINENO: checking for $ac_header" >&5
6037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 else
6041 eval "$as_ac_Header=\$ac_header_preproc"
6043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6048 cat >>confdefs.h <<_ACEOF
6049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6050 _ACEOF
6052 else
6053 USE_NLS=no
6056 done
6058 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6059 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6060 if test "${ac_cv_search_gettext+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 else
6063 ac_func_search_save_LIBS=$LIBS
6064 ac_cv_search_gettext=no
6065 if test x$gcc_no_link = xyes; then
6066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6068 { (exit 1); exit 1; }; }
6070 cat >conftest.$ac_ext <<_ACEOF
6071 /* confdefs.h. */
6072 _ACEOF
6073 cat confdefs.h >>conftest.$ac_ext
6074 cat >>conftest.$ac_ext <<_ACEOF
6075 /* end confdefs.h. */
6077 /* Override any gcc2 internal prototype to avoid an error. */
6078 #ifdef __cplusplus
6079 extern "C"
6080 #endif
6081 /* We use char because int might match the return type of a gcc2
6082 builtin and then its argument prototype would still apply. */
6083 char gettext ();
6085 main ()
6087 gettext ();
6089 return 0;
6091 _ACEOF
6092 rm -f conftest.$ac_objext conftest$ac_exeext
6093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6094 (eval $ac_link) 2>conftest.er1
6095 ac_status=$?
6096 grep -v '^ *+' conftest.er1 >conftest.err
6097 rm -f conftest.er1
6098 cat conftest.err >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } &&
6101 { ac_try='test -z "$ac_c_werror_flag"
6102 || test ! -s conftest.err'
6103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104 (eval $ac_try) 2>&5
6105 ac_status=$?
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); }; } &&
6108 { ac_try='test -s conftest$ac_exeext'
6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 (eval $ac_try) 2>&5
6111 ac_status=$?
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); }; }; then
6114 ac_cv_search_gettext="none required"
6115 else
6116 echo "$as_me: failed program was:" >&5
6117 sed 's/^/| /' conftest.$ac_ext >&5
6120 rm -f conftest.err conftest.$ac_objext \
6121 conftest$ac_exeext conftest.$ac_ext
6122 if test "$ac_cv_search_gettext" = no; then
6123 for ac_lib in intl; do
6124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6125 if test x$gcc_no_link = xyes; then
6126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6128 { (exit 1); exit 1; }; }
6130 cat >conftest.$ac_ext <<_ACEOF
6131 /* confdefs.h. */
6132 _ACEOF
6133 cat confdefs.h >>conftest.$ac_ext
6134 cat >>conftest.$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6137 /* Override any gcc2 internal prototype to avoid an error. */
6138 #ifdef __cplusplus
6139 extern "C"
6140 #endif
6141 /* We use char because int might match the return type of a gcc2
6142 builtin and then its argument prototype would still apply. */
6143 char gettext ();
6145 main ()
6147 gettext ();
6149 return 0;
6151 _ACEOF
6152 rm -f conftest.$ac_objext conftest$ac_exeext
6153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6154 (eval $ac_link) 2>conftest.er1
6155 ac_status=$?
6156 grep -v '^ *+' conftest.er1 >conftest.err
6157 rm -f conftest.er1
6158 cat conftest.err >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); } &&
6161 { ac_try='test -z "$ac_c_werror_flag"
6162 || test ! -s conftest.err'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 (eval $ac_try) 2>&5
6165 ac_status=$?
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; } &&
6168 { ac_try='test -s conftest$ac_exeext'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 (eval $ac_try) 2>&5
6171 ac_status=$?
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; }; then
6174 ac_cv_search_gettext="-l$ac_lib"
6175 break
6176 else
6177 echo "$as_me: failed program was:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6181 rm -f conftest.err conftest.$ac_objext \
6182 conftest$ac_exeext conftest.$ac_ext
6183 done
6185 LIBS=$ac_func_search_save_LIBS
6187 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6188 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6189 if test "$ac_cv_search_gettext" != no; then
6190 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6192 else
6193 USE_NLS=no
6197 if test $USE_NLS = yes; then
6198 cat >>confdefs.h <<\_ACEOF
6199 #define _GLIBCXX_USE_NLS 1
6200 _ACEOF
6220 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6221 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6222 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6223 if test "${enable_libstdcxx_allocator+set}" = set; then
6224 enableval="$enable_libstdcxx_allocator"
6226 case "$enableval" in
6227 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6228 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6229 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6230 { (exit 1); exit 1; }; } ;;
6231 esac
6233 else
6234 enable_libstdcxx_allocator=auto
6238 # If they didn't use this option switch, or if they specified --enable
6239 # with no specific model, we'll have to look for one. If they
6240 # specified --disable (???), do likewise.
6241 if test $enable_libstdcxx_allocator = no ||
6242 test $enable_libstdcxx_allocator = yes;
6243 then
6244 enable_libstdcxx_allocator=auto
6247 # Either a known package, or "auto". Auto implies the default choice
6248 # for a particular platform.
6249 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6251 # Probe for host-specific support if no specific model is specified.
6252 # Default to "new".
6253 if test $enable_libstdcxx_allocator_flag = auto; then
6254 case ${target_os} in
6255 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6256 enable_libstdcxx_allocator_flag=mt
6259 enable_libstdcxx_allocator_flag=new
6261 esac
6263 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6264 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6267 # Set configure bits for specified locale package
6268 case ${enable_libstdcxx_allocator_flag} in
6269 bitmap)
6270 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6271 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6273 malloc)
6274 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6275 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6278 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6279 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6281 new)
6282 ALLOCATOR_H=config/allocator/new_allocator_base.h
6283 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6285 pool)
6286 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6287 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6289 esac
6295 # Check whether --enable-cheaders or --disable-cheaders was given.
6296 if test "${enable_cheaders+set}" = set; then
6297 enableval="$enable_cheaders"
6299 case "$enableval" in
6300 c|c_std) ;;
6301 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6302 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6303 { (exit 1); exit 1; }; } ;;
6304 esac
6306 else
6307 enable_cheaders=$c_model
6310 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6311 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6313 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6320 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6321 if test "${enable_c_mbchar+set}" = set; then
6322 enableval="$enable_c_mbchar"
6324 case "$enableval" in
6325 yes|no) ;;
6326 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6327 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6328 { (exit 1); exit 1; }; } ;;
6329 esac
6331 else
6332 enable_c_mbchar=yes
6335 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6339 # Check whether --enable-c99 or --disable-c99 was given.
6340 if test "${enable_c99+set}" = set; then
6341 enableval="$enable_c99"
6343 case "$enableval" in
6344 yes|no) ;;
6345 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6346 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6347 { (exit 1); exit 1; }; } ;;
6348 esac
6350 else
6351 enable_c99=yes
6357 ac_ext=cc
6358 ac_cpp='$CXXCPP $CPPFLAGS'
6359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6364 # Check for the existence of <math.h> functions used if C99 is enabled.
6365 ac_c99_math=yes;
6366 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6367 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6368 cat >conftest.$ac_ext <<_ACEOF
6369 /* confdefs.h. */
6370 _ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6374 #include <math.h>
6376 main ()
6378 fpclassify(0.0);
6380 return 0;
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_cxx_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6410 ac_c99_math=no
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6413 cat >conftest.$ac_ext <<_ACEOF
6414 /* confdefs.h. */
6415 _ACEOF
6416 cat confdefs.h >>conftest.$ac_ext
6417 cat >>conftest.$ac_ext <<_ACEOF
6418 /* end confdefs.h. */
6419 #include <math.h>
6421 main ()
6423 isfinite(0.0);
6425 return 0;
6427 _ACEOF
6428 rm -f conftest.$ac_objext
6429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6430 (eval $ac_compile) 2>conftest.er1
6431 ac_status=$?
6432 grep -v '^ *+' conftest.er1 >conftest.err
6433 rm -f conftest.er1
6434 cat conftest.err >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } &&
6437 { ac_try='test -z "$ac_cxx_werror_flag"
6438 || test ! -s conftest.err'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 (eval $ac_try) 2>&5
6441 ac_status=$?
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; } &&
6444 { ac_try='test -s conftest.$ac_objext'
6445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 (eval $ac_try) 2>&5
6447 ac_status=$?
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }; }; then
6451 else
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.$ac_ext >&5
6455 ac_c99_math=no
6457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6458 cat >conftest.$ac_ext <<_ACEOF
6459 /* confdefs.h. */
6460 _ACEOF
6461 cat confdefs.h >>conftest.$ac_ext
6462 cat >>conftest.$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6464 #include <math.h>
6466 main ()
6468 isinf(0.0);
6470 return 0;
6472 _ACEOF
6473 rm -f conftest.$ac_objext
6474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6475 (eval $ac_compile) 2>conftest.er1
6476 ac_status=$?
6477 grep -v '^ *+' conftest.er1 >conftest.err
6478 rm -f conftest.er1
6479 cat conftest.err >&5
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); } &&
6482 { ac_try='test -z "$ac_cxx_werror_flag"
6483 || test ! -s conftest.err'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 (eval $ac_try) 2>&5
6486 ac_status=$?
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; } &&
6489 { ac_try='test -s conftest.$ac_objext'
6490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 (eval $ac_try) 2>&5
6492 ac_status=$?
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; }; then
6496 else
6497 echo "$as_me: failed program was:" >&5
6498 sed 's/^/| /' conftest.$ac_ext >&5
6500 ac_c99_math=no
6502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6503 cat >conftest.$ac_ext <<_ACEOF
6504 /* confdefs.h. */
6505 _ACEOF
6506 cat confdefs.h >>conftest.$ac_ext
6507 cat >>conftest.$ac_ext <<_ACEOF
6508 /* end confdefs.h. */
6509 #include <math.h>
6511 main ()
6513 isnan(0.0);
6515 return 0;
6517 _ACEOF
6518 rm -f conftest.$ac_objext
6519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6520 (eval $ac_compile) 2>conftest.er1
6521 ac_status=$?
6522 grep -v '^ *+' conftest.er1 >conftest.err
6523 rm -f conftest.er1
6524 cat conftest.err >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } &&
6527 { ac_try='test -z "$ac_cxx_werror_flag"
6528 || test ! -s conftest.err'
6529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 (eval $ac_try) 2>&5
6531 ac_status=$?
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); }; } &&
6534 { ac_try='test -s conftest.$ac_objext'
6535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536 (eval $ac_try) 2>&5
6537 ac_status=$?
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }; }; then
6541 else
6542 echo "$as_me: failed program was:" >&5
6543 sed 's/^/| /' conftest.$ac_ext >&5
6545 ac_c99_math=no
6547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6548 cat >conftest.$ac_ext <<_ACEOF
6549 /* confdefs.h. */
6550 _ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6554 #include <math.h>
6556 main ()
6558 isnormal(0.0);
6560 return 0;
6562 _ACEOF
6563 rm -f conftest.$ac_objext
6564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6565 (eval $ac_compile) 2>conftest.er1
6566 ac_status=$?
6567 grep -v '^ *+' conftest.er1 >conftest.err
6568 rm -f conftest.er1
6569 cat conftest.err >&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } &&
6572 { ac_try='test -z "$ac_cxx_werror_flag"
6573 || test ! -s conftest.err'
6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 (eval $ac_try) 2>&5
6576 ac_status=$?
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; } &&
6579 { ac_try='test -s conftest.$ac_objext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6581 (eval $ac_try) 2>&5
6582 ac_status=$?
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then
6586 else
6587 echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.$ac_ext >&5
6590 ac_c99_math=no
6592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6593 cat >conftest.$ac_ext <<_ACEOF
6594 /* confdefs.h. */
6595 _ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 #include <math.h>
6601 main ()
6603 signbit(0.0);
6605 return 0;
6607 _ACEOF
6608 rm -f conftest.$ac_objext
6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6610 (eval $ac_compile) 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } &&
6617 { ac_try='test -z "$ac_cxx_werror_flag"
6618 || test ! -s conftest.err'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620 (eval $ac_try) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; } &&
6624 { ac_try='test -s conftest.$ac_objext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626 (eval $ac_try) 2>&5
6627 ac_status=$?
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6631 else
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 ac_c99_math=no
6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6638 cat >conftest.$ac_ext <<_ACEOF
6639 /* confdefs.h. */
6640 _ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6644 #include <math.h>
6646 main ()
6648 isgreater(0.0,0.0);
6650 return 0;
6652 _ACEOF
6653 rm -f conftest.$ac_objext
6654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6655 (eval $ac_compile) 2>conftest.er1
6656 ac_status=$?
6657 grep -v '^ *+' conftest.er1 >conftest.err
6658 rm -f conftest.er1
6659 cat conftest.err >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); } &&
6662 { ac_try='test -z "$ac_cxx_werror_flag"
6663 || test ! -s conftest.err'
6664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 (eval $ac_try) 2>&5
6666 ac_status=$?
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; } &&
6669 { ac_try='test -s conftest.$ac_objext'
6670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 (eval $ac_try) 2>&5
6672 ac_status=$?
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); }; }; then
6676 else
6677 echo "$as_me: failed program was:" >&5
6678 sed 's/^/| /' conftest.$ac_ext >&5
6680 ac_c99_math=no
6682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6683 cat >conftest.$ac_ext <<_ACEOF
6684 /* confdefs.h. */
6685 _ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 #include <math.h>
6691 main ()
6693 isgreaterequal(0.0,0.0);
6695 return 0;
6697 _ACEOF
6698 rm -f conftest.$ac_objext
6699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6700 (eval $ac_compile) 2>conftest.er1
6701 ac_status=$?
6702 grep -v '^ *+' conftest.er1 >conftest.err
6703 rm -f conftest.er1
6704 cat conftest.err >&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); } &&
6707 { ac_try='test -z "$ac_cxx_werror_flag"
6708 || test ! -s conftest.err'
6709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6710 (eval $ac_try) 2>&5
6711 ac_status=$?
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; } &&
6714 { ac_try='test -s conftest.$ac_objext'
6715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716 (eval $ac_try) 2>&5
6717 ac_status=$?
6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719 (exit $ac_status); }; }; then
6721 else
6722 echo "$as_me: failed program was:" >&5
6723 sed 's/^/| /' conftest.$ac_ext >&5
6725 ac_c99_math=no
6727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6728 cat >conftest.$ac_ext <<_ACEOF
6729 /* confdefs.h. */
6730 _ACEOF
6731 cat confdefs.h >>conftest.$ac_ext
6732 cat >>conftest.$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6734 #include <math.h>
6736 main ()
6738 isless(0.0,0.0);
6740 return 0;
6742 _ACEOF
6743 rm -f conftest.$ac_objext
6744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6745 (eval $ac_compile) 2>conftest.er1
6746 ac_status=$?
6747 grep -v '^ *+' conftest.er1 >conftest.err
6748 rm -f conftest.er1
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try='test -z "$ac_cxx_werror_flag"
6753 || test ! -s conftest.err'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 (eval $ac_try) 2>&5
6756 ac_status=$?
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; } &&
6759 { ac_try='test -s conftest.$ac_objext'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 (eval $ac_try) 2>&5
6762 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }; then
6766 else
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6770 ac_c99_math=no
6772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6773 cat >conftest.$ac_ext <<_ACEOF
6774 /* confdefs.h. */
6775 _ACEOF
6776 cat confdefs.h >>conftest.$ac_ext
6777 cat >>conftest.$ac_ext <<_ACEOF
6778 /* end confdefs.h. */
6779 #include <math.h>
6781 main ()
6783 islessequal(0.0,0.0);
6785 return 0;
6787 _ACEOF
6788 rm -f conftest.$ac_objext
6789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6790 (eval $ac_compile) 2>conftest.er1
6791 ac_status=$?
6792 grep -v '^ *+' conftest.er1 >conftest.err
6793 rm -f conftest.er1
6794 cat conftest.err >&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); } &&
6797 { ac_try='test -z "$ac_cxx_werror_flag"
6798 || test ! -s conftest.err'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 (eval $ac_try) 2>&5
6801 ac_status=$?
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; } &&
6804 { ac_try='test -s conftest.$ac_objext'
6805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 (eval $ac_try) 2>&5
6807 ac_status=$?
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); }; }; then
6811 else
6812 echo "$as_me: failed program was:" >&5
6813 sed 's/^/| /' conftest.$ac_ext >&5
6815 ac_c99_math=no
6817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6818 cat >conftest.$ac_ext <<_ACEOF
6819 /* confdefs.h. */
6820 _ACEOF
6821 cat confdefs.h >>conftest.$ac_ext
6822 cat >>conftest.$ac_ext <<_ACEOF
6823 /* end confdefs.h. */
6824 #include <math.h>
6826 main ()
6828 islessgreater(0.0,0.0);
6830 return 0;
6832 _ACEOF
6833 rm -f conftest.$ac_objext
6834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 (eval $ac_compile) 2>conftest.er1
6836 ac_status=$?
6837 grep -v '^ *+' conftest.er1 >conftest.err
6838 rm -f conftest.er1
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
6842 { ac_try='test -z "$ac_cxx_werror_flag"
6843 || test ! -s conftest.err'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6845 (eval $ac_try) 2>&5
6846 ac_status=$?
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; } &&
6849 { ac_try='test -s conftest.$ac_objext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6851 (eval $ac_try) 2>&5
6852 ac_status=$?
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6856 else
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.$ac_ext >&5
6860 ac_c99_math=no
6862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6863 cat >conftest.$ac_ext <<_ACEOF
6864 /* confdefs.h. */
6865 _ACEOF
6866 cat confdefs.h >>conftest.$ac_ext
6867 cat >>conftest.$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6869 #include <math.h>
6871 main ()
6873 isunordered(0.0,0.0);
6875 return 0;
6877 _ACEOF
6878 rm -f conftest.$ac_objext
6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6880 (eval $ac_compile) 2>conftest.er1
6881 ac_status=$?
6882 grep -v '^ *+' conftest.er1 >conftest.err
6883 rm -f conftest.er1
6884 cat conftest.err >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } &&
6887 { ac_try='test -z "$ac_cxx_werror_flag"
6888 || test ! -s conftest.err'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890 (eval $ac_try) 2>&5
6891 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; } &&
6894 { ac_try='test -s conftest.$ac_objext'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6896 (eval $ac_try) 2>&5
6897 ac_status=$?
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }; }; then
6901 else
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6905 ac_c99_math=no
6907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6908 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6909 echo "${ECHO_T}$ac_c99_math" >&6
6911 if test x"$ac_c99_math" = x"yes"; then
6912 cat >>confdefs.h <<\_ACEOF
6913 #define _GLIBCXX_USE_C99_MATH 1
6914 _ACEOF
6918 # Check for the existence in <stdio.h> of vscanf, et. al.
6919 ac_c99_stdio=yes;
6920 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6921 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6922 cat >conftest.$ac_ext <<_ACEOF
6923 /* confdefs.h. */
6924 _ACEOF
6925 cat confdefs.h >>conftest.$ac_ext
6926 cat >>conftest.$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6928 #include <stdio.h>
6930 main ()
6932 snprintf("12", 0, "%i");
6934 return 0;
6936 _ACEOF
6937 rm -f conftest.$ac_objext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6939 (eval $ac_compile) 2>conftest.er1
6940 ac_status=$?
6941 grep -v '^ *+' conftest.er1 >conftest.err
6942 rm -f conftest.er1
6943 cat conftest.err >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try='test -z "$ac_cxx_werror_flag"
6947 || test ! -s conftest.err'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 (eval $ac_try) 2>&5
6950 ac_status=$?
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; } &&
6953 { ac_try='test -s conftest.$ac_objext'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 (eval $ac_try) 2>&5
6956 ac_status=$?
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; }; then
6960 else
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6964 ac_c99_stdio=no
6966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6967 cat >conftest.$ac_ext <<_ACEOF
6968 /* confdefs.h. */
6969 _ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6973 #include <stdio.h>
6974 #include <stdarg.h>
6975 void foo(char* fmt, ...)
6976 {va_list args; va_start(args, fmt);
6977 vfscanf(stderr, "%i", args);}
6979 main ()
6983 return 0;
6985 _ACEOF
6986 rm -f conftest.$ac_objext
6987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6988 (eval $ac_compile) 2>conftest.er1
6989 ac_status=$?
6990 grep -v '^ *+' conftest.er1 >conftest.err
6991 rm -f conftest.er1
6992 cat conftest.err >&5
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); } &&
6995 { ac_try='test -z "$ac_cxx_werror_flag"
6996 || test ! -s conftest.err'
6997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 (eval $ac_try) 2>&5
6999 ac_status=$?
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); }; } &&
7002 { ac_try='test -s conftest.$ac_objext'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 (eval $ac_try) 2>&5
7005 ac_status=$?
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; }; then
7009 else
7010 echo "$as_me: failed program was:" >&5
7011 sed 's/^/| /' conftest.$ac_ext >&5
7013 ac_c99_stdio=no
7015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7016 cat >conftest.$ac_ext <<_ACEOF
7017 /* confdefs.h. */
7018 _ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7022 #include <stdio.h>
7023 #include <stdarg.h>
7024 void foo(char* fmt, ...)
7025 {va_list args; va_start(args, fmt);
7026 vscanf("%i", args);}
7028 main ()
7032 return 0;
7034 _ACEOF
7035 rm -f conftest.$ac_objext
7036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7037 (eval $ac_compile) 2>conftest.er1
7038 ac_status=$?
7039 grep -v '^ *+' conftest.er1 >conftest.err
7040 rm -f conftest.er1
7041 cat conftest.err >&5
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); } &&
7044 { ac_try='test -z "$ac_cxx_werror_flag"
7045 || test ! -s conftest.err'
7046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047 (eval $ac_try) 2>&5
7048 ac_status=$?
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); }; } &&
7051 { ac_try='test -s conftest.$ac_objext'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 (eval $ac_try) 2>&5
7054 ac_status=$?
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; }; then
7058 else
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.$ac_ext >&5
7062 ac_c99_stdio=no
7064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7065 cat >conftest.$ac_ext <<_ACEOF
7066 /* confdefs.h. */
7067 _ACEOF
7068 cat confdefs.h >>conftest.$ac_ext
7069 cat >>conftest.$ac_ext <<_ACEOF
7070 /* end confdefs.h. */
7071 #include <stdio.h>
7072 #include <stdarg.h>
7073 void foo(char* fmt, ...)
7074 {va_list args; va_start(args, fmt);
7075 vsnprintf(fmt, 0, "%i", args);}
7077 main ()
7081 return 0;
7083 _ACEOF
7084 rm -f conftest.$ac_objext
7085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7086 (eval $ac_compile) 2>conftest.er1
7087 ac_status=$?
7088 grep -v '^ *+' conftest.er1 >conftest.err
7089 rm -f conftest.er1
7090 cat conftest.err >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try='test -z "$ac_cxx_werror_flag"
7094 || test ! -s conftest.err'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 (eval $ac_try) 2>&5
7097 ac_status=$?
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; } &&
7100 { ac_try='test -s conftest.$ac_objext'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102 (eval $ac_try) 2>&5
7103 ac_status=$?
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; }; then
7107 else
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7111 ac_c99_stdio=no
7113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7114 cat >conftest.$ac_ext <<_ACEOF
7115 /* confdefs.h. */
7116 _ACEOF
7117 cat confdefs.h >>conftest.$ac_ext
7118 cat >>conftest.$ac_ext <<_ACEOF
7119 /* end confdefs.h. */
7120 #include <stdio.h>
7121 #include <stdarg.h>
7122 void foo(char* fmt, ...)
7123 {va_list args; va_start(args, fmt);
7124 vsscanf(fmt, "%i", args);}
7126 main ()
7130 return 0;
7132 _ACEOF
7133 rm -f conftest.$ac_objext
7134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135 (eval $ac_compile) 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } &&
7142 { ac_try='test -z "$ac_cxx_werror_flag"
7143 || test ! -s conftest.err'
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 (eval $ac_try) 2>&5
7146 ac_status=$?
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); }; } &&
7149 { ac_try='test -s conftest.$ac_objext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 (eval $ac_try) 2>&5
7152 ac_status=$?
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7156 else
7157 echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.$ac_ext >&5
7160 ac_c99_stdio=no
7162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7164 echo "${ECHO_T}$ac_c99_stdio" >&6
7166 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7167 ac_c99_stdlib=yes;
7168 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7169 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7170 if test "${ac_c99_lldiv_t+set}" = set; then
7171 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 else
7174 cat >conftest.$ac_ext <<_ACEOF
7175 /* confdefs.h. */
7176 _ACEOF
7177 cat confdefs.h >>conftest.$ac_ext
7178 cat >>conftest.$ac_ext <<_ACEOF
7179 /* end confdefs.h. */
7180 #include <stdlib.h>
7182 main ()
7184 lldiv_t mydivt;
7186 return 0;
7188 _ACEOF
7189 rm -f conftest.$ac_objext
7190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7191 (eval $ac_compile) 2>conftest.er1
7192 ac_status=$?
7193 grep -v '^ *+' conftest.er1 >conftest.err
7194 rm -f conftest.er1
7195 cat conftest.err >&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); } &&
7198 { ac_try='test -z "$ac_cxx_werror_flag"
7199 || test ! -s conftest.err'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7201 (eval $ac_try) 2>&5
7202 ac_status=$?
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; } &&
7205 { ac_try='test -s conftest.$ac_objext'
7206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7207 (eval $ac_try) 2>&5
7208 ac_status=$?
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); }; }; then
7211 ac_c99_lldiv_t=yes
7212 else
7213 echo "$as_me: failed program was:" >&5
7214 sed 's/^/| /' conftest.$ac_ext >&5
7216 ac_c99_lldiv_t=no
7218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7222 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7223 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7225 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7226 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7227 cat >conftest.$ac_ext <<_ACEOF
7228 /* confdefs.h. */
7229 _ACEOF
7230 cat confdefs.h >>conftest.$ac_ext
7231 cat >>conftest.$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7233 #include <stdlib.h>
7235 main ()
7237 char* tmp; strtof("gnu", &tmp);
7239 return 0;
7241 _ACEOF
7242 rm -f conftest.$ac_objext
7243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7244 (eval $ac_compile) 2>conftest.er1
7245 ac_status=$?
7246 grep -v '^ *+' conftest.er1 >conftest.err
7247 rm -f conftest.er1
7248 cat conftest.err >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } &&
7251 { ac_try='test -z "$ac_cxx_werror_flag"
7252 || test ! -s conftest.err'
7253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 (eval $ac_try) 2>&5
7255 ac_status=$?
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }; } &&
7258 { ac_try='test -s conftest.$ac_objext'
7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260 (eval $ac_try) 2>&5
7261 ac_status=$?
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); }; }; then
7265 else
7266 echo "$as_me: failed program was:" >&5
7267 sed 's/^/| /' conftest.$ac_ext >&5
7269 ac_c99_stdlib=no
7271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7272 cat >conftest.$ac_ext <<_ACEOF
7273 /* confdefs.h. */
7274 _ACEOF
7275 cat confdefs.h >>conftest.$ac_ext
7276 cat >>conftest.$ac_ext <<_ACEOF
7277 /* end confdefs.h. */
7278 #include <stdlib.h>
7280 main ()
7282 char* tmp; strtold("gnu", &tmp);
7284 return 0;
7286 _ACEOF
7287 rm -f conftest.$ac_objext
7288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7289 (eval $ac_compile) 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } &&
7296 { ac_try='test -z "$ac_cxx_werror_flag"
7297 || test ! -s conftest.err'
7298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7299 (eval $ac_try) 2>&5
7300 ac_status=$?
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); }; } &&
7303 { ac_try='test -s conftest.$ac_objext'
7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7305 (eval $ac_try) 2>&5
7306 ac_status=$?
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); }; }; then
7310 else
7311 echo "$as_me: failed program was:" >&5
7312 sed 's/^/| /' conftest.$ac_ext >&5
7314 ac_c99_stdlib=no
7316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7317 cat >conftest.$ac_ext <<_ACEOF
7318 /* confdefs.h. */
7319 _ACEOF
7320 cat confdefs.h >>conftest.$ac_ext
7321 cat >>conftest.$ac_ext <<_ACEOF
7322 /* end confdefs.h. */
7323 #include <stdlib.h>
7325 main ()
7327 llabs(10);
7329 return 0;
7331 _ACEOF
7332 rm -f conftest.$ac_objext
7333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7334 (eval $ac_compile) 2>conftest.er1
7335 ac_status=$?
7336 grep -v '^ *+' conftest.er1 >conftest.err
7337 rm -f conftest.er1
7338 cat conftest.err >&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } &&
7341 { ac_try='test -z "$ac_cxx_werror_flag"
7342 || test ! -s conftest.err'
7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7344 (eval $ac_try) 2>&5
7345 ac_status=$?
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); }; } &&
7348 { ac_try='test -s conftest.$ac_objext'
7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 (eval $ac_try) 2>&5
7351 ac_status=$?
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); }; }; then
7355 else
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.$ac_ext >&5
7359 ac_c99_stdlib=no
7361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7362 cat >conftest.$ac_ext <<_ACEOF
7363 /* confdefs.h. */
7364 _ACEOF
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7368 #include <stdlib.h>
7370 main ()
7372 lldiv(10,1);
7374 return 0;
7376 _ACEOF
7377 rm -f conftest.$ac_objext
7378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7379 (eval $ac_compile) 2>conftest.er1
7380 ac_status=$?
7381 grep -v '^ *+' conftest.er1 >conftest.err
7382 rm -f conftest.er1
7383 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } &&
7386 { ac_try='test -z "$ac_cxx_werror_flag"
7387 || test ! -s conftest.err'
7388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389 (eval $ac_try) 2>&5
7390 ac_status=$?
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); }; } &&
7393 { ac_try='test -s conftest.$ac_objext'
7394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 (eval $ac_try) 2>&5
7396 ac_status=$?
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); }; }; then
7400 else
7401 echo "$as_me: failed program was:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 ac_c99_stdlib=no
7406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7407 cat >conftest.$ac_ext <<_ACEOF
7408 /* confdefs.h. */
7409 _ACEOF
7410 cat confdefs.h >>conftest.$ac_ext
7411 cat >>conftest.$ac_ext <<_ACEOF
7412 /* end confdefs.h. */
7413 #include <stdlib.h>
7415 main ()
7417 atoll("10");
7419 return 0;
7421 _ACEOF
7422 rm -f conftest.$ac_objext
7423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7424 (eval $ac_compile) 2>conftest.er1
7425 ac_status=$?
7426 grep -v '^ *+' conftest.er1 >conftest.err
7427 rm -f conftest.er1
7428 cat conftest.err >&5
7429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); } &&
7431 { ac_try='test -z "$ac_cxx_werror_flag"
7432 || test ! -s conftest.err'
7433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434 (eval $ac_try) 2>&5
7435 ac_status=$?
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); }; } &&
7438 { ac_try='test -s conftest.$ac_objext'
7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 (eval $ac_try) 2>&5
7441 ac_status=$?
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); }; }; then
7445 else
7446 echo "$as_me: failed program was:" >&5
7447 sed 's/^/| /' conftest.$ac_ext >&5
7449 ac_c99_stdlib=no
7451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7452 cat >conftest.$ac_ext <<_ACEOF
7453 /* confdefs.h. */
7454 _ACEOF
7455 cat confdefs.h >>conftest.$ac_ext
7456 cat >>conftest.$ac_ext <<_ACEOF
7457 /* end confdefs.h. */
7458 #include <stdlib.h>
7460 main ()
7462 _Exit(0);
7464 return 0;
7466 _ACEOF
7467 rm -f conftest.$ac_objext
7468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7469 (eval $ac_compile) 2>conftest.er1
7470 ac_status=$?
7471 grep -v '^ *+' conftest.er1 >conftest.err
7472 rm -f conftest.er1
7473 cat conftest.err >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); } &&
7476 { ac_try='test -z "$ac_cxx_werror_flag"
7477 || test ! -s conftest.err'
7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 (eval $ac_try) 2>&5
7480 ac_status=$?
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); }; } &&
7483 { ac_try='test -s conftest.$ac_objext'
7484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 (eval $ac_try) 2>&5
7486 ac_status=$?
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; }; then
7490 else
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.$ac_ext >&5
7494 ac_c99_stdlib=no
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7497 if test x"$ac_c99_lldiv_t" = x"no"; then
7498 ac_c99_stdlib=no;
7500 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7501 echo "${ECHO_T}$ac_c99_stdlib" >&6
7503 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7504 # XXX the wchar.h checks should be rolled into the general C99 bits.
7505 ac_c99_wchar=yes;
7506 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7507 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7508 cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h. */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <wchar.h>
7516 main ()
7518 wcstold(L"10.0", NULL);
7520 return 0;
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 (eval $ac_try) 2>&5
7536 ac_status=$?
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 (eval $ac_try) 2>&5
7542 ac_status=$?
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7546 else
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.$ac_ext >&5
7550 ac_c99_wchar=no
7552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7553 cat >conftest.$ac_ext <<_ACEOF
7554 /* confdefs.h. */
7555 _ACEOF
7556 cat confdefs.h >>conftest.$ac_ext
7557 cat >>conftest.$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7559 #include <wchar.h>
7561 main ()
7563 wcstoll(L"10", NULL, 10);
7565 return 0;
7567 _ACEOF
7568 rm -f conftest.$ac_objext
7569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7570 (eval $ac_compile) 2>conftest.er1
7571 ac_status=$?
7572 grep -v '^ *+' conftest.er1 >conftest.err
7573 rm -f conftest.er1
7574 cat conftest.err >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } &&
7577 { ac_try='test -z "$ac_cxx_werror_flag"
7578 || test ! -s conftest.err'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7580 (eval $ac_try) 2>&5
7581 ac_status=$?
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; } &&
7584 { ac_try='test -s conftest.$ac_objext'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 (eval $ac_try) 2>&5
7587 ac_status=$?
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; }; then
7591 else
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7595 ac_c99_wchar=no
7597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7598 cat >conftest.$ac_ext <<_ACEOF
7599 /* confdefs.h. */
7600 _ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7604 #include <wchar.h>
7606 main ()
7608 wcstoull(L"10", NULL, 10);
7610 return 0;
7612 _ACEOF
7613 rm -f conftest.$ac_objext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615 (eval $ac_compile) 2>conftest.er1
7616 ac_status=$?
7617 grep -v '^ *+' conftest.er1 >conftest.err
7618 rm -f conftest.er1
7619 cat conftest.err >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } &&
7622 { ac_try='test -z "$ac_cxx_werror_flag"
7623 || test ! -s conftest.err'
7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 (eval $ac_try) 2>&5
7626 ac_status=$?
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); }; } &&
7629 { ac_try='test -s conftest.$ac_objext'
7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 (eval $ac_try) 2>&5
7632 ac_status=$?
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); }; }; then
7636 else
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 ac_c99_wchar=no
7642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7643 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7644 echo "${ECHO_T}$ac_c99_wchar" >&6
7646 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7647 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7648 if test x"$ac_c99_math" = x"no" ||
7649 test x"$ac_c99_stdio" = x"no" ||
7650 test x"$ac_c99_stdlib" = x"no" ||
7651 test x"$ac_c99_wchar" = x"no"; then
7652 enable_c99=no;
7654 echo "$as_me:$LINENO: result: $enable_c99" >&5
7655 echo "${ECHO_T}$enable_c99" >&6
7657 if test x"$ac_99_math" = x"yes"; then
7658 cat >>confdefs.h <<\_ACEOF
7659 #define _GLIBCXX_USE_C99_MATH 1
7660 _ACEOF
7664 # Option parsed, now set things appropriately
7665 if test x"$enable_c99" = x"yes"; then
7666 cat >>confdefs.h <<\_ACEOF
7667 #define _GLIBCXX_USE_C99 1
7668 _ACEOF
7672 ac_ext=c
7673 ac_cpp='$CPP $CPPFLAGS'
7674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7680 # Check whether --enable-long-long or --disable-long-long was given.
7681 if test "${enable_long_long+set}" = set; then
7682 enableval="$enable_long_long"
7684 case "$enableval" in
7685 yes|no) ;;
7686 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7687 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7688 { (exit 1); exit 1; }; } ;;
7689 esac
7691 else
7692 enable_long_long=yes
7695 if test $enable_long_long = yes; then
7696 cat >>confdefs.h <<\_ACEOF
7697 #define _GLIBCXX_USE_LONG_LONG 1
7698 _ACEOF
7703 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7704 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7705 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7706 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7707 echo "${ECHO_T}$target_thread_file" >&6
7709 if test $target_thread_file != single; then
7710 cat >>confdefs.h <<\_ACEOF
7711 #define HAVE_GTHR_DEFAULT 1
7712 _ACEOF
7716 glibcxx_thread_h=gthr-$target_thread_file.h
7720 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7721 if test "${enable_concept_checks+set}" = set; then
7722 enableval="$enable_concept_checks"
7724 case "$enableval" in
7725 yes|no) ;;
7726 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7727 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7728 { (exit 1); exit 1; }; } ;;
7729 esac
7731 else
7732 enable_concept_checks=no
7735 if test $enable_concept_checks = yes; then
7736 cat >>confdefs.h <<\_ACEOF
7737 #define _GLIBCXX_CONCEPT_CHECKS 1
7738 _ACEOF
7743 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7744 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7745 enableval="$enable_libstdcxx_debug_flags"
7746 case "x$enable_libstdcxx_debug_flags" in
7747 xno | x) enable_libstdcxx_debug_flags= ;;
7748 x-*) ;;
7749 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7750 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7751 { (exit 1); exit 1; }; } ;;
7752 esac
7753 else
7754 enable_libstdcxx_debug_flags="-g3 -O0"
7758 # Option parsed, now set things appropriately
7759 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7762 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7763 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7766 echo "$as_me:$LINENO: checking for additional debug build" >&5
7767 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7768 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7769 if test "${enable_libstdcxx_debug+set}" = set; then
7770 enableval="$enable_libstdcxx_debug"
7772 case "$enableval" in
7773 yes|no) ;;
7774 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7775 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7776 { (exit 1); exit 1; }; } ;;
7777 esac
7779 else
7780 enable_libstdcxx_debug=no
7783 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7784 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7787 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7788 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7789 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7790 if test "${enable_cxx_flags+set}" = set; then
7791 enableval="$enable_cxx_flags"
7792 case "x$enable_cxx_flags" in
7793 xno | x) enable_cxx_flags= ;;
7794 x-*) ;;
7795 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7796 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7797 { (exit 1); exit 1; }; } ;;
7798 esac
7799 else
7800 enable_cxx_flags=
7804 # Run through flags (either default or command-line) and set anything
7805 # extra (e.g., #defines) that must accompany particular g++ options.
7806 if test -n "$enable_cxx_flags"; then
7807 for f in $enable_cxx_flags; do
7808 case "$f" in
7809 -fhonor-std) ;;
7810 -*) ;;
7811 *) # and we're trying to pass /what/ exactly?
7812 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7813 echo "$as_me: error: compiler flags start with a -" >&2;}
7814 { (exit 1); exit 1; }; } ;;
7815 esac
7816 done
7819 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7820 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7821 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7825 # No surprises, no surprises...
7826 if test $atomicity_dir = cpu/generic ; then
7827 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7828 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7829 if test $target_thread_file = single; then
7830 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7831 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7832 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7833 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7834 else
7835 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7836 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7837 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7838 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7843 if $GLIBCXX_IS_NATIVE; then
7845 # We can do more elaborate tests that assume a working linker.
7846 CANADIAN=no
7848 # Check for available headers.
7862 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7863 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7864 sys/types.h
7866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7868 echo "$as_me:$LINENO: checking for $ac_header" >&5
7869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7875 else
7876 # Is the header compilable?
7877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7879 cat >conftest.$ac_ext <<_ACEOF
7880 /* confdefs.h. */
7881 _ACEOF
7882 cat confdefs.h >>conftest.$ac_ext
7883 cat >>conftest.$ac_ext <<_ACEOF
7884 /* end confdefs.h. */
7885 $ac_includes_default
7886 #include <$ac_header>
7887 _ACEOF
7888 rm -f conftest.$ac_objext
7889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7890 (eval $ac_compile) 2>conftest.er1
7891 ac_status=$?
7892 grep -v '^ *+' conftest.er1 >conftest.err
7893 rm -f conftest.er1
7894 cat conftest.err >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); } &&
7897 { ac_try='test -z "$ac_c_werror_flag"
7898 || test ! -s conftest.err'
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 (eval $ac_try) 2>&5
7901 ac_status=$?
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; } &&
7904 { ac_try='test -s conftest.$ac_objext'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 (eval $ac_try) 2>&5
7907 ac_status=$?
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7910 ac_header_compiler=yes
7911 else
7912 echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.$ac_ext >&5
7915 ac_header_compiler=no
7917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7919 echo "${ECHO_T}$ac_header_compiler" >&6
7921 # Is the header present?
7922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7924 cat >conftest.$ac_ext <<_ACEOF
7925 /* confdefs.h. */
7926 _ACEOF
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7930 #include <$ac_header>
7931 _ACEOF
7932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7934 ac_status=$?
7935 grep -v '^ *+' conftest.er1 >conftest.err
7936 rm -f conftest.er1
7937 cat conftest.err >&5
7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); } >/dev/null; then
7940 if test -s conftest.err; then
7941 ac_cpp_err=$ac_c_preproc_warn_flag
7942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7943 else
7944 ac_cpp_err=
7946 else
7947 ac_cpp_err=yes
7949 if test -z "$ac_cpp_err"; then
7950 ac_header_preproc=yes
7951 else
7952 echo "$as_me: failed program was:" >&5
7953 sed 's/^/| /' conftest.$ac_ext >&5
7955 ac_header_preproc=no
7957 rm -f conftest.err conftest.$ac_ext
7958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7959 echo "${ECHO_T}$ac_header_preproc" >&6
7961 # So? What about this header?
7962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7963 yes:no: )
7964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7968 ac_header_preproc=yes
7970 no:yes:* )
7971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7984 cat <<\_ASBOX
7985 ## ----------------------------------------- ##
7986 ## Report this to the package-unused lists. ##
7987 ## ----------------------------------------- ##
7988 _ASBOX
7990 sed "s/^/$as_me: WARNING: /" >&2
7992 esac
7993 echo "$as_me:$LINENO: checking for $ac_header" >&5
7994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7997 else
7998 eval "$as_ac_Header=\$ac_header_preproc"
8000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8005 cat >>confdefs.h <<_ACEOF
8006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8007 _ACEOF
8011 done
8015 # All these tests are for C++; save the language and the compiler flags.
8016 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8017 # found in GLIBCXX_CONFIGURE.
8020 ac_ext=cc
8021 ac_cpp='$CXXCPP $CPPFLAGS'
8022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8026 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8027 ac_save_CXXFLAGS="$CXXFLAGS"
8029 # Check for maintainer-mode bits.
8030 if test x"$USE_MAINTAINER_MODE" = xno; then
8031 WERROR=''
8032 else
8033 WERROR='-Werror'
8036 # Check for -ffunction-sections -fdata-sections
8037 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8038 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8039 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8040 cat >conftest.$ac_ext <<_ACEOF
8041 /* confdefs.h. */
8042 _ACEOF
8043 cat confdefs.h >>conftest.$ac_ext
8044 cat >>conftest.$ac_ext <<_ACEOF
8045 /* end confdefs.h. */
8048 main ()
8050 int foo;
8052 return 0;
8054 _ACEOF
8055 rm -f conftest.$ac_objext
8056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8057 (eval $ac_compile) 2>conftest.er1
8058 ac_status=$?
8059 grep -v '^ *+' conftest.er1 >conftest.err
8060 rm -f conftest.er1
8061 cat conftest.err >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } &&
8064 { ac_try='test -z "$ac_cxx_werror_flag"
8065 || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067 (eval $ac_try) 2>&5
8068 ac_status=$?
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } &&
8071 { ac_try='test -s conftest.$ac_objext'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 (eval $ac_try) 2>&5
8074 ac_status=$?
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then
8077 ac_fdsections=yes
8078 else
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8082 ac_fdsections=no
8084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8085 if test "$ac_test_CXXFLAGS" = set; then
8086 CXXFLAGS="$ac_save_CXXFLAGS"
8087 else
8088 # this is the suspicious part
8089 CXXFLAGS=''
8091 if test x"$ac_fdsections" = x"yes"; then
8092 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8094 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8095 echo "${ECHO_T}$ac_fdsections" >&6
8097 ac_ext=c
8098 ac_cpp='$CPP $CPPFLAGS'
8099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8107 # If we're not using GNU ld, then there's no point in even trying these
8108 # tests. Check for that first. We should have already tested for gld
8109 # by now (in libtool), but require it now just to be safe...
8110 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8111 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8115 # The name set by libtool depends on the version of libtool. Shame on us
8116 # for depending on an impl detail, but c'est la vie. Older versions used
8117 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8118 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8119 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8120 # set (hence we're using an older libtool), then set it.
8121 if test x${with_gnu_ld+set} != xset; then
8122 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8123 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8124 with_gnu_ld=no
8125 else
8126 with_gnu_ld=$ac_cv_prog_gnu_ld
8130 # Start by getting the version number. I think the libtool test already
8131 # does some of this, but throws away the result.
8133 ldver=`$LD --version 2>/dev/null | head -1 | \
8134 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8136 glibcxx_gnu_ld_version=`echo $ldver | \
8137 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8139 # Set --gc-sections.
8140 if test "$with_gnu_ld" = "notbroken"; then
8141 # GNU ld it is! Joy and bunny rabbits!
8143 # All these tests are for C++; save the language and the compiler flags.
8144 # Need to do this so that g++ won't try to link in libstdc++
8145 ac_test_CFLAGS="${CFLAGS+set}"
8146 ac_save_CFLAGS="$CFLAGS"
8147 CFLAGS='-x c++ -Wl,--gc-sections'
8149 # Check for -Wl,--gc-sections
8150 # XXX This test is broken at the moment, as symbols required for linking
8151 # are now in libsupc++ (not built yet). In addition, this test has
8152 # cored on solaris in the past. In addition, --gc-sections doesn't
8153 # really work at the moment (keeps on discarding used sections, first
8154 # .eh_frame and now some of the glibc sections for iconv).
8155 # Bzzzzt. Thanks for playing, maybe next time.
8156 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8157 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8158 if test "$cross_compiling" = yes; then
8159 ac_sectionLDflags=yes
8160 else
8161 cat >conftest.$ac_ext <<_ACEOF
8162 /* confdefs.h. */
8163 _ACEOF
8164 cat confdefs.h >>conftest.$ac_ext
8165 cat >>conftest.$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8168 int main(void)
8170 try { throw 1; }
8171 catch (...) { };
8172 return 0;
8175 _ACEOF
8176 rm -f conftest$ac_exeext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8178 (eval $ac_link) 2>&5
8179 ac_status=$?
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 (eval $ac_try) 2>&5
8184 ac_status=$?
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); }; }; then
8187 ac_sectionLDflags=yes
8188 else
8189 echo "$as_me: program exited with status $ac_status" >&5
8190 echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.$ac_ext >&5
8193 ( exit $ac_status )
8194 ac_sectionLDflags=no
8196 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8198 if test "$ac_test_CFLAGS" = set; then
8199 CFLAGS="$ac_save_CFLAGS"
8200 else
8201 # this is the suspicious part
8202 CFLAGS=''
8204 if test "$ac_sectionLDflags" = "yes"; then
8205 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8207 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8208 echo "${ECHO_T}$ac_sectionLDflags" >&6
8211 # Set linker optimization flags.
8212 if test x"$with_gnu_ld" = x"yes"; then
8213 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8220 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8221 ac_save_CXXFLAGS="$CXXFLAGS"
8222 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8224 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8225 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8226 if test "${ac_cv_lib_m_sin+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229 ac_check_lib_save_LIBS=$LIBS
8230 LIBS="-lm $LIBS"
8231 if test x$gcc_no_link = xyes; then
8232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8234 { (exit 1); exit 1; }; }
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 /* Override any gcc2 internal prototype to avoid an error. */
8244 #ifdef __cplusplus
8245 extern "C"
8246 #endif
8247 /* We use char because int might match the return type of a gcc2
8248 builtin and then its argument prototype would still apply. */
8249 char sin ();
8251 main ()
8253 sin ();
8255 return 0;
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260 (eval $ac_link) 2>conftest.er1
8261 ac_status=$?
8262 grep -v '^ *+' conftest.er1 >conftest.err
8263 rm -f conftest.er1
8264 cat conftest.err >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 (eval $ac_try) 2>&5
8271 ac_status=$?
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try='test -s conftest$ac_exeext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 (eval $ac_try) 2>&5
8277 ac_status=$?
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8280 ac_cv_lib_m_sin=yes
8281 else
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.$ac_ext >&5
8285 ac_cv_lib_m_sin=no
8287 rm -f conftest.err conftest.$ac_objext \
8288 conftest$ac_exeext conftest.$ac_ext
8289 LIBS=$ac_check_lib_save_LIBS
8291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8292 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8293 if test $ac_cv_lib_m_sin = yes; then
8294 libm="-lm"
8297 ac_save_LIBS="$LIBS"
8298 LIBS="$LIBS $libm"
8302 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8303 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8304 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8305 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 else
8311 ac_ext=cc
8312 ac_cpp='$CXXCPP $CPPFLAGS'
8313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8317 cat >conftest.$ac_ext <<_ACEOF
8318 /* confdefs.h. */
8319 _ACEOF
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8323 #include <math.h>
8324 #ifdef HAVE_IEEEFP_H
8325 #include <ieeefp.h>
8326 #endif
8329 main ()
8331 isinf(0);
8333 return 0;
8335 _ACEOF
8336 rm -f conftest.$ac_objext
8337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8338 (eval $ac_compile) 2>conftest.er1
8339 ac_status=$?
8340 grep -v '^ *+' conftest.er1 >conftest.err
8341 rm -f conftest.er1
8342 cat conftest.err >&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); } &&
8345 { ac_try='test -z "$ac_cxx_werror_flag"
8346 || test ! -s conftest.err'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 (eval $ac_try) 2>&5
8349 ac_status=$?
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; } &&
8352 { ac_try='test -s conftest.$ac_objext'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 (eval $ac_try) 2>&5
8355 ac_status=$?
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; }; then
8358 glibcxx_cv_func_isinf_use=yes
8359 else
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.$ac_ext >&5
8363 glibcxx_cv_func_isinf_use=no
8365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8366 ac_ext=c
8367 ac_cpp='$CPP $CPPFLAGS'
8368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8377 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8379 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8381 for ac_func in isinf
8383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8384 echo "$as_me:$LINENO: checking for $ac_func" >&5
8385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8386 if eval "test \"\${$as_ac_var+set}\" = set"; then
8387 echo $ECHO_N "(cached) $ECHO_C" >&6
8388 else
8389 if test x$gcc_no_link = xyes; then
8390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8392 { (exit 1); exit 1; }; }
8394 cat >conftest.$ac_ext <<_ACEOF
8395 /* confdefs.h. */
8396 _ACEOF
8397 cat confdefs.h >>conftest.$ac_ext
8398 cat >>conftest.$ac_ext <<_ACEOF
8399 /* end confdefs.h. */
8400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8402 #define $ac_func innocuous_$ac_func
8404 /* System header to define __stub macros and hopefully few prototypes,
8405 which can conflict with char $ac_func (); below.
8406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8407 <limits.h> exists even on freestanding compilers. */
8409 #ifdef __STDC__
8410 # include <limits.h>
8411 #else
8412 # include <assert.h>
8413 #endif
8415 #undef $ac_func
8417 /* Override any gcc2 internal prototype to avoid an error. */
8418 #ifdef __cplusplus
8419 extern "C"
8421 #endif
8422 /* We use char because int might match the return type of a gcc2
8423 builtin and then its argument prototype would still apply. */
8424 char $ac_func ();
8425 /* The GNU C library defines this for functions which it implements
8426 to always fail with ENOSYS. Some functions are actually named
8427 something starting with __ and the normal name is an alias. */
8428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8429 choke me
8430 #else
8431 char (*f) () = $ac_func;
8432 #endif
8433 #ifdef __cplusplus
8435 #endif
8438 main ()
8440 return f != $ac_func;
8442 return 0;
8444 _ACEOF
8445 rm -f conftest.$ac_objext conftest$ac_exeext
8446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8447 (eval $ac_link) 2>conftest.er1
8448 ac_status=$?
8449 grep -v '^ *+' conftest.er1 >conftest.err
8450 rm -f conftest.er1
8451 cat conftest.err >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } &&
8454 { ac_try='test -z "$ac_c_werror_flag"
8455 || test ! -s conftest.err'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 (eval $ac_try) 2>&5
8458 ac_status=$?
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; } &&
8461 { ac_try='test -s conftest$ac_exeext'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8463 (eval $ac_try) 2>&5
8464 ac_status=$?
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; }; then
8467 eval "$as_ac_var=yes"
8468 else
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.$ac_ext >&5
8472 eval "$as_ac_var=no"
8474 rm -f conftest.err conftest.$ac_objext \
8475 conftest$ac_exeext conftest.$ac_ext
8477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8479 if test `eval echo '${'$as_ac_var'}'` = yes; then
8480 cat >>confdefs.h <<_ACEOF
8481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8482 _ACEOF
8485 done
8487 else
8489 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8490 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8491 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8492 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 else
8498 ac_ext=cc
8499 ac_cpp='$CXXCPP $CPPFLAGS'
8500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8504 cat >conftest.$ac_ext <<_ACEOF
8505 /* confdefs.h. */
8506 _ACEOF
8507 cat confdefs.h >>conftest.$ac_ext
8508 cat >>conftest.$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8510 #include <math.h>
8511 #ifdef HAVE_IEEEFP_H
8512 #include <ieeefp.h>
8513 #endif
8516 main ()
8518 _isinf(0);
8520 return 0;
8522 _ACEOF
8523 rm -f conftest.$ac_objext
8524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8525 (eval $ac_compile) 2>conftest.er1
8526 ac_status=$?
8527 grep -v '^ *+' conftest.er1 >conftest.err
8528 rm -f conftest.er1
8529 cat conftest.err >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); } &&
8532 { ac_try='test -z "$ac_cxx_werror_flag"
8533 || test ! -s conftest.err'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 (eval $ac_try) 2>&5
8536 ac_status=$?
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; } &&
8539 { ac_try='test -s conftest.$ac_objext'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 (eval $ac_try) 2>&5
8542 ac_status=$?
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; }; then
8545 glibcxx_cv_func__isinf_use=yes
8546 else
8547 echo "$as_me: failed program was:" >&5
8548 sed 's/^/| /' conftest.$ac_ext >&5
8550 glibcxx_cv_func__isinf_use=no
8552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8553 ac_ext=c
8554 ac_cpp='$CPP $CPPFLAGS'
8555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8564 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8566 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8568 for ac_func in _isinf
8570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8571 echo "$as_me:$LINENO: checking for $ac_func" >&5
8572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8573 if eval "test \"\${$as_ac_var+set}\" = set"; then
8574 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 else
8576 if test x$gcc_no_link = xyes; then
8577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8579 { (exit 1); exit 1; }; }
8581 cat >conftest.$ac_ext <<_ACEOF
8582 /* confdefs.h. */
8583 _ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8589 #define $ac_func innocuous_$ac_func
8591 /* System header to define __stub macros and hopefully few prototypes,
8592 which can conflict with char $ac_func (); below.
8593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8594 <limits.h> exists even on freestanding compilers. */
8596 #ifdef __STDC__
8597 # include <limits.h>
8598 #else
8599 # include <assert.h>
8600 #endif
8602 #undef $ac_func
8604 /* Override any gcc2 internal prototype to avoid an error. */
8605 #ifdef __cplusplus
8606 extern "C"
8608 #endif
8609 /* We use char because int might match the return type of a gcc2
8610 builtin and then its argument prototype would still apply. */
8611 char $ac_func ();
8612 /* The GNU C library defines this for functions which it implements
8613 to always fail with ENOSYS. Some functions are actually named
8614 something starting with __ and the normal name is an alias. */
8615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8616 choke me
8617 #else
8618 char (*f) () = $ac_func;
8619 #endif
8620 #ifdef __cplusplus
8622 #endif
8625 main ()
8627 return f != $ac_func;
8629 return 0;
8631 _ACEOF
8632 rm -f conftest.$ac_objext conftest$ac_exeext
8633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8634 (eval $ac_link) 2>conftest.er1
8635 ac_status=$?
8636 grep -v '^ *+' conftest.er1 >conftest.err
8637 rm -f conftest.er1
8638 cat conftest.err >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); } &&
8641 { ac_try='test -z "$ac_c_werror_flag"
8642 || test ! -s conftest.err'
8643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 (eval $ac_try) 2>&5
8645 ac_status=$?
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); }; } &&
8648 { ac_try='test -s conftest$ac_exeext'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 (eval $ac_try) 2>&5
8651 ac_status=$?
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; }; then
8654 eval "$as_ac_var=yes"
8655 else
8656 echo "$as_me: failed program was:" >&5
8657 sed 's/^/| /' conftest.$ac_ext >&5
8659 eval "$as_ac_var=no"
8661 rm -f conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8666 if test `eval echo '${'$as_ac_var'}'` = yes; then
8667 cat >>confdefs.h <<_ACEOF
8668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8669 _ACEOF
8672 done
8679 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8680 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8681 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8682 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8684 else
8688 ac_ext=cc
8689 ac_cpp='$CXXCPP $CPPFLAGS'
8690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8694 cat >conftest.$ac_ext <<_ACEOF
8695 /* confdefs.h. */
8696 _ACEOF
8697 cat confdefs.h >>conftest.$ac_ext
8698 cat >>conftest.$ac_ext <<_ACEOF
8699 /* end confdefs.h. */
8700 #include <math.h>
8701 #ifdef HAVE_IEEEFP_H
8702 #include <ieeefp.h>
8703 #endif
8706 main ()
8708 isnan(0);
8710 return 0;
8712 _ACEOF
8713 rm -f conftest.$ac_objext
8714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8715 (eval $ac_compile) 2>conftest.er1
8716 ac_status=$?
8717 grep -v '^ *+' conftest.er1 >conftest.err
8718 rm -f conftest.er1
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } &&
8722 { ac_try='test -z "$ac_cxx_werror_flag"
8723 || test ! -s conftest.err'
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); }; } &&
8729 { ac_try='test -s conftest.$ac_objext'
8730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 (eval $ac_try) 2>&5
8732 ac_status=$?
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }; }; then
8735 glibcxx_cv_func_isnan_use=yes
8736 else
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.$ac_ext >&5
8740 glibcxx_cv_func_isnan_use=no
8742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8743 ac_ext=c
8744 ac_cpp='$CPP $CPPFLAGS'
8745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8754 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8756 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8758 for ac_func in isnan
8760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8761 echo "$as_me:$LINENO: checking for $ac_func" >&5
8762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8763 if eval "test \"\${$as_ac_var+set}\" = set"; then
8764 echo $ECHO_N "(cached) $ECHO_C" >&6
8765 else
8766 if test x$gcc_no_link = xyes; then
8767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8769 { (exit 1); exit 1; }; }
8771 cat >conftest.$ac_ext <<_ACEOF
8772 /* confdefs.h. */
8773 _ACEOF
8774 cat confdefs.h >>conftest.$ac_ext
8775 cat >>conftest.$ac_ext <<_ACEOF
8776 /* end confdefs.h. */
8777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8779 #define $ac_func innocuous_$ac_func
8781 /* System header to define __stub macros and hopefully few prototypes,
8782 which can conflict with char $ac_func (); below.
8783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8784 <limits.h> exists even on freestanding compilers. */
8786 #ifdef __STDC__
8787 # include <limits.h>
8788 #else
8789 # include <assert.h>
8790 #endif
8792 #undef $ac_func
8794 /* Override any gcc2 internal prototype to avoid an error. */
8795 #ifdef __cplusplus
8796 extern "C"
8798 #endif
8799 /* We use char because int might match the return type of a gcc2
8800 builtin and then its argument prototype would still apply. */
8801 char $ac_func ();
8802 /* The GNU C library defines this for functions which it implements
8803 to always fail with ENOSYS. Some functions are actually named
8804 something starting with __ and the normal name is an alias. */
8805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8806 choke me
8807 #else
8808 char (*f) () = $ac_func;
8809 #endif
8810 #ifdef __cplusplus
8812 #endif
8815 main ()
8817 return f != $ac_func;
8819 return 0;
8821 _ACEOF
8822 rm -f conftest.$ac_objext conftest$ac_exeext
8823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8824 (eval $ac_link) 2>conftest.er1
8825 ac_status=$?
8826 grep -v '^ *+' conftest.er1 >conftest.err
8827 rm -f conftest.er1
8828 cat conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } &&
8831 { ac_try='test -z "$ac_c_werror_flag"
8832 || test ! -s conftest.err'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 (eval $ac_try) 2>&5
8835 ac_status=$?
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; } &&
8838 { ac_try='test -s conftest$ac_exeext'
8839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 (eval $ac_try) 2>&5
8841 ac_status=$?
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); }; }; then
8844 eval "$as_ac_var=yes"
8845 else
8846 echo "$as_me: failed program was:" >&5
8847 sed 's/^/| /' conftest.$ac_ext >&5
8849 eval "$as_ac_var=no"
8851 rm -f conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8856 if test `eval echo '${'$as_ac_var'}'` = yes; then
8857 cat >>confdefs.h <<_ACEOF
8858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8859 _ACEOF
8862 done
8864 else
8866 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8867 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8868 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8869 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 else
8875 ac_ext=cc
8876 ac_cpp='$CXXCPP $CPPFLAGS'
8877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8881 cat >conftest.$ac_ext <<_ACEOF
8882 /* confdefs.h. */
8883 _ACEOF
8884 cat confdefs.h >>conftest.$ac_ext
8885 cat >>conftest.$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8887 #include <math.h>
8888 #ifdef HAVE_IEEEFP_H
8889 #include <ieeefp.h>
8890 #endif
8893 main ()
8895 _isnan(0);
8897 return 0;
8899 _ACEOF
8900 rm -f conftest.$ac_objext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8902 (eval $ac_compile) 2>conftest.er1
8903 ac_status=$?
8904 grep -v '^ *+' conftest.er1 >conftest.err
8905 rm -f conftest.er1
8906 cat conftest.err >&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try='test -z "$ac_cxx_werror_flag"
8910 || test ! -s conftest.err'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 (eval $ac_try) 2>&5
8913 ac_status=$?
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try='test -s conftest.$ac_objext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 (eval $ac_try) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; }; then
8922 glibcxx_cv_func__isnan_use=yes
8923 else
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8927 glibcxx_cv_func__isnan_use=no
8929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8930 ac_ext=c
8931 ac_cpp='$CPP $CPPFLAGS'
8932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8941 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8943 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8945 for ac_func in _isnan
8947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8948 echo "$as_me:$LINENO: checking for $ac_func" >&5
8949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8950 if eval "test \"\${$as_ac_var+set}\" = set"; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 else
8953 if test x$gcc_no_link = xyes; then
8954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8956 { (exit 1); exit 1; }; }
8958 cat >conftest.$ac_ext <<_ACEOF
8959 /* confdefs.h. */
8960 _ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8966 #define $ac_func innocuous_$ac_func
8968 /* System header to define __stub macros and hopefully few prototypes,
8969 which can conflict with char $ac_func (); below.
8970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8971 <limits.h> exists even on freestanding compilers. */
8973 #ifdef __STDC__
8974 # include <limits.h>
8975 #else
8976 # include <assert.h>
8977 #endif
8979 #undef $ac_func
8981 /* Override any gcc2 internal prototype to avoid an error. */
8982 #ifdef __cplusplus
8983 extern "C"
8985 #endif
8986 /* We use char because int might match the return type of a gcc2
8987 builtin and then its argument prototype would still apply. */
8988 char $ac_func ();
8989 /* The GNU C library defines this for functions which it implements
8990 to always fail with ENOSYS. Some functions are actually named
8991 something starting with __ and the normal name is an alias. */
8992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8993 choke me
8994 #else
8995 char (*f) () = $ac_func;
8996 #endif
8997 #ifdef __cplusplus
8999 #endif
9002 main ()
9004 return f != $ac_func;
9006 return 0;
9008 _ACEOF
9009 rm -f conftest.$ac_objext conftest$ac_exeext
9010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9011 (eval $ac_link) 2>conftest.er1
9012 ac_status=$?
9013 grep -v '^ *+' conftest.er1 >conftest.err
9014 rm -f conftest.er1
9015 cat conftest.err >&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); } &&
9018 { ac_try='test -z "$ac_c_werror_flag"
9019 || test ! -s conftest.err'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 (eval $ac_try) 2>&5
9022 ac_status=$?
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; } &&
9025 { ac_try='test -s conftest$ac_exeext'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 (eval $ac_try) 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 eval "$as_ac_var=yes"
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 eval "$as_ac_var=no"
9038 rm -f conftest.err conftest.$ac_objext \
9039 conftest$ac_exeext conftest.$ac_ext
9041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9043 if test `eval echo '${'$as_ac_var'}'` = yes; then
9044 cat >>confdefs.h <<_ACEOF
9045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9046 _ACEOF
9049 done
9056 echo "$as_me:$LINENO: checking for finite declaration" >&5
9057 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9058 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9059 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 else
9065 ac_ext=cc
9066 ac_cpp='$CXXCPP $CPPFLAGS'
9067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9071 cat >conftest.$ac_ext <<_ACEOF
9072 /* confdefs.h. */
9073 _ACEOF
9074 cat confdefs.h >>conftest.$ac_ext
9075 cat >>conftest.$ac_ext <<_ACEOF
9076 /* end confdefs.h. */
9077 #include <math.h>
9078 #ifdef HAVE_IEEEFP_H
9079 #include <ieeefp.h>
9080 #endif
9083 main ()
9085 finite(0);
9087 return 0;
9089 _ACEOF
9090 rm -f conftest.$ac_objext
9091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9092 (eval $ac_compile) 2>conftest.er1
9093 ac_status=$?
9094 grep -v '^ *+' conftest.er1 >conftest.err
9095 rm -f conftest.er1
9096 cat conftest.err >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); } &&
9099 { ac_try='test -z "$ac_cxx_werror_flag"
9100 || test ! -s conftest.err'
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); }; } &&
9106 { ac_try='test -s conftest.$ac_objext'
9107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 (eval $ac_try) 2>&5
9109 ac_status=$?
9110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); }; }; then
9112 glibcxx_cv_func_finite_use=yes
9113 else
9114 echo "$as_me: failed program was:" >&5
9115 sed 's/^/| /' conftest.$ac_ext >&5
9117 glibcxx_cv_func_finite_use=no
9119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9120 ac_ext=c
9121 ac_cpp='$CPP $CPPFLAGS'
9122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9131 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9133 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9135 for ac_func in finite
9137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9138 echo "$as_me:$LINENO: checking for $ac_func" >&5
9139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9140 if eval "test \"\${$as_ac_var+set}\" = set"; then
9141 echo $ECHO_N "(cached) $ECHO_C" >&6
9142 else
9143 if test x$gcc_no_link = xyes; then
9144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9146 { (exit 1); exit 1; }; }
9148 cat >conftest.$ac_ext <<_ACEOF
9149 /* confdefs.h. */
9150 _ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9156 #define $ac_func innocuous_$ac_func
9158 /* System header to define __stub macros and hopefully few prototypes,
9159 which can conflict with char $ac_func (); below.
9160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9161 <limits.h> exists even on freestanding compilers. */
9163 #ifdef __STDC__
9164 # include <limits.h>
9165 #else
9166 # include <assert.h>
9167 #endif
9169 #undef $ac_func
9171 /* Override any gcc2 internal prototype to avoid an error. */
9172 #ifdef __cplusplus
9173 extern "C"
9175 #endif
9176 /* We use char because int might match the return type of a gcc2
9177 builtin and then its argument prototype would still apply. */
9178 char $ac_func ();
9179 /* The GNU C library defines this for functions which it implements
9180 to always fail with ENOSYS. Some functions are actually named
9181 something starting with __ and the normal name is an alias. */
9182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9183 choke me
9184 #else
9185 char (*f) () = $ac_func;
9186 #endif
9187 #ifdef __cplusplus
9189 #endif
9192 main ()
9194 return f != $ac_func;
9196 return 0;
9198 _ACEOF
9199 rm -f conftest.$ac_objext conftest$ac_exeext
9200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9201 (eval $ac_link) 2>conftest.er1
9202 ac_status=$?
9203 grep -v '^ *+' conftest.er1 >conftest.err
9204 rm -f conftest.er1
9205 cat conftest.err >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); } &&
9208 { ac_try='test -z "$ac_c_werror_flag"
9209 || test ! -s conftest.err'
9210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9211 (eval $ac_try) 2>&5
9212 ac_status=$?
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); }; } &&
9215 { ac_try='test -s conftest$ac_exeext'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9217 (eval $ac_try) 2>&5
9218 ac_status=$?
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; }; then
9221 eval "$as_ac_var=yes"
9222 else
9223 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.$ac_ext >&5
9226 eval "$as_ac_var=no"
9228 rm -f conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9233 if test `eval echo '${'$as_ac_var'}'` = yes; then
9234 cat >>confdefs.h <<_ACEOF
9235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9236 _ACEOF
9239 done
9241 else
9243 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9244 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9245 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9246 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9247 echo $ECHO_N "(cached) $ECHO_C" >&6
9248 else
9252 ac_ext=cc
9253 ac_cpp='$CXXCPP $CPPFLAGS'
9254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9258 cat >conftest.$ac_ext <<_ACEOF
9259 /* confdefs.h. */
9260 _ACEOF
9261 cat confdefs.h >>conftest.$ac_ext
9262 cat >>conftest.$ac_ext <<_ACEOF
9263 /* end confdefs.h. */
9264 #include <math.h>
9265 #ifdef HAVE_IEEEFP_H
9266 #include <ieeefp.h>
9267 #endif
9270 main ()
9272 _finite(0);
9274 return 0;
9276 _ACEOF
9277 rm -f conftest.$ac_objext
9278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9279 (eval $ac_compile) 2>conftest.er1
9280 ac_status=$?
9281 grep -v '^ *+' conftest.er1 >conftest.err
9282 rm -f conftest.er1
9283 cat conftest.err >&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); } &&
9286 { ac_try='test -z "$ac_cxx_werror_flag"
9287 || test ! -s conftest.err'
9288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 (eval $ac_try) 2>&5
9290 ac_status=$?
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); }; } &&
9293 { ac_try='test -s conftest.$ac_objext'
9294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9295 (eval $ac_try) 2>&5
9296 ac_status=$?
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); }; }; then
9299 glibcxx_cv_func__finite_use=yes
9300 else
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.$ac_ext >&5
9304 glibcxx_cv_func__finite_use=no
9306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9307 ac_ext=c
9308 ac_cpp='$CPP $CPPFLAGS'
9309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9318 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9320 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9322 for ac_func in _finite
9324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9325 echo "$as_me:$LINENO: checking for $ac_func" >&5
9326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9327 if eval "test \"\${$as_ac_var+set}\" = set"; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9329 else
9330 if test x$gcc_no_link = xyes; then
9331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9333 { (exit 1); exit 1; }; }
9335 cat >conftest.$ac_ext <<_ACEOF
9336 /* confdefs.h. */
9337 _ACEOF
9338 cat confdefs.h >>conftest.$ac_ext
9339 cat >>conftest.$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9343 #define $ac_func innocuous_$ac_func
9345 /* System header to define __stub macros and hopefully few prototypes,
9346 which can conflict with char $ac_func (); below.
9347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9348 <limits.h> exists even on freestanding compilers. */
9350 #ifdef __STDC__
9351 # include <limits.h>
9352 #else
9353 # include <assert.h>
9354 #endif
9356 #undef $ac_func
9358 /* Override any gcc2 internal prototype to avoid an error. */
9359 #ifdef __cplusplus
9360 extern "C"
9362 #endif
9363 /* We use char because int might match the return type of a gcc2
9364 builtin and then its argument prototype would still apply. */
9365 char $ac_func ();
9366 /* The GNU C library defines this for functions which it implements
9367 to always fail with ENOSYS. Some functions are actually named
9368 something starting with __ and the normal name is an alias. */
9369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9370 choke me
9371 #else
9372 char (*f) () = $ac_func;
9373 #endif
9374 #ifdef __cplusplus
9376 #endif
9379 main ()
9381 return f != $ac_func;
9383 return 0;
9385 _ACEOF
9386 rm -f conftest.$ac_objext conftest$ac_exeext
9387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9388 (eval $ac_link) 2>conftest.er1
9389 ac_status=$?
9390 grep -v '^ *+' conftest.er1 >conftest.err
9391 rm -f conftest.er1
9392 cat conftest.err >&5
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394 (exit $ac_status); } &&
9395 { ac_try='test -z "$ac_c_werror_flag"
9396 || test ! -s conftest.err'
9397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398 (eval $ac_try) 2>&5
9399 ac_status=$?
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; } &&
9402 { ac_try='test -s conftest$ac_exeext'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9404 (eval $ac_try) 2>&5
9405 ac_status=$?
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; }; then
9408 eval "$as_ac_var=yes"
9409 else
9410 echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.$ac_ext >&5
9413 eval "$as_ac_var=no"
9415 rm -f conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9420 if test `eval echo '${'$as_ac_var'}'` = yes; then
9421 cat >>confdefs.h <<_ACEOF
9422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9423 _ACEOF
9426 done
9433 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9434 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9435 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9436 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9437 echo $ECHO_N "(cached) $ECHO_C" >&6
9438 else
9442 ac_ext=cc
9443 ac_cpp='$CXXCPP $CPPFLAGS'
9444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9448 cat >conftest.$ac_ext <<_ACEOF
9449 /* confdefs.h. */
9450 _ACEOF
9451 cat confdefs.h >>conftest.$ac_ext
9452 cat >>conftest.$ac_ext <<_ACEOF
9453 /* end confdefs.h. */
9454 #include <math.h>
9456 main ()
9458 copysign(0, 0);
9460 return 0;
9462 _ACEOF
9463 rm -f conftest.$ac_objext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9465 (eval $ac_compile) 2>conftest.er1
9466 ac_status=$?
9467 grep -v '^ *+' conftest.er1 >conftest.err
9468 rm -f conftest.er1
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } &&
9472 { ac_try='test -z "$ac_cxx_werror_flag"
9473 || test ! -s conftest.err'
9474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 (eval $ac_try) 2>&5
9476 ac_status=$?
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); }; } &&
9479 { ac_try='test -s conftest.$ac_objext'
9480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 (eval $ac_try) 2>&5
9482 ac_status=$?
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); }; }; then
9485 glibcxx_cv_func_copysign_use=yes
9486 else
9487 echo "$as_me: failed program was:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9490 glibcxx_cv_func_copysign_use=no
9492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9493 ac_ext=c
9494 ac_cpp='$CPP $CPPFLAGS'
9495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9504 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9506 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9508 for ac_func in copysign
9510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9511 echo "$as_me:$LINENO: checking for $ac_func" >&5
9512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9513 if eval "test \"\${$as_ac_var+set}\" = set"; then
9514 echo $ECHO_N "(cached) $ECHO_C" >&6
9515 else
9516 if test x$gcc_no_link = xyes; then
9517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9519 { (exit 1); exit 1; }; }
9521 cat >conftest.$ac_ext <<_ACEOF
9522 /* confdefs.h. */
9523 _ACEOF
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9529 #define $ac_func innocuous_$ac_func
9531 /* System header to define __stub macros and hopefully few prototypes,
9532 which can conflict with char $ac_func (); below.
9533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9534 <limits.h> exists even on freestanding compilers. */
9536 #ifdef __STDC__
9537 # include <limits.h>
9538 #else
9539 # include <assert.h>
9540 #endif
9542 #undef $ac_func
9544 /* Override any gcc2 internal prototype to avoid an error. */
9545 #ifdef __cplusplus
9546 extern "C"
9548 #endif
9549 /* We use char because int might match the return type of a gcc2
9550 builtin and then its argument prototype would still apply. */
9551 char $ac_func ();
9552 /* The GNU C library defines this for functions which it implements
9553 to always fail with ENOSYS. Some functions are actually named
9554 something starting with __ and the normal name is an alias. */
9555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9556 choke me
9557 #else
9558 char (*f) () = $ac_func;
9559 #endif
9560 #ifdef __cplusplus
9562 #endif
9565 main ()
9567 return f != $ac_func;
9569 return 0;
9571 _ACEOF
9572 rm -f conftest.$ac_objext conftest$ac_exeext
9573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9574 (eval $ac_link) 2>conftest.er1
9575 ac_status=$?
9576 grep -v '^ *+' conftest.er1 >conftest.err
9577 rm -f conftest.er1
9578 cat conftest.err >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); } &&
9581 { ac_try='test -z "$ac_c_werror_flag"
9582 || test ! -s conftest.err'
9583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584 (eval $ac_try) 2>&5
9585 ac_status=$?
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; } &&
9588 { ac_try='test -s conftest$ac_exeext'
9589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9590 (eval $ac_try) 2>&5
9591 ac_status=$?
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); }; }; then
9594 eval "$as_ac_var=yes"
9595 else
9596 echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.$ac_ext >&5
9599 eval "$as_ac_var=no"
9601 rm -f conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9606 if test `eval echo '${'$as_ac_var'}'` = yes; then
9607 cat >>confdefs.h <<_ACEOF
9608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9609 _ACEOF
9612 done
9614 else
9616 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9617 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9618 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9619 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9620 echo $ECHO_N "(cached) $ECHO_C" >&6
9621 else
9625 ac_ext=cc
9626 ac_cpp='$CXXCPP $CPPFLAGS'
9627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9631 cat >conftest.$ac_ext <<_ACEOF
9632 /* confdefs.h. */
9633 _ACEOF
9634 cat confdefs.h >>conftest.$ac_ext
9635 cat >>conftest.$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9637 #include <math.h>
9639 main ()
9641 _copysign(0, 0);
9643 return 0;
9645 _ACEOF
9646 rm -f conftest.$ac_objext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9648 (eval $ac_compile) 2>conftest.er1
9649 ac_status=$?
9650 grep -v '^ *+' conftest.er1 >conftest.err
9651 rm -f conftest.er1
9652 cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } &&
9655 { ac_try='test -z "$ac_cxx_werror_flag"
9656 || test ! -s conftest.err'
9657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658 (eval $ac_try) 2>&5
9659 ac_status=$?
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); }; } &&
9662 { ac_try='test -s conftest.$ac_objext'
9663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 (eval $ac_try) 2>&5
9665 ac_status=$?
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; }; then
9668 glibcxx_cv_func__copysign_use=yes
9669 else
9670 echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9673 glibcxx_cv_func__copysign_use=no
9675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9676 ac_ext=c
9677 ac_cpp='$CPP $CPPFLAGS'
9678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9687 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9689 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9691 for ac_func in _copysign
9693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9694 echo "$as_me:$LINENO: checking for $ac_func" >&5
9695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9696 if eval "test \"\${$as_ac_var+set}\" = set"; then
9697 echo $ECHO_N "(cached) $ECHO_C" >&6
9698 else
9699 if test x$gcc_no_link = xyes; then
9700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9702 { (exit 1); exit 1; }; }
9704 cat >conftest.$ac_ext <<_ACEOF
9705 /* confdefs.h. */
9706 _ACEOF
9707 cat confdefs.h >>conftest.$ac_ext
9708 cat >>conftest.$ac_ext <<_ACEOF
9709 /* end confdefs.h. */
9710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9712 #define $ac_func innocuous_$ac_func
9714 /* System header to define __stub macros and hopefully few prototypes,
9715 which can conflict with char $ac_func (); below.
9716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9717 <limits.h> exists even on freestanding compilers. */
9719 #ifdef __STDC__
9720 # include <limits.h>
9721 #else
9722 # include <assert.h>
9723 #endif
9725 #undef $ac_func
9727 /* Override any gcc2 internal prototype to avoid an error. */
9728 #ifdef __cplusplus
9729 extern "C"
9731 #endif
9732 /* We use char because int might match the return type of a gcc2
9733 builtin and then its argument prototype would still apply. */
9734 char $ac_func ();
9735 /* The GNU C library defines this for functions which it implements
9736 to always fail with ENOSYS. Some functions are actually named
9737 something starting with __ and the normal name is an alias. */
9738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9739 choke me
9740 #else
9741 char (*f) () = $ac_func;
9742 #endif
9743 #ifdef __cplusplus
9745 #endif
9748 main ()
9750 return f != $ac_func;
9752 return 0;
9754 _ACEOF
9755 rm -f conftest.$ac_objext conftest$ac_exeext
9756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9757 (eval $ac_link) 2>conftest.er1
9758 ac_status=$?
9759 grep -v '^ *+' conftest.er1 >conftest.err
9760 rm -f conftest.er1
9761 cat conftest.err >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); } &&
9764 { ac_try='test -z "$ac_c_werror_flag"
9765 || test ! -s conftest.err'
9766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 (eval $ac_try) 2>&5
9768 ac_status=$?
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); }; } &&
9771 { ac_try='test -s conftest$ac_exeext'
9772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 (eval $ac_try) 2>&5
9774 ac_status=$?
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); }; }; then
9777 eval "$as_ac_var=yes"
9778 else
9779 echo "$as_me: failed program was:" >&5
9780 sed 's/^/| /' conftest.$ac_ext >&5
9782 eval "$as_ac_var=no"
9784 rm -f conftest.err conftest.$ac_objext \
9785 conftest$ac_exeext conftest.$ac_ext
9787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9789 if test `eval echo '${'$as_ac_var'}'` = yes; then
9790 cat >>confdefs.h <<_ACEOF
9791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9792 _ACEOF
9795 done
9802 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9803 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9804 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9805 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9806 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 else
9811 ac_ext=cc
9812 ac_cpp='$CXXCPP $CPPFLAGS'
9813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9817 cat >conftest.$ac_ext <<_ACEOF
9818 /* confdefs.h. */
9819 _ACEOF
9820 cat confdefs.h >>conftest.$ac_ext
9821 cat >>conftest.$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 #include <math.h>
9825 main ()
9827 sincos(0, 0, 0);
9829 return 0;
9831 _ACEOF
9832 rm -f conftest.$ac_objext
9833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9834 (eval $ac_compile) 2>conftest.er1
9835 ac_status=$?
9836 grep -v '^ *+' conftest.er1 >conftest.err
9837 rm -f conftest.er1
9838 cat conftest.err >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } &&
9841 { ac_try='test -z "$ac_cxx_werror_flag"
9842 || test ! -s conftest.err'
9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9844 (eval $ac_try) 2>&5
9845 ac_status=$?
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); }; } &&
9848 { ac_try='test -s conftest.$ac_objext'
9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 (eval $ac_try) 2>&5
9851 ac_status=$?
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; }; then
9854 glibcxx_cv_func_sincos_use=yes
9855 else
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.$ac_ext >&5
9859 glibcxx_cv_func_sincos_use=no
9861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9862 ac_ext=c
9863 ac_cpp='$CPP $CPPFLAGS'
9864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9873 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9875 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9877 for ac_func in sincos
9879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9880 echo "$as_me:$LINENO: checking for $ac_func" >&5
9881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9882 if eval "test \"\${$as_ac_var+set}\" = set"; then
9883 echo $ECHO_N "(cached) $ECHO_C" >&6
9884 else
9885 if test x$gcc_no_link = xyes; then
9886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9888 { (exit 1); exit 1; }; }
9890 cat >conftest.$ac_ext <<_ACEOF
9891 /* confdefs.h. */
9892 _ACEOF
9893 cat confdefs.h >>conftest.$ac_ext
9894 cat >>conftest.$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9898 #define $ac_func innocuous_$ac_func
9900 /* System header to define __stub macros and hopefully few prototypes,
9901 which can conflict with char $ac_func (); below.
9902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9903 <limits.h> exists even on freestanding compilers. */
9905 #ifdef __STDC__
9906 # include <limits.h>
9907 #else
9908 # include <assert.h>
9909 #endif
9911 #undef $ac_func
9913 /* Override any gcc2 internal prototype to avoid an error. */
9914 #ifdef __cplusplus
9915 extern "C"
9917 #endif
9918 /* We use char because int might match the return type of a gcc2
9919 builtin and then its argument prototype would still apply. */
9920 char $ac_func ();
9921 /* The GNU C library defines this for functions which it implements
9922 to always fail with ENOSYS. Some functions are actually named
9923 something starting with __ and the normal name is an alias. */
9924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9925 choke me
9926 #else
9927 char (*f) () = $ac_func;
9928 #endif
9929 #ifdef __cplusplus
9931 #endif
9934 main ()
9936 return f != $ac_func;
9938 return 0;
9940 _ACEOF
9941 rm -f conftest.$ac_objext conftest$ac_exeext
9942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9943 (eval $ac_link) 2>conftest.er1
9944 ac_status=$?
9945 grep -v '^ *+' conftest.er1 >conftest.err
9946 rm -f conftest.er1
9947 cat conftest.err >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } &&
9950 { ac_try='test -z "$ac_c_werror_flag"
9951 || test ! -s conftest.err'
9952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9953 (eval $ac_try) 2>&5
9954 ac_status=$?
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); }; } &&
9957 { ac_try='test -s conftest$ac_exeext'
9958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9959 (eval $ac_try) 2>&5
9960 ac_status=$?
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); }; }; then
9963 eval "$as_ac_var=yes"
9964 else
9965 echo "$as_me: failed program was:" >&5
9966 sed 's/^/| /' conftest.$ac_ext >&5
9968 eval "$as_ac_var=no"
9970 rm -f conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9975 if test `eval echo '${'$as_ac_var'}'` = yes; then
9976 cat >>confdefs.h <<_ACEOF
9977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9978 _ACEOF
9981 done
9983 else
9985 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9986 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9987 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9988 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 else
9994 ac_ext=cc
9995 ac_cpp='$CXXCPP $CPPFLAGS'
9996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10000 cat >conftest.$ac_ext <<_ACEOF
10001 /* confdefs.h. */
10002 _ACEOF
10003 cat confdefs.h >>conftest.$ac_ext
10004 cat >>conftest.$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10006 #include <math.h>
10008 main ()
10010 _sincos(0, 0, 0);
10012 return 0;
10014 _ACEOF
10015 rm -f conftest.$ac_objext
10016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10017 (eval $ac_compile) 2>conftest.er1
10018 ac_status=$?
10019 grep -v '^ *+' conftest.er1 >conftest.err
10020 rm -f conftest.er1
10021 cat conftest.err >&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); } &&
10024 { ac_try='test -z "$ac_cxx_werror_flag"
10025 || test ! -s conftest.err'
10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10028 ac_status=$?
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; } &&
10031 { ac_try='test -s conftest.$ac_objext'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10034 ac_status=$?
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; }; then
10037 glibcxx_cv_func__sincos_use=yes
10038 else
10039 echo "$as_me: failed program was:" >&5
10040 sed 's/^/| /' conftest.$ac_ext >&5
10042 glibcxx_cv_func__sincos_use=no
10044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10045 ac_ext=c
10046 ac_cpp='$CPP $CPPFLAGS'
10047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10056 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10058 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10060 for ac_func in _sincos
10062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10063 echo "$as_me:$LINENO: checking for $ac_func" >&5
10064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10065 if eval "test \"\${$as_ac_var+set}\" = set"; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 else
10068 if test x$gcc_no_link = xyes; then
10069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10071 { (exit 1); exit 1; }; }
10073 cat >conftest.$ac_ext <<_ACEOF
10074 /* confdefs.h. */
10075 _ACEOF
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h. */
10079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10081 #define $ac_func innocuous_$ac_func
10083 /* System header to define __stub macros and hopefully few prototypes,
10084 which can conflict with char $ac_func (); below.
10085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10086 <limits.h> exists even on freestanding compilers. */
10088 #ifdef __STDC__
10089 # include <limits.h>
10090 #else
10091 # include <assert.h>
10092 #endif
10094 #undef $ac_func
10096 /* Override any gcc2 internal prototype to avoid an error. */
10097 #ifdef __cplusplus
10098 extern "C"
10100 #endif
10101 /* We use char because int might match the return type of a gcc2
10102 builtin and then its argument prototype would still apply. */
10103 char $ac_func ();
10104 /* The GNU C library defines this for functions which it implements
10105 to always fail with ENOSYS. Some functions are actually named
10106 something starting with __ and the normal name is an alias. */
10107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10108 choke me
10109 #else
10110 char (*f) () = $ac_func;
10111 #endif
10112 #ifdef __cplusplus
10114 #endif
10117 main ()
10119 return f != $ac_func;
10121 return 0;
10123 _ACEOF
10124 rm -f conftest.$ac_objext conftest$ac_exeext
10125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10126 (eval $ac_link) 2>conftest.er1
10127 ac_status=$?
10128 grep -v '^ *+' conftest.er1 >conftest.err
10129 rm -f conftest.er1
10130 cat conftest.err >&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } &&
10133 { ac_try='test -z "$ac_c_werror_flag"
10134 || test ! -s conftest.err'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10137 ac_status=$?
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; } &&
10140 { ac_try='test -s conftest$ac_exeext'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10143 ac_status=$?
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; }; then
10146 eval "$as_ac_var=yes"
10147 else
10148 echo "$as_me: failed program was:" >&5
10149 sed 's/^/| /' conftest.$ac_ext >&5
10151 eval "$as_ac_var=no"
10153 rm -f conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10158 if test `eval echo '${'$as_ac_var'}'` = yes; then
10159 cat >>confdefs.h <<_ACEOF
10160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10161 _ACEOF
10164 done
10171 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10172 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10173 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10174 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10175 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 else
10180 ac_ext=cc
10181 ac_cpp='$CXXCPP $CPPFLAGS'
10182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h. */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 #include <math.h>
10193 #ifdef HAVE_IEEEFP_H
10194 #include <ieeefp.h>
10195 #endif
10198 main ()
10200 fpclass(0);
10202 return 0;
10204 _ACEOF
10205 rm -f conftest.$ac_objext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10207 (eval $ac_compile) 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } &&
10214 { ac_try='test -z "$ac_cxx_werror_flag"
10215 || test ! -s conftest.err'
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); }; } &&
10221 { ac_try='test -s conftest.$ac_objext'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10224 ac_status=$?
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then
10227 glibcxx_cv_func_fpclass_use=yes
10228 else
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10232 glibcxx_cv_func_fpclass_use=no
10234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10235 ac_ext=c
10236 ac_cpp='$CPP $CPPFLAGS'
10237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10246 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10248 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10250 for ac_func in fpclass
10252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10253 echo "$as_me:$LINENO: checking for $ac_func" >&5
10254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10255 if eval "test \"\${$as_ac_var+set}\" = set"; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10257 else
10258 if test x$gcc_no_link = xyes; then
10259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10261 { (exit 1); exit 1; }; }
10263 cat >conftest.$ac_ext <<_ACEOF
10264 /* confdefs.h. */
10265 _ACEOF
10266 cat confdefs.h >>conftest.$ac_ext
10267 cat >>conftest.$ac_ext <<_ACEOF
10268 /* end confdefs.h. */
10269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10271 #define $ac_func innocuous_$ac_func
10273 /* System header to define __stub macros and hopefully few prototypes,
10274 which can conflict with char $ac_func (); below.
10275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10276 <limits.h> exists even on freestanding compilers. */
10278 #ifdef __STDC__
10279 # include <limits.h>
10280 #else
10281 # include <assert.h>
10282 #endif
10284 #undef $ac_func
10286 /* Override any gcc2 internal prototype to avoid an error. */
10287 #ifdef __cplusplus
10288 extern "C"
10290 #endif
10291 /* We use char because int might match the return type of a gcc2
10292 builtin and then its argument prototype would still apply. */
10293 char $ac_func ();
10294 /* The GNU C library defines this for functions which it implements
10295 to always fail with ENOSYS. Some functions are actually named
10296 something starting with __ and the normal name is an alias. */
10297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10298 choke me
10299 #else
10300 char (*f) () = $ac_func;
10301 #endif
10302 #ifdef __cplusplus
10304 #endif
10307 main ()
10309 return f != $ac_func;
10311 return 0;
10313 _ACEOF
10314 rm -f conftest.$ac_objext conftest$ac_exeext
10315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10316 (eval $ac_link) 2>conftest.er1
10317 ac_status=$?
10318 grep -v '^ *+' conftest.er1 >conftest.err
10319 rm -f conftest.er1
10320 cat conftest.err >&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } &&
10323 { ac_try='test -z "$ac_c_werror_flag"
10324 || test ! -s conftest.err'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; } &&
10330 { ac_try='test -s conftest$ac_exeext'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10333 ac_status=$?
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; }; then
10336 eval "$as_ac_var=yes"
10337 else
10338 echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10341 eval "$as_ac_var=no"
10343 rm -f conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10348 if test `eval echo '${'$as_ac_var'}'` = yes; then
10349 cat >>confdefs.h <<_ACEOF
10350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10351 _ACEOF
10354 done
10356 else
10358 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10359 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10360 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10361 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 else
10367 ac_ext=cc
10368 ac_cpp='$CXXCPP $CPPFLAGS'
10369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10373 cat >conftest.$ac_ext <<_ACEOF
10374 /* confdefs.h. */
10375 _ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10379 #include <math.h>
10380 #ifdef HAVE_IEEEFP_H
10381 #include <ieeefp.h>
10382 #endif
10385 main ()
10387 _fpclass(0);
10389 return 0;
10391 _ACEOF
10392 rm -f conftest.$ac_objext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10394 (eval $ac_compile) 2>conftest.er1
10395 ac_status=$?
10396 grep -v '^ *+' conftest.er1 >conftest.err
10397 rm -f conftest.er1
10398 cat conftest.err >&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } &&
10401 { ac_try='test -z "$ac_cxx_werror_flag"
10402 || test ! -s conftest.err'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10405 ac_status=$?
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; } &&
10408 { ac_try='test -s conftest.$ac_objext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10411 ac_status=$?
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10414 glibcxx_cv_func__fpclass_use=yes
10415 else
10416 echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.$ac_ext >&5
10419 glibcxx_cv_func__fpclass_use=no
10421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10422 ac_ext=c
10423 ac_cpp='$CPP $CPPFLAGS'
10424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10433 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10435 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10437 for ac_func in _fpclass
10439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10440 echo "$as_me:$LINENO: checking for $ac_func" >&5
10441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10442 if eval "test \"\${$as_ac_var+set}\" = set"; then
10443 echo $ECHO_N "(cached) $ECHO_C" >&6
10444 else
10445 if test x$gcc_no_link = xyes; then
10446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10448 { (exit 1); exit 1; }; }
10450 cat >conftest.$ac_ext <<_ACEOF
10451 /* confdefs.h. */
10452 _ACEOF
10453 cat confdefs.h >>conftest.$ac_ext
10454 cat >>conftest.$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10458 #define $ac_func innocuous_$ac_func
10460 /* System header to define __stub macros and hopefully few prototypes,
10461 which can conflict with char $ac_func (); below.
10462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10463 <limits.h> exists even on freestanding compilers. */
10465 #ifdef __STDC__
10466 # include <limits.h>
10467 #else
10468 # include <assert.h>
10469 #endif
10471 #undef $ac_func
10473 /* Override any gcc2 internal prototype to avoid an error. */
10474 #ifdef __cplusplus
10475 extern "C"
10477 #endif
10478 /* We use char because int might match the return type of a gcc2
10479 builtin and then its argument prototype would still apply. */
10480 char $ac_func ();
10481 /* The GNU C library defines this for functions which it implements
10482 to always fail with ENOSYS. Some functions are actually named
10483 something starting with __ and the normal name is an alias. */
10484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10485 choke me
10486 #else
10487 char (*f) () = $ac_func;
10488 #endif
10489 #ifdef __cplusplus
10491 #endif
10494 main ()
10496 return f != $ac_func;
10498 return 0;
10500 _ACEOF
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10503 (eval $ac_link) 2>conftest.er1
10504 ac_status=$?
10505 grep -v '^ *+' conftest.er1 >conftest.err
10506 rm -f conftest.er1
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -z "$ac_c_werror_flag"
10511 || test ! -s conftest.err'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10514 ac_status=$?
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try='test -s conftest$ac_exeext'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10520 ac_status=$?
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; }; then
10523 eval "$as_ac_var=yes"
10524 else
10525 echo "$as_me: failed program was:" >&5
10526 sed 's/^/| /' conftest.$ac_ext >&5
10528 eval "$as_ac_var=no"
10530 rm -f conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10535 if test `eval echo '${'$as_ac_var'}'` = yes; then
10536 cat >>confdefs.h <<_ACEOF
10537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10538 _ACEOF
10541 done
10548 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10549 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10550 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10551 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 else
10557 ac_ext=cc
10558 ac_cpp='$CXXCPP $CPPFLAGS'
10559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10563 cat >conftest.$ac_ext <<_ACEOF
10564 /* confdefs.h. */
10565 _ACEOF
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10569 #include <math.h>
10570 #ifdef HAVE_IEEEFP_H
10571 #include <ieeefp.h>
10572 #endif
10575 main ()
10577 qfpclass(0);
10579 return 0;
10581 _ACEOF
10582 rm -f conftest.$ac_objext
10583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10584 (eval $ac_compile) 2>conftest.er1
10585 ac_status=$?
10586 grep -v '^ *+' conftest.er1 >conftest.err
10587 rm -f conftest.er1
10588 cat conftest.err >&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } &&
10591 { ac_try='test -z "$ac_cxx_werror_flag"
10592 || test ! -s conftest.err'
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); }; } &&
10598 { ac_try='test -s conftest.$ac_objext'
10599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10600 (eval $ac_try) 2>&5
10601 ac_status=$?
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); }; }; then
10604 glibcxx_cv_func_qfpclass_use=yes
10605 else
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10609 glibcxx_cv_func_qfpclass_use=no
10611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10612 ac_ext=c
10613 ac_cpp='$CPP $CPPFLAGS'
10614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10623 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10625 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10627 for ac_func in qfpclass
10629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10630 echo "$as_me:$LINENO: checking for $ac_func" >&5
10631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10632 if eval "test \"\${$as_ac_var+set}\" = set"; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10634 else
10635 if test x$gcc_no_link = xyes; then
10636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10638 { (exit 1); exit 1; }; }
10640 cat >conftest.$ac_ext <<_ACEOF
10641 /* confdefs.h. */
10642 _ACEOF
10643 cat confdefs.h >>conftest.$ac_ext
10644 cat >>conftest.$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10648 #define $ac_func innocuous_$ac_func
10650 /* System header to define __stub macros and hopefully few prototypes,
10651 which can conflict with char $ac_func (); below.
10652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10653 <limits.h> exists even on freestanding compilers. */
10655 #ifdef __STDC__
10656 # include <limits.h>
10657 #else
10658 # include <assert.h>
10659 #endif
10661 #undef $ac_func
10663 /* Override any gcc2 internal prototype to avoid an error. */
10664 #ifdef __cplusplus
10665 extern "C"
10667 #endif
10668 /* We use char because int might match the return type of a gcc2
10669 builtin and then its argument prototype would still apply. */
10670 char $ac_func ();
10671 /* The GNU C library defines this for functions which it implements
10672 to always fail with ENOSYS. Some functions are actually named
10673 something starting with __ and the normal name is an alias. */
10674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10675 choke me
10676 #else
10677 char (*f) () = $ac_func;
10678 #endif
10679 #ifdef __cplusplus
10681 #endif
10684 main ()
10686 return f != $ac_func;
10688 return 0;
10690 _ACEOF
10691 rm -f conftest.$ac_objext conftest$ac_exeext
10692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10693 (eval $ac_link) 2>conftest.er1
10694 ac_status=$?
10695 grep -v '^ *+' conftest.er1 >conftest.err
10696 rm -f conftest.er1
10697 cat conftest.err >&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } &&
10700 { ac_try='test -z "$ac_c_werror_flag"
10701 || test ! -s conftest.err'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10704 ac_status=$?
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; } &&
10707 { ac_try='test -s conftest$ac_exeext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10710 ac_status=$?
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 eval "$as_ac_var=yes"
10714 else
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 eval "$as_ac_var=no"
10720 rm -f conftest.err conftest.$ac_objext \
10721 conftest$ac_exeext conftest.$ac_ext
10723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10725 if test `eval echo '${'$as_ac_var'}'` = yes; then
10726 cat >>confdefs.h <<_ACEOF
10727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10728 _ACEOF
10731 done
10733 else
10735 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10736 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10737 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10738 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 else
10744 ac_ext=cc
10745 ac_cpp='$CXXCPP $CPPFLAGS'
10746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10750 cat >conftest.$ac_ext <<_ACEOF
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #include <math.h>
10757 #ifdef HAVE_IEEEFP_H
10758 #include <ieeefp.h>
10759 #endif
10762 main ()
10764 _qfpclass(0);
10766 return 0;
10768 _ACEOF
10769 rm -f conftest.$ac_objext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10771 (eval $ac_compile) 2>conftest.er1
10772 ac_status=$?
10773 grep -v '^ *+' conftest.er1 >conftest.err
10774 rm -f conftest.er1
10775 cat conftest.err >&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try='test -z "$ac_cxx_werror_flag"
10779 || test ! -s conftest.err'
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5
10782 ac_status=$?
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; } &&
10785 { ac_try='test -s conftest.$ac_objext'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10788 ac_status=$?
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then
10791 glibcxx_cv_func__qfpclass_use=yes
10792 else
10793 echo "$as_me: failed program was:" >&5
10794 sed 's/^/| /' conftest.$ac_ext >&5
10796 glibcxx_cv_func__qfpclass_use=no
10798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10799 ac_ext=c
10800 ac_cpp='$CPP $CPPFLAGS'
10801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10809 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10810 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10812 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10814 for ac_func in _qfpclass
10816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10817 echo "$as_me:$LINENO: checking for $ac_func" >&5
10818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10819 if eval "test \"\${$as_ac_var+set}\" = set"; then
10820 echo $ECHO_N "(cached) $ECHO_C" >&6
10821 else
10822 if test x$gcc_no_link = xyes; then
10823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10825 { (exit 1); exit 1; }; }
10827 cat >conftest.$ac_ext <<_ACEOF
10828 /* confdefs.h. */
10829 _ACEOF
10830 cat confdefs.h >>conftest.$ac_ext
10831 cat >>conftest.$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10835 #define $ac_func innocuous_$ac_func
10837 /* System header to define __stub macros and hopefully few prototypes,
10838 which can conflict with char $ac_func (); below.
10839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10840 <limits.h> exists even on freestanding compilers. */
10842 #ifdef __STDC__
10843 # include <limits.h>
10844 #else
10845 # include <assert.h>
10846 #endif
10848 #undef $ac_func
10850 /* Override any gcc2 internal prototype to avoid an error. */
10851 #ifdef __cplusplus
10852 extern "C"
10854 #endif
10855 /* We use char because int might match the return type of a gcc2
10856 builtin and then its argument prototype would still apply. */
10857 char $ac_func ();
10858 /* The GNU C library defines this for functions which it implements
10859 to always fail with ENOSYS. Some functions are actually named
10860 something starting with __ and the normal name is an alias. */
10861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10862 choke me
10863 #else
10864 char (*f) () = $ac_func;
10865 #endif
10866 #ifdef __cplusplus
10868 #endif
10871 main ()
10873 return f != $ac_func;
10875 return 0;
10877 _ACEOF
10878 rm -f conftest.$ac_objext conftest$ac_exeext
10879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10880 (eval $ac_link) 2>conftest.er1
10881 ac_status=$?
10882 grep -v '^ *+' conftest.er1 >conftest.err
10883 rm -f conftest.er1
10884 cat conftest.err >&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } &&
10887 { ac_try='test -z "$ac_c_werror_flag"
10888 || test ! -s conftest.err'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10891 ac_status=$?
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; } &&
10894 { ac_try='test -s conftest$ac_exeext'
10895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10896 (eval $ac_try) 2>&5
10897 ac_status=$?
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); }; }; then
10900 eval "$as_ac_var=yes"
10901 else
10902 echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10905 eval "$as_ac_var=no"
10907 rm -f conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10912 if test `eval echo '${'$as_ac_var'}'` = yes; then
10913 cat >>confdefs.h <<_ACEOF
10914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10915 _ACEOF
10918 done
10925 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10926 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10927 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10928 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10929 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 else
10934 ac_ext=cc
10935 ac_cpp='$CXXCPP $CPPFLAGS'
10936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10940 cat >conftest.$ac_ext <<_ACEOF
10941 /* confdefs.h. */
10942 _ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10946 #include <math.h>
10948 main ()
10950 hypot(0, 0);
10952 return 0;
10954 _ACEOF
10955 rm -f conftest.$ac_objext
10956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10957 (eval $ac_compile) 2>conftest.er1
10958 ac_status=$?
10959 grep -v '^ *+' conftest.er1 >conftest.err
10960 rm -f conftest.er1
10961 cat conftest.err >&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } &&
10964 { ac_try='test -z "$ac_cxx_werror_flag"
10965 || test ! -s conftest.err'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10968 ac_status=$?
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; } &&
10971 { ac_try='test -s conftest.$ac_objext'
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10974 ac_status=$?
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; }; then
10977 glibcxx_cv_func_hypot_use=yes
10978 else
10979 echo "$as_me: failed program was:" >&5
10980 sed 's/^/| /' conftest.$ac_ext >&5
10982 glibcxx_cv_func_hypot_use=no
10984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10985 ac_ext=c
10986 ac_cpp='$CPP $CPPFLAGS'
10987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10996 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10998 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11000 for ac_func in hypot
11002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11003 echo "$as_me:$LINENO: checking for $ac_func" >&5
11004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11005 if eval "test \"\${$as_ac_var+set}\" = set"; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 else
11008 if test x$gcc_no_link = xyes; then
11009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11011 { (exit 1); exit 1; }; }
11013 cat >conftest.$ac_ext <<_ACEOF
11014 /* confdefs.h. */
11015 _ACEOF
11016 cat confdefs.h >>conftest.$ac_ext
11017 cat >>conftest.$ac_ext <<_ACEOF
11018 /* end confdefs.h. */
11019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11021 #define $ac_func innocuous_$ac_func
11023 /* System header to define __stub macros and hopefully few prototypes,
11024 which can conflict with char $ac_func (); below.
11025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11026 <limits.h> exists even on freestanding compilers. */
11028 #ifdef __STDC__
11029 # include <limits.h>
11030 #else
11031 # include <assert.h>
11032 #endif
11034 #undef $ac_func
11036 /* Override any gcc2 internal prototype to avoid an error. */
11037 #ifdef __cplusplus
11038 extern "C"
11040 #endif
11041 /* We use char because int might match the return type of a gcc2
11042 builtin and then its argument prototype would still apply. */
11043 char $ac_func ();
11044 /* The GNU C library defines this for functions which it implements
11045 to always fail with ENOSYS. Some functions are actually named
11046 something starting with __ and the normal name is an alias. */
11047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11048 choke me
11049 #else
11050 char (*f) () = $ac_func;
11051 #endif
11052 #ifdef __cplusplus
11054 #endif
11057 main ()
11059 return f != $ac_func;
11061 return 0;
11063 _ACEOF
11064 rm -f conftest.$ac_objext conftest$ac_exeext
11065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11066 (eval $ac_link) 2>conftest.er1
11067 ac_status=$?
11068 grep -v '^ *+' conftest.er1 >conftest.err
11069 rm -f conftest.er1
11070 cat conftest.err >&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } &&
11073 { ac_try='test -z "$ac_c_werror_flag"
11074 || test ! -s conftest.err'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11077 ac_status=$?
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; } &&
11080 { ac_try='test -s conftest$ac_exeext'
11081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11082 (eval $ac_try) 2>&5
11083 ac_status=$?
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; }; then
11086 eval "$as_ac_var=yes"
11087 else
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.$ac_ext >&5
11091 eval "$as_ac_var=no"
11093 rm -f conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11098 if test `eval echo '${'$as_ac_var'}'` = yes; then
11099 cat >>confdefs.h <<_ACEOF
11100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11101 _ACEOF
11104 done
11106 else
11108 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11109 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11110 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11111 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11113 else
11117 ac_ext=cc
11118 ac_cpp='$CXXCPP $CPPFLAGS'
11119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11123 cat >conftest.$ac_ext <<_ACEOF
11124 /* confdefs.h. */
11125 _ACEOF
11126 cat confdefs.h >>conftest.$ac_ext
11127 cat >>conftest.$ac_ext <<_ACEOF
11128 /* end confdefs.h. */
11129 #include <math.h>
11131 main ()
11133 _hypot(0, 0);
11135 return 0;
11137 _ACEOF
11138 rm -f conftest.$ac_objext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11140 (eval $ac_compile) 2>conftest.er1
11141 ac_status=$?
11142 grep -v '^ *+' conftest.er1 >conftest.err
11143 rm -f conftest.er1
11144 cat conftest.err >&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try='test -z "$ac_cxx_werror_flag"
11148 || test ! -s conftest.err'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11151 ac_status=$?
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; } &&
11154 { ac_try='test -s conftest.$ac_objext'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11157 ac_status=$?
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; }; then
11160 glibcxx_cv_func__hypot_use=yes
11161 else
11162 echo "$as_me: failed program was:" >&5
11163 sed 's/^/| /' conftest.$ac_ext >&5
11165 glibcxx_cv_func__hypot_use=no
11167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11168 ac_ext=c
11169 ac_cpp='$CPP $CPPFLAGS'
11170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11179 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11181 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11183 for ac_func in _hypot
11185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11186 echo "$as_me:$LINENO: checking for $ac_func" >&5
11187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11188 if eval "test \"\${$as_ac_var+set}\" = set"; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 if test x$gcc_no_link = xyes; then
11192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11194 { (exit 1); exit 1; }; }
11196 cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h. */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11204 #define $ac_func innocuous_$ac_func
11206 /* System header to define __stub macros and hopefully few prototypes,
11207 which can conflict with char $ac_func (); below.
11208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11209 <limits.h> exists even on freestanding compilers. */
11211 #ifdef __STDC__
11212 # include <limits.h>
11213 #else
11214 # include <assert.h>
11215 #endif
11217 #undef $ac_func
11219 /* Override any gcc2 internal prototype to avoid an error. */
11220 #ifdef __cplusplus
11221 extern "C"
11223 #endif
11224 /* We use char because int might match the return type of a gcc2
11225 builtin and then its argument prototype would still apply. */
11226 char $ac_func ();
11227 /* The GNU C library defines this for functions which it implements
11228 to always fail with ENOSYS. Some functions are actually named
11229 something starting with __ and the normal name is an alias. */
11230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11231 choke me
11232 #else
11233 char (*f) () = $ac_func;
11234 #endif
11235 #ifdef __cplusplus
11237 #endif
11240 main ()
11242 return f != $ac_func;
11244 return 0;
11246 _ACEOF
11247 rm -f conftest.$ac_objext conftest$ac_exeext
11248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11249 (eval $ac_link) 2>conftest.er1
11250 ac_status=$?
11251 grep -v '^ *+' conftest.er1 >conftest.err
11252 rm -f conftest.er1
11253 cat conftest.err >&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } &&
11256 { ac_try='test -z "$ac_c_werror_flag"
11257 || test ! -s conftest.err'
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259 (eval $ac_try) 2>&5
11260 ac_status=$?
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); }; } &&
11263 { ac_try='test -s conftest$ac_exeext'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11266 ac_status=$?
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; }; then
11269 eval "$as_ac_var=yes"
11270 else
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.$ac_ext >&5
11274 eval "$as_ac_var=no"
11276 rm -f conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11281 if test `eval echo '${'$as_ac_var'}'` = yes; then
11282 cat >>confdefs.h <<_ACEOF
11283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11284 _ACEOF
11287 done
11294 echo "$as_me:$LINENO: checking for float trig functions" >&5
11295 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11296 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 else
11302 ac_ext=cc
11303 ac_cpp='$CXXCPP $CPPFLAGS'
11304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11308 cat >conftest.$ac_ext <<_ACEOF
11309 /* confdefs.h. */
11310 _ACEOF
11311 cat confdefs.h >>conftest.$ac_ext
11312 cat >>conftest.$ac_ext <<_ACEOF
11313 /* end confdefs.h. */
11314 #include <math.h>
11316 main ()
11318 `for x in acosf asinf atanf \
11319 cosf sinf tanf \
11320 coshf sinhf tanhf; do echo "$x (0);"; done`
11322 return 0;
11324 _ACEOF
11325 rm -f conftest.$ac_objext
11326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11327 (eval $ac_compile) 2>conftest.er1
11328 ac_status=$?
11329 grep -v '^ *+' conftest.er1 >conftest.err
11330 rm -f conftest.er1
11331 cat conftest.err >&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); } &&
11334 { ac_try='test -z "$ac_cxx_werror_flag"
11335 || test ! -s conftest.err'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11338 ac_status=$?
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; } &&
11341 { ac_try='test -s conftest.$ac_objext'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11344 ac_status=$?
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; }; then
11347 glibcxx_cv_func_float_trig_use=yes
11348 else
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 glibcxx_cv_func_float_trig_use=no
11354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11355 ac_ext=c
11356 ac_cpp='$CPP $CPPFLAGS'
11357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11364 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11365 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11375 for ac_func in acosf asinf atanf \
11376 cosf sinf tanf \
11377 coshf sinhf tanhf
11379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11380 echo "$as_me:$LINENO: checking for $ac_func" >&5
11381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11382 if eval "test \"\${$as_ac_var+set}\" = set"; then
11383 echo $ECHO_N "(cached) $ECHO_C" >&6
11384 else
11385 if test x$gcc_no_link = xyes; then
11386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11388 { (exit 1); exit 1; }; }
11390 cat >conftest.$ac_ext <<_ACEOF
11391 /* confdefs.h. */
11392 _ACEOF
11393 cat confdefs.h >>conftest.$ac_ext
11394 cat >>conftest.$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11398 #define $ac_func innocuous_$ac_func
11400 /* System header to define __stub macros and hopefully few prototypes,
11401 which can conflict with char $ac_func (); below.
11402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11403 <limits.h> exists even on freestanding compilers. */
11405 #ifdef __STDC__
11406 # include <limits.h>
11407 #else
11408 # include <assert.h>
11409 #endif
11411 #undef $ac_func
11413 /* Override any gcc2 internal prototype to avoid an error. */
11414 #ifdef __cplusplus
11415 extern "C"
11417 #endif
11418 /* We use char because int might match the return type of a gcc2
11419 builtin and then its argument prototype would still apply. */
11420 char $ac_func ();
11421 /* The GNU C library defines this for functions which it implements
11422 to always fail with ENOSYS. Some functions are actually named
11423 something starting with __ and the normal name is an alias. */
11424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11425 choke me
11426 #else
11427 char (*f) () = $ac_func;
11428 #endif
11429 #ifdef __cplusplus
11431 #endif
11434 main ()
11436 return f != $ac_func;
11438 return 0;
11440 _ACEOF
11441 rm -f conftest.$ac_objext conftest$ac_exeext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11443 (eval $ac_link) 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11454 ac_status=$?
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try='test -s conftest$ac_exeext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11460 ac_status=$?
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 eval "$as_ac_var=yes"
11464 else
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.$ac_ext >&5
11468 eval "$as_ac_var=no"
11470 rm -f conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11475 if test `eval echo '${'$as_ac_var'}'` = yes; then
11476 cat >>confdefs.h <<_ACEOF
11477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11478 _ACEOF
11481 done
11486 echo "$as_me:$LINENO: checking for float round functions" >&5
11487 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11488 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 else
11494 ac_ext=cc
11495 ac_cpp='$CXXCPP $CPPFLAGS'
11496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11500 cat >conftest.$ac_ext <<_ACEOF
11501 /* confdefs.h. */
11502 _ACEOF
11503 cat confdefs.h >>conftest.$ac_ext
11504 cat >>conftest.$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11506 #include <math.h>
11508 main ()
11510 `for x in ceilf floorf; do echo "$x (0);"; done`
11512 return 0;
11514 _ACEOF
11515 rm -f conftest.$ac_objext
11516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11517 (eval $ac_compile) 2>conftest.er1
11518 ac_status=$?
11519 grep -v '^ *+' conftest.er1 >conftest.err
11520 rm -f conftest.er1
11521 cat conftest.err >&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } &&
11524 { ac_try='test -z "$ac_cxx_werror_flag"
11525 || test ! -s conftest.err'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11528 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; } &&
11531 { ac_try='test -s conftest.$ac_objext'
11532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11533 (eval $ac_try) 2>&5
11534 ac_status=$?
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); }; }; then
11537 glibcxx_cv_func_float_round_use=yes
11538 else
11539 echo "$as_me: failed program was:" >&5
11540 sed 's/^/| /' conftest.$ac_ext >&5
11542 glibcxx_cv_func_float_round_use=no
11544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11545 ac_ext=c
11546 ac_cpp='$CPP $CPPFLAGS'
11547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11554 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11555 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11558 for ac_func in ceilf floorf
11560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11561 echo "$as_me:$LINENO: checking for $ac_func" >&5
11562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11563 if eval "test \"\${$as_ac_var+set}\" = set"; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11566 if test x$gcc_no_link = xyes; then
11567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11569 { (exit 1); exit 1; }; }
11571 cat >conftest.$ac_ext <<_ACEOF
11572 /* confdefs.h. */
11573 _ACEOF
11574 cat confdefs.h >>conftest.$ac_ext
11575 cat >>conftest.$ac_ext <<_ACEOF
11576 /* end confdefs.h. */
11577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11579 #define $ac_func innocuous_$ac_func
11581 /* System header to define __stub macros and hopefully few prototypes,
11582 which can conflict with char $ac_func (); below.
11583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11584 <limits.h> exists even on freestanding compilers. */
11586 #ifdef __STDC__
11587 # include <limits.h>
11588 #else
11589 # include <assert.h>
11590 #endif
11592 #undef $ac_func
11594 /* Override any gcc2 internal prototype to avoid an error. */
11595 #ifdef __cplusplus
11596 extern "C"
11598 #endif
11599 /* We use char because int might match the return type of a gcc2
11600 builtin and then its argument prototype would still apply. */
11601 char $ac_func ();
11602 /* The GNU C library defines this for functions which it implements
11603 to always fail with ENOSYS. Some functions are actually named
11604 something starting with __ and the normal name is an alias. */
11605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11606 choke me
11607 #else
11608 char (*f) () = $ac_func;
11609 #endif
11610 #ifdef __cplusplus
11612 #endif
11615 main ()
11617 return f != $ac_func;
11619 return 0;
11621 _ACEOF
11622 rm -f conftest.$ac_objext conftest$ac_exeext
11623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11624 (eval $ac_link) 2>conftest.er1
11625 ac_status=$?
11626 grep -v '^ *+' conftest.er1 >conftest.err
11627 rm -f conftest.er1
11628 cat conftest.err >&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } &&
11631 { ac_try='test -z "$ac_c_werror_flag"
11632 || test ! -s conftest.err'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11635 ac_status=$?
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; } &&
11638 { ac_try='test -s conftest$ac_exeext'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11641 ac_status=$?
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11644 eval "$as_ac_var=yes"
11645 else
11646 echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.$ac_ext >&5
11649 eval "$as_ac_var=no"
11651 rm -f conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11656 if test `eval echo '${'$as_ac_var'}'` = yes; then
11657 cat >>confdefs.h <<_ACEOF
11658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11659 _ACEOF
11662 done
11668 echo "$as_me:$LINENO: checking for expf declaration" >&5
11669 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11670 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11671 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 else
11677 ac_ext=cc
11678 ac_cpp='$CXXCPP $CPPFLAGS'
11679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11683 cat >conftest.$ac_ext <<_ACEOF
11684 /* confdefs.h. */
11685 _ACEOF
11686 cat confdefs.h >>conftest.$ac_ext
11687 cat >>conftest.$ac_ext <<_ACEOF
11688 /* end confdefs.h. */
11689 #include <math.h>
11690 #ifdef HAVE_IEEEFP_H
11691 #include <ieeefp.h>
11692 #endif
11695 main ()
11697 expf(0);
11699 return 0;
11701 _ACEOF
11702 rm -f conftest.$ac_objext
11703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11704 (eval $ac_compile) 2>conftest.er1
11705 ac_status=$?
11706 grep -v '^ *+' conftest.er1 >conftest.err
11707 rm -f conftest.er1
11708 cat conftest.err >&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); } &&
11711 { ac_try='test -z "$ac_cxx_werror_flag"
11712 || test ! -s conftest.err'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11715 ac_status=$?
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; } &&
11718 { ac_try='test -s conftest.$ac_objext'
11719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11720 (eval $ac_try) 2>&5
11721 ac_status=$?
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }; }; then
11724 glibcxx_cv_func_expf_use=yes
11725 else
11726 echo "$as_me: failed program was:" >&5
11727 sed 's/^/| /' conftest.$ac_ext >&5
11729 glibcxx_cv_func_expf_use=no
11731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11732 ac_ext=c
11733 ac_cpp='$CPP $CPPFLAGS'
11734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11743 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11745 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11747 for ac_func in expf
11749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11750 echo "$as_me:$LINENO: checking for $ac_func" >&5
11751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11752 if eval "test \"\${$as_ac_var+set}\" = set"; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 else
11755 if test x$gcc_no_link = xyes; then
11756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11758 { (exit 1); exit 1; }; }
11760 cat >conftest.$ac_ext <<_ACEOF
11761 /* confdefs.h. */
11762 _ACEOF
11763 cat confdefs.h >>conftest.$ac_ext
11764 cat >>conftest.$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11768 #define $ac_func innocuous_$ac_func
11770 /* System header to define __stub macros and hopefully few prototypes,
11771 which can conflict with char $ac_func (); below.
11772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11773 <limits.h> exists even on freestanding compilers. */
11775 #ifdef __STDC__
11776 # include <limits.h>
11777 #else
11778 # include <assert.h>
11779 #endif
11781 #undef $ac_func
11783 /* Override any gcc2 internal prototype to avoid an error. */
11784 #ifdef __cplusplus
11785 extern "C"
11787 #endif
11788 /* We use char because int might match the return type of a gcc2
11789 builtin and then its argument prototype would still apply. */
11790 char $ac_func ();
11791 /* The GNU C library defines this for functions which it implements
11792 to always fail with ENOSYS. Some functions are actually named
11793 something starting with __ and the normal name is an alias. */
11794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11795 choke me
11796 #else
11797 char (*f) () = $ac_func;
11798 #endif
11799 #ifdef __cplusplus
11801 #endif
11804 main ()
11806 return f != $ac_func;
11808 return 0;
11810 _ACEOF
11811 rm -f conftest.$ac_objext conftest$ac_exeext
11812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11813 (eval $ac_link) 2>conftest.er1
11814 ac_status=$?
11815 grep -v '^ *+' conftest.er1 >conftest.err
11816 rm -f conftest.er1
11817 cat conftest.err >&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } &&
11820 { ac_try='test -z "$ac_c_werror_flag"
11821 || test ! -s conftest.err'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11824 ac_status=$?
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; } &&
11827 { ac_try='test -s conftest$ac_exeext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11830 ac_status=$?
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833 eval "$as_ac_var=yes"
11834 else
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 eval "$as_ac_var=no"
11840 rm -f conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11845 if test `eval echo '${'$as_ac_var'}'` = yes; then
11846 cat >>confdefs.h <<_ACEOF
11847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11848 _ACEOF
11851 done
11853 else
11855 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11856 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11857 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11858 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 else
11864 ac_ext=cc
11865 ac_cpp='$CXXCPP $CPPFLAGS'
11866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11870 cat >conftest.$ac_ext <<_ACEOF
11871 /* confdefs.h. */
11872 _ACEOF
11873 cat confdefs.h >>conftest.$ac_ext
11874 cat >>conftest.$ac_ext <<_ACEOF
11875 /* end confdefs.h. */
11876 #include <math.h>
11877 #ifdef HAVE_IEEEFP_H
11878 #include <ieeefp.h>
11879 #endif
11882 main ()
11884 _expf(0);
11886 return 0;
11888 _ACEOF
11889 rm -f conftest.$ac_objext
11890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11891 (eval $ac_compile) 2>conftest.er1
11892 ac_status=$?
11893 grep -v '^ *+' conftest.er1 >conftest.err
11894 rm -f conftest.er1
11895 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 { ac_try='test -z "$ac_cxx_werror_flag"
11899 || test ! -s conftest.err'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11902 ac_status=$?
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; } &&
11905 { ac_try='test -s conftest.$ac_objext'
11906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11907 (eval $ac_try) 2>&5
11908 ac_status=$?
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }; }; then
11911 glibcxx_cv_func__expf_use=yes
11912 else
11913 echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.$ac_ext >&5
11916 glibcxx_cv_func__expf_use=no
11918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11919 ac_ext=c
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11930 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11932 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11934 for ac_func in _expf
11936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11937 echo "$as_me:$LINENO: checking for $ac_func" >&5
11938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11939 if eval "test \"\${$as_ac_var+set}\" = set"; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11941 else
11942 if test x$gcc_no_link = xyes; then
11943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11945 { (exit 1); exit 1; }; }
11947 cat >conftest.$ac_ext <<_ACEOF
11948 /* confdefs.h. */
11949 _ACEOF
11950 cat confdefs.h >>conftest.$ac_ext
11951 cat >>conftest.$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11955 #define $ac_func innocuous_$ac_func
11957 /* System header to define __stub macros and hopefully few prototypes,
11958 which can conflict with char $ac_func (); below.
11959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11960 <limits.h> exists even on freestanding compilers. */
11962 #ifdef __STDC__
11963 # include <limits.h>
11964 #else
11965 # include <assert.h>
11966 #endif
11968 #undef $ac_func
11970 /* Override any gcc2 internal prototype to avoid an error. */
11971 #ifdef __cplusplus
11972 extern "C"
11974 #endif
11975 /* We use char because int might match the return type of a gcc2
11976 builtin and then its argument prototype would still apply. */
11977 char $ac_func ();
11978 /* The GNU C library defines this for functions which it implements
11979 to always fail with ENOSYS. Some functions are actually named
11980 something starting with __ and the normal name is an alias. */
11981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11982 choke me
11983 #else
11984 char (*f) () = $ac_func;
11985 #endif
11986 #ifdef __cplusplus
11988 #endif
11991 main ()
11993 return f != $ac_func;
11995 return 0;
11997 _ACEOF
11998 rm -f conftest.$ac_objext conftest$ac_exeext
11999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12000 (eval $ac_link) 2>conftest.er1
12001 ac_status=$?
12002 grep -v '^ *+' conftest.er1 >conftest.err
12003 rm -f conftest.er1
12004 cat conftest.err >&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); } &&
12007 { ac_try='test -z "$ac_c_werror_flag"
12008 || test ! -s conftest.err'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; } &&
12014 { ac_try='test -s conftest$ac_exeext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 eval "$as_ac_var=yes"
12021 else
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.$ac_ext >&5
12025 eval "$as_ac_var=no"
12027 rm -f conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12032 if test `eval echo '${'$as_ac_var'}'` = yes; then
12033 cat >>confdefs.h <<_ACEOF
12034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12035 _ACEOF
12038 done
12045 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12046 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12047 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12048 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 else
12054 ac_ext=cc
12055 ac_cpp='$CXXCPP $CPPFLAGS'
12056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12060 cat >conftest.$ac_ext <<_ACEOF
12061 /* confdefs.h. */
12062 _ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12066 #include <math.h>
12067 #ifdef HAVE_IEEEFP_H
12068 #include <ieeefp.h>
12069 #endif
12072 main ()
12074 isnanf(0);
12076 return 0;
12078 _ACEOF
12079 rm -f conftest.$ac_objext
12080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12081 (eval $ac_compile) 2>conftest.er1
12082 ac_status=$?
12083 grep -v '^ *+' conftest.er1 >conftest.err
12084 rm -f conftest.er1
12085 cat conftest.err >&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } &&
12088 { ac_try='test -z "$ac_cxx_werror_flag"
12089 || test ! -s conftest.err'
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); }; } &&
12095 { ac_try='test -s conftest.$ac_objext'
12096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12097 (eval $ac_try) 2>&5
12098 ac_status=$?
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); }; }; then
12101 glibcxx_cv_func_isnanf_use=yes
12102 else
12103 echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.$ac_ext >&5
12106 glibcxx_cv_func_isnanf_use=no
12108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12109 ac_ext=c
12110 ac_cpp='$CPP $CPPFLAGS'
12111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12120 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12122 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12124 for ac_func in isnanf
12126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12127 echo "$as_me:$LINENO: checking for $ac_func" >&5
12128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12129 if eval "test \"\${$as_ac_var+set}\" = set"; then
12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 else
12132 if test x$gcc_no_link = xyes; then
12133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12135 { (exit 1); exit 1; }; }
12137 cat >conftest.$ac_ext <<_ACEOF
12138 /* confdefs.h. */
12139 _ACEOF
12140 cat confdefs.h >>conftest.$ac_ext
12141 cat >>conftest.$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12145 #define $ac_func innocuous_$ac_func
12147 /* System header to define __stub macros and hopefully few prototypes,
12148 which can conflict with char $ac_func (); below.
12149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12150 <limits.h> exists even on freestanding compilers. */
12152 #ifdef __STDC__
12153 # include <limits.h>
12154 #else
12155 # include <assert.h>
12156 #endif
12158 #undef $ac_func
12160 /* Override any gcc2 internal prototype to avoid an error. */
12161 #ifdef __cplusplus
12162 extern "C"
12164 #endif
12165 /* We use char because int might match the return type of a gcc2
12166 builtin and then its argument prototype would still apply. */
12167 char $ac_func ();
12168 /* The GNU C library defines this for functions which it implements
12169 to always fail with ENOSYS. Some functions are actually named
12170 something starting with __ and the normal name is an alias. */
12171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12172 choke me
12173 #else
12174 char (*f) () = $ac_func;
12175 #endif
12176 #ifdef __cplusplus
12178 #endif
12181 main ()
12183 return f != $ac_func;
12185 return 0;
12187 _ACEOF
12188 rm -f conftest.$ac_objext conftest$ac_exeext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12190 (eval $ac_link) 2>conftest.er1
12191 ac_status=$?
12192 grep -v '^ *+' conftest.er1 >conftest.err
12193 rm -f conftest.er1
12194 cat conftest.err >&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } &&
12197 { ac_try='test -z "$ac_c_werror_flag"
12198 || test ! -s conftest.err'
12199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5
12201 ac_status=$?
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; } &&
12204 { ac_try='test -s conftest$ac_exeext'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12207 ac_status=$?
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; }; then
12210 eval "$as_ac_var=yes"
12211 else
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.$ac_ext >&5
12215 eval "$as_ac_var=no"
12217 rm -f conftest.err conftest.$ac_objext \
12218 conftest$ac_exeext conftest.$ac_ext
12220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12222 if test `eval echo '${'$as_ac_var'}'` = yes; then
12223 cat >>confdefs.h <<_ACEOF
12224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12225 _ACEOF
12228 done
12230 else
12232 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12233 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12234 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12235 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 else
12241 ac_ext=cc
12242 ac_cpp='$CXXCPP $CPPFLAGS'
12243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12247 cat >conftest.$ac_ext <<_ACEOF
12248 /* confdefs.h. */
12249 _ACEOF
12250 cat confdefs.h >>conftest.$ac_ext
12251 cat >>conftest.$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12253 #include <math.h>
12254 #ifdef HAVE_IEEEFP_H
12255 #include <ieeefp.h>
12256 #endif
12259 main ()
12261 _isnanf(0);
12263 return 0;
12265 _ACEOF
12266 rm -f conftest.$ac_objext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12268 (eval $ac_compile) 2>conftest.er1
12269 ac_status=$?
12270 grep -v '^ *+' conftest.er1 >conftest.err
12271 rm -f conftest.er1
12272 cat conftest.err >&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } &&
12275 { ac_try='test -z "$ac_cxx_werror_flag"
12276 || test ! -s conftest.err'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12279 ac_status=$?
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; } &&
12282 { ac_try='test -s conftest.$ac_objext'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12285 ac_status=$?
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12288 glibcxx_cv_func__isnanf_use=yes
12289 else
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.$ac_ext >&5
12293 glibcxx_cv_func__isnanf_use=no
12295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12296 ac_ext=c
12297 ac_cpp='$CPP $CPPFLAGS'
12298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12307 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12309 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12311 for ac_func in _isnanf
12313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12314 echo "$as_me:$LINENO: checking for $ac_func" >&5
12315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12316 if eval "test \"\${$as_ac_var+set}\" = set"; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12318 else
12319 if test x$gcc_no_link = xyes; then
12320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12322 { (exit 1); exit 1; }; }
12324 cat >conftest.$ac_ext <<_ACEOF
12325 /* confdefs.h. */
12326 _ACEOF
12327 cat confdefs.h >>conftest.$ac_ext
12328 cat >>conftest.$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12332 #define $ac_func innocuous_$ac_func
12334 /* System header to define __stub macros and hopefully few prototypes,
12335 which can conflict with char $ac_func (); below.
12336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12337 <limits.h> exists even on freestanding compilers. */
12339 #ifdef __STDC__
12340 # include <limits.h>
12341 #else
12342 # include <assert.h>
12343 #endif
12345 #undef $ac_func
12347 /* Override any gcc2 internal prototype to avoid an error. */
12348 #ifdef __cplusplus
12349 extern "C"
12351 #endif
12352 /* We use char because int might match the return type of a gcc2
12353 builtin and then its argument prototype would still apply. */
12354 char $ac_func ();
12355 /* The GNU C library defines this for functions which it implements
12356 to always fail with ENOSYS. Some functions are actually named
12357 something starting with __ and the normal name is an alias. */
12358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12359 choke me
12360 #else
12361 char (*f) () = $ac_func;
12362 #endif
12363 #ifdef __cplusplus
12365 #endif
12368 main ()
12370 return f != $ac_func;
12372 return 0;
12374 _ACEOF
12375 rm -f conftest.$ac_objext conftest$ac_exeext
12376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12377 (eval $ac_link) 2>conftest.er1
12378 ac_status=$?
12379 grep -v '^ *+' conftest.er1 >conftest.err
12380 rm -f conftest.er1
12381 cat conftest.err >&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try='test -z "$ac_c_werror_flag"
12385 || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try='test -s conftest$ac_exeext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12394 ac_status=$?
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 eval "$as_ac_var=yes"
12398 else
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.$ac_ext >&5
12402 eval "$as_ac_var=no"
12404 rm -f conftest.err conftest.$ac_objext \
12405 conftest$ac_exeext conftest.$ac_ext
12407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12409 if test `eval echo '${'$as_ac_var'}'` = yes; then
12410 cat >>confdefs.h <<_ACEOF
12411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12412 _ACEOF
12415 done
12422 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12423 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12424 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12425 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 else
12431 ac_ext=cc
12432 ac_cpp='$CXXCPP $CPPFLAGS'
12433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12437 cat >conftest.$ac_ext <<_ACEOF
12438 /* confdefs.h. */
12439 _ACEOF
12440 cat confdefs.h >>conftest.$ac_ext
12441 cat >>conftest.$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12443 #include <math.h>
12444 #ifdef HAVE_IEEEFP_H
12445 #include <ieeefp.h>
12446 #endif
12449 main ()
12451 isinff(0);
12453 return 0;
12455 _ACEOF
12456 rm -f conftest.$ac_objext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12458 (eval $ac_compile) 2>conftest.er1
12459 ac_status=$?
12460 grep -v '^ *+' conftest.er1 >conftest.err
12461 rm -f conftest.er1
12462 cat conftest.err >&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try='test -z "$ac_cxx_werror_flag"
12466 || test ! -s conftest.err'
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); }; } &&
12472 { ac_try='test -s conftest.$ac_objext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12475 ac_status=$?
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 glibcxx_cv_func_isinff_use=yes
12479 else
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.$ac_ext >&5
12483 glibcxx_cv_func_isinff_use=no
12485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12486 ac_ext=c
12487 ac_cpp='$CPP $CPPFLAGS'
12488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12497 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12499 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12501 for ac_func in isinff
12503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12504 echo "$as_me:$LINENO: checking for $ac_func" >&5
12505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12506 if eval "test \"\${$as_ac_var+set}\" = set"; then
12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12508 else
12509 if test x$gcc_no_link = xyes; then
12510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12512 { (exit 1); exit 1; }; }
12514 cat >conftest.$ac_ext <<_ACEOF
12515 /* confdefs.h. */
12516 _ACEOF
12517 cat confdefs.h >>conftest.$ac_ext
12518 cat >>conftest.$ac_ext <<_ACEOF
12519 /* end confdefs.h. */
12520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12522 #define $ac_func innocuous_$ac_func
12524 /* System header to define __stub macros and hopefully few prototypes,
12525 which can conflict with char $ac_func (); below.
12526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12527 <limits.h> exists even on freestanding compilers. */
12529 #ifdef __STDC__
12530 # include <limits.h>
12531 #else
12532 # include <assert.h>
12533 #endif
12535 #undef $ac_func
12537 /* Override any gcc2 internal prototype to avoid an error. */
12538 #ifdef __cplusplus
12539 extern "C"
12541 #endif
12542 /* We use char because int might match the return type of a gcc2
12543 builtin and then its argument prototype would still apply. */
12544 char $ac_func ();
12545 /* The GNU C library defines this for functions which it implements
12546 to always fail with ENOSYS. Some functions are actually named
12547 something starting with __ and the normal name is an alias. */
12548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12549 choke me
12550 #else
12551 char (*f) () = $ac_func;
12552 #endif
12553 #ifdef __cplusplus
12555 #endif
12558 main ()
12560 return f != $ac_func;
12562 return 0;
12564 _ACEOF
12565 rm -f conftest.$ac_objext conftest$ac_exeext
12566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12567 (eval $ac_link) 2>conftest.er1
12568 ac_status=$?
12569 grep -v '^ *+' conftest.er1 >conftest.err
12570 rm -f conftest.er1
12571 cat conftest.err >&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); } &&
12574 { ac_try='test -z "$ac_c_werror_flag"
12575 || test ! -s conftest.err'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12578 ac_status=$?
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; } &&
12581 { ac_try='test -s conftest$ac_exeext'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; }; then
12587 eval "$as_ac_var=yes"
12588 else
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.$ac_ext >&5
12592 eval "$as_ac_var=no"
12594 rm -f conftest.err conftest.$ac_objext \
12595 conftest$ac_exeext conftest.$ac_ext
12597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12599 if test `eval echo '${'$as_ac_var'}'` = yes; then
12600 cat >>confdefs.h <<_ACEOF
12601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12602 _ACEOF
12605 done
12607 else
12609 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12610 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12611 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12612 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 else
12618 ac_ext=cc
12619 ac_cpp='$CXXCPP $CPPFLAGS'
12620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12624 cat >conftest.$ac_ext <<_ACEOF
12625 /* confdefs.h. */
12626 _ACEOF
12627 cat confdefs.h >>conftest.$ac_ext
12628 cat >>conftest.$ac_ext <<_ACEOF
12629 /* end confdefs.h. */
12630 #include <math.h>
12631 #ifdef HAVE_IEEEFP_H
12632 #include <ieeefp.h>
12633 #endif
12636 main ()
12638 _isinff(0);
12640 return 0;
12642 _ACEOF
12643 rm -f conftest.$ac_objext
12644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12645 (eval $ac_compile) 2>conftest.er1
12646 ac_status=$?
12647 grep -v '^ *+' conftest.er1 >conftest.err
12648 rm -f conftest.er1
12649 cat conftest.err >&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); } &&
12652 { ac_try='test -z "$ac_cxx_werror_flag"
12653 || test ! -s conftest.err'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12656 ac_status=$?
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; } &&
12659 { ac_try='test -s conftest.$ac_objext'
12660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661 (eval $ac_try) 2>&5
12662 ac_status=$?
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 glibcxx_cv_func__isinff_use=yes
12666 else
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.$ac_ext >&5
12670 glibcxx_cv_func__isinff_use=no
12672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12673 ac_ext=c
12674 ac_cpp='$CPP $CPPFLAGS'
12675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12684 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12686 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12688 for ac_func in _isinff
12690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12691 echo "$as_me:$LINENO: checking for $ac_func" >&5
12692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12693 if eval "test \"\${$as_ac_var+set}\" = set"; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 else
12696 if test x$gcc_no_link = xyes; then
12697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12699 { (exit 1); exit 1; }; }
12701 cat >conftest.$ac_ext <<_ACEOF
12702 /* confdefs.h. */
12703 _ACEOF
12704 cat confdefs.h >>conftest.$ac_ext
12705 cat >>conftest.$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12709 #define $ac_func innocuous_$ac_func
12711 /* System header to define __stub macros and hopefully few prototypes,
12712 which can conflict with char $ac_func (); below.
12713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12714 <limits.h> exists even on freestanding compilers. */
12716 #ifdef __STDC__
12717 # include <limits.h>
12718 #else
12719 # include <assert.h>
12720 #endif
12722 #undef $ac_func
12724 /* Override any gcc2 internal prototype to avoid an error. */
12725 #ifdef __cplusplus
12726 extern "C"
12728 #endif
12729 /* We use char because int might match the return type of a gcc2
12730 builtin and then its argument prototype would still apply. */
12731 char $ac_func ();
12732 /* The GNU C library defines this for functions which it implements
12733 to always fail with ENOSYS. Some functions are actually named
12734 something starting with __ and the normal name is an alias. */
12735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12736 choke me
12737 #else
12738 char (*f) () = $ac_func;
12739 #endif
12740 #ifdef __cplusplus
12742 #endif
12745 main ()
12747 return f != $ac_func;
12749 return 0;
12751 _ACEOF
12752 rm -f conftest.$ac_objext conftest$ac_exeext
12753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12754 (eval $ac_link) 2>conftest.er1
12755 ac_status=$?
12756 grep -v '^ *+' conftest.er1 >conftest.err
12757 rm -f conftest.er1
12758 cat conftest.err >&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try='test -z "$ac_c_werror_flag"
12762 || test ! -s conftest.err'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12765 ac_status=$?
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; } &&
12768 { ac_try='test -s conftest$ac_exeext'
12769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12770 (eval $ac_try) 2>&5
12771 ac_status=$?
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); }; }; then
12774 eval "$as_ac_var=yes"
12775 else
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.$ac_ext >&5
12779 eval "$as_ac_var=no"
12781 rm -f conftest.err conftest.$ac_objext \
12782 conftest$ac_exeext conftest.$ac_ext
12784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12786 if test `eval echo '${'$as_ac_var'}'` = yes; then
12787 cat >>confdefs.h <<_ACEOF
12788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12789 _ACEOF
12792 done
12799 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12800 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12801 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12802 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 else
12808 ac_ext=cc
12809 ac_cpp='$CXXCPP $CPPFLAGS'
12810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12814 cat >conftest.$ac_ext <<_ACEOF
12815 /* confdefs.h. */
12816 _ACEOF
12817 cat confdefs.h >>conftest.$ac_ext
12818 cat >>conftest.$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12820 #include <math.h>
12822 main ()
12824 atan2f(0, 0);
12826 return 0;
12828 _ACEOF
12829 rm -f conftest.$ac_objext
12830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12831 (eval $ac_compile) 2>conftest.er1
12832 ac_status=$?
12833 grep -v '^ *+' conftest.er1 >conftest.err
12834 rm -f conftest.er1
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try='test -z "$ac_cxx_werror_flag"
12839 || test ! -s conftest.err'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12848 ac_status=$?
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 glibcxx_cv_func_atan2f_use=yes
12852 else
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12856 glibcxx_cv_func_atan2f_use=no
12858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12859 ac_ext=c
12860 ac_cpp='$CPP $CPPFLAGS'
12861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12870 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12872 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12874 for ac_func in atan2f
12876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12877 echo "$as_me:$LINENO: checking for $ac_func" >&5
12878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12879 if eval "test \"\${$as_ac_var+set}\" = set"; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12881 else
12882 if test x$gcc_no_link = xyes; then
12883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12885 { (exit 1); exit 1; }; }
12887 cat >conftest.$ac_ext <<_ACEOF
12888 /* confdefs.h. */
12889 _ACEOF
12890 cat confdefs.h >>conftest.$ac_ext
12891 cat >>conftest.$ac_ext <<_ACEOF
12892 /* end confdefs.h. */
12893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12895 #define $ac_func innocuous_$ac_func
12897 /* System header to define __stub macros and hopefully few prototypes,
12898 which can conflict with char $ac_func (); below.
12899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12900 <limits.h> exists even on freestanding compilers. */
12902 #ifdef __STDC__
12903 # include <limits.h>
12904 #else
12905 # include <assert.h>
12906 #endif
12908 #undef $ac_func
12910 /* Override any gcc2 internal prototype to avoid an error. */
12911 #ifdef __cplusplus
12912 extern "C"
12914 #endif
12915 /* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */
12917 char $ac_func ();
12918 /* The GNU C library defines this for functions which it implements
12919 to always fail with ENOSYS. Some functions are actually named
12920 something starting with __ and the normal name is an alias. */
12921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12922 choke me
12923 #else
12924 char (*f) () = $ac_func;
12925 #endif
12926 #ifdef __cplusplus
12928 #endif
12931 main ()
12933 return f != $ac_func;
12935 return 0;
12937 _ACEOF
12938 rm -f conftest.$ac_objext conftest$ac_exeext
12939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12940 (eval $ac_link) 2>conftest.er1
12941 ac_status=$?
12942 grep -v '^ *+' conftest.er1 >conftest.err
12943 rm -f conftest.er1
12944 cat conftest.err >&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } &&
12947 { ac_try='test -z "$ac_c_werror_flag"
12948 || test ! -s conftest.err'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12951 ac_status=$?
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try='test -s conftest$ac_exeext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12957 ac_status=$?
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 eval "$as_ac_var=yes"
12961 else
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.$ac_ext >&5
12965 eval "$as_ac_var=no"
12967 rm -f conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12972 if test `eval echo '${'$as_ac_var'}'` = yes; then
12973 cat >>confdefs.h <<_ACEOF
12974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12975 _ACEOF
12978 done
12980 else
12982 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
12983 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
12984 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
12985 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 else
12991 ac_ext=cc
12992 ac_cpp='$CXXCPP $CPPFLAGS'
12993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12997 cat >conftest.$ac_ext <<_ACEOF
12998 /* confdefs.h. */
12999 _ACEOF
13000 cat confdefs.h >>conftest.$ac_ext
13001 cat >>conftest.$ac_ext <<_ACEOF
13002 /* end confdefs.h. */
13003 #include <math.h>
13005 main ()
13007 _atan2f(0, 0);
13009 return 0;
13011 _ACEOF
13012 rm -f conftest.$ac_objext
13013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13014 (eval $ac_compile) 2>conftest.er1
13015 ac_status=$?
13016 grep -v '^ *+' conftest.er1 >conftest.err
13017 rm -f conftest.er1
13018 cat conftest.err >&5
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); } &&
13021 { ac_try='test -z "$ac_cxx_werror_flag"
13022 || test ! -s conftest.err'
13023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13024 (eval $ac_try) 2>&5
13025 ac_status=$?
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); }; } &&
13028 { ac_try='test -s conftest.$ac_objext'
13029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13030 (eval $ac_try) 2>&5
13031 ac_status=$?
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); }; }; then
13034 glibcxx_cv_func__atan2f_use=yes
13035 else
13036 echo "$as_me: failed program was:" >&5
13037 sed 's/^/| /' conftest.$ac_ext >&5
13039 glibcxx_cv_func__atan2f_use=no
13041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13042 ac_ext=c
13043 ac_cpp='$CPP $CPPFLAGS'
13044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13052 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13053 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13055 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13057 for ac_func in _atan2f
13059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13060 echo "$as_me:$LINENO: checking for $ac_func" >&5
13061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13062 if eval "test \"\${$as_ac_var+set}\" = set"; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 else
13065 if test x$gcc_no_link = xyes; then
13066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13068 { (exit 1); exit 1; }; }
13070 cat >conftest.$ac_ext <<_ACEOF
13071 /* confdefs.h. */
13072 _ACEOF
13073 cat confdefs.h >>conftest.$ac_ext
13074 cat >>conftest.$ac_ext <<_ACEOF
13075 /* end confdefs.h. */
13076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13078 #define $ac_func innocuous_$ac_func
13080 /* System header to define __stub macros and hopefully few prototypes,
13081 which can conflict with char $ac_func (); below.
13082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13083 <limits.h> exists even on freestanding compilers. */
13085 #ifdef __STDC__
13086 # include <limits.h>
13087 #else
13088 # include <assert.h>
13089 #endif
13091 #undef $ac_func
13093 /* Override any gcc2 internal prototype to avoid an error. */
13094 #ifdef __cplusplus
13095 extern "C"
13097 #endif
13098 /* We use char because int might match the return type of a gcc2
13099 builtin and then its argument prototype would still apply. */
13100 char $ac_func ();
13101 /* The GNU C library defines this for functions which it implements
13102 to always fail with ENOSYS. Some functions are actually named
13103 something starting with __ and the normal name is an alias. */
13104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13105 choke me
13106 #else
13107 char (*f) () = $ac_func;
13108 #endif
13109 #ifdef __cplusplus
13111 #endif
13114 main ()
13116 return f != $ac_func;
13118 return 0;
13120 _ACEOF
13121 rm -f conftest.$ac_objext conftest$ac_exeext
13122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13123 (eval $ac_link) 2>conftest.er1
13124 ac_status=$?
13125 grep -v '^ *+' conftest.er1 >conftest.err
13126 rm -f conftest.er1
13127 cat conftest.err >&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } &&
13130 { ac_try='test -z "$ac_c_werror_flag"
13131 || test ! -s conftest.err'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13134 ac_status=$?
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; } &&
13137 { ac_try='test -s conftest$ac_exeext'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13140 ac_status=$?
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
13143 eval "$as_ac_var=yes"
13144 else
13145 echo "$as_me: failed program was:" >&5
13146 sed 's/^/| /' conftest.$ac_ext >&5
13148 eval "$as_ac_var=no"
13150 rm -f conftest.err conftest.$ac_objext \
13151 conftest$ac_exeext conftest.$ac_ext
13153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13155 if test `eval echo '${'$as_ac_var'}'` = yes; then
13156 cat >>confdefs.h <<_ACEOF
13157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13158 _ACEOF
13161 done
13168 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13169 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13170 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13171 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13172 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 else
13177 ac_ext=cc
13178 ac_cpp='$CXXCPP $CPPFLAGS'
13179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13183 cat >conftest.$ac_ext <<_ACEOF
13184 /* confdefs.h. */
13185 _ACEOF
13186 cat confdefs.h >>conftest.$ac_ext
13187 cat >>conftest.$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13189 #include <math.h>
13190 #ifdef HAVE_IEEEFP_H
13191 #include <ieeefp.h>
13192 #endif
13195 main ()
13197 fabsf(0);
13199 return 0;
13201 _ACEOF
13202 rm -f conftest.$ac_objext
13203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13204 (eval $ac_compile) 2>conftest.er1
13205 ac_status=$?
13206 grep -v '^ *+' conftest.er1 >conftest.err
13207 rm -f conftest.er1
13208 cat conftest.err >&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); } &&
13211 { ac_try='test -z "$ac_cxx_werror_flag"
13212 || test ! -s conftest.err'
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); }; } &&
13218 { ac_try='test -s conftest.$ac_objext'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13221 ac_status=$?
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; }; then
13224 glibcxx_cv_func_fabsf_use=yes
13225 else
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.$ac_ext >&5
13229 glibcxx_cv_func_fabsf_use=no
13231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13232 ac_ext=c
13233 ac_cpp='$CPP $CPPFLAGS'
13234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13243 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13245 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13247 for ac_func in fabsf
13249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13250 echo "$as_me:$LINENO: checking for $ac_func" >&5
13251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13252 if eval "test \"\${$as_ac_var+set}\" = set"; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 else
13255 if test x$gcc_no_link = xyes; then
13256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13258 { (exit 1); exit 1; }; }
13260 cat >conftest.$ac_ext <<_ACEOF
13261 /* confdefs.h. */
13262 _ACEOF
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13268 #define $ac_func innocuous_$ac_func
13270 /* System header to define __stub macros and hopefully few prototypes,
13271 which can conflict with char $ac_func (); below.
13272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13273 <limits.h> exists even on freestanding compilers. */
13275 #ifdef __STDC__
13276 # include <limits.h>
13277 #else
13278 # include <assert.h>
13279 #endif
13281 #undef $ac_func
13283 /* Override any gcc2 internal prototype to avoid an error. */
13284 #ifdef __cplusplus
13285 extern "C"
13287 #endif
13288 /* We use char because int might match the return type of a gcc2
13289 builtin and then its argument prototype would still apply. */
13290 char $ac_func ();
13291 /* The GNU C library defines this for functions which it implements
13292 to always fail with ENOSYS. Some functions are actually named
13293 something starting with __ and the normal name is an alias. */
13294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13295 choke me
13296 #else
13297 char (*f) () = $ac_func;
13298 #endif
13299 #ifdef __cplusplus
13301 #endif
13304 main ()
13306 return f != $ac_func;
13308 return 0;
13310 _ACEOF
13311 rm -f conftest.$ac_objext conftest$ac_exeext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13313 (eval $ac_link) 2>conftest.er1
13314 ac_status=$?
13315 grep -v '^ *+' conftest.er1 >conftest.err
13316 rm -f conftest.er1
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } &&
13320 { ac_try='test -z "$ac_c_werror_flag"
13321 || test ! -s conftest.err'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13324 ac_status=$?
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; } &&
13327 { ac_try='test -s conftest$ac_exeext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13330 ac_status=$?
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 eval "$as_ac_var=yes"
13334 else
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.$ac_ext >&5
13338 eval "$as_ac_var=no"
13340 rm -f conftest.err conftest.$ac_objext \
13341 conftest$ac_exeext conftest.$ac_ext
13343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13345 if test `eval echo '${'$as_ac_var'}'` = yes; then
13346 cat >>confdefs.h <<_ACEOF
13347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13348 _ACEOF
13351 done
13353 else
13355 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13356 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13357 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13358 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13360 else
13364 ac_ext=cc
13365 ac_cpp='$CXXCPP $CPPFLAGS'
13366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13370 cat >conftest.$ac_ext <<_ACEOF
13371 /* confdefs.h. */
13372 _ACEOF
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376 #include <math.h>
13377 #ifdef HAVE_IEEEFP_H
13378 #include <ieeefp.h>
13379 #endif
13382 main ()
13384 _fabsf(0);
13386 return 0;
13388 _ACEOF
13389 rm -f conftest.$ac_objext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13391 (eval $ac_compile) 2>conftest.er1
13392 ac_status=$?
13393 grep -v '^ *+' conftest.er1 >conftest.err
13394 rm -f conftest.er1
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try='test -z "$ac_cxx_werror_flag"
13399 || test ! -s conftest.err'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; } &&
13405 { ac_try='test -s conftest.$ac_objext'
13406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13407 (eval $ac_try) 2>&5
13408 ac_status=$?
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 glibcxx_cv_func__fabsf_use=yes
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13416 glibcxx_cv_func__fabsf_use=no
13418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13419 ac_ext=c
13420 ac_cpp='$CPP $CPPFLAGS'
13421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13430 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13432 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13434 for ac_func in _fabsf
13436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13437 echo "$as_me:$LINENO: checking for $ac_func" >&5
13438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13439 if eval "test \"\${$as_ac_var+set}\" = set"; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 else
13442 if test x$gcc_no_link = xyes; then
13443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13445 { (exit 1); exit 1; }; }
13447 cat >conftest.$ac_ext <<_ACEOF
13448 /* confdefs.h. */
13449 _ACEOF
13450 cat confdefs.h >>conftest.$ac_ext
13451 cat >>conftest.$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13455 #define $ac_func innocuous_$ac_func
13457 /* System header to define __stub macros and hopefully few prototypes,
13458 which can conflict with char $ac_func (); below.
13459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13460 <limits.h> exists even on freestanding compilers. */
13462 #ifdef __STDC__
13463 # include <limits.h>
13464 #else
13465 # include <assert.h>
13466 #endif
13468 #undef $ac_func
13470 /* Override any gcc2 internal prototype to avoid an error. */
13471 #ifdef __cplusplus
13472 extern "C"
13474 #endif
13475 /* We use char because int might match the return type of a gcc2
13476 builtin and then its argument prototype would still apply. */
13477 char $ac_func ();
13478 /* The GNU C library defines this for functions which it implements
13479 to always fail with ENOSYS. Some functions are actually named
13480 something starting with __ and the normal name is an alias. */
13481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13482 choke me
13483 #else
13484 char (*f) () = $ac_func;
13485 #endif
13486 #ifdef __cplusplus
13488 #endif
13491 main ()
13493 return f != $ac_func;
13495 return 0;
13497 _ACEOF
13498 rm -f conftest.$ac_objext conftest$ac_exeext
13499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13500 (eval $ac_link) 2>conftest.er1
13501 ac_status=$?
13502 grep -v '^ *+' conftest.er1 >conftest.err
13503 rm -f conftest.er1
13504 cat conftest.err >&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); } &&
13507 { ac_try='test -z "$ac_c_werror_flag"
13508 || test ! -s conftest.err'
13509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13510 (eval $ac_try) 2>&5
13511 ac_status=$?
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); }; } &&
13514 { ac_try='test -s conftest$ac_exeext'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 eval "$as_ac_var=yes"
13521 else
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13525 eval "$as_ac_var=no"
13527 rm -f conftest.err conftest.$ac_objext \
13528 conftest$ac_exeext conftest.$ac_ext
13530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13532 if test `eval echo '${'$as_ac_var'}'` = yes; then
13533 cat >>confdefs.h <<_ACEOF
13534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13535 _ACEOF
13538 done
13545 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13546 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13547 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13548 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 else
13554 ac_ext=cc
13555 ac_cpp='$CXXCPP $CPPFLAGS'
13556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13560 cat >conftest.$ac_ext <<_ACEOF
13561 /* confdefs.h. */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 #include <math.h>
13568 main ()
13570 fmodf(0, 0);
13572 return 0;
13574 _ACEOF
13575 rm -f conftest.$ac_objext
13576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13577 (eval $ac_compile) 2>conftest.er1
13578 ac_status=$?
13579 grep -v '^ *+' conftest.er1 >conftest.err
13580 rm -f conftest.er1
13581 cat conftest.err >&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } &&
13584 { ac_try='test -z "$ac_cxx_werror_flag"
13585 || test ! -s conftest.err'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13588 ac_status=$?
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; } &&
13591 { ac_try='test -s conftest.$ac_objext'
13592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 (eval $ac_try) 2>&5
13594 ac_status=$?
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 glibcxx_cv_func_fmodf_use=yes
13598 else
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13602 glibcxx_cv_func_fmodf_use=no
13604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13605 ac_ext=c
13606 ac_cpp='$CPP $CPPFLAGS'
13607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13616 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13618 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13620 for ac_func in fmodf
13622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13623 echo "$as_me:$LINENO: checking for $ac_func" >&5
13624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13625 if eval "test \"\${$as_ac_var+set}\" = set"; then
13626 echo $ECHO_N "(cached) $ECHO_C" >&6
13627 else
13628 if test x$gcc_no_link = xyes; then
13629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13631 { (exit 1); exit 1; }; }
13633 cat >conftest.$ac_ext <<_ACEOF
13634 /* confdefs.h. */
13635 _ACEOF
13636 cat confdefs.h >>conftest.$ac_ext
13637 cat >>conftest.$ac_ext <<_ACEOF
13638 /* end confdefs.h. */
13639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13641 #define $ac_func innocuous_$ac_func
13643 /* System header to define __stub macros and hopefully few prototypes,
13644 which can conflict with char $ac_func (); below.
13645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13646 <limits.h> exists even on freestanding compilers. */
13648 #ifdef __STDC__
13649 # include <limits.h>
13650 #else
13651 # include <assert.h>
13652 #endif
13654 #undef $ac_func
13656 /* Override any gcc2 internal prototype to avoid an error. */
13657 #ifdef __cplusplus
13658 extern "C"
13660 #endif
13661 /* We use char because int might match the return type of a gcc2
13662 builtin and then its argument prototype would still apply. */
13663 char $ac_func ();
13664 /* The GNU C library defines this for functions which it implements
13665 to always fail with ENOSYS. Some functions are actually named
13666 something starting with __ and the normal name is an alias. */
13667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13668 choke me
13669 #else
13670 char (*f) () = $ac_func;
13671 #endif
13672 #ifdef __cplusplus
13674 #endif
13677 main ()
13679 return f != $ac_func;
13681 return 0;
13683 _ACEOF
13684 rm -f conftest.$ac_objext conftest$ac_exeext
13685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13686 (eval $ac_link) 2>conftest.er1
13687 ac_status=$?
13688 grep -v '^ *+' conftest.er1 >conftest.err
13689 rm -f conftest.er1
13690 cat conftest.err >&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } &&
13693 { ac_try='test -z "$ac_c_werror_flag"
13694 || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13697 ac_status=$?
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try='test -s conftest$ac_exeext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13703 ac_status=$?
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 eval "$as_ac_var=yes"
13707 else
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.$ac_ext >&5
13711 eval "$as_ac_var=no"
13713 rm -f conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13718 if test `eval echo '${'$as_ac_var'}'` = yes; then
13719 cat >>confdefs.h <<_ACEOF
13720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13721 _ACEOF
13724 done
13726 else
13728 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13729 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13730 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13731 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13733 else
13737 ac_ext=cc
13738 ac_cpp='$CXXCPP $CPPFLAGS'
13739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13743 cat >conftest.$ac_ext <<_ACEOF
13744 /* confdefs.h. */
13745 _ACEOF
13746 cat confdefs.h >>conftest.$ac_ext
13747 cat >>conftest.$ac_ext <<_ACEOF
13748 /* end confdefs.h. */
13749 #include <math.h>
13751 main ()
13753 _fmodf(0, 0);
13755 return 0;
13757 _ACEOF
13758 rm -f conftest.$ac_objext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13760 (eval $ac_compile) 2>conftest.er1
13761 ac_status=$?
13762 grep -v '^ *+' conftest.er1 >conftest.err
13763 rm -f conftest.er1
13764 cat conftest.err >&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try='test -z "$ac_cxx_werror_flag"
13768 || test ! -s conftest.err'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13771 ac_status=$?
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; } &&
13774 { ac_try='test -s conftest.$ac_objext'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13777 ac_status=$?
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; }; then
13780 glibcxx_cv_func__fmodf_use=yes
13781 else
13782 echo "$as_me: failed program was:" >&5
13783 sed 's/^/| /' conftest.$ac_ext >&5
13785 glibcxx_cv_func__fmodf_use=no
13787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13788 ac_ext=c
13789 ac_cpp='$CPP $CPPFLAGS'
13790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13799 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13801 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13803 for ac_func in _fmodf
13805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13806 echo "$as_me:$LINENO: checking for $ac_func" >&5
13807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13808 if eval "test \"\${$as_ac_var+set}\" = set"; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 else
13811 if test x$gcc_no_link = xyes; then
13812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13814 { (exit 1); exit 1; }; }
13816 cat >conftest.$ac_ext <<_ACEOF
13817 /* confdefs.h. */
13818 _ACEOF
13819 cat confdefs.h >>conftest.$ac_ext
13820 cat >>conftest.$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13824 #define $ac_func innocuous_$ac_func
13826 /* System header to define __stub macros and hopefully few prototypes,
13827 which can conflict with char $ac_func (); below.
13828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13829 <limits.h> exists even on freestanding compilers. */
13831 #ifdef __STDC__
13832 # include <limits.h>
13833 #else
13834 # include <assert.h>
13835 #endif
13837 #undef $ac_func
13839 /* Override any gcc2 internal prototype to avoid an error. */
13840 #ifdef __cplusplus
13841 extern "C"
13843 #endif
13844 /* We use char because int might match the return type of a gcc2
13845 builtin and then its argument prototype would still apply. */
13846 char $ac_func ();
13847 /* The GNU C library defines this for functions which it implements
13848 to always fail with ENOSYS. Some functions are actually named
13849 something starting with __ and the normal name is an alias. */
13850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13851 choke me
13852 #else
13853 char (*f) () = $ac_func;
13854 #endif
13855 #ifdef __cplusplus
13857 #endif
13860 main ()
13862 return f != $ac_func;
13864 return 0;
13866 _ACEOF
13867 rm -f conftest.$ac_objext conftest$ac_exeext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13869 (eval $ac_link) 2>conftest.er1
13870 ac_status=$?
13871 grep -v '^ *+' conftest.er1 >conftest.err
13872 rm -f conftest.er1
13873 cat conftest.err >&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try='test -z "$ac_c_werror_flag"
13877 || test ! -s conftest.err'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13880 ac_status=$?
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; } &&
13883 { ac_try='test -s conftest$ac_exeext'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13886 ac_status=$?
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; }; then
13889 eval "$as_ac_var=yes"
13890 else
13891 echo "$as_me: failed program was:" >&5
13892 sed 's/^/| /' conftest.$ac_ext >&5
13894 eval "$as_ac_var=no"
13896 rm -f conftest.err conftest.$ac_objext \
13897 conftest$ac_exeext conftest.$ac_ext
13899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13901 if test `eval echo '${'$as_ac_var'}'` = yes; then
13902 cat >>confdefs.h <<_ACEOF
13903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13904 _ACEOF
13907 done
13914 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13915 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13916 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13917 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13918 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 else
13923 ac_ext=cc
13924 ac_cpp='$CXXCPP $CPPFLAGS'
13925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13929 cat >conftest.$ac_ext <<_ACEOF
13930 /* confdefs.h. */
13931 _ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935 #include <math.h>
13937 main ()
13939 frexpf(0, 0);
13941 return 0;
13943 _ACEOF
13944 rm -f conftest.$ac_objext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13946 (eval $ac_compile) 2>conftest.er1
13947 ac_status=$?
13948 grep -v '^ *+' conftest.er1 >conftest.err
13949 rm -f conftest.er1
13950 cat conftest.err >&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try='test -z "$ac_cxx_werror_flag"
13954 || test ! -s conftest.err'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13957 ac_status=$?
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; } &&
13960 { ac_try='test -s conftest.$ac_objext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13963 ac_status=$?
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 glibcxx_cv_func_frexpf_use=yes
13967 else
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.$ac_ext >&5
13971 glibcxx_cv_func_frexpf_use=no
13973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13974 ac_ext=c
13975 ac_cpp='$CPP $CPPFLAGS'
13976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
13985 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
13987 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13989 for ac_func in frexpf
13991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13992 echo "$as_me:$LINENO: checking for $ac_func" >&5
13993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13994 if eval "test \"\${$as_ac_var+set}\" = set"; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 else
13997 if test x$gcc_no_link = xyes; then
13998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14000 { (exit 1); exit 1; }; }
14002 cat >conftest.$ac_ext <<_ACEOF
14003 /* confdefs.h. */
14004 _ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14010 #define $ac_func innocuous_$ac_func
14012 /* System header to define __stub macros and hopefully few prototypes,
14013 which can conflict with char $ac_func (); below.
14014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14015 <limits.h> exists even on freestanding compilers. */
14017 #ifdef __STDC__
14018 # include <limits.h>
14019 #else
14020 # include <assert.h>
14021 #endif
14023 #undef $ac_func
14025 /* Override any gcc2 internal prototype to avoid an error. */
14026 #ifdef __cplusplus
14027 extern "C"
14029 #endif
14030 /* We use char because int might match the return type of a gcc2
14031 builtin and then its argument prototype would still apply. */
14032 char $ac_func ();
14033 /* The GNU C library defines this for functions which it implements
14034 to always fail with ENOSYS. Some functions are actually named
14035 something starting with __ and the normal name is an alias. */
14036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14037 choke me
14038 #else
14039 char (*f) () = $ac_func;
14040 #endif
14041 #ifdef __cplusplus
14043 #endif
14046 main ()
14048 return f != $ac_func;
14050 return 0;
14052 _ACEOF
14053 rm -f conftest.$ac_objext conftest$ac_exeext
14054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14055 (eval $ac_link) 2>conftest.er1
14056 ac_status=$?
14057 grep -v '^ *+' conftest.er1 >conftest.err
14058 rm -f conftest.er1
14059 cat conftest.err >&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } &&
14062 { ac_try='test -z "$ac_c_werror_flag"
14063 || test ! -s conftest.err'
14064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14065 (eval $ac_try) 2>&5
14066 ac_status=$?
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); }; } &&
14069 { ac_try='test -s conftest$ac_exeext'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14072 ac_status=$?
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; }; then
14075 eval "$as_ac_var=yes"
14076 else
14077 echo "$as_me: failed program was:" >&5
14078 sed 's/^/| /' conftest.$ac_ext >&5
14080 eval "$as_ac_var=no"
14082 rm -f conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14087 if test `eval echo '${'$as_ac_var'}'` = yes; then
14088 cat >>confdefs.h <<_ACEOF
14089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14090 _ACEOF
14093 done
14095 else
14097 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14098 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14099 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14100 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14101 echo $ECHO_N "(cached) $ECHO_C" >&6
14102 else
14106 ac_ext=cc
14107 ac_cpp='$CXXCPP $CPPFLAGS'
14108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14112 cat >conftest.$ac_ext <<_ACEOF
14113 /* confdefs.h. */
14114 _ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 #include <math.h>
14120 main ()
14122 _frexpf(0, 0);
14124 return 0;
14126 _ACEOF
14127 rm -f conftest.$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>conftest.er1
14130 ac_status=$?
14131 grep -v '^ *+' conftest.er1 >conftest.err
14132 rm -f conftest.er1
14133 cat conftest.err >&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } &&
14136 { ac_try='test -z "$ac_cxx_werror_flag"
14137 || test ! -s conftest.err'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14140 ac_status=$?
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; } &&
14143 { ac_try='test -s conftest.$ac_objext'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14146 ac_status=$?
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14149 glibcxx_cv_func__frexpf_use=yes
14150 else
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.$ac_ext >&5
14154 glibcxx_cv_func__frexpf_use=no
14156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14157 ac_ext=c
14158 ac_cpp='$CPP $CPPFLAGS'
14159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14168 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14170 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14172 for ac_func in _frexpf
14174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14175 echo "$as_me:$LINENO: checking for $ac_func" >&5
14176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14177 if eval "test \"\${$as_ac_var+set}\" = set"; then
14178 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 else
14180 if test x$gcc_no_link = xyes; then
14181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14183 { (exit 1); exit 1; }; }
14185 cat >conftest.$ac_ext <<_ACEOF
14186 /* confdefs.h. */
14187 _ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14193 #define $ac_func innocuous_$ac_func
14195 /* System header to define __stub macros and hopefully few prototypes,
14196 which can conflict with char $ac_func (); below.
14197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14198 <limits.h> exists even on freestanding compilers. */
14200 #ifdef __STDC__
14201 # include <limits.h>
14202 #else
14203 # include <assert.h>
14204 #endif
14206 #undef $ac_func
14208 /* Override any gcc2 internal prototype to avoid an error. */
14209 #ifdef __cplusplus
14210 extern "C"
14212 #endif
14213 /* We use char because int might match the return type of a gcc2
14214 builtin and then its argument prototype would still apply. */
14215 char $ac_func ();
14216 /* The GNU C library defines this for functions which it implements
14217 to always fail with ENOSYS. Some functions are actually named
14218 something starting with __ and the normal name is an alias. */
14219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14220 choke me
14221 #else
14222 char (*f) () = $ac_func;
14223 #endif
14224 #ifdef __cplusplus
14226 #endif
14229 main ()
14231 return f != $ac_func;
14233 return 0;
14235 _ACEOF
14236 rm -f conftest.$ac_objext conftest$ac_exeext
14237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14238 (eval $ac_link) 2>conftest.er1
14239 ac_status=$?
14240 grep -v '^ *+' conftest.er1 >conftest.err
14241 rm -f conftest.er1
14242 cat conftest.err >&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try='test -z "$ac_c_werror_flag"
14246 || test ! -s conftest.err'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14249 ac_status=$?
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try='test -s conftest$ac_exeext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14255 ac_status=$?
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 eval "$as_ac_var=yes"
14259 else
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14263 eval "$as_ac_var=no"
14265 rm -f conftest.err conftest.$ac_objext \
14266 conftest$ac_exeext conftest.$ac_ext
14268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14270 if test `eval echo '${'$as_ac_var'}'` = yes; then
14271 cat >>confdefs.h <<_ACEOF
14272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14273 _ACEOF
14276 done
14283 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14284 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14285 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14286 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 else
14292 ac_ext=cc
14293 ac_cpp='$CXXCPP $CPPFLAGS'
14294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14298 cat >conftest.$ac_ext <<_ACEOF
14299 /* confdefs.h. */
14300 _ACEOF
14301 cat confdefs.h >>conftest.$ac_ext
14302 cat >>conftest.$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14304 #include <math.h>
14306 main ()
14308 hypotf(0, 0);
14310 return 0;
14312 _ACEOF
14313 rm -f conftest.$ac_objext
14314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14315 (eval $ac_compile) 2>conftest.er1
14316 ac_status=$?
14317 grep -v '^ *+' conftest.er1 >conftest.err
14318 rm -f conftest.er1
14319 cat conftest.err >&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); } &&
14322 { ac_try='test -z "$ac_cxx_werror_flag"
14323 || test ! -s conftest.err'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; } &&
14329 { ac_try='test -s conftest.$ac_objext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14332 ac_status=$?
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14335 glibcxx_cv_func_hypotf_use=yes
14336 else
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.$ac_ext >&5
14340 glibcxx_cv_func_hypotf_use=no
14342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14343 ac_ext=c
14344 ac_cpp='$CPP $CPPFLAGS'
14345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14354 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14356 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14358 for ac_func in hypotf
14360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14361 echo "$as_me:$LINENO: checking for $ac_func" >&5
14362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14363 if eval "test \"\${$as_ac_var+set}\" = set"; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 else
14366 if test x$gcc_no_link = xyes; then
14367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14369 { (exit 1); exit 1; }; }
14371 cat >conftest.$ac_ext <<_ACEOF
14372 /* confdefs.h. */
14373 _ACEOF
14374 cat confdefs.h >>conftest.$ac_ext
14375 cat >>conftest.$ac_ext <<_ACEOF
14376 /* end confdefs.h. */
14377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14379 #define $ac_func innocuous_$ac_func
14381 /* System header to define __stub macros and hopefully few prototypes,
14382 which can conflict with char $ac_func (); below.
14383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14384 <limits.h> exists even on freestanding compilers. */
14386 #ifdef __STDC__
14387 # include <limits.h>
14388 #else
14389 # include <assert.h>
14390 #endif
14392 #undef $ac_func
14394 /* Override any gcc2 internal prototype to avoid an error. */
14395 #ifdef __cplusplus
14396 extern "C"
14398 #endif
14399 /* We use char because int might match the return type of a gcc2
14400 builtin and then its argument prototype would still apply. */
14401 char $ac_func ();
14402 /* The GNU C library defines this for functions which it implements
14403 to always fail with ENOSYS. Some functions are actually named
14404 something starting with __ and the normal name is an alias. */
14405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14406 choke me
14407 #else
14408 char (*f) () = $ac_func;
14409 #endif
14410 #ifdef __cplusplus
14412 #endif
14415 main ()
14417 return f != $ac_func;
14419 return 0;
14421 _ACEOF
14422 rm -f conftest.$ac_objext conftest$ac_exeext
14423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14424 (eval $ac_link) 2>conftest.er1
14425 ac_status=$?
14426 grep -v '^ *+' conftest.er1 >conftest.err
14427 rm -f conftest.er1
14428 cat conftest.err >&5
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); } &&
14431 { ac_try='test -z "$ac_c_werror_flag"
14432 || test ! -s conftest.err'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; } &&
14438 { ac_try='test -s conftest$ac_exeext'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14441 ac_status=$?
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; }; then
14444 eval "$as_ac_var=yes"
14445 else
14446 echo "$as_me: failed program was:" >&5
14447 sed 's/^/| /' conftest.$ac_ext >&5
14449 eval "$as_ac_var=no"
14451 rm -f conftest.err conftest.$ac_objext \
14452 conftest$ac_exeext conftest.$ac_ext
14454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14456 if test `eval echo '${'$as_ac_var'}'` = yes; then
14457 cat >>confdefs.h <<_ACEOF
14458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14459 _ACEOF
14462 done
14464 else
14466 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14467 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14468 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14469 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 else
14475 ac_ext=cc
14476 ac_cpp='$CXXCPP $CPPFLAGS'
14477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14481 cat >conftest.$ac_ext <<_ACEOF
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487 #include <math.h>
14489 main ()
14491 _hypotf(0, 0);
14493 return 0;
14495 _ACEOF
14496 rm -f conftest.$ac_objext
14497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14498 (eval $ac_compile) 2>conftest.er1
14499 ac_status=$?
14500 grep -v '^ *+' conftest.er1 >conftest.err
14501 rm -f conftest.er1
14502 cat conftest.err >&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -z "$ac_cxx_werror_flag"
14506 || test ! -s conftest.err'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; } &&
14512 { ac_try='test -s conftest.$ac_objext'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; }; then
14518 glibcxx_cv_func__hypotf_use=yes
14519 else
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.$ac_ext >&5
14523 glibcxx_cv_func__hypotf_use=no
14525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14526 ac_ext=c
14527 ac_cpp='$CPP $CPPFLAGS'
14528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14537 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14539 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14541 for ac_func in _hypotf
14543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14544 echo "$as_me:$LINENO: checking for $ac_func" >&5
14545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14546 if eval "test \"\${$as_ac_var+set}\" = set"; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 else
14549 if test x$gcc_no_link = xyes; then
14550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14552 { (exit 1); exit 1; }; }
14554 cat >conftest.$ac_ext <<_ACEOF
14555 /* confdefs.h. */
14556 _ACEOF
14557 cat confdefs.h >>conftest.$ac_ext
14558 cat >>conftest.$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14562 #define $ac_func innocuous_$ac_func
14564 /* System header to define __stub macros and hopefully few prototypes,
14565 which can conflict with char $ac_func (); below.
14566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14567 <limits.h> exists even on freestanding compilers. */
14569 #ifdef __STDC__
14570 # include <limits.h>
14571 #else
14572 # include <assert.h>
14573 #endif
14575 #undef $ac_func
14577 /* Override any gcc2 internal prototype to avoid an error. */
14578 #ifdef __cplusplus
14579 extern "C"
14581 #endif
14582 /* We use char because int might match the return type of a gcc2
14583 builtin and then its argument prototype would still apply. */
14584 char $ac_func ();
14585 /* The GNU C library defines this for functions which it implements
14586 to always fail with ENOSYS. Some functions are actually named
14587 something starting with __ and the normal name is an alias. */
14588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14589 choke me
14590 #else
14591 char (*f) () = $ac_func;
14592 #endif
14593 #ifdef __cplusplus
14595 #endif
14598 main ()
14600 return f != $ac_func;
14602 return 0;
14604 _ACEOF
14605 rm -f conftest.$ac_objext conftest$ac_exeext
14606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14607 (eval $ac_link) 2>conftest.er1
14608 ac_status=$?
14609 grep -v '^ *+' conftest.er1 >conftest.err
14610 rm -f conftest.er1
14611 cat conftest.err >&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } &&
14614 { ac_try='test -z "$ac_c_werror_flag"
14615 || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14618 ac_status=$?
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try='test -s conftest$ac_exeext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 eval "$as_ac_var=yes"
14628 else
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.$ac_ext >&5
14632 eval "$as_ac_var=no"
14634 rm -f conftest.err conftest.$ac_objext \
14635 conftest$ac_exeext conftest.$ac_ext
14637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14639 if test `eval echo '${'$as_ac_var'}'` = yes; then
14640 cat >>confdefs.h <<_ACEOF
14641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14642 _ACEOF
14645 done
14652 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14653 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14654 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14655 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 else
14661 ac_ext=cc
14662 ac_cpp='$CXXCPP $CPPFLAGS'
14663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14667 cat >conftest.$ac_ext <<_ACEOF
14668 /* confdefs.h. */
14669 _ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14673 #include <math.h>
14675 main ()
14677 ldexpf(0, 0);
14679 return 0;
14681 _ACEOF
14682 rm -f conftest.$ac_objext
14683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14684 (eval $ac_compile) 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try='test -z "$ac_cxx_werror_flag"
14692 || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14695 ac_status=$?
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14701 ac_status=$?
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 glibcxx_cv_func_ldexpf_use=yes
14705 else
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 glibcxx_cv_func_ldexpf_use=no
14711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14712 ac_ext=c
14713 ac_cpp='$CPP $CPPFLAGS'
14714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14722 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14723 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14725 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14727 for ac_func in ldexpf
14729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14730 echo "$as_me:$LINENO: checking for $ac_func" >&5
14731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14732 if eval "test \"\${$as_ac_var+set}\" = set"; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14734 else
14735 if test x$gcc_no_link = xyes; then
14736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14738 { (exit 1); exit 1; }; }
14740 cat >conftest.$ac_ext <<_ACEOF
14741 /* confdefs.h. */
14742 _ACEOF
14743 cat confdefs.h >>conftest.$ac_ext
14744 cat >>conftest.$ac_ext <<_ACEOF
14745 /* end confdefs.h. */
14746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14748 #define $ac_func innocuous_$ac_func
14750 /* System header to define __stub macros and hopefully few prototypes,
14751 which can conflict with char $ac_func (); below.
14752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14753 <limits.h> exists even on freestanding compilers. */
14755 #ifdef __STDC__
14756 # include <limits.h>
14757 #else
14758 # include <assert.h>
14759 #endif
14761 #undef $ac_func
14763 /* Override any gcc2 internal prototype to avoid an error. */
14764 #ifdef __cplusplus
14765 extern "C"
14767 #endif
14768 /* We use char because int might match the return type of a gcc2
14769 builtin and then its argument prototype would still apply. */
14770 char $ac_func ();
14771 /* The GNU C library defines this for functions which it implements
14772 to always fail with ENOSYS. Some functions are actually named
14773 something starting with __ and the normal name is an alias. */
14774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14775 choke me
14776 #else
14777 char (*f) () = $ac_func;
14778 #endif
14779 #ifdef __cplusplus
14781 #endif
14784 main ()
14786 return f != $ac_func;
14788 return 0;
14790 _ACEOF
14791 rm -f conftest.$ac_objext conftest$ac_exeext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14793 (eval $ac_link) 2>conftest.er1
14794 ac_status=$?
14795 grep -v '^ *+' conftest.er1 >conftest.err
14796 rm -f conftest.er1
14797 cat conftest.err >&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try='test -s conftest$ac_exeext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 eval "$as_ac_var=yes"
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14818 eval "$as_ac_var=no"
14820 rm -f conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14825 if test `eval echo '${'$as_ac_var'}'` = yes; then
14826 cat >>confdefs.h <<_ACEOF
14827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14828 _ACEOF
14831 done
14833 else
14835 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14836 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14837 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14838 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14844 ac_ext=cc
14845 ac_cpp='$CXXCPP $CPPFLAGS'
14846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14850 cat >conftest.$ac_ext <<_ACEOF
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 #include <math.h>
14858 main ()
14860 _ldexpf(0, 0);
14862 return 0;
14864 _ACEOF
14865 rm -f conftest.$ac_objext
14866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14867 (eval $ac_compile) 2>conftest.er1
14868 ac_status=$?
14869 grep -v '^ *+' conftest.er1 >conftest.err
14870 rm -f conftest.er1
14871 cat conftest.err >&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } &&
14874 { ac_try='test -z "$ac_cxx_werror_flag"
14875 || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 glibcxx_cv_func__ldexpf_use=yes
14888 else
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.$ac_ext >&5
14892 glibcxx_cv_func__ldexpf_use=no
14894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14895 ac_ext=c
14896 ac_cpp='$CPP $CPPFLAGS'
14897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14905 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14906 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14908 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14910 for ac_func in _ldexpf
14912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14913 echo "$as_me:$LINENO: checking for $ac_func" >&5
14914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14915 if eval "test \"\${$as_ac_var+set}\" = set"; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 else
14918 if test x$gcc_no_link = xyes; then
14919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14921 { (exit 1); exit 1; }; }
14923 cat >conftest.$ac_ext <<_ACEOF
14924 /* confdefs.h. */
14925 _ACEOF
14926 cat confdefs.h >>conftest.$ac_ext
14927 cat >>conftest.$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14931 #define $ac_func innocuous_$ac_func
14933 /* System header to define __stub macros and hopefully few prototypes,
14934 which can conflict with char $ac_func (); below.
14935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14936 <limits.h> exists even on freestanding compilers. */
14938 #ifdef __STDC__
14939 # include <limits.h>
14940 #else
14941 # include <assert.h>
14942 #endif
14944 #undef $ac_func
14946 /* Override any gcc2 internal prototype to avoid an error. */
14947 #ifdef __cplusplus
14948 extern "C"
14950 #endif
14951 /* We use char because int might match the return type of a gcc2
14952 builtin and then its argument prototype would still apply. */
14953 char $ac_func ();
14954 /* The GNU C library defines this for functions which it implements
14955 to always fail with ENOSYS. Some functions are actually named
14956 something starting with __ and the normal name is an alias. */
14957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14958 choke me
14959 #else
14960 char (*f) () = $ac_func;
14961 #endif
14962 #ifdef __cplusplus
14964 #endif
14967 main ()
14969 return f != $ac_func;
14971 return 0;
14973 _ACEOF
14974 rm -f conftest.$ac_objext conftest$ac_exeext
14975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14976 (eval $ac_link) 2>conftest.er1
14977 ac_status=$?
14978 grep -v '^ *+' conftest.er1 >conftest.err
14979 rm -f conftest.er1
14980 cat conftest.err >&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } &&
14983 { ac_try='test -z "$ac_c_werror_flag"
14984 || test ! -s conftest.err'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14987 ac_status=$?
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; } &&
14990 { ac_try='test -s conftest$ac_exeext'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14993 ac_status=$?
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; }; then
14996 eval "$as_ac_var=yes"
14997 else
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15001 eval "$as_ac_var=no"
15003 rm -f conftest.err conftest.$ac_objext \
15004 conftest$ac_exeext conftest.$ac_ext
15006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15008 if test `eval echo '${'$as_ac_var'}'` = yes; then
15009 cat >>confdefs.h <<_ACEOF
15010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15011 _ACEOF
15014 done
15021 echo "$as_me:$LINENO: checking for logf declaration" >&5
15022 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15023 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15024 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 else
15030 ac_ext=cc
15031 ac_cpp='$CXXCPP $CPPFLAGS'
15032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042 #include <math.h>
15043 #ifdef HAVE_IEEEFP_H
15044 #include <ieeefp.h>
15045 #endif
15048 main ()
15050 logf(0);
15052 return 0;
15054 _ACEOF
15055 rm -f conftest.$ac_objext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15057 (eval $ac_compile) 2>conftest.er1
15058 ac_status=$?
15059 grep -v '^ *+' conftest.er1 >conftest.err
15060 rm -f conftest.er1
15061 cat conftest.err >&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try='test -z "$ac_cxx_werror_flag"
15065 || test ! -s conftest.err'
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); }; } &&
15071 { ac_try='test -s conftest.$ac_objext'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; }; then
15077 glibcxx_cv_func_logf_use=yes
15078 else
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.$ac_ext >&5
15082 glibcxx_cv_func_logf_use=no
15084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15085 ac_ext=c
15086 ac_cpp='$CPP $CPPFLAGS'
15087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15096 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15098 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15100 for ac_func in logf
15102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15103 echo "$as_me:$LINENO: checking for $ac_func" >&5
15104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15105 if eval "test \"\${$as_ac_var+set}\" = set"; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 else
15108 if test x$gcc_no_link = xyes; then
15109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15111 { (exit 1); exit 1; }; }
15113 cat >conftest.$ac_ext <<_ACEOF
15114 /* confdefs.h. */
15115 _ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15121 #define $ac_func innocuous_$ac_func
15123 /* System header to define __stub macros and hopefully few prototypes,
15124 which can conflict with char $ac_func (); below.
15125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15126 <limits.h> exists even on freestanding compilers. */
15128 #ifdef __STDC__
15129 # include <limits.h>
15130 #else
15131 # include <assert.h>
15132 #endif
15134 #undef $ac_func
15136 /* Override any gcc2 internal prototype to avoid an error. */
15137 #ifdef __cplusplus
15138 extern "C"
15140 #endif
15141 /* We use char because int might match the return type of a gcc2
15142 builtin and then its argument prototype would still apply. */
15143 char $ac_func ();
15144 /* The GNU C library defines this for functions which it implements
15145 to always fail with ENOSYS. Some functions are actually named
15146 something starting with __ and the normal name is an alias. */
15147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15148 choke me
15149 #else
15150 char (*f) () = $ac_func;
15151 #endif
15152 #ifdef __cplusplus
15154 #endif
15157 main ()
15159 return f != $ac_func;
15161 return 0;
15163 _ACEOF
15164 rm -f conftest.$ac_objext conftest$ac_exeext
15165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15166 (eval $ac_link) 2>conftest.er1
15167 ac_status=$?
15168 grep -v '^ *+' conftest.er1 >conftest.err
15169 rm -f conftest.er1
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } &&
15173 { ac_try='test -z "$ac_c_werror_flag"
15174 || test ! -s conftest.err'
15175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176 (eval $ac_try) 2>&5
15177 ac_status=$?
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; } &&
15180 { ac_try='test -s conftest$ac_exeext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15183 ac_status=$?
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
15186 eval "$as_ac_var=yes"
15187 else
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15191 eval "$as_ac_var=no"
15193 rm -f conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext conftest.$ac_ext
15196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15198 if test `eval echo '${'$as_ac_var'}'` = yes; then
15199 cat >>confdefs.h <<_ACEOF
15200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15201 _ACEOF
15204 done
15206 else
15208 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15209 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15210 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15211 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15213 else
15217 ac_ext=cc
15218 ac_cpp='$CXXCPP $CPPFLAGS'
15219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15223 cat >conftest.$ac_ext <<_ACEOF
15224 /* confdefs.h. */
15225 _ACEOF
15226 cat confdefs.h >>conftest.$ac_ext
15227 cat >>conftest.$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15229 #include <math.h>
15230 #ifdef HAVE_IEEEFP_H
15231 #include <ieeefp.h>
15232 #endif
15235 main ()
15237 _logf(0);
15239 return 0;
15241 _ACEOF
15242 rm -f conftest.$ac_objext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15244 (eval $ac_compile) 2>conftest.er1
15245 ac_status=$?
15246 grep -v '^ *+' conftest.er1 >conftest.err
15247 rm -f conftest.er1
15248 cat conftest.err >&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); } &&
15251 { ac_try='test -z "$ac_cxx_werror_flag"
15252 || test ! -s conftest.err'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; } &&
15258 { ac_try='test -s conftest.$ac_objext'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15261 ac_status=$?
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; }; then
15264 glibcxx_cv_func__logf_use=yes
15265 else
15266 echo "$as_me: failed program was:" >&5
15267 sed 's/^/| /' conftest.$ac_ext >&5
15269 glibcxx_cv_func__logf_use=no
15271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15272 ac_ext=c
15273 ac_cpp='$CPP $CPPFLAGS'
15274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15283 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15285 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15287 for ac_func in _logf
15289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15290 echo "$as_me:$LINENO: checking for $ac_func" >&5
15291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15292 if eval "test \"\${$as_ac_var+set}\" = set"; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 else
15295 if test x$gcc_no_link = xyes; then
15296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15298 { (exit 1); exit 1; }; }
15300 cat >conftest.$ac_ext <<_ACEOF
15301 /* confdefs.h. */
15302 _ACEOF
15303 cat confdefs.h >>conftest.$ac_ext
15304 cat >>conftest.$ac_ext <<_ACEOF
15305 /* end confdefs.h. */
15306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15308 #define $ac_func innocuous_$ac_func
15310 /* System header to define __stub macros and hopefully few prototypes,
15311 which can conflict with char $ac_func (); below.
15312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15313 <limits.h> exists even on freestanding compilers. */
15315 #ifdef __STDC__
15316 # include <limits.h>
15317 #else
15318 # include <assert.h>
15319 #endif
15321 #undef $ac_func
15323 /* Override any gcc2 internal prototype to avoid an error. */
15324 #ifdef __cplusplus
15325 extern "C"
15327 #endif
15328 /* We use char because int might match the return type of a gcc2
15329 builtin and then its argument prototype would still apply. */
15330 char $ac_func ();
15331 /* The GNU C library defines this for functions which it implements
15332 to always fail with ENOSYS. Some functions are actually named
15333 something starting with __ and the normal name is an alias. */
15334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15335 choke me
15336 #else
15337 char (*f) () = $ac_func;
15338 #endif
15339 #ifdef __cplusplus
15341 #endif
15344 main ()
15346 return f != $ac_func;
15348 return 0;
15350 _ACEOF
15351 rm -f conftest.$ac_objext conftest$ac_exeext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15353 (eval $ac_link) 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try='test -z "$ac_c_werror_flag"
15361 || test ! -s conftest.err'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; } &&
15367 { ac_try='test -s conftest$ac_exeext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15370 ac_status=$?
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 eval "$as_ac_var=yes"
15374 else
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15378 eval "$as_ac_var=no"
15380 rm -f conftest.err conftest.$ac_objext \
15381 conftest$ac_exeext conftest.$ac_ext
15383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15385 if test `eval echo '${'$as_ac_var'}'` = yes; then
15386 cat >>confdefs.h <<_ACEOF
15387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15388 _ACEOF
15391 done
15398 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15399 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15400 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15401 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 else
15407 ac_ext=cc
15408 ac_cpp='$CXXCPP $CPPFLAGS'
15409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419 #include <math.h>
15420 #ifdef HAVE_IEEEFP_H
15421 #include <ieeefp.h>
15422 #endif
15425 main ()
15427 log10f(0);
15429 return 0;
15431 _ACEOF
15432 rm -f conftest.$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>conftest.er1
15435 ac_status=$?
15436 grep -v '^ *+' conftest.er1 >conftest.err
15437 rm -f conftest.er1
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try='test -z "$ac_cxx_werror_flag"
15442 || test ! -s conftest.err'
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); }; } &&
15448 { ac_try='test -s conftest.$ac_objext'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15451 ac_status=$?
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; }; then
15454 glibcxx_cv_func_log10f_use=yes
15455 else
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.$ac_ext >&5
15459 glibcxx_cv_func_log10f_use=no
15461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15462 ac_ext=c
15463 ac_cpp='$CPP $CPPFLAGS'
15464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15472 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15473 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15475 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15477 for ac_func in log10f
15479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15480 echo "$as_me:$LINENO: checking for $ac_func" >&5
15481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15482 if eval "test \"\${$as_ac_var+set}\" = set"; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 else
15485 if test x$gcc_no_link = xyes; then
15486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15488 { (exit 1); exit 1; }; }
15490 cat >conftest.$ac_ext <<_ACEOF
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15498 #define $ac_func innocuous_$ac_func
15500 /* System header to define __stub macros and hopefully few prototypes,
15501 which can conflict with char $ac_func (); below.
15502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15503 <limits.h> exists even on freestanding compilers. */
15505 #ifdef __STDC__
15506 # include <limits.h>
15507 #else
15508 # include <assert.h>
15509 #endif
15511 #undef $ac_func
15513 /* Override any gcc2 internal prototype to avoid an error. */
15514 #ifdef __cplusplus
15515 extern "C"
15517 #endif
15518 /* We use char because int might match the return type of a gcc2
15519 builtin and then its argument prototype would still apply. */
15520 char $ac_func ();
15521 /* The GNU C library defines this for functions which it implements
15522 to always fail with ENOSYS. Some functions are actually named
15523 something starting with __ and the normal name is an alias. */
15524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15525 choke me
15526 #else
15527 char (*f) () = $ac_func;
15528 #endif
15529 #ifdef __cplusplus
15531 #endif
15534 main ()
15536 return f != $ac_func;
15538 return 0;
15540 _ACEOF
15541 rm -f conftest.$ac_objext conftest$ac_exeext
15542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15543 (eval $ac_link) 2>conftest.er1
15544 ac_status=$?
15545 grep -v '^ *+' conftest.er1 >conftest.err
15546 rm -f conftest.er1
15547 cat conftest.err >&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try='test -z "$ac_c_werror_flag"
15551 || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15554 ac_status=$?
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try='test -s conftest$ac_exeext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15560 ac_status=$?
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 eval "$as_ac_var=yes"
15564 else
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.$ac_ext >&5
15568 eval "$as_ac_var=no"
15570 rm -f conftest.err conftest.$ac_objext \
15571 conftest$ac_exeext conftest.$ac_ext
15573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15575 if test `eval echo '${'$as_ac_var'}'` = yes; then
15576 cat >>confdefs.h <<_ACEOF
15577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15578 _ACEOF
15581 done
15583 else
15585 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15586 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15587 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15588 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 else
15594 ac_ext=cc
15595 ac_cpp='$CXXCPP $CPPFLAGS'
15596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15600 cat >conftest.$ac_ext <<_ACEOF
15601 /* confdefs.h. */
15602 _ACEOF
15603 cat confdefs.h >>conftest.$ac_ext
15604 cat >>conftest.$ac_ext <<_ACEOF
15605 /* end confdefs.h. */
15606 #include <math.h>
15607 #ifdef HAVE_IEEEFP_H
15608 #include <ieeefp.h>
15609 #endif
15612 main ()
15614 _log10f(0);
15616 return 0;
15618 _ACEOF
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15622 ac_status=$?
15623 grep -v '^ *+' conftest.er1 >conftest.err
15624 rm -f conftest.er1
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_cxx_werror_flag"
15629 || test ! -s conftest.err'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15632 ac_status=$?
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try='test -s conftest.$ac_objext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15638 ac_status=$?
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 glibcxx_cv_func__log10f_use=yes
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15646 glibcxx_cv_func__log10f_use=no
15648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15649 ac_ext=c
15650 ac_cpp='$CPP $CPPFLAGS'
15651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15660 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15662 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15664 for ac_func in _log10f
15666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15667 echo "$as_me:$LINENO: checking for $ac_func" >&5
15668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15669 if eval "test \"\${$as_ac_var+set}\" = set"; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15671 else
15672 if test x$gcc_no_link = xyes; then
15673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15675 { (exit 1); exit 1; }; }
15677 cat >conftest.$ac_ext <<_ACEOF
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15685 #define $ac_func innocuous_$ac_func
15687 /* System header to define __stub macros and hopefully few prototypes,
15688 which can conflict with char $ac_func (); below.
15689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15690 <limits.h> exists even on freestanding compilers. */
15692 #ifdef __STDC__
15693 # include <limits.h>
15694 #else
15695 # include <assert.h>
15696 #endif
15698 #undef $ac_func
15700 /* Override any gcc2 internal prototype to avoid an error. */
15701 #ifdef __cplusplus
15702 extern "C"
15704 #endif
15705 /* We use char because int might match the return type of a gcc2
15706 builtin and then its argument prototype would still apply. */
15707 char $ac_func ();
15708 /* The GNU C library defines this for functions which it implements
15709 to always fail with ENOSYS. Some functions are actually named
15710 something starting with __ and the normal name is an alias. */
15711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15712 choke me
15713 #else
15714 char (*f) () = $ac_func;
15715 #endif
15716 #ifdef __cplusplus
15718 #endif
15721 main ()
15723 return f != $ac_func;
15725 return 0;
15727 _ACEOF
15728 rm -f conftest.$ac_objext conftest$ac_exeext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15730 (eval $ac_link) 2>conftest.er1
15731 ac_status=$?
15732 grep -v '^ *+' conftest.er1 >conftest.err
15733 rm -f conftest.er1
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } &&
15737 { ac_try='test -z "$ac_c_werror_flag"
15738 || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try='test -s conftest$ac_exeext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 eval "$as_ac_var=yes"
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15755 eval "$as_ac_var=no"
15757 rm -f conftest.err conftest.$ac_objext \
15758 conftest$ac_exeext conftest.$ac_ext
15760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15762 if test `eval echo '${'$as_ac_var'}'` = yes; then
15763 cat >>confdefs.h <<_ACEOF
15764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15765 _ACEOF
15768 done
15775 echo "$as_me:$LINENO: checking for modff declaration" >&5
15776 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15777 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15778 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15784 ac_ext=cc
15785 ac_cpp='$CXXCPP $CPPFLAGS'
15786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15790 cat >conftest.$ac_ext <<_ACEOF
15791 /* confdefs.h. */
15792 _ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15796 #include <math.h>
15798 main ()
15800 modff(0, 0);
15802 return 0;
15804 _ACEOF
15805 rm -f conftest.$ac_objext
15806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15807 (eval $ac_compile) 2>conftest.er1
15808 ac_status=$?
15809 grep -v '^ *+' conftest.er1 >conftest.err
15810 rm -f conftest.er1
15811 cat conftest.err >&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try='test -z "$ac_cxx_werror_flag"
15815 || test ! -s conftest.err'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15818 ac_status=$?
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; } &&
15821 { ac_try='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 glibcxx_cv_func_modff_use=yes
15828 else
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.$ac_ext >&5
15832 glibcxx_cv_func_modff_use=no
15834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15835 ac_ext=c
15836 ac_cpp='$CPP $CPPFLAGS'
15837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15846 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15848 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15850 for ac_func in modff
15852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15853 echo "$as_me:$LINENO: checking for $ac_func" >&5
15854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15855 if eval "test \"\${$as_ac_var+set}\" = set"; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 else
15858 if test x$gcc_no_link = xyes; then
15859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15861 { (exit 1); exit 1; }; }
15863 cat >conftest.$ac_ext <<_ACEOF
15864 /* confdefs.h. */
15865 _ACEOF
15866 cat confdefs.h >>conftest.$ac_ext
15867 cat >>conftest.$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15871 #define $ac_func innocuous_$ac_func
15873 /* System header to define __stub macros and hopefully few prototypes,
15874 which can conflict with char $ac_func (); below.
15875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15876 <limits.h> exists even on freestanding compilers. */
15878 #ifdef __STDC__
15879 # include <limits.h>
15880 #else
15881 # include <assert.h>
15882 #endif
15884 #undef $ac_func
15886 /* Override any gcc2 internal prototype to avoid an error. */
15887 #ifdef __cplusplus
15888 extern "C"
15890 #endif
15891 /* We use char because int might match the return type of a gcc2
15892 builtin and then its argument prototype would still apply. */
15893 char $ac_func ();
15894 /* The GNU C library defines this for functions which it implements
15895 to always fail with ENOSYS. Some functions are actually named
15896 something starting with __ and the normal name is an alias. */
15897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15898 choke me
15899 #else
15900 char (*f) () = $ac_func;
15901 #endif
15902 #ifdef __cplusplus
15904 #endif
15907 main ()
15909 return f != $ac_func;
15911 return 0;
15913 _ACEOF
15914 rm -f conftest.$ac_objext conftest$ac_exeext
15915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15916 (eval $ac_link) 2>conftest.er1
15917 ac_status=$?
15918 grep -v '^ *+' conftest.er1 >conftest.err
15919 rm -f conftest.er1
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } &&
15923 { ac_try='test -z "$ac_c_werror_flag"
15924 || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try='test -s conftest$ac_exeext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15933 ac_status=$?
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 eval "$as_ac_var=yes"
15937 else
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.$ac_ext >&5
15941 eval "$as_ac_var=no"
15943 rm -f conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext conftest.$ac_ext
15946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15948 if test `eval echo '${'$as_ac_var'}'` = yes; then
15949 cat >>confdefs.h <<_ACEOF
15950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15951 _ACEOF
15954 done
15956 else
15958 echo "$as_me:$LINENO: checking for _modff declaration" >&5
15959 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15960 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15961 if test "${glibcxx_cv_func__modff_use+set}" = set; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 else
15967 ac_ext=cc
15968 ac_cpp='$CXXCPP $CPPFLAGS'
15969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 #include <math.h>
15981 main ()
15983 _modff(0, 0);
15985 return 0;
15987 _ACEOF
15988 rm -f conftest.$ac_objext
15989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15990 (eval $ac_compile) 2>conftest.er1
15991 ac_status=$?
15992 grep -v '^ *+' conftest.er1 >conftest.err
15993 rm -f conftest.er1
15994 cat conftest.err >&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); } &&
15997 { ac_try='test -z "$ac_cxx_werror_flag"
15998 || test ! -s conftest.err'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16001 ac_status=$?
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try='test -s conftest.$ac_objext'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16007 ac_status=$?
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16010 glibcxx_cv_func__modff_use=yes
16011 else
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.$ac_ext >&5
16015 glibcxx_cv_func__modff_use=no
16017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16018 ac_ext=c
16019 ac_cpp='$CPP $CPPFLAGS'
16020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16029 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16031 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16033 for ac_func in _modff
16035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16036 echo "$as_me:$LINENO: checking for $ac_func" >&5
16037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16038 if eval "test \"\${$as_ac_var+set}\" = set"; then
16039 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 else
16041 if test x$gcc_no_link = xyes; then
16042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16044 { (exit 1); exit 1; }; }
16046 cat >conftest.$ac_ext <<_ACEOF
16047 /* confdefs.h. */
16048 _ACEOF
16049 cat confdefs.h >>conftest.$ac_ext
16050 cat >>conftest.$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16054 #define $ac_func innocuous_$ac_func
16056 /* System header to define __stub macros and hopefully few prototypes,
16057 which can conflict with char $ac_func (); below.
16058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16059 <limits.h> exists even on freestanding compilers. */
16061 #ifdef __STDC__
16062 # include <limits.h>
16063 #else
16064 # include <assert.h>
16065 #endif
16067 #undef $ac_func
16069 /* Override any gcc2 internal prototype to avoid an error. */
16070 #ifdef __cplusplus
16071 extern "C"
16073 #endif
16074 /* We use char because int might match the return type of a gcc2
16075 builtin and then its argument prototype would still apply. */
16076 char $ac_func ();
16077 /* The GNU C library defines this for functions which it implements
16078 to always fail with ENOSYS. Some functions are actually named
16079 something starting with __ and the normal name is an alias. */
16080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16081 choke me
16082 #else
16083 char (*f) () = $ac_func;
16084 #endif
16085 #ifdef __cplusplus
16087 #endif
16090 main ()
16092 return f != $ac_func;
16094 return 0;
16096 _ACEOF
16097 rm -f conftest.$ac_objext conftest$ac_exeext
16098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16099 (eval $ac_link) 2>conftest.er1
16100 ac_status=$?
16101 grep -v '^ *+' conftest.er1 >conftest.err
16102 rm -f conftest.er1
16103 cat conftest.err >&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } &&
16106 { ac_try='test -z "$ac_c_werror_flag"
16107 || test ! -s conftest.err'
16108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16109 (eval $ac_try) 2>&5
16110 ac_status=$?
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); }; } &&
16113 { ac_try='test -s conftest$ac_exeext'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16116 ac_status=$?
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; }; then
16119 eval "$as_ac_var=yes"
16120 else
16121 echo "$as_me: failed program was:" >&5
16122 sed 's/^/| /' conftest.$ac_ext >&5
16124 eval "$as_ac_var=no"
16126 rm -f conftest.err conftest.$ac_objext \
16127 conftest$ac_exeext conftest.$ac_ext
16129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16131 if test `eval echo '${'$as_ac_var'}'` = yes; then
16132 cat >>confdefs.h <<_ACEOF
16133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16134 _ACEOF
16137 done
16144 echo "$as_me:$LINENO: checking for powf declaration" >&5
16145 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16146 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16147 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16148 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 else
16153 ac_ext=cc
16154 ac_cpp='$CXXCPP $CPPFLAGS'
16155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16159 cat >conftest.$ac_ext <<_ACEOF
16160 /* confdefs.h. */
16161 _ACEOF
16162 cat confdefs.h >>conftest.$ac_ext
16163 cat >>conftest.$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 #include <math.h>
16167 main ()
16169 powf(0, 0);
16171 return 0;
16173 _ACEOF
16174 rm -f conftest.$ac_objext
16175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16176 (eval $ac_compile) 2>conftest.er1
16177 ac_status=$?
16178 grep -v '^ *+' conftest.er1 >conftest.err
16179 rm -f conftest.er1
16180 cat conftest.err >&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); } &&
16183 { ac_try='test -z "$ac_cxx_werror_flag"
16184 || test ! -s conftest.err'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; } &&
16190 { ac_try='test -s conftest.$ac_objext'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16193 ac_status=$?
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; }; then
16196 glibcxx_cv_func_powf_use=yes
16197 else
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.$ac_ext >&5
16201 glibcxx_cv_func_powf_use=no
16203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16204 ac_ext=c
16205 ac_cpp='$CPP $CPPFLAGS'
16206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16215 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16217 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16219 for ac_func in powf
16221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16222 echo "$as_me:$LINENO: checking for $ac_func" >&5
16223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16224 if eval "test \"\${$as_ac_var+set}\" = set"; then
16225 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 else
16227 if test x$gcc_no_link = xyes; then
16228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16230 { (exit 1); exit 1; }; }
16232 cat >conftest.$ac_ext <<_ACEOF
16233 /* confdefs.h. */
16234 _ACEOF
16235 cat confdefs.h >>conftest.$ac_ext
16236 cat >>conftest.$ac_ext <<_ACEOF
16237 /* end confdefs.h. */
16238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16240 #define $ac_func innocuous_$ac_func
16242 /* System header to define __stub macros and hopefully few prototypes,
16243 which can conflict with char $ac_func (); below.
16244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16245 <limits.h> exists even on freestanding compilers. */
16247 #ifdef __STDC__
16248 # include <limits.h>
16249 #else
16250 # include <assert.h>
16251 #endif
16253 #undef $ac_func
16255 /* Override any gcc2 internal prototype to avoid an error. */
16256 #ifdef __cplusplus
16257 extern "C"
16259 #endif
16260 /* We use char because int might match the return type of a gcc2
16261 builtin and then its argument prototype would still apply. */
16262 char $ac_func ();
16263 /* The GNU C library defines this for functions which it implements
16264 to always fail with ENOSYS. Some functions are actually named
16265 something starting with __ and the normal name is an alias. */
16266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16267 choke me
16268 #else
16269 char (*f) () = $ac_func;
16270 #endif
16271 #ifdef __cplusplus
16273 #endif
16276 main ()
16278 return f != $ac_func;
16280 return 0;
16282 _ACEOF
16283 rm -f conftest.$ac_objext conftest$ac_exeext
16284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16285 (eval $ac_link) 2>conftest.er1
16286 ac_status=$?
16287 grep -v '^ *+' conftest.er1 >conftest.err
16288 rm -f conftest.er1
16289 cat conftest.err >&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); } &&
16292 { ac_try='test -z "$ac_c_werror_flag"
16293 || test ! -s conftest.err'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16296 ac_status=$?
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; } &&
16299 { ac_try='test -s conftest$ac_exeext'
16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301 (eval $ac_try) 2>&5
16302 ac_status=$?
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; }; then
16305 eval "$as_ac_var=yes"
16306 else
16307 echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.$ac_ext >&5
16310 eval "$as_ac_var=no"
16312 rm -f conftest.err conftest.$ac_objext \
16313 conftest$ac_exeext conftest.$ac_ext
16315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16317 if test `eval echo '${'$as_ac_var'}'` = yes; then
16318 cat >>confdefs.h <<_ACEOF
16319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16320 _ACEOF
16323 done
16325 else
16327 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16328 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16329 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16330 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16336 ac_ext=cc
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342 cat >conftest.$ac_ext <<_ACEOF
16343 /* confdefs.h. */
16344 _ACEOF
16345 cat confdefs.h >>conftest.$ac_ext
16346 cat >>conftest.$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16348 #include <math.h>
16350 main ()
16352 _powf(0, 0);
16354 return 0;
16356 _ACEOF
16357 rm -f conftest.$ac_objext
16358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16359 (eval $ac_compile) 2>conftest.er1
16360 ac_status=$?
16361 grep -v '^ *+' conftest.er1 >conftest.err
16362 rm -f conftest.er1
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } &&
16366 { ac_try='test -z "$ac_cxx_werror_flag"
16367 || test ! -s conftest.err'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16370 ac_status=$?
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); }; } &&
16373 { ac_try='test -s conftest.$ac_objext'
16374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375 (eval $ac_try) 2>&5
16376 ac_status=$?
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }; }; then
16379 glibcxx_cv_func__powf_use=yes
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16384 glibcxx_cv_func__powf_use=no
16386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16387 ac_ext=c
16388 ac_cpp='$CPP $CPPFLAGS'
16389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16398 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16400 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16402 for ac_func in _powf
16404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16405 echo "$as_me:$LINENO: checking for $ac_func" >&5
16406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16407 if eval "test \"\${$as_ac_var+set}\" = set"; then
16408 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 else
16410 if test x$gcc_no_link = xyes; then
16411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16413 { (exit 1); exit 1; }; }
16415 cat >conftest.$ac_ext <<_ACEOF
16416 /* confdefs.h. */
16417 _ACEOF
16418 cat confdefs.h >>conftest.$ac_ext
16419 cat >>conftest.$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16423 #define $ac_func innocuous_$ac_func
16425 /* System header to define __stub macros and hopefully few prototypes,
16426 which can conflict with char $ac_func (); below.
16427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16428 <limits.h> exists even on freestanding compilers. */
16430 #ifdef __STDC__
16431 # include <limits.h>
16432 #else
16433 # include <assert.h>
16434 #endif
16436 #undef $ac_func
16438 /* Override any gcc2 internal prototype to avoid an error. */
16439 #ifdef __cplusplus
16440 extern "C"
16442 #endif
16443 /* We use char because int might match the return type of a gcc2
16444 builtin and then its argument prototype would still apply. */
16445 char $ac_func ();
16446 /* The GNU C library defines this for functions which it implements
16447 to always fail with ENOSYS. Some functions are actually named
16448 something starting with __ and the normal name is an alias. */
16449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16450 choke me
16451 #else
16452 char (*f) () = $ac_func;
16453 #endif
16454 #ifdef __cplusplus
16456 #endif
16459 main ()
16461 return f != $ac_func;
16463 return 0;
16465 _ACEOF
16466 rm -f conftest.$ac_objext conftest$ac_exeext
16467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16468 (eval $ac_link) 2>conftest.er1
16469 ac_status=$?
16470 grep -v '^ *+' conftest.er1 >conftest.err
16471 rm -f conftest.er1
16472 cat conftest.err >&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); } &&
16475 { ac_try='test -z "$ac_c_werror_flag"
16476 || test ! -s conftest.err'
16477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 (eval $ac_try) 2>&5
16479 ac_status=$?
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); }; } &&
16482 { ac_try='test -s conftest$ac_exeext'
16483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16484 (eval $ac_try) 2>&5
16485 ac_status=$?
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; }; then
16488 eval "$as_ac_var=yes"
16489 else
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16493 eval "$as_ac_var=no"
16495 rm -f conftest.err conftest.$ac_objext \
16496 conftest$ac_exeext conftest.$ac_ext
16498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16500 if test `eval echo '${'$as_ac_var'}'` = yes; then
16501 cat >>confdefs.h <<_ACEOF
16502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16503 _ACEOF
16506 done
16513 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16514 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16515 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16516 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16517 echo $ECHO_N "(cached) $ECHO_C" >&6
16518 else
16522 ac_ext=cc
16523 ac_cpp='$CXXCPP $CPPFLAGS'
16524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 #include <math.h>
16535 #ifdef HAVE_IEEEFP_H
16536 #include <ieeefp.h>
16537 #endif
16540 main ()
16542 sqrtf(0);
16544 return 0;
16546 _ACEOF
16547 rm -f conftest.$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>conftest.er1
16550 ac_status=$?
16551 grep -v '^ *+' conftest.er1 >conftest.err
16552 rm -f conftest.er1
16553 cat conftest.err >&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try='test -z "$ac_cxx_werror_flag"
16557 || test ! -s conftest.err'
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); }; } &&
16563 { ac_try='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 glibcxx_cv_func_sqrtf_use=yes
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 glibcxx_cv_func_sqrtf_use=no
16576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16577 ac_ext=c
16578 ac_cpp='$CPP $CPPFLAGS'
16579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16588 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16590 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16592 for ac_func in sqrtf
16594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16595 echo "$as_me:$LINENO: checking for $ac_func" >&5
16596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16597 if eval "test \"\${$as_ac_var+set}\" = set"; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 else
16600 if test x$gcc_no_link = xyes; then
16601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16603 { (exit 1); exit 1; }; }
16605 cat >conftest.$ac_ext <<_ACEOF
16606 /* confdefs.h. */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16613 #define $ac_func innocuous_$ac_func
16615 /* System header to define __stub macros and hopefully few prototypes,
16616 which can conflict with char $ac_func (); below.
16617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16618 <limits.h> exists even on freestanding compilers. */
16620 #ifdef __STDC__
16621 # include <limits.h>
16622 #else
16623 # include <assert.h>
16624 #endif
16626 #undef $ac_func
16628 /* Override any gcc2 internal prototype to avoid an error. */
16629 #ifdef __cplusplus
16630 extern "C"
16632 #endif
16633 /* We use char because int might match the return type of a gcc2
16634 builtin and then its argument prototype would still apply. */
16635 char $ac_func ();
16636 /* The GNU C library defines this for functions which it implements
16637 to always fail with ENOSYS. Some functions are actually named
16638 something starting with __ and the normal name is an alias. */
16639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16640 choke me
16641 #else
16642 char (*f) () = $ac_func;
16643 #endif
16644 #ifdef __cplusplus
16646 #endif
16649 main ()
16651 return f != $ac_func;
16653 return 0;
16655 _ACEOF
16656 rm -f conftest.$ac_objext conftest$ac_exeext
16657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16658 (eval $ac_link) 2>conftest.er1
16659 ac_status=$?
16660 grep -v '^ *+' conftest.er1 >conftest.err
16661 rm -f conftest.er1
16662 cat conftest.err >&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } &&
16665 { ac_try='test -z "$ac_c_werror_flag"
16666 || test ! -s conftest.err'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16669 ac_status=$?
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try='test -s conftest$ac_exeext'
16673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16674 (eval $ac_try) 2>&5
16675 ac_status=$?
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); }; }; then
16678 eval "$as_ac_var=yes"
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16683 eval "$as_ac_var=no"
16685 rm -f conftest.err conftest.$ac_objext \
16686 conftest$ac_exeext conftest.$ac_ext
16688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16690 if test `eval echo '${'$as_ac_var'}'` = yes; then
16691 cat >>confdefs.h <<_ACEOF
16692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16693 _ACEOF
16696 done
16698 else
16700 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16701 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16702 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16703 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 else
16709 ac_ext=cc
16710 ac_cpp='$CXXCPP $CPPFLAGS'
16711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16715 cat >conftest.$ac_ext <<_ACEOF
16716 /* confdefs.h. */
16717 _ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #include <math.h>
16722 #ifdef HAVE_IEEEFP_H
16723 #include <ieeefp.h>
16724 #endif
16727 main ()
16729 _sqrtf(0);
16731 return 0;
16733 _ACEOF
16734 rm -f conftest.$ac_objext
16735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16736 (eval $ac_compile) 2>conftest.er1
16737 ac_status=$?
16738 grep -v '^ *+' conftest.er1 >conftest.err
16739 rm -f conftest.er1
16740 cat conftest.err >&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } &&
16743 { ac_try='test -z "$ac_cxx_werror_flag"
16744 || test ! -s conftest.err'
16745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746 (eval $ac_try) 2>&5
16747 ac_status=$?
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; } &&
16750 { ac_try='test -s conftest.$ac_objext'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16753 ac_status=$?
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; }; then
16756 glibcxx_cv_func__sqrtf_use=yes
16757 else
16758 echo "$as_me: failed program was:" >&5
16759 sed 's/^/| /' conftest.$ac_ext >&5
16761 glibcxx_cv_func__sqrtf_use=no
16763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16764 ac_ext=c
16765 ac_cpp='$CPP $CPPFLAGS'
16766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16775 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16777 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16779 for ac_func in _sqrtf
16781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16782 echo "$as_me:$LINENO: checking for $ac_func" >&5
16783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16784 if eval "test \"\${$as_ac_var+set}\" = set"; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 if test x$gcc_no_link = xyes; then
16788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16790 { (exit 1); exit 1; }; }
16792 cat >conftest.$ac_ext <<_ACEOF
16793 /* confdefs.h. */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16800 #define $ac_func innocuous_$ac_func
16802 /* System header to define __stub macros and hopefully few prototypes,
16803 which can conflict with char $ac_func (); below.
16804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16805 <limits.h> exists even on freestanding compilers. */
16807 #ifdef __STDC__
16808 # include <limits.h>
16809 #else
16810 # include <assert.h>
16811 #endif
16813 #undef $ac_func
16815 /* Override any gcc2 internal prototype to avoid an error. */
16816 #ifdef __cplusplus
16817 extern "C"
16819 #endif
16820 /* We use char because int might match the return type of a gcc2
16821 builtin and then its argument prototype would still apply. */
16822 char $ac_func ();
16823 /* The GNU C library defines this for functions which it implements
16824 to always fail with ENOSYS. Some functions are actually named
16825 something starting with __ and the normal name is an alias. */
16826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16827 choke me
16828 #else
16829 char (*f) () = $ac_func;
16830 #endif
16831 #ifdef __cplusplus
16833 #endif
16836 main ()
16838 return f != $ac_func;
16840 return 0;
16842 _ACEOF
16843 rm -f conftest.$ac_objext conftest$ac_exeext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16845 (eval $ac_link) 2>conftest.er1
16846 ac_status=$?
16847 grep -v '^ *+' conftest.er1 >conftest.err
16848 rm -f conftest.er1
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try='test -z "$ac_c_werror_flag"
16853 || test ! -s conftest.err'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; } &&
16859 { ac_try='test -s conftest$ac_exeext'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16862 ac_status=$?
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; }; then
16865 eval "$as_ac_var=yes"
16866 else
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.$ac_ext >&5
16870 eval "$as_ac_var=no"
16872 rm -f conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16877 if test `eval echo '${'$as_ac_var'}'` = yes; then
16878 cat >>confdefs.h <<_ACEOF
16879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16880 _ACEOF
16883 done
16890 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16891 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16892 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16893 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16899 ac_ext=cc
16900 ac_cpp='$CXXCPP $CPPFLAGS'
16901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16905 cat >conftest.$ac_ext <<_ACEOF
16906 /* confdefs.h. */
16907 _ACEOF
16908 cat confdefs.h >>conftest.$ac_ext
16909 cat >>conftest.$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16911 #include <math.h>
16913 main ()
16915 sincosf(0, 0, 0);
16917 return 0;
16919 _ACEOF
16920 rm -f conftest.$ac_objext
16921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16922 (eval $ac_compile) 2>conftest.er1
16923 ac_status=$?
16924 grep -v '^ *+' conftest.er1 >conftest.err
16925 rm -f conftest.er1
16926 cat conftest.err >&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } &&
16929 { ac_try='test -z "$ac_cxx_werror_flag"
16930 || test ! -s conftest.err'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; } &&
16936 { ac_try='test -s conftest.$ac_objext'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; }; then
16942 glibcxx_cv_func_sincosf_use=yes
16943 else
16944 echo "$as_me: failed program was:" >&5
16945 sed 's/^/| /' conftest.$ac_ext >&5
16947 glibcxx_cv_func_sincosf_use=no
16949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16950 ac_ext=c
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16961 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16963 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16965 for ac_func in sincosf
16967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16968 echo "$as_me:$LINENO: checking for $ac_func" >&5
16969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16970 if eval "test \"\${$as_ac_var+set}\" = set"; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 else
16973 if test x$gcc_no_link = xyes; then
16974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16976 { (exit 1); exit 1; }; }
16978 cat >conftest.$ac_ext <<_ACEOF
16979 /* confdefs.h. */
16980 _ACEOF
16981 cat confdefs.h >>conftest.$ac_ext
16982 cat >>conftest.$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16986 #define $ac_func innocuous_$ac_func
16988 /* System header to define __stub macros and hopefully few prototypes,
16989 which can conflict with char $ac_func (); below.
16990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16991 <limits.h> exists even on freestanding compilers. */
16993 #ifdef __STDC__
16994 # include <limits.h>
16995 #else
16996 # include <assert.h>
16997 #endif
16999 #undef $ac_func
17001 /* Override any gcc2 internal prototype to avoid an error. */
17002 #ifdef __cplusplus
17003 extern "C"
17005 #endif
17006 /* We use char because int might match the return type of a gcc2
17007 builtin and then its argument prototype would still apply. */
17008 char $ac_func ();
17009 /* The GNU C library defines this for functions which it implements
17010 to always fail with ENOSYS. Some functions are actually named
17011 something starting with __ and the normal name is an alias. */
17012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17013 choke me
17014 #else
17015 char (*f) () = $ac_func;
17016 #endif
17017 #ifdef __cplusplus
17019 #endif
17022 main ()
17024 return f != $ac_func;
17026 return 0;
17028 _ACEOF
17029 rm -f conftest.$ac_objext conftest$ac_exeext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17031 (eval $ac_link) 2>conftest.er1
17032 ac_status=$?
17033 grep -v '^ *+' conftest.er1 >conftest.err
17034 rm -f conftest.er1
17035 cat conftest.err >&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } &&
17038 { ac_try='test -z "$ac_c_werror_flag"
17039 || test ! -s conftest.err'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17042 ac_status=$?
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; } &&
17045 { ac_try='test -s conftest$ac_exeext'
17046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5
17048 ac_status=$?
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; }; then
17051 eval "$as_ac_var=yes"
17052 else
17053 echo "$as_me: failed program was:" >&5
17054 sed 's/^/| /' conftest.$ac_ext >&5
17056 eval "$as_ac_var=no"
17058 rm -f conftest.err conftest.$ac_objext \
17059 conftest$ac_exeext conftest.$ac_ext
17061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17063 if test `eval echo '${'$as_ac_var'}'` = yes; then
17064 cat >>confdefs.h <<_ACEOF
17065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17066 _ACEOF
17069 done
17071 else
17073 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17074 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17075 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17076 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17077 echo $ECHO_N "(cached) $ECHO_C" >&6
17078 else
17082 ac_ext=cc
17083 ac_cpp='$CXXCPP $CPPFLAGS'
17084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17088 cat >conftest.$ac_ext <<_ACEOF
17089 /* confdefs.h. */
17090 _ACEOF
17091 cat confdefs.h >>conftest.$ac_ext
17092 cat >>conftest.$ac_ext <<_ACEOF
17093 /* end confdefs.h. */
17094 #include <math.h>
17096 main ()
17098 _sincosf(0, 0, 0);
17100 return 0;
17102 _ACEOF
17103 rm -f conftest.$ac_objext
17104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17105 (eval $ac_compile) 2>conftest.er1
17106 ac_status=$?
17107 grep -v '^ *+' conftest.er1 >conftest.err
17108 rm -f conftest.er1
17109 cat conftest.err >&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } &&
17112 { ac_try='test -z "$ac_cxx_werror_flag"
17113 || test ! -s conftest.err'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17116 ac_status=$?
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; } &&
17119 { ac_try='test -s conftest.$ac_objext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17122 ac_status=$?
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17125 glibcxx_cv_func__sincosf_use=yes
17126 else
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17130 glibcxx_cv_func__sincosf_use=no
17132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17133 ac_ext=c
17134 ac_cpp='$CPP $CPPFLAGS'
17135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17144 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17146 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17148 for ac_func in _sincosf
17150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17151 echo "$as_me:$LINENO: checking for $ac_func" >&5
17152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17153 if eval "test \"\${$as_ac_var+set}\" = set"; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 else
17156 if test x$gcc_no_link = xyes; then
17157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17159 { (exit 1); exit 1; }; }
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17169 #define $ac_func innocuous_$ac_func
17171 /* System header to define __stub macros and hopefully few prototypes,
17172 which can conflict with char $ac_func (); below.
17173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17174 <limits.h> exists even on freestanding compilers. */
17176 #ifdef __STDC__
17177 # include <limits.h>
17178 #else
17179 # include <assert.h>
17180 #endif
17182 #undef $ac_func
17184 /* Override any gcc2 internal prototype to avoid an error. */
17185 #ifdef __cplusplus
17186 extern "C"
17188 #endif
17189 /* We use char because int might match the return type of a gcc2
17190 builtin and then its argument prototype would still apply. */
17191 char $ac_func ();
17192 /* The GNU C library defines this for functions which it implements
17193 to always fail with ENOSYS. Some functions are actually named
17194 something starting with __ and the normal name is an alias. */
17195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17196 choke me
17197 #else
17198 char (*f) () = $ac_func;
17199 #endif
17200 #ifdef __cplusplus
17202 #endif
17205 main ()
17207 return f != $ac_func;
17209 return 0;
17211 _ACEOF
17212 rm -f conftest.$ac_objext conftest$ac_exeext
17213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17214 (eval $ac_link) 2>conftest.er1
17215 ac_status=$?
17216 grep -v '^ *+' conftest.er1 >conftest.err
17217 rm -f conftest.er1
17218 cat conftest.err >&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } &&
17221 { ac_try='test -z "$ac_c_werror_flag"
17222 || test ! -s conftest.err'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17225 ac_status=$?
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; } &&
17228 { ac_try='test -s conftest$ac_exeext'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17231 ac_status=$?
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 eval "$as_ac_var=yes"
17235 else
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17239 eval "$as_ac_var=no"
17241 rm -f conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17246 if test `eval echo '${'$as_ac_var'}'` = yes; then
17247 cat >>confdefs.h <<_ACEOF
17248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17249 _ACEOF
17252 done
17259 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17260 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17261 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17262 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17264 else
17268 ac_ext=cc
17269 ac_cpp='$CXXCPP $CPPFLAGS'
17270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17274 cat >conftest.$ac_ext <<_ACEOF
17275 /* confdefs.h. */
17276 _ACEOF
17277 cat confdefs.h >>conftest.$ac_ext
17278 cat >>conftest.$ac_ext <<_ACEOF
17279 /* end confdefs.h. */
17280 #include <math.h>
17281 #ifdef HAVE_IEEEFP_H
17282 #include <ieeefp.h>
17283 #endif
17286 main ()
17288 finitef(0);
17290 return 0;
17292 _ACEOF
17293 rm -f conftest.$ac_objext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17295 (eval $ac_compile) 2>conftest.er1
17296 ac_status=$?
17297 grep -v '^ *+' conftest.er1 >conftest.err
17298 rm -f conftest.er1
17299 cat conftest.err >&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try='test -z "$ac_cxx_werror_flag"
17303 || test ! -s conftest.err'
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); }; } &&
17309 { ac_try='test -s conftest.$ac_objext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17315 glibcxx_cv_func_finitef_use=yes
17316 else
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17320 glibcxx_cv_func_finitef_use=no
17322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17323 ac_ext=c
17324 ac_cpp='$CPP $CPPFLAGS'
17325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17334 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17336 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17338 for ac_func in finitef
17340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17341 echo "$as_me:$LINENO: checking for $ac_func" >&5
17342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17343 if eval "test \"\${$as_ac_var+set}\" = set"; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 else
17346 if test x$gcc_no_link = xyes; then
17347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17349 { (exit 1); exit 1; }; }
17351 cat >conftest.$ac_ext <<_ACEOF
17352 /* confdefs.h. */
17353 _ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17359 #define $ac_func innocuous_$ac_func
17361 /* System header to define __stub macros and hopefully few prototypes,
17362 which can conflict with char $ac_func (); below.
17363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17364 <limits.h> exists even on freestanding compilers. */
17366 #ifdef __STDC__
17367 # include <limits.h>
17368 #else
17369 # include <assert.h>
17370 #endif
17372 #undef $ac_func
17374 /* Override any gcc2 internal prototype to avoid an error. */
17375 #ifdef __cplusplus
17376 extern "C"
17378 #endif
17379 /* We use char because int might match the return type of a gcc2
17380 builtin and then its argument prototype would still apply. */
17381 char $ac_func ();
17382 /* The GNU C library defines this for functions which it implements
17383 to always fail with ENOSYS. Some functions are actually named
17384 something starting with __ and the normal name is an alias. */
17385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17386 choke me
17387 #else
17388 char (*f) () = $ac_func;
17389 #endif
17390 #ifdef __cplusplus
17392 #endif
17395 main ()
17397 return f != $ac_func;
17399 return 0;
17401 _ACEOF
17402 rm -f conftest.$ac_objext conftest$ac_exeext
17403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17404 (eval $ac_link) 2>conftest.er1
17405 ac_status=$?
17406 grep -v '^ *+' conftest.er1 >conftest.err
17407 rm -f conftest.er1
17408 cat conftest.err >&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } &&
17411 { ac_try='test -z "$ac_c_werror_flag"
17412 || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try='test -s conftest$ac_exeext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17421 ac_status=$?
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17424 eval "$as_ac_var=yes"
17425 else
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.$ac_ext >&5
17429 eval "$as_ac_var=no"
17431 rm -f conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17436 if test `eval echo '${'$as_ac_var'}'` = yes; then
17437 cat >>confdefs.h <<_ACEOF
17438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17439 _ACEOF
17442 done
17444 else
17446 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17447 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17448 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17449 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17455 ac_ext=cc
17456 ac_cpp='$CXXCPP $CPPFLAGS'
17457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17461 cat >conftest.$ac_ext <<_ACEOF
17462 /* confdefs.h. */
17463 _ACEOF
17464 cat confdefs.h >>conftest.$ac_ext
17465 cat >>conftest.$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467 #include <math.h>
17468 #ifdef HAVE_IEEEFP_H
17469 #include <ieeefp.h>
17470 #endif
17473 main ()
17475 _finitef(0);
17477 return 0;
17479 _ACEOF
17480 rm -f conftest.$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17483 ac_status=$?
17484 grep -v '^ *+' conftest.er1 >conftest.err
17485 rm -f conftest.er1
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try='test -z "$ac_cxx_werror_flag"
17490 || test ! -s conftest.err'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17493 ac_status=$?
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; } &&
17496 { ac_try='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17502 glibcxx_cv_func__finitef_use=yes
17503 else
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17507 glibcxx_cv_func__finitef_use=no
17509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17510 ac_ext=c
17511 ac_cpp='$CPP $CPPFLAGS'
17512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17520 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17521 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17523 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17525 for ac_func in _finitef
17527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17528 echo "$as_me:$LINENO: checking for $ac_func" >&5
17529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17530 if eval "test \"\${$as_ac_var+set}\" = set"; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 else
17533 if test x$gcc_no_link = xyes; then
17534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17536 { (exit 1); exit 1; }; }
17538 cat >conftest.$ac_ext <<_ACEOF
17539 /* confdefs.h. */
17540 _ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17546 #define $ac_func innocuous_$ac_func
17548 /* System header to define __stub macros and hopefully few prototypes,
17549 which can conflict with char $ac_func (); below.
17550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17551 <limits.h> exists even on freestanding compilers. */
17553 #ifdef __STDC__
17554 # include <limits.h>
17555 #else
17556 # include <assert.h>
17557 #endif
17559 #undef $ac_func
17561 /* Override any gcc2 internal prototype to avoid an error. */
17562 #ifdef __cplusplus
17563 extern "C"
17565 #endif
17566 /* We use char because int might match the return type of a gcc2
17567 builtin and then its argument prototype would still apply. */
17568 char $ac_func ();
17569 /* The GNU C library defines this for functions which it implements
17570 to always fail with ENOSYS. Some functions are actually named
17571 something starting with __ and the normal name is an alias. */
17572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17573 choke me
17574 #else
17575 char (*f) () = $ac_func;
17576 #endif
17577 #ifdef __cplusplus
17579 #endif
17582 main ()
17584 return f != $ac_func;
17586 return 0;
17588 _ACEOF
17589 rm -f conftest.$ac_objext conftest$ac_exeext
17590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17591 (eval $ac_link) 2>conftest.er1
17592 ac_status=$?
17593 grep -v '^ *+' conftest.er1 >conftest.err
17594 rm -f conftest.er1
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } &&
17598 { ac_try='test -z "$ac_c_werror_flag"
17599 || test ! -s conftest.err'
17600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17601 (eval $ac_try) 2>&5
17602 ac_status=$?
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); }; } &&
17605 { ac_try='test -s conftest$ac_exeext'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17608 ac_status=$?
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; }; then
17611 eval "$as_ac_var=yes"
17612 else
17613 echo "$as_me: failed program was:" >&5
17614 sed 's/^/| /' conftest.$ac_ext >&5
17616 eval "$as_ac_var=no"
17618 rm -f conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17623 if test `eval echo '${'$as_ac_var'}'` = yes; then
17624 cat >>confdefs.h <<_ACEOF
17625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17626 _ACEOF
17629 done
17636 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17637 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17638 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17639 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 else
17644 ac_ext=cc
17645 ac_cpp='$CXXCPP $CPPFLAGS'
17646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17650 cat >conftest.$ac_ext <<_ACEOF
17651 /* confdefs.h. */
17652 _ACEOF
17653 cat confdefs.h >>conftest.$ac_ext
17654 cat >>conftest.$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17656 #include <math.h>
17658 main ()
17660 `for x in acosl asinl atanl \
17661 cosl sinl tanl \
17662 coshl sinhl tanhl; do echo "$x (0);"; done`
17664 return 0;
17666 _ACEOF
17667 rm -f conftest.$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try='test -z "$ac_cxx_werror_flag"
17677 || test ! -s conftest.err'
17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679 (eval $ac_try) 2>&5
17680 ac_status=$?
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); }; } &&
17683 { ac_try='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17686 ac_status=$?
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 glibcxx_cv_func_long_double_trig_use=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17694 glibcxx_cv_func_long_double_trig_use=no
17696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17697 ac_ext=c
17698 ac_cpp='$CPP $CPPFLAGS'
17699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17706 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17707 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17717 for ac_func in acosl asinl atanl \
17718 cosl sinl tanl \
17719 coshl sinhl tanhl
17721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17722 echo "$as_me:$LINENO: checking for $ac_func" >&5
17723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17724 if eval "test \"\${$as_ac_var+set}\" = set"; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 else
17727 if test x$gcc_no_link = xyes; then
17728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17730 { (exit 1); exit 1; }; }
17732 cat >conftest.$ac_ext <<_ACEOF
17733 /* confdefs.h. */
17734 _ACEOF
17735 cat confdefs.h >>conftest.$ac_ext
17736 cat >>conftest.$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17740 #define $ac_func innocuous_$ac_func
17742 /* System header to define __stub macros and hopefully few prototypes,
17743 which can conflict with char $ac_func (); below.
17744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17745 <limits.h> exists even on freestanding compilers. */
17747 #ifdef __STDC__
17748 # include <limits.h>
17749 #else
17750 # include <assert.h>
17751 #endif
17753 #undef $ac_func
17755 /* Override any gcc2 internal prototype to avoid an error. */
17756 #ifdef __cplusplus
17757 extern "C"
17759 #endif
17760 /* We use char because int might match the return type of a gcc2
17761 builtin and then its argument prototype would still apply. */
17762 char $ac_func ();
17763 /* The GNU C library defines this for functions which it implements
17764 to always fail with ENOSYS. Some functions are actually named
17765 something starting with __ and the normal name is an alias. */
17766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17767 choke me
17768 #else
17769 char (*f) () = $ac_func;
17770 #endif
17771 #ifdef __cplusplus
17773 #endif
17776 main ()
17778 return f != $ac_func;
17780 return 0;
17782 _ACEOF
17783 rm -f conftest.$ac_objext conftest$ac_exeext
17784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17785 (eval $ac_link) 2>conftest.er1
17786 ac_status=$?
17787 grep -v '^ *+' conftest.er1 >conftest.err
17788 rm -f conftest.er1
17789 cat conftest.err >&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } &&
17792 { ac_try='test -z "$ac_c_werror_flag"
17793 || test ! -s conftest.err'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17796 ac_status=$?
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; } &&
17799 { ac_try='test -s conftest$ac_exeext'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; }; then
17805 eval "$as_ac_var=yes"
17806 else
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.$ac_ext >&5
17810 eval "$as_ac_var=no"
17812 rm -f conftest.err conftest.$ac_objext \
17813 conftest$ac_exeext conftest.$ac_ext
17815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17817 if test `eval echo '${'$as_ac_var'}'` = yes; then
17818 cat >>confdefs.h <<_ACEOF
17819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17820 _ACEOF
17823 done
17828 echo "$as_me:$LINENO: checking for long double round functions" >&5
17829 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17830 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17831 echo $ECHO_N "(cached) $ECHO_C" >&6
17832 else
17836 ac_ext=cc
17837 ac_cpp='$CXXCPP $CPPFLAGS'
17838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 #include <math.h>
17850 main ()
17852 `for x in ceill floorl; do echo "$x (0);"; done`
17854 return 0;
17856 _ACEOF
17857 rm -f conftest.$ac_objext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17859 (eval $ac_compile) 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try='test -z "$ac_cxx_werror_flag"
17867 || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 glibcxx_cv_func_long_double_round_use=yes
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17884 glibcxx_cv_func_long_double_round_use=no
17886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17887 ac_ext=c
17888 ac_cpp='$CPP $CPPFLAGS'
17889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17896 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17897 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17900 for ac_func in ceill floorl
17902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17903 echo "$as_me:$LINENO: checking for $ac_func" >&5
17904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17905 if eval "test \"\${$as_ac_var+set}\" = set"; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 else
17908 if test x$gcc_no_link = xyes; then
17909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17911 { (exit 1); exit 1; }; }
17913 cat >conftest.$ac_ext <<_ACEOF
17914 /* confdefs.h. */
17915 _ACEOF
17916 cat confdefs.h >>conftest.$ac_ext
17917 cat >>conftest.$ac_ext <<_ACEOF
17918 /* end confdefs.h. */
17919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17921 #define $ac_func innocuous_$ac_func
17923 /* System header to define __stub macros and hopefully few prototypes,
17924 which can conflict with char $ac_func (); below.
17925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17926 <limits.h> exists even on freestanding compilers. */
17928 #ifdef __STDC__
17929 # include <limits.h>
17930 #else
17931 # include <assert.h>
17932 #endif
17934 #undef $ac_func
17936 /* Override any gcc2 internal prototype to avoid an error. */
17937 #ifdef __cplusplus
17938 extern "C"
17940 #endif
17941 /* We use char because int might match the return type of a gcc2
17942 builtin and then its argument prototype would still apply. */
17943 char $ac_func ();
17944 /* The GNU C library defines this for functions which it implements
17945 to always fail with ENOSYS. Some functions are actually named
17946 something starting with __ and the normal name is an alias. */
17947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17948 choke me
17949 #else
17950 char (*f) () = $ac_func;
17951 #endif
17952 #ifdef __cplusplus
17954 #endif
17957 main ()
17959 return f != $ac_func;
17961 return 0;
17963 _ACEOF
17964 rm -f conftest.$ac_objext conftest$ac_exeext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17966 (eval $ac_link) 2>conftest.er1
17967 ac_status=$?
17968 grep -v '^ *+' conftest.er1 >conftest.err
17969 rm -f conftest.er1
17970 cat conftest.err >&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try='test -z "$ac_c_werror_flag"
17974 || test ! -s conftest.err'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17977 ac_status=$?
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; } &&
17980 { ac_try='test -s conftest$ac_exeext'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; }; then
17986 eval "$as_ac_var=yes"
17987 else
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17991 eval "$as_ac_var=no"
17993 rm -f conftest.err conftest.$ac_objext \
17994 conftest$ac_exeext conftest.$ac_ext
17996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17998 if test `eval echo '${'$as_ac_var'}'` = yes; then
17999 cat >>confdefs.h <<_ACEOF
18000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18001 _ACEOF
18004 done
18010 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18011 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18012 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18013 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 else
18019 ac_ext=cc
18020 ac_cpp='$CXXCPP $CPPFLAGS'
18021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 #include <math.h>
18032 #ifdef HAVE_IEEEFP_H
18033 #include <ieeefp.h>
18034 #endif
18037 main ()
18039 isnanl(0);
18041 return 0;
18043 _ACEOF
18044 rm -f conftest.$ac_objext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18046 (eval $ac_compile) 2>conftest.er1
18047 ac_status=$?
18048 grep -v '^ *+' conftest.er1 >conftest.err
18049 rm -f conftest.er1
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try='test -z "$ac_cxx_werror_flag"
18054 || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 glibcxx_cv_func_isnanl_use=yes
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18071 glibcxx_cv_func_isnanl_use=no
18073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18074 ac_ext=c
18075 ac_cpp='$CPP $CPPFLAGS'
18076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18085 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18087 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18089 for ac_func in isnanl
18091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18092 echo "$as_me:$LINENO: checking for $ac_func" >&5
18093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18094 if eval "test \"\${$as_ac_var+set}\" = set"; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 if test x$gcc_no_link = xyes; then
18098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18100 { (exit 1); exit 1; }; }
18102 cat >conftest.$ac_ext <<_ACEOF
18103 /* confdefs.h. */
18104 _ACEOF
18105 cat confdefs.h >>conftest.$ac_ext
18106 cat >>conftest.$ac_ext <<_ACEOF
18107 /* end confdefs.h. */
18108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18110 #define $ac_func innocuous_$ac_func
18112 /* System header to define __stub macros and hopefully few prototypes,
18113 which can conflict with char $ac_func (); below.
18114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18115 <limits.h> exists even on freestanding compilers. */
18117 #ifdef __STDC__
18118 # include <limits.h>
18119 #else
18120 # include <assert.h>
18121 #endif
18123 #undef $ac_func
18125 /* Override any gcc2 internal prototype to avoid an error. */
18126 #ifdef __cplusplus
18127 extern "C"
18129 #endif
18130 /* We use char because int might match the return type of a gcc2
18131 builtin and then its argument prototype would still apply. */
18132 char $ac_func ();
18133 /* The GNU C library defines this for functions which it implements
18134 to always fail with ENOSYS. Some functions are actually named
18135 something starting with __ and the normal name is an alias. */
18136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18137 choke me
18138 #else
18139 char (*f) () = $ac_func;
18140 #endif
18141 #ifdef __cplusplus
18143 #endif
18146 main ()
18148 return f != $ac_func;
18150 return 0;
18152 _ACEOF
18153 rm -f conftest.$ac_objext conftest$ac_exeext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18155 (eval $ac_link) 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try='test -z "$ac_c_werror_flag"
18163 || test ! -s conftest.err'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18166 ac_status=$?
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; } &&
18169 { ac_try='test -s conftest$ac_exeext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18172 ac_status=$?
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18175 eval "$as_ac_var=yes"
18176 else
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18180 eval "$as_ac_var=no"
18182 rm -f conftest.err conftest.$ac_objext \
18183 conftest$ac_exeext conftest.$ac_ext
18185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18187 if test `eval echo '${'$as_ac_var'}'` = yes; then
18188 cat >>confdefs.h <<_ACEOF
18189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18190 _ACEOF
18193 done
18195 else
18197 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18198 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18199 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18200 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18201 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 else
18206 ac_ext=cc
18207 ac_cpp='$CXXCPP $CPPFLAGS'
18208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18212 cat >conftest.$ac_ext <<_ACEOF
18213 /* confdefs.h. */
18214 _ACEOF
18215 cat confdefs.h >>conftest.$ac_ext
18216 cat >>conftest.$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 #include <math.h>
18219 #ifdef HAVE_IEEEFP_H
18220 #include <ieeefp.h>
18221 #endif
18224 main ()
18226 _isnanl(0);
18228 return 0;
18230 _ACEOF
18231 rm -f conftest.$ac_objext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18233 (eval $ac_compile) 2>conftest.er1
18234 ac_status=$?
18235 grep -v '^ *+' conftest.er1 >conftest.err
18236 rm -f conftest.er1
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try='test -z "$ac_cxx_werror_flag"
18241 || test ! -s conftest.err'
18242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18244 ac_status=$?
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; } &&
18247 { ac_try='test -s conftest.$ac_objext'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18250 ac_status=$?
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; }; then
18253 glibcxx_cv_func__isnanl_use=yes
18254 else
18255 echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18258 glibcxx_cv_func__isnanl_use=no
18260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18261 ac_ext=c
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18272 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18274 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18276 for ac_func in _isnanl
18278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18279 echo "$as_me:$LINENO: checking for $ac_func" >&5
18280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18281 if eval "test \"\${$as_ac_var+set}\" = set"; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18283 else
18284 if test x$gcc_no_link = xyes; then
18285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18287 { (exit 1); exit 1; }; }
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18297 #define $ac_func innocuous_$ac_func
18299 /* System header to define __stub macros and hopefully few prototypes,
18300 which can conflict with char $ac_func (); below.
18301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18302 <limits.h> exists even on freestanding compilers. */
18304 #ifdef __STDC__
18305 # include <limits.h>
18306 #else
18307 # include <assert.h>
18308 #endif
18310 #undef $ac_func
18312 /* Override any gcc2 internal prototype to avoid an error. */
18313 #ifdef __cplusplus
18314 extern "C"
18316 #endif
18317 /* We use char because int might match the return type of a gcc2
18318 builtin and then its argument prototype would still apply. */
18319 char $ac_func ();
18320 /* The GNU C library defines this for functions which it implements
18321 to always fail with ENOSYS. Some functions are actually named
18322 something starting with __ and the normal name is an alias. */
18323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18324 choke me
18325 #else
18326 char (*f) () = $ac_func;
18327 #endif
18328 #ifdef __cplusplus
18330 #endif
18333 main ()
18335 return f != $ac_func;
18337 return 0;
18339 _ACEOF
18340 rm -f conftest.$ac_objext conftest$ac_exeext
18341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18342 (eval $ac_link) 2>conftest.er1
18343 ac_status=$?
18344 grep -v '^ *+' conftest.er1 >conftest.err
18345 rm -f conftest.er1
18346 cat conftest.err >&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } &&
18349 { ac_try='test -z "$ac_c_werror_flag"
18350 || test ! -s conftest.err'
18351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18352 (eval $ac_try) 2>&5
18353 ac_status=$?
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); }; } &&
18356 { ac_try='test -s conftest$ac_exeext'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18359 ac_status=$?
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; }; then
18362 eval "$as_ac_var=yes"
18363 else
18364 echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18367 eval "$as_ac_var=no"
18369 rm -f conftest.err conftest.$ac_objext \
18370 conftest$ac_exeext conftest.$ac_ext
18372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18374 if test `eval echo '${'$as_ac_var'}'` = yes; then
18375 cat >>confdefs.h <<_ACEOF
18376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18377 _ACEOF
18380 done
18387 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18388 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18389 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18390 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18391 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 else
18396 ac_ext=cc
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h. */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408 #include <math.h>
18409 #ifdef HAVE_IEEEFP_H
18410 #include <ieeefp.h>
18411 #endif
18414 main ()
18416 isinfl(0);
18418 return 0;
18420 _ACEOF
18421 rm -f conftest.$ac_objext
18422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18423 (eval $ac_compile) 2>conftest.er1
18424 ac_status=$?
18425 grep -v '^ *+' conftest.er1 >conftest.err
18426 rm -f conftest.er1
18427 cat conftest.err >&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try='test -z "$ac_cxx_werror_flag"
18431 || test ! -s conftest.err'
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); }; } &&
18437 { ac_try='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 glibcxx_cv_func_isinfl_use=yes
18444 else
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.$ac_ext >&5
18448 glibcxx_cv_func_isinfl_use=no
18450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18451 ac_ext=c
18452 ac_cpp='$CPP $CPPFLAGS'
18453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18462 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18464 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18466 for ac_func in isinfl
18468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18469 echo "$as_me:$LINENO: checking for $ac_func" >&5
18470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18471 if eval "test \"\${$as_ac_var+set}\" = set"; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18474 if test x$gcc_no_link = xyes; then
18475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18477 { (exit 1); exit 1; }; }
18479 cat >conftest.$ac_ext <<_ACEOF
18480 /* confdefs.h. */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18487 #define $ac_func innocuous_$ac_func
18489 /* System header to define __stub macros and hopefully few prototypes,
18490 which can conflict with char $ac_func (); below.
18491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18492 <limits.h> exists even on freestanding compilers. */
18494 #ifdef __STDC__
18495 # include <limits.h>
18496 #else
18497 # include <assert.h>
18498 #endif
18500 #undef $ac_func
18502 /* Override any gcc2 internal prototype to avoid an error. */
18503 #ifdef __cplusplus
18504 extern "C"
18506 #endif
18507 /* We use char because int might match the return type of a gcc2
18508 builtin and then its argument prototype would still apply. */
18509 char $ac_func ();
18510 /* The GNU C library defines this for functions which it implements
18511 to always fail with ENOSYS. Some functions are actually named
18512 something starting with __ and the normal name is an alias. */
18513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18514 choke me
18515 #else
18516 char (*f) () = $ac_func;
18517 #endif
18518 #ifdef __cplusplus
18520 #endif
18523 main ()
18525 return f != $ac_func;
18527 return 0;
18529 _ACEOF
18530 rm -f conftest.$ac_objext conftest$ac_exeext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18532 (eval $ac_link) 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } &&
18539 { ac_try='test -z "$ac_c_werror_flag"
18540 || test ! -s conftest.err'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18543 ac_status=$?
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; } &&
18546 { ac_try='test -s conftest$ac_exeext'
18547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548 (eval $ac_try) 2>&5
18549 ac_status=$?
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; }; then
18552 eval "$as_ac_var=yes"
18553 else
18554 echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.$ac_ext >&5
18557 eval "$as_ac_var=no"
18559 rm -f conftest.err conftest.$ac_objext \
18560 conftest$ac_exeext conftest.$ac_ext
18562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18564 if test `eval echo '${'$as_ac_var'}'` = yes; then
18565 cat >>confdefs.h <<_ACEOF
18566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18567 _ACEOF
18570 done
18572 else
18574 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18575 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18576 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18577 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18578 echo $ECHO_N "(cached) $ECHO_C" >&6
18579 else
18583 ac_ext=cc
18584 ac_cpp='$CXXCPP $CPPFLAGS'
18585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18589 cat >conftest.$ac_ext <<_ACEOF
18590 /* confdefs.h. */
18591 _ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595 #include <math.h>
18596 #ifdef HAVE_IEEEFP_H
18597 #include <ieeefp.h>
18598 #endif
18601 main ()
18603 _isinfl(0);
18605 return 0;
18607 _ACEOF
18608 rm -f conftest.$ac_objext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>conftest.er1
18611 ac_status=$?
18612 grep -v '^ *+' conftest.er1 >conftest.err
18613 rm -f conftest.er1
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try='test -z "$ac_cxx_werror_flag"
18618 || test ! -s conftest.err'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18621 ac_status=$?
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; } &&
18624 { ac_try='test -s conftest.$ac_objext'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18627 ac_status=$?
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; }; then
18630 glibcxx_cv_func__isinfl_use=yes
18631 else
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18635 glibcxx_cv_func__isinfl_use=no
18637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18638 ac_ext=c
18639 ac_cpp='$CPP $CPPFLAGS'
18640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18649 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18651 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18653 for ac_func in _isinfl
18655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18656 echo "$as_me:$LINENO: checking for $ac_func" >&5
18657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18658 if eval "test \"\${$as_ac_var+set}\" = set"; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 if test x$gcc_no_link = xyes; then
18662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18664 { (exit 1); exit 1; }; }
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h. */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18674 #define $ac_func innocuous_$ac_func
18676 /* System header to define __stub macros and hopefully few prototypes,
18677 which can conflict with char $ac_func (); below.
18678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18679 <limits.h> exists even on freestanding compilers. */
18681 #ifdef __STDC__
18682 # include <limits.h>
18683 #else
18684 # include <assert.h>
18685 #endif
18687 #undef $ac_func
18689 /* Override any gcc2 internal prototype to avoid an error. */
18690 #ifdef __cplusplus
18691 extern "C"
18693 #endif
18694 /* We use char because int might match the return type of a gcc2
18695 builtin and then its argument prototype would still apply. */
18696 char $ac_func ();
18697 /* The GNU C library defines this for functions which it implements
18698 to always fail with ENOSYS. Some functions are actually named
18699 something starting with __ and the normal name is an alias. */
18700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18701 choke me
18702 #else
18703 char (*f) () = $ac_func;
18704 #endif
18705 #ifdef __cplusplus
18707 #endif
18710 main ()
18712 return f != $ac_func;
18714 return 0;
18716 _ACEOF
18717 rm -f conftest.$ac_objext conftest$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719 (eval $ac_link) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try='test -s conftest$ac_exeext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 eval "$as_ac_var=yes"
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18744 eval "$as_ac_var=no"
18746 rm -f conftest.err conftest.$ac_objext \
18747 conftest$ac_exeext conftest.$ac_ext
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18751 if test `eval echo '${'$as_ac_var'}'` = yes; then
18752 cat >>confdefs.h <<_ACEOF
18753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18754 _ACEOF
18757 done
18764 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18765 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18766 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18767 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 else
18773 ac_ext=cc
18774 ac_cpp='$CXXCPP $CPPFLAGS'
18775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <math.h>
18787 main ()
18789 copysignl(0, 0);
18791 return 0;
18793 _ACEOF
18794 rm -f conftest.$ac_objext
18795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18796 (eval $ac_compile) 2>conftest.er1
18797 ac_status=$?
18798 grep -v '^ *+' conftest.er1 >conftest.err
18799 rm -f conftest.er1
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); } &&
18803 { ac_try='test -z "$ac_cxx_werror_flag"
18804 || test ! -s conftest.err'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; } &&
18810 { ac_try='test -s conftest.$ac_objext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 glibcxx_cv_func_copysignl_use=yes
18817 else
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18821 glibcxx_cv_func_copysignl_use=no
18823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18824 ac_ext=c
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18835 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18837 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18839 for ac_func in copysignl
18841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18842 echo "$as_me:$LINENO: checking for $ac_func" >&5
18843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18844 if eval "test \"\${$as_ac_var+set}\" = set"; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847 if test x$gcc_no_link = xyes; then
18848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18850 { (exit 1); exit 1; }; }
18852 cat >conftest.$ac_ext <<_ACEOF
18853 /* confdefs.h. */
18854 _ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18860 #define $ac_func innocuous_$ac_func
18862 /* System header to define __stub macros and hopefully few prototypes,
18863 which can conflict with char $ac_func (); below.
18864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18865 <limits.h> exists even on freestanding compilers. */
18867 #ifdef __STDC__
18868 # include <limits.h>
18869 #else
18870 # include <assert.h>
18871 #endif
18873 #undef $ac_func
18875 /* Override any gcc2 internal prototype to avoid an error. */
18876 #ifdef __cplusplus
18877 extern "C"
18879 #endif
18880 /* We use char because int might match the return type of a gcc2
18881 builtin and then its argument prototype would still apply. */
18882 char $ac_func ();
18883 /* The GNU C library defines this for functions which it implements
18884 to always fail with ENOSYS. Some functions are actually named
18885 something starting with __ and the normal name is an alias. */
18886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18887 choke me
18888 #else
18889 char (*f) () = $ac_func;
18890 #endif
18891 #ifdef __cplusplus
18893 #endif
18896 main ()
18898 return f != $ac_func;
18900 return 0;
18902 _ACEOF
18903 rm -f conftest.$ac_objext conftest$ac_exeext
18904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18905 (eval $ac_link) 2>conftest.er1
18906 ac_status=$?
18907 grep -v '^ *+' conftest.er1 >conftest.err
18908 rm -f conftest.er1
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } &&
18912 { ac_try='test -z "$ac_c_werror_flag"
18913 || test ! -s conftest.err'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18916 ac_status=$?
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; } &&
18919 { ac_try='test -s conftest$ac_exeext'
18920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921 (eval $ac_try) 2>&5
18922 ac_status=$?
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); }; }; then
18925 eval "$as_ac_var=yes"
18926 else
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18930 eval "$as_ac_var=no"
18932 rm -f conftest.err conftest.$ac_objext \
18933 conftest$ac_exeext conftest.$ac_ext
18935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18937 if test `eval echo '${'$as_ac_var'}'` = yes; then
18938 cat >>confdefs.h <<_ACEOF
18939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18940 _ACEOF
18943 done
18945 else
18947 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18948 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18949 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18950 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 else
18956 ac_ext=cc
18957 ac_cpp='$CXXCPP $CPPFLAGS'
18958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18962 cat >conftest.$ac_ext <<_ACEOF
18963 /* confdefs.h. */
18964 _ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 #include <math.h>
18970 main ()
18972 _copysignl(0, 0);
18974 return 0;
18976 _ACEOF
18977 rm -f conftest.$ac_objext
18978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18979 (eval $ac_compile) 2>conftest.er1
18980 ac_status=$?
18981 grep -v '^ *+' conftest.er1 >conftest.err
18982 rm -f conftest.er1
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try='test -z "$ac_cxx_werror_flag"
18987 || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 glibcxx_cv_func__copysignl_use=yes
19000 else
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19004 glibcxx_cv_func__copysignl_use=no
19006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19007 ac_ext=c
19008 ac_cpp='$CPP $CPPFLAGS'
19009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19017 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19018 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19020 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19022 for ac_func in _copysignl
19024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19025 echo "$as_me:$LINENO: checking for $ac_func" >&5
19026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19027 if eval "test \"\${$as_ac_var+set}\" = set"; then
19028 echo $ECHO_N "(cached) $ECHO_C" >&6
19029 else
19030 if test x$gcc_no_link = xyes; then
19031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19033 { (exit 1); exit 1; }; }
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19043 #define $ac_func innocuous_$ac_func
19045 /* System header to define __stub macros and hopefully few prototypes,
19046 which can conflict with char $ac_func (); below.
19047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19048 <limits.h> exists even on freestanding compilers. */
19050 #ifdef __STDC__
19051 # include <limits.h>
19052 #else
19053 # include <assert.h>
19054 #endif
19056 #undef $ac_func
19058 /* Override any gcc2 internal prototype to avoid an error. */
19059 #ifdef __cplusplus
19060 extern "C"
19062 #endif
19063 /* We use char because int might match the return type of a gcc2
19064 builtin and then its argument prototype would still apply. */
19065 char $ac_func ();
19066 /* The GNU C library defines this for functions which it implements
19067 to always fail with ENOSYS. Some functions are actually named
19068 something starting with __ and the normal name is an alias. */
19069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19070 choke me
19071 #else
19072 char (*f) () = $ac_func;
19073 #endif
19074 #ifdef __cplusplus
19076 #endif
19079 main ()
19081 return f != $ac_func;
19083 return 0;
19085 _ACEOF
19086 rm -f conftest.$ac_objext conftest$ac_exeext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19088 (eval $ac_link) 2>conftest.er1
19089 ac_status=$?
19090 grep -v '^ *+' conftest.er1 >conftest.err
19091 rm -f conftest.er1
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } &&
19095 { ac_try='test -z "$ac_c_werror_flag"
19096 || test ! -s conftest.err'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19099 ac_status=$?
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; } &&
19102 { ac_try='test -s conftest$ac_exeext'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; }; then
19108 eval "$as_ac_var=yes"
19109 else
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.$ac_ext >&5
19113 eval "$as_ac_var=no"
19115 rm -f conftest.err conftest.$ac_objext \
19116 conftest$ac_exeext conftest.$ac_ext
19118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19120 if test `eval echo '${'$as_ac_var'}'` = yes; then
19121 cat >>confdefs.h <<_ACEOF
19122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19123 _ACEOF
19126 done
19133 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19134 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19135 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19136 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19138 else
19142 ac_ext=cc
19143 ac_cpp='$CXXCPP $CPPFLAGS'
19144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 #include <math.h>
19156 main ()
19158 atan2l(0, 0);
19160 return 0;
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19165 (eval $ac_compile) 2>conftest.er1
19166 ac_status=$?
19167 grep -v '^ *+' conftest.er1 >conftest.err
19168 rm -f conftest.er1
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } &&
19172 { ac_try='test -z "$ac_cxx_werror_flag"
19173 || test ! -s conftest.err'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; } &&
19179 { ac_try='test -s conftest.$ac_objext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19182 ac_status=$?
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 glibcxx_cv_func_atan2l_use=yes
19186 else
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19190 glibcxx_cv_func_atan2l_use=no
19192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19193 ac_ext=c
19194 ac_cpp='$CPP $CPPFLAGS'
19195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19204 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19206 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19208 for ac_func in atan2l
19210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19211 echo "$as_me:$LINENO: checking for $ac_func" >&5
19212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19213 if eval "test \"\${$as_ac_var+set}\" = set"; then
19214 echo $ECHO_N "(cached) $ECHO_C" >&6
19215 else
19216 if test x$gcc_no_link = xyes; then
19217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19219 { (exit 1); exit 1; }; }
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19229 #define $ac_func innocuous_$ac_func
19231 /* System header to define __stub macros and hopefully few prototypes,
19232 which can conflict with char $ac_func (); below.
19233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19234 <limits.h> exists even on freestanding compilers. */
19236 #ifdef __STDC__
19237 # include <limits.h>
19238 #else
19239 # include <assert.h>
19240 #endif
19242 #undef $ac_func
19244 /* Override any gcc2 internal prototype to avoid an error. */
19245 #ifdef __cplusplus
19246 extern "C"
19248 #endif
19249 /* We use char because int might match the return type of a gcc2
19250 builtin and then its argument prototype would still apply. */
19251 char $ac_func ();
19252 /* The GNU C library defines this for functions which it implements
19253 to always fail with ENOSYS. Some functions are actually named
19254 something starting with __ and the normal name is an alias. */
19255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19256 choke me
19257 #else
19258 char (*f) () = $ac_func;
19259 #endif
19260 #ifdef __cplusplus
19262 #endif
19265 main ()
19267 return f != $ac_func;
19269 return 0;
19271 _ACEOF
19272 rm -f conftest.$ac_objext conftest$ac_exeext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19274 (eval $ac_link) 2>conftest.er1
19275 ac_status=$?
19276 grep -v '^ *+' conftest.er1 >conftest.err
19277 rm -f conftest.er1
19278 cat conftest.err >&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } &&
19281 { ac_try='test -z "$ac_c_werror_flag"
19282 || test ! -s conftest.err'
19283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284 (eval $ac_try) 2>&5
19285 ac_status=$?
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); }; } &&
19288 { ac_try='test -s conftest$ac_exeext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19291 ac_status=$?
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19294 eval "$as_ac_var=yes"
19295 else
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19299 eval "$as_ac_var=no"
19301 rm -f conftest.err conftest.$ac_objext \
19302 conftest$ac_exeext conftest.$ac_ext
19304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19306 if test `eval echo '${'$as_ac_var'}'` = yes; then
19307 cat >>confdefs.h <<_ACEOF
19308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19309 _ACEOF
19312 done
19314 else
19316 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19317 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19318 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19319 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19321 else
19325 ac_ext=cc
19326 ac_cpp='$CXXCPP $CPPFLAGS'
19327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19331 cat >conftest.$ac_ext <<_ACEOF
19332 /* confdefs.h. */
19333 _ACEOF
19334 cat confdefs.h >>conftest.$ac_ext
19335 cat >>conftest.$ac_ext <<_ACEOF
19336 /* end confdefs.h. */
19337 #include <math.h>
19339 main ()
19341 _atan2l(0, 0);
19343 return 0;
19345 _ACEOF
19346 rm -f conftest.$ac_objext
19347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19348 (eval $ac_compile) 2>conftest.er1
19349 ac_status=$?
19350 grep -v '^ *+' conftest.er1 >conftest.err
19351 rm -f conftest.er1
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try='test -z "$ac_cxx_werror_flag"
19356 || test ! -s conftest.err'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; } &&
19362 { ac_try='test -s conftest.$ac_objext'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19365 ac_status=$?
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; }; then
19368 glibcxx_cv_func__atan2l_use=yes
19369 else
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 glibcxx_cv_func__atan2l_use=no
19375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19376 ac_ext=c
19377 ac_cpp='$CPP $CPPFLAGS'
19378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19386 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19387 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19389 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19391 for ac_func in _atan2l
19393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19394 echo "$as_me:$LINENO: checking for $ac_func" >&5
19395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19396 if eval "test \"\${$as_ac_var+set}\" = set"; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19398 else
19399 if test x$gcc_no_link = xyes; then
19400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19402 { (exit 1); exit 1; }; }
19404 cat >conftest.$ac_ext <<_ACEOF
19405 /* confdefs.h. */
19406 _ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19412 #define $ac_func innocuous_$ac_func
19414 /* System header to define __stub macros and hopefully few prototypes,
19415 which can conflict with char $ac_func (); below.
19416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19417 <limits.h> exists even on freestanding compilers. */
19419 #ifdef __STDC__
19420 # include <limits.h>
19421 #else
19422 # include <assert.h>
19423 #endif
19425 #undef $ac_func
19427 /* Override any gcc2 internal prototype to avoid an error. */
19428 #ifdef __cplusplus
19429 extern "C"
19431 #endif
19432 /* We use char because int might match the return type of a gcc2
19433 builtin and then its argument prototype would still apply. */
19434 char $ac_func ();
19435 /* The GNU C library defines this for functions which it implements
19436 to always fail with ENOSYS. Some functions are actually named
19437 something starting with __ and the normal name is an alias. */
19438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19439 choke me
19440 #else
19441 char (*f) () = $ac_func;
19442 #endif
19443 #ifdef __cplusplus
19445 #endif
19448 main ()
19450 return f != $ac_func;
19452 return 0;
19454 _ACEOF
19455 rm -f conftest.$ac_objext conftest$ac_exeext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19457 (eval $ac_link) 2>conftest.er1
19458 ac_status=$?
19459 grep -v '^ *+' conftest.er1 >conftest.err
19460 rm -f conftest.er1
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try='test -z "$ac_c_werror_flag"
19465 || test ! -s conftest.err'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19468 ac_status=$?
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; } &&
19471 { ac_try='test -s conftest$ac_exeext'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19474 ac_status=$?
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; }; then
19477 eval "$as_ac_var=yes"
19478 else
19479 echo "$as_me: failed program was:" >&5
19480 sed 's/^/| /' conftest.$ac_ext >&5
19482 eval "$as_ac_var=no"
19484 rm -f conftest.err conftest.$ac_objext \
19485 conftest$ac_exeext conftest.$ac_ext
19487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19489 if test `eval echo '${'$as_ac_var'}'` = yes; then
19490 cat >>confdefs.h <<_ACEOF
19491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19492 _ACEOF
19495 done
19502 echo "$as_me:$LINENO: checking for expl declaration" >&5
19503 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19504 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19505 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 else
19511 ac_ext=cc
19512 ac_cpp='$CXXCPP $CPPFLAGS'
19513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h. */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 #include <math.h>
19524 #ifdef HAVE_IEEEFP_H
19525 #include <ieeefp.h>
19526 #endif
19529 main ()
19531 expl(0);
19533 return 0;
19535 _ACEOF
19536 rm -f conftest.$ac_objext
19537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19538 (eval $ac_compile) 2>conftest.er1
19539 ac_status=$?
19540 grep -v '^ *+' conftest.er1 >conftest.err
19541 rm -f conftest.er1
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } &&
19545 { ac_try='test -z "$ac_cxx_werror_flag"
19546 || test ! -s conftest.err'
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); }; } &&
19552 { ac_try='test -s conftest.$ac_objext'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19555 ac_status=$?
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; }; then
19558 glibcxx_cv_func_expl_use=yes
19559 else
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19563 glibcxx_cv_func_expl_use=no
19565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19566 ac_ext=c
19567 ac_cpp='$CPP $CPPFLAGS'
19568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19577 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19579 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19581 for ac_func in expl
19583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19584 echo "$as_me:$LINENO: checking for $ac_func" >&5
19585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19586 if eval "test \"\${$as_ac_var+set}\" = set"; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 else
19589 if test x$gcc_no_link = xyes; then
19590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19592 { (exit 1); exit 1; }; }
19594 cat >conftest.$ac_ext <<_ACEOF
19595 /* confdefs.h. */
19596 _ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19602 #define $ac_func innocuous_$ac_func
19604 /* System header to define __stub macros and hopefully few prototypes,
19605 which can conflict with char $ac_func (); below.
19606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19607 <limits.h> exists even on freestanding compilers. */
19609 #ifdef __STDC__
19610 # include <limits.h>
19611 #else
19612 # include <assert.h>
19613 #endif
19615 #undef $ac_func
19617 /* Override any gcc2 internal prototype to avoid an error. */
19618 #ifdef __cplusplus
19619 extern "C"
19621 #endif
19622 /* We use char because int might match the return type of a gcc2
19623 builtin and then its argument prototype would still apply. */
19624 char $ac_func ();
19625 /* The GNU C library defines this for functions which it implements
19626 to always fail with ENOSYS. Some functions are actually named
19627 something starting with __ and the normal name is an alias. */
19628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19629 choke me
19630 #else
19631 char (*f) () = $ac_func;
19632 #endif
19633 #ifdef __cplusplus
19635 #endif
19638 main ()
19640 return f != $ac_func;
19642 return 0;
19644 _ACEOF
19645 rm -f conftest.$ac_objext conftest$ac_exeext
19646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19647 (eval $ac_link) 2>conftest.er1
19648 ac_status=$?
19649 grep -v '^ *+' conftest.er1 >conftest.err
19650 rm -f conftest.er1
19651 cat conftest.err >&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } &&
19654 { ac_try='test -z "$ac_c_werror_flag"
19655 || test ! -s conftest.err'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19658 ac_status=$?
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; } &&
19661 { ac_try='test -s conftest$ac_exeext'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; }; then
19667 eval "$as_ac_var=yes"
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19672 eval "$as_ac_var=no"
19674 rm -f conftest.err conftest.$ac_objext \
19675 conftest$ac_exeext conftest.$ac_ext
19677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19679 if test `eval echo '${'$as_ac_var'}'` = yes; then
19680 cat >>confdefs.h <<_ACEOF
19681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19682 _ACEOF
19685 done
19687 else
19689 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19690 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19691 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19692 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 else
19698 ac_ext=cc
19699 ac_cpp='$CXXCPP $CPPFLAGS'
19700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19704 cat >conftest.$ac_ext <<_ACEOF
19705 /* confdefs.h. */
19706 _ACEOF
19707 cat confdefs.h >>conftest.$ac_ext
19708 cat >>conftest.$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19710 #include <math.h>
19711 #ifdef HAVE_IEEEFP_H
19712 #include <ieeefp.h>
19713 #endif
19716 main ()
19718 _expl(0);
19720 return 0;
19722 _ACEOF
19723 rm -f conftest.$ac_objext
19724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19725 (eval $ac_compile) 2>conftest.er1
19726 ac_status=$?
19727 grep -v '^ *+' conftest.er1 >conftest.err
19728 rm -f conftest.er1
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } &&
19732 { ac_try='test -z "$ac_cxx_werror_flag"
19733 || test ! -s conftest.err'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19736 ac_status=$?
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; } &&
19739 { ac_try='test -s conftest.$ac_objext'
19740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741 (eval $ac_try) 2>&5
19742 ac_status=$?
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; }; then
19745 glibcxx_cv_func__expl_use=yes
19746 else
19747 echo "$as_me: failed program was:" >&5
19748 sed 's/^/| /' conftest.$ac_ext >&5
19750 glibcxx_cv_func__expl_use=no
19752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19753 ac_ext=c
19754 ac_cpp='$CPP $CPPFLAGS'
19755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19764 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19766 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19768 for ac_func in _expl
19770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19771 echo "$as_me:$LINENO: checking for $ac_func" >&5
19772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19773 if eval "test \"\${$as_ac_var+set}\" = set"; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 else
19776 if test x$gcc_no_link = xyes; then
19777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19779 { (exit 1); exit 1; }; }
19781 cat >conftest.$ac_ext <<_ACEOF
19782 /* confdefs.h. */
19783 _ACEOF
19784 cat confdefs.h >>conftest.$ac_ext
19785 cat >>conftest.$ac_ext <<_ACEOF
19786 /* end confdefs.h. */
19787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19789 #define $ac_func innocuous_$ac_func
19791 /* System header to define __stub macros and hopefully few prototypes,
19792 which can conflict with char $ac_func (); below.
19793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19794 <limits.h> exists even on freestanding compilers. */
19796 #ifdef __STDC__
19797 # include <limits.h>
19798 #else
19799 # include <assert.h>
19800 #endif
19802 #undef $ac_func
19804 /* Override any gcc2 internal prototype to avoid an error. */
19805 #ifdef __cplusplus
19806 extern "C"
19808 #endif
19809 /* We use char because int might match the return type of a gcc2
19810 builtin and then its argument prototype would still apply. */
19811 char $ac_func ();
19812 /* The GNU C library defines this for functions which it implements
19813 to always fail with ENOSYS. Some functions are actually named
19814 something starting with __ and the normal name is an alias. */
19815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19816 choke me
19817 #else
19818 char (*f) () = $ac_func;
19819 #endif
19820 #ifdef __cplusplus
19822 #endif
19825 main ()
19827 return f != $ac_func;
19829 return 0;
19831 _ACEOF
19832 rm -f conftest.$ac_objext conftest$ac_exeext
19833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19834 (eval $ac_link) 2>conftest.er1
19835 ac_status=$?
19836 grep -v '^ *+' conftest.er1 >conftest.err
19837 rm -f conftest.er1
19838 cat conftest.err >&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); } &&
19841 { ac_try='test -z "$ac_c_werror_flag"
19842 || test ! -s conftest.err'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19845 ac_status=$?
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; } &&
19848 { ac_try='test -s conftest$ac_exeext'
19849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19850 (eval $ac_try) 2>&5
19851 ac_status=$?
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); }; }; then
19854 eval "$as_ac_var=yes"
19855 else
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19859 eval "$as_ac_var=no"
19861 rm -f conftest.err conftest.$ac_objext \
19862 conftest$ac_exeext conftest.$ac_ext
19864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19866 if test `eval echo '${'$as_ac_var'}'` = yes; then
19867 cat >>confdefs.h <<_ACEOF
19868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19869 _ACEOF
19872 done
19879 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19880 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19881 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19882 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19883 echo $ECHO_N "(cached) $ECHO_C" >&6
19884 else
19888 ac_ext=cc
19889 ac_cpp='$CXXCPP $CPPFLAGS'
19890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19894 cat >conftest.$ac_ext <<_ACEOF
19895 /* confdefs.h. */
19896 _ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 #include <math.h>
19901 #ifdef HAVE_IEEEFP_H
19902 #include <ieeefp.h>
19903 #endif
19906 main ()
19908 fabsl(0);
19910 return 0;
19912 _ACEOF
19913 rm -f conftest.$ac_objext
19914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19915 (eval $ac_compile) 2>conftest.er1
19916 ac_status=$?
19917 grep -v '^ *+' conftest.er1 >conftest.err
19918 rm -f conftest.er1
19919 cat conftest.err >&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } &&
19922 { ac_try='test -z "$ac_cxx_werror_flag"
19923 || test ! -s conftest.err'
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); }; } &&
19929 { ac_try='test -s conftest.$ac_objext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19932 ac_status=$?
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19935 glibcxx_cv_func_fabsl_use=yes
19936 else
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19940 glibcxx_cv_func_fabsl_use=no
19942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19943 ac_ext=c
19944 ac_cpp='$CPP $CPPFLAGS'
19945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19954 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19956 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19958 for ac_func in fabsl
19960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19961 echo "$as_me:$LINENO: checking for $ac_func" >&5
19962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19963 if eval "test \"\${$as_ac_var+set}\" = set"; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 else
19966 if test x$gcc_no_link = xyes; then
19967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19969 { (exit 1); exit 1; }; }
19971 cat >conftest.$ac_ext <<_ACEOF
19972 /* confdefs.h. */
19973 _ACEOF
19974 cat confdefs.h >>conftest.$ac_ext
19975 cat >>conftest.$ac_ext <<_ACEOF
19976 /* end confdefs.h. */
19977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19979 #define $ac_func innocuous_$ac_func
19981 /* System header to define __stub macros and hopefully few prototypes,
19982 which can conflict with char $ac_func (); below.
19983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19984 <limits.h> exists even on freestanding compilers. */
19986 #ifdef __STDC__
19987 # include <limits.h>
19988 #else
19989 # include <assert.h>
19990 #endif
19992 #undef $ac_func
19994 /* Override any gcc2 internal prototype to avoid an error. */
19995 #ifdef __cplusplus
19996 extern "C"
19998 #endif
19999 /* We use char because int might match the return type of a gcc2
20000 builtin and then its argument prototype would still apply. */
20001 char $ac_func ();
20002 /* The GNU C library defines this for functions which it implements
20003 to always fail with ENOSYS. Some functions are actually named
20004 something starting with __ and the normal name is an alias. */
20005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20006 choke me
20007 #else
20008 char (*f) () = $ac_func;
20009 #endif
20010 #ifdef __cplusplus
20012 #endif
20015 main ()
20017 return f != $ac_func;
20019 return 0;
20021 _ACEOF
20022 rm -f conftest.$ac_objext conftest$ac_exeext
20023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20024 (eval $ac_link) 2>conftest.er1
20025 ac_status=$?
20026 grep -v '^ *+' conftest.er1 >conftest.err
20027 rm -f conftest.er1
20028 cat conftest.err >&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); } &&
20031 { ac_try='test -z "$ac_c_werror_flag"
20032 || test ! -s conftest.err'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20035 ac_status=$?
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; } &&
20038 { ac_try='test -s conftest$ac_exeext'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20044 eval "$as_ac_var=yes"
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20049 eval "$as_ac_var=no"
20051 rm -f conftest.err conftest.$ac_objext \
20052 conftest$ac_exeext conftest.$ac_ext
20054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20056 if test `eval echo '${'$as_ac_var'}'` = yes; then
20057 cat >>confdefs.h <<_ACEOF
20058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20059 _ACEOF
20062 done
20064 else
20066 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20067 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20068 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20069 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20070 echo $ECHO_N "(cached) $ECHO_C" >&6
20071 else
20075 ac_ext=cc
20076 ac_cpp='$CXXCPP $CPPFLAGS'
20077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 #include <math.h>
20088 #ifdef HAVE_IEEEFP_H
20089 #include <ieeefp.h>
20090 #endif
20093 main ()
20095 _fabsl(0);
20097 return 0;
20099 _ACEOF
20100 rm -f conftest.$ac_objext
20101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20102 (eval $ac_compile) 2>conftest.er1
20103 ac_status=$?
20104 grep -v '^ *+' conftest.er1 >conftest.err
20105 rm -f conftest.er1
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } &&
20109 { ac_try='test -z "$ac_cxx_werror_flag"
20110 || test ! -s conftest.err'
20111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20112 (eval $ac_try) 2>&5
20113 ac_status=$?
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); }; } &&
20116 { ac_try='test -s conftest.$ac_objext'
20117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20118 (eval $ac_try) 2>&5
20119 ac_status=$?
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }; }; then
20122 glibcxx_cv_func__fabsl_use=yes
20123 else
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.$ac_ext >&5
20127 glibcxx_cv_func__fabsl_use=no
20129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20130 ac_ext=c
20131 ac_cpp='$CPP $CPPFLAGS'
20132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20141 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20143 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20145 for ac_func in _fabsl
20147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20148 echo "$as_me:$LINENO: checking for $ac_func" >&5
20149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20150 if eval "test \"\${$as_ac_var+set}\" = set"; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20152 else
20153 if test x$gcc_no_link = xyes; then
20154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20156 { (exit 1); exit 1; }; }
20158 cat >conftest.$ac_ext <<_ACEOF
20159 /* confdefs.h. */
20160 _ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20166 #define $ac_func innocuous_$ac_func
20168 /* System header to define __stub macros and hopefully few prototypes,
20169 which can conflict with char $ac_func (); below.
20170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20171 <limits.h> exists even on freestanding compilers. */
20173 #ifdef __STDC__
20174 # include <limits.h>
20175 #else
20176 # include <assert.h>
20177 #endif
20179 #undef $ac_func
20181 /* Override any gcc2 internal prototype to avoid an error. */
20182 #ifdef __cplusplus
20183 extern "C"
20185 #endif
20186 /* We use char because int might match the return type of a gcc2
20187 builtin and then its argument prototype would still apply. */
20188 char $ac_func ();
20189 /* The GNU C library defines this for functions which it implements
20190 to always fail with ENOSYS. Some functions are actually named
20191 something starting with __ and the normal name is an alias. */
20192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20193 choke me
20194 #else
20195 char (*f) () = $ac_func;
20196 #endif
20197 #ifdef __cplusplus
20199 #endif
20202 main ()
20204 return f != $ac_func;
20206 return 0;
20208 _ACEOF
20209 rm -f conftest.$ac_objext conftest$ac_exeext
20210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20211 (eval $ac_link) 2>conftest.er1
20212 ac_status=$?
20213 grep -v '^ *+' conftest.er1 >conftest.err
20214 rm -f conftest.er1
20215 cat conftest.err >&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); } &&
20218 { ac_try='test -z "$ac_c_werror_flag"
20219 || test ! -s conftest.err'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20222 ac_status=$?
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; } &&
20225 { ac_try='test -s conftest$ac_exeext'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20228 ac_status=$?
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; }; then
20231 eval "$as_ac_var=yes"
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20236 eval "$as_ac_var=no"
20238 rm -f conftest.err conftest.$ac_objext \
20239 conftest$ac_exeext conftest.$ac_ext
20241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20243 if test `eval echo '${'$as_ac_var'}'` = yes; then
20244 cat >>confdefs.h <<_ACEOF
20245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20246 _ACEOF
20249 done
20256 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20257 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20258 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20259 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 else
20265 ac_ext=cc
20266 ac_cpp='$CXXCPP $CPPFLAGS'
20267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20271 cat >conftest.$ac_ext <<_ACEOF
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 #include <math.h>
20279 main ()
20281 fmodl(0, 0);
20283 return 0;
20285 _ACEOF
20286 rm -f conftest.$ac_objext
20287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20288 (eval $ac_compile) 2>conftest.er1
20289 ac_status=$?
20290 grep -v '^ *+' conftest.er1 >conftest.err
20291 rm -f conftest.er1
20292 cat conftest.err >&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } &&
20295 { ac_try='test -z "$ac_cxx_werror_flag"
20296 || test ! -s conftest.err'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20299 ac_status=$?
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; } &&
20302 { ac_try='test -s conftest.$ac_objext'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20305 ac_status=$?
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; }; then
20308 glibcxx_cv_func_fmodl_use=yes
20309 else
20310 echo "$as_me: failed program was:" >&5
20311 sed 's/^/| /' conftest.$ac_ext >&5
20313 glibcxx_cv_func_fmodl_use=no
20315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20316 ac_ext=c
20317 ac_cpp='$CPP $CPPFLAGS'
20318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20327 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20329 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20331 for ac_func in fmodl
20333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20334 echo "$as_me:$LINENO: checking for $ac_func" >&5
20335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20336 if eval "test \"\${$as_ac_var+set}\" = set"; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 else
20339 if test x$gcc_no_link = xyes; then
20340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20342 { (exit 1); exit 1; }; }
20344 cat >conftest.$ac_ext <<_ACEOF
20345 /* confdefs.h. */
20346 _ACEOF
20347 cat confdefs.h >>conftest.$ac_ext
20348 cat >>conftest.$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20352 #define $ac_func innocuous_$ac_func
20354 /* System header to define __stub macros and hopefully few prototypes,
20355 which can conflict with char $ac_func (); below.
20356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20357 <limits.h> exists even on freestanding compilers. */
20359 #ifdef __STDC__
20360 # include <limits.h>
20361 #else
20362 # include <assert.h>
20363 #endif
20365 #undef $ac_func
20367 /* Override any gcc2 internal prototype to avoid an error. */
20368 #ifdef __cplusplus
20369 extern "C"
20371 #endif
20372 /* We use char because int might match the return type of a gcc2
20373 builtin and then its argument prototype would still apply. */
20374 char $ac_func ();
20375 /* The GNU C library defines this for functions which it implements
20376 to always fail with ENOSYS. Some functions are actually named
20377 something starting with __ and the normal name is an alias. */
20378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20379 choke me
20380 #else
20381 char (*f) () = $ac_func;
20382 #endif
20383 #ifdef __cplusplus
20385 #endif
20388 main ()
20390 return f != $ac_func;
20392 return 0;
20394 _ACEOF
20395 rm -f conftest.$ac_objext conftest$ac_exeext
20396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20397 (eval $ac_link) 2>conftest.er1
20398 ac_status=$?
20399 grep -v '^ *+' conftest.er1 >conftest.err
20400 rm -f conftest.er1
20401 cat conftest.err >&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try='test -z "$ac_c_werror_flag"
20405 || test ! -s conftest.err'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20408 ac_status=$?
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; } &&
20411 { ac_try='test -s conftest$ac_exeext'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20414 ac_status=$?
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20417 eval "$as_ac_var=yes"
20418 else
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20422 eval "$as_ac_var=no"
20424 rm -f conftest.err conftest.$ac_objext \
20425 conftest$ac_exeext conftest.$ac_ext
20427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20429 if test `eval echo '${'$as_ac_var'}'` = yes; then
20430 cat >>confdefs.h <<_ACEOF
20431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20432 _ACEOF
20435 done
20437 else
20439 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20440 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20441 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20442 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20444 else
20448 ac_ext=cc
20449 ac_cpp='$CXXCPP $CPPFLAGS'
20450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20454 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */
20456 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 #include <math.h>
20462 main ()
20464 _fmodl(0, 0);
20466 return 0;
20468 _ACEOF
20469 rm -f conftest.$ac_objext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20471 (eval $ac_compile) 2>conftest.er1
20472 ac_status=$?
20473 grep -v '^ *+' conftest.er1 >conftest.err
20474 rm -f conftest.er1
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try='test -z "$ac_cxx_werror_flag"
20479 || test ! -s conftest.err'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20482 ac_status=$?
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; } &&
20485 { ac_try='test -s conftest.$ac_objext'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 glibcxx_cv_func__fmodl_use=yes
20492 else
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.$ac_ext >&5
20496 glibcxx_cv_func__fmodl_use=no
20498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20499 ac_ext=c
20500 ac_cpp='$CPP $CPPFLAGS'
20501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20510 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20512 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20514 for ac_func in _fmodl
20516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20517 echo "$as_me:$LINENO: checking for $ac_func" >&5
20518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20519 if eval "test \"\${$as_ac_var+set}\" = set"; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 else
20522 if test x$gcc_no_link = xyes; then
20523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20525 { (exit 1); exit 1; }; }
20527 cat >conftest.$ac_ext <<_ACEOF
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20535 #define $ac_func innocuous_$ac_func
20537 /* System header to define __stub macros and hopefully few prototypes,
20538 which can conflict with char $ac_func (); below.
20539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20540 <limits.h> exists even on freestanding compilers. */
20542 #ifdef __STDC__
20543 # include <limits.h>
20544 #else
20545 # include <assert.h>
20546 #endif
20548 #undef $ac_func
20550 /* Override any gcc2 internal prototype to avoid an error. */
20551 #ifdef __cplusplus
20552 extern "C"
20554 #endif
20555 /* We use char because int might match the return type of a gcc2
20556 builtin and then its argument prototype would still apply. */
20557 char $ac_func ();
20558 /* The GNU C library defines this for functions which it implements
20559 to always fail with ENOSYS. Some functions are actually named
20560 something starting with __ and the normal name is an alias. */
20561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20562 choke me
20563 #else
20564 char (*f) () = $ac_func;
20565 #endif
20566 #ifdef __cplusplus
20568 #endif
20571 main ()
20573 return f != $ac_func;
20575 return 0;
20577 _ACEOF
20578 rm -f conftest.$ac_objext conftest$ac_exeext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20580 (eval $ac_link) 2>conftest.er1
20581 ac_status=$?
20582 grep -v '^ *+' conftest.er1 >conftest.err
20583 rm -f conftest.er1
20584 cat conftest.err >&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try='test -z "$ac_c_werror_flag"
20588 || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try='test -s conftest$ac_exeext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20597 ac_status=$?
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20600 eval "$as_ac_var=yes"
20601 else
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20605 eval "$as_ac_var=no"
20607 rm -f conftest.err conftest.$ac_objext \
20608 conftest$ac_exeext conftest.$ac_ext
20610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20612 if test `eval echo '${'$as_ac_var'}'` = yes; then
20613 cat >>confdefs.h <<_ACEOF
20614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20615 _ACEOF
20618 done
20625 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20626 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20627 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20628 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20629 echo $ECHO_N "(cached) $ECHO_C" >&6
20630 else
20634 ac_ext=cc
20635 ac_cpp='$CXXCPP $CPPFLAGS'
20636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20640 cat >conftest.$ac_ext <<_ACEOF
20641 /* confdefs.h. */
20642 _ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #include <math.h>
20648 main ()
20650 frexpl(0, 0);
20652 return 0;
20654 _ACEOF
20655 rm -f conftest.$ac_objext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20657 (eval $ac_compile) 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } &&
20664 { ac_try='test -z "$ac_cxx_werror_flag"
20665 || test ! -s conftest.err'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20668 ac_status=$?
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; } &&
20671 { ac_try='test -s conftest.$ac_objext'
20672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20673 (eval $ac_try) 2>&5
20674 ac_status=$?
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); }; }; then
20677 glibcxx_cv_func_frexpl_use=yes
20678 else
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20682 glibcxx_cv_func_frexpl_use=no
20684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20685 ac_ext=c
20686 ac_cpp='$CPP $CPPFLAGS'
20687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20696 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20698 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20700 for ac_func in frexpl
20702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20703 echo "$as_me:$LINENO: checking for $ac_func" >&5
20704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20705 if eval "test \"\${$as_ac_var+set}\" = set"; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 else
20708 if test x$gcc_no_link = xyes; then
20709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20711 { (exit 1); exit 1; }; }
20713 cat >conftest.$ac_ext <<_ACEOF
20714 /* confdefs.h. */
20715 _ACEOF
20716 cat confdefs.h >>conftest.$ac_ext
20717 cat >>conftest.$ac_ext <<_ACEOF
20718 /* end confdefs.h. */
20719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20721 #define $ac_func innocuous_$ac_func
20723 /* System header to define __stub macros and hopefully few prototypes,
20724 which can conflict with char $ac_func (); below.
20725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20726 <limits.h> exists even on freestanding compilers. */
20728 #ifdef __STDC__
20729 # include <limits.h>
20730 #else
20731 # include <assert.h>
20732 #endif
20734 #undef $ac_func
20736 /* Override any gcc2 internal prototype to avoid an error. */
20737 #ifdef __cplusplus
20738 extern "C"
20740 #endif
20741 /* We use char because int might match the return type of a gcc2
20742 builtin and then its argument prototype would still apply. */
20743 char $ac_func ();
20744 /* The GNU C library defines this for functions which it implements
20745 to always fail with ENOSYS. Some functions are actually named
20746 something starting with __ and the normal name is an alias. */
20747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20748 choke me
20749 #else
20750 char (*f) () = $ac_func;
20751 #endif
20752 #ifdef __cplusplus
20754 #endif
20757 main ()
20759 return f != $ac_func;
20761 return 0;
20763 _ACEOF
20764 rm -f conftest.$ac_objext conftest$ac_exeext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20766 (eval $ac_link) 2>conftest.er1
20767 ac_status=$?
20768 grep -v '^ *+' conftest.er1 >conftest.err
20769 rm -f conftest.er1
20770 cat conftest.err >&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } &&
20773 { ac_try='test -z "$ac_c_werror_flag"
20774 || test ! -s conftest.err'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20777 ac_status=$?
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; } &&
20780 { ac_try='test -s conftest$ac_exeext'
20781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20782 (eval $ac_try) 2>&5
20783 ac_status=$?
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; }; then
20786 eval "$as_ac_var=yes"
20787 else
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.$ac_ext >&5
20791 eval "$as_ac_var=no"
20793 rm -f conftest.err conftest.$ac_objext \
20794 conftest$ac_exeext conftest.$ac_ext
20796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20798 if test `eval echo '${'$as_ac_var'}'` = yes; then
20799 cat >>confdefs.h <<_ACEOF
20800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20801 _ACEOF
20804 done
20806 else
20808 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20809 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20810 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20811 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20813 else
20817 ac_ext=cc
20818 ac_cpp='$CXXCPP $CPPFLAGS'
20819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20823 cat >conftest.$ac_ext <<_ACEOF
20824 /* confdefs.h. */
20825 _ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 #include <math.h>
20831 main ()
20833 _frexpl(0, 0);
20835 return 0;
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>conftest.er1
20841 ac_status=$?
20842 grep -v '^ *+' conftest.er1 >conftest.err
20843 rm -f conftest.er1
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try='test -z "$ac_cxx_werror_flag"
20848 || test ! -s conftest.err'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20851 ac_status=$?
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; } &&
20854 { ac_try='test -s conftest.$ac_objext'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20857 ac_status=$?
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20860 glibcxx_cv_func__frexpl_use=yes
20861 else
20862 echo "$as_me: failed program was:" >&5
20863 sed 's/^/| /' conftest.$ac_ext >&5
20865 glibcxx_cv_func__frexpl_use=no
20867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20868 ac_ext=c
20869 ac_cpp='$CPP $CPPFLAGS'
20870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20879 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20881 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20883 for ac_func in _frexpl
20885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20886 echo "$as_me:$LINENO: checking for $ac_func" >&5
20887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20888 if eval "test \"\${$as_ac_var+set}\" = set"; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 else
20891 if test x$gcc_no_link = xyes; then
20892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20894 { (exit 1); exit 1; }; }
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20904 #define $ac_func innocuous_$ac_func
20906 /* System header to define __stub macros and hopefully few prototypes,
20907 which can conflict with char $ac_func (); below.
20908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20909 <limits.h> exists even on freestanding compilers. */
20911 #ifdef __STDC__
20912 # include <limits.h>
20913 #else
20914 # include <assert.h>
20915 #endif
20917 #undef $ac_func
20919 /* Override any gcc2 internal prototype to avoid an error. */
20920 #ifdef __cplusplus
20921 extern "C"
20923 #endif
20924 /* We use char because int might match the return type of a gcc2
20925 builtin and then its argument prototype would still apply. */
20926 char $ac_func ();
20927 /* The GNU C library defines this for functions which it implements
20928 to always fail with ENOSYS. Some functions are actually named
20929 something starting with __ and the normal name is an alias. */
20930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20931 choke me
20932 #else
20933 char (*f) () = $ac_func;
20934 #endif
20935 #ifdef __cplusplus
20937 #endif
20940 main ()
20942 return f != $ac_func;
20944 return 0;
20946 _ACEOF
20947 rm -f conftest.$ac_objext conftest$ac_exeext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20949 (eval $ac_link) 2>conftest.er1
20950 ac_status=$?
20951 grep -v '^ *+' conftest.er1 >conftest.err
20952 rm -f conftest.er1
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } &&
20956 { ac_try='test -z "$ac_c_werror_flag"
20957 || test ! -s conftest.err'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20960 ac_status=$?
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; } &&
20963 { ac_try='test -s conftest$ac_exeext'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 eval "$as_ac_var=yes"
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 eval "$as_ac_var=no"
20976 rm -f conftest.err conftest.$ac_objext \
20977 conftest$ac_exeext conftest.$ac_ext
20979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20981 if test `eval echo '${'$as_ac_var'}'` = yes; then
20982 cat >>confdefs.h <<_ACEOF
20983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20984 _ACEOF
20987 done
20994 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
20995 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
20996 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
20997 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
20998 echo $ECHO_N "(cached) $ECHO_C" >&6
20999 else
21003 ac_ext=cc
21004 ac_cpp='$CXXCPP $CPPFLAGS'
21005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21009 cat >conftest.$ac_ext <<_ACEOF
21010 /* confdefs.h. */
21011 _ACEOF
21012 cat confdefs.h >>conftest.$ac_ext
21013 cat >>conftest.$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21015 #include <math.h>
21017 main ()
21019 hypotl(0, 0);
21021 return 0;
21023 _ACEOF
21024 rm -f conftest.$ac_objext
21025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21026 (eval $ac_compile) 2>conftest.er1
21027 ac_status=$?
21028 grep -v '^ *+' conftest.er1 >conftest.err
21029 rm -f conftest.er1
21030 cat conftest.err >&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); } &&
21033 { ac_try='test -z "$ac_cxx_werror_flag"
21034 || test ! -s conftest.err'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21037 ac_status=$?
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; } &&
21040 { ac_try='test -s conftest.$ac_objext'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21043 ac_status=$?
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; }; then
21046 glibcxx_cv_func_hypotl_use=yes
21047 else
21048 echo "$as_me: failed program was:" >&5
21049 sed 's/^/| /' conftest.$ac_ext >&5
21051 glibcxx_cv_func_hypotl_use=no
21053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21054 ac_ext=c
21055 ac_cpp='$CPP $CPPFLAGS'
21056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21065 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21067 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21069 for ac_func in hypotl
21071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21072 echo "$as_me:$LINENO: checking for $ac_func" >&5
21073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21074 if eval "test \"\${$as_ac_var+set}\" = set"; then
21075 echo $ECHO_N "(cached) $ECHO_C" >&6
21076 else
21077 if test x$gcc_no_link = xyes; then
21078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21080 { (exit 1); exit 1; }; }
21082 cat >conftest.$ac_ext <<_ACEOF
21083 /* confdefs.h. */
21084 _ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21090 #define $ac_func innocuous_$ac_func
21092 /* System header to define __stub macros and hopefully few prototypes,
21093 which can conflict with char $ac_func (); below.
21094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21095 <limits.h> exists even on freestanding compilers. */
21097 #ifdef __STDC__
21098 # include <limits.h>
21099 #else
21100 # include <assert.h>
21101 #endif
21103 #undef $ac_func
21105 /* Override any gcc2 internal prototype to avoid an error. */
21106 #ifdef __cplusplus
21107 extern "C"
21109 #endif
21110 /* We use char because int might match the return type of a gcc2
21111 builtin and then its argument prototype would still apply. */
21112 char $ac_func ();
21113 /* The GNU C library defines this for functions which it implements
21114 to always fail with ENOSYS. Some functions are actually named
21115 something starting with __ and the normal name is an alias. */
21116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21117 choke me
21118 #else
21119 char (*f) () = $ac_func;
21120 #endif
21121 #ifdef __cplusplus
21123 #endif
21126 main ()
21128 return f != $ac_func;
21130 return 0;
21132 _ACEOF
21133 rm -f conftest.$ac_objext conftest$ac_exeext
21134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21135 (eval $ac_link) 2>conftest.er1
21136 ac_status=$?
21137 grep -v '^ *+' conftest.er1 >conftest.err
21138 rm -f conftest.er1
21139 cat conftest.err >&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); } &&
21142 { ac_try='test -z "$ac_c_werror_flag"
21143 || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try='test -s conftest$ac_exeext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 eval "$as_ac_var=yes"
21156 else
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.$ac_ext >&5
21160 eval "$as_ac_var=no"
21162 rm -f conftest.err conftest.$ac_objext \
21163 conftest$ac_exeext conftest.$ac_ext
21165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21167 if test `eval echo '${'$as_ac_var'}'` = yes; then
21168 cat >>confdefs.h <<_ACEOF
21169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21170 _ACEOF
21173 done
21175 else
21177 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21178 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21179 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21180 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 else
21186 ac_ext=cc
21187 ac_cpp='$CXXCPP $CPPFLAGS'
21188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21192 cat >conftest.$ac_ext <<_ACEOF
21193 /* confdefs.h. */
21194 _ACEOF
21195 cat confdefs.h >>conftest.$ac_ext
21196 cat >>conftest.$ac_ext <<_ACEOF
21197 /* end confdefs.h. */
21198 #include <math.h>
21200 main ()
21202 _hypotl(0, 0);
21204 return 0;
21206 _ACEOF
21207 rm -f conftest.$ac_objext
21208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21209 (eval $ac_compile) 2>conftest.er1
21210 ac_status=$?
21211 grep -v '^ *+' conftest.er1 >conftest.err
21212 rm -f conftest.er1
21213 cat conftest.err >&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); } &&
21216 { ac_try='test -z "$ac_cxx_werror_flag"
21217 || test ! -s conftest.err'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21220 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; } &&
21223 { ac_try='test -s conftest.$ac_objext'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21226 ac_status=$?
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; }; then
21229 glibcxx_cv_func__hypotl_use=yes
21230 else
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.$ac_ext >&5
21234 glibcxx_cv_func__hypotl_use=no
21236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21237 ac_ext=c
21238 ac_cpp='$CPP $CPPFLAGS'
21239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21248 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21250 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21252 for ac_func in _hypotl
21254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21255 echo "$as_me:$LINENO: checking for $ac_func" >&5
21256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21257 if eval "test \"\${$as_ac_var+set}\" = set"; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 else
21260 if test x$gcc_no_link = xyes; then
21261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21263 { (exit 1); exit 1; }; }
21265 cat >conftest.$ac_ext <<_ACEOF
21266 /* confdefs.h. */
21267 _ACEOF
21268 cat confdefs.h >>conftest.$ac_ext
21269 cat >>conftest.$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21273 #define $ac_func innocuous_$ac_func
21275 /* System header to define __stub macros and hopefully few prototypes,
21276 which can conflict with char $ac_func (); below.
21277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21278 <limits.h> exists even on freestanding compilers. */
21280 #ifdef __STDC__
21281 # include <limits.h>
21282 #else
21283 # include <assert.h>
21284 #endif
21286 #undef $ac_func
21288 /* Override any gcc2 internal prototype to avoid an error. */
21289 #ifdef __cplusplus
21290 extern "C"
21292 #endif
21293 /* We use char because int might match the return type of a gcc2
21294 builtin and then its argument prototype would still apply. */
21295 char $ac_func ();
21296 /* The GNU C library defines this for functions which it implements
21297 to always fail with ENOSYS. Some functions are actually named
21298 something starting with __ and the normal name is an alias. */
21299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21300 choke me
21301 #else
21302 char (*f) () = $ac_func;
21303 #endif
21304 #ifdef __cplusplus
21306 #endif
21309 main ()
21311 return f != $ac_func;
21313 return 0;
21315 _ACEOF
21316 rm -f conftest.$ac_objext conftest$ac_exeext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21318 (eval $ac_link) 2>conftest.er1
21319 ac_status=$?
21320 grep -v '^ *+' conftest.er1 >conftest.err
21321 rm -f conftest.er1
21322 cat conftest.err >&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try='test -z "$ac_c_werror_flag"
21326 || test ! -s conftest.err'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try='test -s conftest$ac_exeext'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21335 ac_status=$?
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; }; then
21338 eval "$as_ac_var=yes"
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21343 eval "$as_ac_var=no"
21345 rm -f conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21350 if test `eval echo '${'$as_ac_var'}'` = yes; then
21351 cat >>confdefs.h <<_ACEOF
21352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21353 _ACEOF
21356 done
21363 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21364 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21365 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21366 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21367 echo $ECHO_N "(cached) $ECHO_C" >&6
21368 else
21372 ac_ext=cc
21373 ac_cpp='$CXXCPP $CPPFLAGS'
21374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378 cat >conftest.$ac_ext <<_ACEOF
21379 /* confdefs.h. */
21380 _ACEOF
21381 cat confdefs.h >>conftest.$ac_ext
21382 cat >>conftest.$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21384 #include <math.h>
21386 main ()
21388 ldexpl(0, 0);
21390 return 0;
21392 _ACEOF
21393 rm -f conftest.$ac_objext
21394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21395 (eval $ac_compile) 2>conftest.er1
21396 ac_status=$?
21397 grep -v '^ *+' conftest.er1 >conftest.err
21398 rm -f conftest.er1
21399 cat conftest.err >&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } &&
21402 { ac_try='test -z "$ac_cxx_werror_flag"
21403 || test ! -s conftest.err'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; } &&
21409 { ac_try='test -s conftest.$ac_objext'
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21412 ac_status=$?
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 glibcxx_cv_func_ldexpl_use=yes
21416 else
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.$ac_ext >&5
21420 glibcxx_cv_func_ldexpl_use=no
21422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21423 ac_ext=c
21424 ac_cpp='$CPP $CPPFLAGS'
21425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21434 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21436 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21438 for ac_func in ldexpl
21440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21441 echo "$as_me:$LINENO: checking for $ac_func" >&5
21442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21443 if eval "test \"\${$as_ac_var+set}\" = set"; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 else
21446 if test x$gcc_no_link = xyes; then
21447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21449 { (exit 1); exit 1; }; }
21451 cat >conftest.$ac_ext <<_ACEOF
21452 /* confdefs.h. */
21453 _ACEOF
21454 cat confdefs.h >>conftest.$ac_ext
21455 cat >>conftest.$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21459 #define $ac_func innocuous_$ac_func
21461 /* System header to define __stub macros and hopefully few prototypes,
21462 which can conflict with char $ac_func (); below.
21463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21464 <limits.h> exists even on freestanding compilers. */
21466 #ifdef __STDC__
21467 # include <limits.h>
21468 #else
21469 # include <assert.h>
21470 #endif
21472 #undef $ac_func
21474 /* Override any gcc2 internal prototype to avoid an error. */
21475 #ifdef __cplusplus
21476 extern "C"
21478 #endif
21479 /* We use char because int might match the return type of a gcc2
21480 builtin and then its argument prototype would still apply. */
21481 char $ac_func ();
21482 /* The GNU C library defines this for functions which it implements
21483 to always fail with ENOSYS. Some functions are actually named
21484 something starting with __ and the normal name is an alias. */
21485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21486 choke me
21487 #else
21488 char (*f) () = $ac_func;
21489 #endif
21490 #ifdef __cplusplus
21492 #endif
21495 main ()
21497 return f != $ac_func;
21499 return 0;
21501 _ACEOF
21502 rm -f conftest.$ac_objext conftest$ac_exeext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21504 (eval $ac_link) 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try='test -z "$ac_c_werror_flag"
21512 || test ! -s conftest.err'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; } &&
21518 { ac_try='test -s conftest$ac_exeext'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21521 ac_status=$?
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 eval "$as_ac_var=yes"
21525 else
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21529 eval "$as_ac_var=no"
21531 rm -f conftest.err conftest.$ac_objext \
21532 conftest$ac_exeext conftest.$ac_ext
21534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21536 if test `eval echo '${'$as_ac_var'}'` = yes; then
21537 cat >>confdefs.h <<_ACEOF
21538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21539 _ACEOF
21542 done
21544 else
21546 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21547 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21548 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21549 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 else
21555 ac_ext=cc
21556 ac_cpp='$CXXCPP $CPPFLAGS'
21557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21561 cat >conftest.$ac_ext <<_ACEOF
21562 /* confdefs.h. */
21563 _ACEOF
21564 cat confdefs.h >>conftest.$ac_ext
21565 cat >>conftest.$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21567 #include <math.h>
21569 main ()
21571 _ldexpl(0, 0);
21573 return 0;
21575 _ACEOF
21576 rm -f conftest.$ac_objext
21577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21578 (eval $ac_compile) 2>conftest.er1
21579 ac_status=$?
21580 grep -v '^ *+' conftest.er1 >conftest.err
21581 rm -f conftest.er1
21582 cat conftest.err >&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } &&
21585 { ac_try='test -z "$ac_cxx_werror_flag"
21586 || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21589 ac_status=$?
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try='test -s conftest.$ac_objext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21595 ac_status=$?
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 glibcxx_cv_func__ldexpl_use=yes
21599 else
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21603 glibcxx_cv_func__ldexpl_use=no
21605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21606 ac_ext=c
21607 ac_cpp='$CPP $CPPFLAGS'
21608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21616 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21617 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21619 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21621 for ac_func in _ldexpl
21623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21624 echo "$as_me:$LINENO: checking for $ac_func" >&5
21625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21626 if eval "test \"\${$as_ac_var+set}\" = set"; then
21627 echo $ECHO_N "(cached) $ECHO_C" >&6
21628 else
21629 if test x$gcc_no_link = xyes; then
21630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21632 { (exit 1); exit 1; }; }
21634 cat >conftest.$ac_ext <<_ACEOF
21635 /* confdefs.h. */
21636 _ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21642 #define $ac_func innocuous_$ac_func
21644 /* System header to define __stub macros and hopefully few prototypes,
21645 which can conflict with char $ac_func (); below.
21646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21647 <limits.h> exists even on freestanding compilers. */
21649 #ifdef __STDC__
21650 # include <limits.h>
21651 #else
21652 # include <assert.h>
21653 #endif
21655 #undef $ac_func
21657 /* Override any gcc2 internal prototype to avoid an error. */
21658 #ifdef __cplusplus
21659 extern "C"
21661 #endif
21662 /* We use char because int might match the return type of a gcc2
21663 builtin and then its argument prototype would still apply. */
21664 char $ac_func ();
21665 /* The GNU C library defines this for functions which it implements
21666 to always fail with ENOSYS. Some functions are actually named
21667 something starting with __ and the normal name is an alias. */
21668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21669 choke me
21670 #else
21671 char (*f) () = $ac_func;
21672 #endif
21673 #ifdef __cplusplus
21675 #endif
21678 main ()
21680 return f != $ac_func;
21682 return 0;
21684 _ACEOF
21685 rm -f conftest.$ac_objext conftest$ac_exeext
21686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21687 (eval $ac_link) 2>conftest.er1
21688 ac_status=$?
21689 grep -v '^ *+' conftest.er1 >conftest.err
21690 rm -f conftest.er1
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try='test -z "$ac_c_werror_flag"
21695 || test ! -s conftest.err'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21698 ac_status=$?
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; } &&
21701 { ac_try='test -s conftest$ac_exeext'
21702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21703 (eval $ac_try) 2>&5
21704 ac_status=$?
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 eval "$as_ac_var=yes"
21708 else
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21712 eval "$as_ac_var=no"
21714 rm -f conftest.err conftest.$ac_objext \
21715 conftest$ac_exeext conftest.$ac_ext
21717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21719 if test `eval echo '${'$as_ac_var'}'` = yes; then
21720 cat >>confdefs.h <<_ACEOF
21721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21722 _ACEOF
21725 done
21732 echo "$as_me:$LINENO: checking for logl declaration" >&5
21733 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21734 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21735 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21737 else
21741 ac_ext=cc
21742 ac_cpp='$CXXCPP $CPPFLAGS'
21743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21747 cat >conftest.$ac_ext <<_ACEOF
21748 /* confdefs.h. */
21749 _ACEOF
21750 cat confdefs.h >>conftest.$ac_ext
21751 cat >>conftest.$ac_ext <<_ACEOF
21752 /* end confdefs.h. */
21753 #include <math.h>
21754 #ifdef HAVE_IEEEFP_H
21755 #include <ieeefp.h>
21756 #endif
21759 main ()
21761 logl(0);
21763 return 0;
21765 _ACEOF
21766 rm -f conftest.$ac_objext
21767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21768 (eval $ac_compile) 2>conftest.er1
21769 ac_status=$?
21770 grep -v '^ *+' conftest.er1 >conftest.err
21771 rm -f conftest.er1
21772 cat conftest.err >&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } &&
21775 { ac_try='test -z "$ac_cxx_werror_flag"
21776 || test ! -s conftest.err'
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); }; } &&
21782 { ac_try='test -s conftest.$ac_objext'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; }; then
21788 glibcxx_cv_func_logl_use=yes
21789 else
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.$ac_ext >&5
21793 glibcxx_cv_func_logl_use=no
21795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21796 ac_ext=c
21797 ac_cpp='$CPP $CPPFLAGS'
21798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21807 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21809 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21811 for ac_func in logl
21813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21814 echo "$as_me:$LINENO: checking for $ac_func" >&5
21815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21816 if eval "test \"\${$as_ac_var+set}\" = set"; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 else
21819 if test x$gcc_no_link = xyes; then
21820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21822 { (exit 1); exit 1; }; }
21824 cat >conftest.$ac_ext <<_ACEOF
21825 /* confdefs.h. */
21826 _ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21832 #define $ac_func innocuous_$ac_func
21834 /* System header to define __stub macros and hopefully few prototypes,
21835 which can conflict with char $ac_func (); below.
21836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21837 <limits.h> exists even on freestanding compilers. */
21839 #ifdef __STDC__
21840 # include <limits.h>
21841 #else
21842 # include <assert.h>
21843 #endif
21845 #undef $ac_func
21847 /* Override any gcc2 internal prototype to avoid an error. */
21848 #ifdef __cplusplus
21849 extern "C"
21851 #endif
21852 /* We use char because int might match the return type of a gcc2
21853 builtin and then its argument prototype would still apply. */
21854 char $ac_func ();
21855 /* The GNU C library defines this for functions which it implements
21856 to always fail with ENOSYS. Some functions are actually named
21857 something starting with __ and the normal name is an alias. */
21858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21859 choke me
21860 #else
21861 char (*f) () = $ac_func;
21862 #endif
21863 #ifdef __cplusplus
21865 #endif
21868 main ()
21870 return f != $ac_func;
21872 return 0;
21874 _ACEOF
21875 rm -f conftest.$ac_objext conftest$ac_exeext
21876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21877 (eval $ac_link) 2>conftest.er1
21878 ac_status=$?
21879 grep -v '^ *+' conftest.er1 >conftest.err
21880 rm -f conftest.er1
21881 cat conftest.err >&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } &&
21884 { ac_try='test -z "$ac_c_werror_flag"
21885 || test ! -s conftest.err'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21888 ac_status=$?
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; } &&
21891 { ac_try='test -s conftest$ac_exeext'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21894 ac_status=$?
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; }; then
21897 eval "$as_ac_var=yes"
21898 else
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21902 eval "$as_ac_var=no"
21904 rm -f conftest.err conftest.$ac_objext \
21905 conftest$ac_exeext conftest.$ac_ext
21907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21909 if test `eval echo '${'$as_ac_var'}'` = yes; then
21910 cat >>confdefs.h <<_ACEOF
21911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21912 _ACEOF
21915 done
21917 else
21919 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21920 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21921 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21922 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 else
21928 ac_ext=cc
21929 ac_cpp='$CXXCPP $CPPFLAGS'
21930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21934 cat >conftest.$ac_ext <<_ACEOF
21935 /* confdefs.h. */
21936 _ACEOF
21937 cat confdefs.h >>conftest.$ac_ext
21938 cat >>conftest.$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21940 #include <math.h>
21941 #ifdef HAVE_IEEEFP_H
21942 #include <ieeefp.h>
21943 #endif
21946 main ()
21948 _logl(0);
21950 return 0;
21952 _ACEOF
21953 rm -f conftest.$ac_objext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21955 (eval $ac_compile) 2>conftest.er1
21956 ac_status=$?
21957 grep -v '^ *+' conftest.er1 >conftest.err
21958 rm -f conftest.er1
21959 cat conftest.err >&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try='test -z "$ac_cxx_werror_flag"
21963 || test ! -s conftest.err'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21966 ac_status=$?
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; } &&
21969 { ac_try='test -s conftest.$ac_objext'
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21972 ac_status=$?
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; }; then
21975 glibcxx_cv_func__logl_use=yes
21976 else
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21980 glibcxx_cv_func__logl_use=no
21982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21983 ac_ext=c
21984 ac_cpp='$CPP $CPPFLAGS'
21985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
21994 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
21996 if test x$glibcxx_cv_func__logl_use = x"yes"; then
21998 for ac_func in _logl
22000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22001 echo "$as_me:$LINENO: checking for $ac_func" >&5
22002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22003 if eval "test \"\${$as_ac_var+set}\" = set"; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22005 else
22006 if test x$gcc_no_link = xyes; then
22007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22009 { (exit 1); exit 1; }; }
22011 cat >conftest.$ac_ext <<_ACEOF
22012 /* confdefs.h. */
22013 _ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22019 #define $ac_func innocuous_$ac_func
22021 /* System header to define __stub macros and hopefully few prototypes,
22022 which can conflict with char $ac_func (); below.
22023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22024 <limits.h> exists even on freestanding compilers. */
22026 #ifdef __STDC__
22027 # include <limits.h>
22028 #else
22029 # include <assert.h>
22030 #endif
22032 #undef $ac_func
22034 /* Override any gcc2 internal prototype to avoid an error. */
22035 #ifdef __cplusplus
22036 extern "C"
22038 #endif
22039 /* We use char because int might match the return type of a gcc2
22040 builtin and then its argument prototype would still apply. */
22041 char $ac_func ();
22042 /* The GNU C library defines this for functions which it implements
22043 to always fail with ENOSYS. Some functions are actually named
22044 something starting with __ and the normal name is an alias. */
22045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22046 choke me
22047 #else
22048 char (*f) () = $ac_func;
22049 #endif
22050 #ifdef __cplusplus
22052 #endif
22055 main ()
22057 return f != $ac_func;
22059 return 0;
22061 _ACEOF
22062 rm -f conftest.$ac_objext conftest$ac_exeext
22063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22064 (eval $ac_link) 2>conftest.er1
22065 ac_status=$?
22066 grep -v '^ *+' conftest.er1 >conftest.err
22067 rm -f conftest.er1
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } &&
22071 { ac_try='test -z "$ac_c_werror_flag"
22072 || test ! -s conftest.err'
22073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22074 (eval $ac_try) 2>&5
22075 ac_status=$?
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); }; } &&
22078 { ac_try='test -s conftest$ac_exeext'
22079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22081 ac_status=$?
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); }; }; then
22084 eval "$as_ac_var=yes"
22085 else
22086 echo "$as_me: failed program was:" >&5
22087 sed 's/^/| /' conftest.$ac_ext >&5
22089 eval "$as_ac_var=no"
22091 rm -f conftest.err conftest.$ac_objext \
22092 conftest$ac_exeext conftest.$ac_ext
22094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22096 if test `eval echo '${'$as_ac_var'}'` = yes; then
22097 cat >>confdefs.h <<_ACEOF
22098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22099 _ACEOF
22102 done
22109 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22110 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22111 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22112 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22113 echo $ECHO_N "(cached) $ECHO_C" >&6
22114 else
22118 ac_ext=cc
22119 ac_cpp='$CXXCPP $CPPFLAGS'
22120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22124 cat >conftest.$ac_ext <<_ACEOF
22125 /* confdefs.h. */
22126 _ACEOF
22127 cat confdefs.h >>conftest.$ac_ext
22128 cat >>conftest.$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 #include <math.h>
22131 #ifdef HAVE_IEEEFP_H
22132 #include <ieeefp.h>
22133 #endif
22136 main ()
22138 log10l(0);
22140 return 0;
22142 _ACEOF
22143 rm -f conftest.$ac_objext
22144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22145 (eval $ac_compile) 2>conftest.er1
22146 ac_status=$?
22147 grep -v '^ *+' conftest.er1 >conftest.err
22148 rm -f conftest.er1
22149 cat conftest.err >&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try='test -z "$ac_cxx_werror_flag"
22153 || test ! -s conftest.err'
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); }; } &&
22159 { ac_try='test -s conftest.$ac_objext'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22162 ac_status=$?
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; }; then
22165 glibcxx_cv_func_log10l_use=yes
22166 else
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.$ac_ext >&5
22170 glibcxx_cv_func_log10l_use=no
22172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22173 ac_ext=c
22174 ac_cpp='$CPP $CPPFLAGS'
22175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22184 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22186 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22188 for ac_func in log10l
22190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22191 echo "$as_me:$LINENO: checking for $ac_func" >&5
22192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22193 if eval "test \"\${$as_ac_var+set}\" = set"; then
22194 echo $ECHO_N "(cached) $ECHO_C" >&6
22195 else
22196 if test x$gcc_no_link = xyes; then
22197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22199 { (exit 1); exit 1; }; }
22201 cat >conftest.$ac_ext <<_ACEOF
22202 /* confdefs.h. */
22203 _ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22209 #define $ac_func innocuous_$ac_func
22211 /* System header to define __stub macros and hopefully few prototypes,
22212 which can conflict with char $ac_func (); below.
22213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22214 <limits.h> exists even on freestanding compilers. */
22216 #ifdef __STDC__
22217 # include <limits.h>
22218 #else
22219 # include <assert.h>
22220 #endif
22222 #undef $ac_func
22224 /* Override any gcc2 internal prototype to avoid an error. */
22225 #ifdef __cplusplus
22226 extern "C"
22228 #endif
22229 /* We use char because int might match the return type of a gcc2
22230 builtin and then its argument prototype would still apply. */
22231 char $ac_func ();
22232 /* The GNU C library defines this for functions which it implements
22233 to always fail with ENOSYS. Some functions are actually named
22234 something starting with __ and the normal name is an alias. */
22235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22236 choke me
22237 #else
22238 char (*f) () = $ac_func;
22239 #endif
22240 #ifdef __cplusplus
22242 #endif
22245 main ()
22247 return f != $ac_func;
22249 return 0;
22251 _ACEOF
22252 rm -f conftest.$ac_objext conftest$ac_exeext
22253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22254 (eval $ac_link) 2>conftest.er1
22255 ac_status=$?
22256 grep -v '^ *+' conftest.er1 >conftest.err
22257 rm -f conftest.er1
22258 cat conftest.err >&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try='test -z "$ac_c_werror_flag"
22262 || test ! -s conftest.err'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; } &&
22268 { ac_try='test -s conftest$ac_exeext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 eval "$as_ac_var=yes"
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22279 eval "$as_ac_var=no"
22281 rm -f conftest.err conftest.$ac_objext \
22282 conftest$ac_exeext conftest.$ac_ext
22284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22286 if test `eval echo '${'$as_ac_var'}'` = yes; then
22287 cat >>confdefs.h <<_ACEOF
22288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22289 _ACEOF
22292 done
22294 else
22296 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22297 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22298 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22299 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22300 echo $ECHO_N "(cached) $ECHO_C" >&6
22301 else
22305 ac_ext=cc
22306 ac_cpp='$CXXCPP $CPPFLAGS'
22307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22311 cat >conftest.$ac_ext <<_ACEOF
22312 /* confdefs.h. */
22313 _ACEOF
22314 cat confdefs.h >>conftest.$ac_ext
22315 cat >>conftest.$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 #include <math.h>
22318 #ifdef HAVE_IEEEFP_H
22319 #include <ieeefp.h>
22320 #endif
22323 main ()
22325 _log10l(0);
22327 return 0;
22329 _ACEOF
22330 rm -f conftest.$ac_objext
22331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22332 (eval $ac_compile) 2>conftest.er1
22333 ac_status=$?
22334 grep -v '^ *+' conftest.er1 >conftest.err
22335 rm -f conftest.er1
22336 cat conftest.err >&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } &&
22339 { ac_try='test -z "$ac_cxx_werror_flag"
22340 || test ! -s conftest.err'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22343 ac_status=$?
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; } &&
22346 { ac_try='test -s conftest.$ac_objext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 glibcxx_cv_func__log10l_use=yes
22353 else
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.$ac_ext >&5
22357 glibcxx_cv_func__log10l_use=no
22359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22360 ac_ext=c
22361 ac_cpp='$CPP $CPPFLAGS'
22362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22371 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22373 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22375 for ac_func in _log10l
22377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22378 echo "$as_me:$LINENO: checking for $ac_func" >&5
22379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22380 if eval "test \"\${$as_ac_var+set}\" = set"; then
22381 echo $ECHO_N "(cached) $ECHO_C" >&6
22382 else
22383 if test x$gcc_no_link = xyes; then
22384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22386 { (exit 1); exit 1; }; }
22388 cat >conftest.$ac_ext <<_ACEOF
22389 /* confdefs.h. */
22390 _ACEOF
22391 cat confdefs.h >>conftest.$ac_ext
22392 cat >>conftest.$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22396 #define $ac_func innocuous_$ac_func
22398 /* System header to define __stub macros and hopefully few prototypes,
22399 which can conflict with char $ac_func (); below.
22400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22401 <limits.h> exists even on freestanding compilers. */
22403 #ifdef __STDC__
22404 # include <limits.h>
22405 #else
22406 # include <assert.h>
22407 #endif
22409 #undef $ac_func
22411 /* Override any gcc2 internal prototype to avoid an error. */
22412 #ifdef __cplusplus
22413 extern "C"
22415 #endif
22416 /* We use char because int might match the return type of a gcc2
22417 builtin and then its argument prototype would still apply. */
22418 char $ac_func ();
22419 /* The GNU C library defines this for functions which it implements
22420 to always fail with ENOSYS. Some functions are actually named
22421 something starting with __ and the normal name is an alias. */
22422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22423 choke me
22424 #else
22425 char (*f) () = $ac_func;
22426 #endif
22427 #ifdef __cplusplus
22429 #endif
22432 main ()
22434 return f != $ac_func;
22436 return 0;
22438 _ACEOF
22439 rm -f conftest.$ac_objext conftest$ac_exeext
22440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22441 (eval $ac_link) 2>conftest.er1
22442 ac_status=$?
22443 grep -v '^ *+' conftest.er1 >conftest.err
22444 rm -f conftest.er1
22445 cat conftest.err >&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); } &&
22448 { ac_try='test -z "$ac_c_werror_flag"
22449 || test ! -s conftest.err'
22450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22451 (eval $ac_try) 2>&5
22452 ac_status=$?
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; } &&
22455 { ac_try='test -s conftest$ac_exeext'
22456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22457 (eval $ac_try) 2>&5
22458 ac_status=$?
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); }; }; then
22461 eval "$as_ac_var=yes"
22462 else
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22466 eval "$as_ac_var=no"
22468 rm -f conftest.err conftest.$ac_objext \
22469 conftest$ac_exeext conftest.$ac_ext
22471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22473 if test `eval echo '${'$as_ac_var'}'` = yes; then
22474 cat >>confdefs.h <<_ACEOF
22475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22476 _ACEOF
22479 done
22486 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22487 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22488 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22489 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 else
22495 ac_ext=cc
22496 ac_cpp='$CXXCPP $CPPFLAGS'
22497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22501 cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h. */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 #include <math.h>
22509 main ()
22511 modfl(0, 0);
22513 return 0;
22515 _ACEOF
22516 rm -f conftest.$ac_objext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22518 (eval $ac_compile) 2>conftest.er1
22519 ac_status=$?
22520 grep -v '^ *+' conftest.er1 >conftest.err
22521 rm -f conftest.er1
22522 cat conftest.err >&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try='test -z "$ac_cxx_werror_flag"
22526 || test ! -s conftest.err'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22529 ac_status=$?
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try='test -s conftest.$ac_objext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22535 ac_status=$?
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 glibcxx_cv_func_modfl_use=yes
22539 else
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.$ac_ext >&5
22543 glibcxx_cv_func_modfl_use=no
22545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22546 ac_ext=c
22547 ac_cpp='$CPP $CPPFLAGS'
22548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22557 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22559 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22561 for ac_func in modfl
22563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22564 echo "$as_me:$LINENO: checking for $ac_func" >&5
22565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22566 if eval "test \"\${$as_ac_var+set}\" = set"; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 else
22569 if test x$gcc_no_link = xyes; then
22570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22572 { (exit 1); exit 1; }; }
22574 cat >conftest.$ac_ext <<_ACEOF
22575 /* confdefs.h. */
22576 _ACEOF
22577 cat confdefs.h >>conftest.$ac_ext
22578 cat >>conftest.$ac_ext <<_ACEOF
22579 /* end confdefs.h. */
22580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22582 #define $ac_func innocuous_$ac_func
22584 /* System header to define __stub macros and hopefully few prototypes,
22585 which can conflict with char $ac_func (); below.
22586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22587 <limits.h> exists even on freestanding compilers. */
22589 #ifdef __STDC__
22590 # include <limits.h>
22591 #else
22592 # include <assert.h>
22593 #endif
22595 #undef $ac_func
22597 /* Override any gcc2 internal prototype to avoid an error. */
22598 #ifdef __cplusplus
22599 extern "C"
22601 #endif
22602 /* We use char because int might match the return type of a gcc2
22603 builtin and then its argument prototype would still apply. */
22604 char $ac_func ();
22605 /* The GNU C library defines this for functions which it implements
22606 to always fail with ENOSYS. Some functions are actually named
22607 something starting with __ and the normal name is an alias. */
22608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22609 choke me
22610 #else
22611 char (*f) () = $ac_func;
22612 #endif
22613 #ifdef __cplusplus
22615 #endif
22618 main ()
22620 return f != $ac_func;
22622 return 0;
22624 _ACEOF
22625 rm -f conftest.$ac_objext conftest$ac_exeext
22626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22627 (eval $ac_link) 2>conftest.er1
22628 ac_status=$?
22629 grep -v '^ *+' conftest.er1 >conftest.err
22630 rm -f conftest.er1
22631 cat conftest.err >&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); } &&
22634 { ac_try='test -z "$ac_c_werror_flag"
22635 || test ! -s conftest.err'
22636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22637 (eval $ac_try) 2>&5
22638 ac_status=$?
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); }; } &&
22641 { ac_try='test -s conftest$ac_exeext'
22642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643 (eval $ac_try) 2>&5
22644 ac_status=$?
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); }; }; then
22647 eval "$as_ac_var=yes"
22648 else
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.$ac_ext >&5
22652 eval "$as_ac_var=no"
22654 rm -f conftest.err conftest.$ac_objext \
22655 conftest$ac_exeext conftest.$ac_ext
22657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22659 if test `eval echo '${'$as_ac_var'}'` = yes; then
22660 cat >>confdefs.h <<_ACEOF
22661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22662 _ACEOF
22665 done
22667 else
22669 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22670 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22671 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22672 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 else
22678 ac_ext=cc
22679 ac_cpp='$CXXCPP $CPPFLAGS'
22680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22684 cat >conftest.$ac_ext <<_ACEOF
22685 /* confdefs.h. */
22686 _ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 #include <math.h>
22692 main ()
22694 _modfl(0, 0);
22696 return 0;
22698 _ACEOF
22699 rm -f conftest.$ac_objext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22701 (eval $ac_compile) 2>conftest.er1
22702 ac_status=$?
22703 grep -v '^ *+' conftest.er1 >conftest.err
22704 rm -f conftest.er1
22705 cat conftest.err >&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } &&
22708 { ac_try='test -z "$ac_cxx_werror_flag"
22709 || test ! -s conftest.err'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; } &&
22715 { ac_try='test -s conftest.$ac_objext'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 glibcxx_cv_func__modfl_use=yes
22722 else
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22726 glibcxx_cv_func__modfl_use=no
22728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22729 ac_ext=c
22730 ac_cpp='$CPP $CPPFLAGS'
22731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22740 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22742 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22744 for ac_func in _modfl
22746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22747 echo "$as_me:$LINENO: checking for $ac_func" >&5
22748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22749 if eval "test \"\${$as_ac_var+set}\" = set"; then
22750 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 else
22752 if test x$gcc_no_link = xyes; then
22753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22755 { (exit 1); exit 1; }; }
22757 cat >conftest.$ac_ext <<_ACEOF
22758 /* confdefs.h. */
22759 _ACEOF
22760 cat confdefs.h >>conftest.$ac_ext
22761 cat >>conftest.$ac_ext <<_ACEOF
22762 /* end confdefs.h. */
22763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22765 #define $ac_func innocuous_$ac_func
22767 /* System header to define __stub macros and hopefully few prototypes,
22768 which can conflict with char $ac_func (); below.
22769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22770 <limits.h> exists even on freestanding compilers. */
22772 #ifdef __STDC__
22773 # include <limits.h>
22774 #else
22775 # include <assert.h>
22776 #endif
22778 #undef $ac_func
22780 /* Override any gcc2 internal prototype to avoid an error. */
22781 #ifdef __cplusplus
22782 extern "C"
22784 #endif
22785 /* We use char because int might match the return type of a gcc2
22786 builtin and then its argument prototype would still apply. */
22787 char $ac_func ();
22788 /* The GNU C library defines this for functions which it implements
22789 to always fail with ENOSYS. Some functions are actually named
22790 something starting with __ and the normal name is an alias. */
22791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22792 choke me
22793 #else
22794 char (*f) () = $ac_func;
22795 #endif
22796 #ifdef __cplusplus
22798 #endif
22801 main ()
22803 return f != $ac_func;
22805 return 0;
22807 _ACEOF
22808 rm -f conftest.$ac_objext conftest$ac_exeext
22809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22810 (eval $ac_link) 2>conftest.er1
22811 ac_status=$?
22812 grep -v '^ *+' conftest.er1 >conftest.err
22813 rm -f conftest.er1
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } &&
22817 { ac_try='test -z "$ac_c_werror_flag"
22818 || test ! -s conftest.err'
22819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22820 (eval $ac_try) 2>&5
22821 ac_status=$?
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); }; } &&
22824 { ac_try='test -s conftest$ac_exeext'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22827 ac_status=$?
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 eval "$as_ac_var=yes"
22831 else
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22835 eval "$as_ac_var=no"
22837 rm -f conftest.err conftest.$ac_objext \
22838 conftest$ac_exeext conftest.$ac_ext
22840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22842 if test `eval echo '${'$as_ac_var'}'` = yes; then
22843 cat >>confdefs.h <<_ACEOF
22844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22845 _ACEOF
22848 done
22855 echo "$as_me:$LINENO: checking for powl declaration" >&5
22856 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22857 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22858 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22859 echo $ECHO_N "(cached) $ECHO_C" >&6
22860 else
22864 ac_ext=cc
22865 ac_cpp='$CXXCPP $CPPFLAGS'
22866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22870 cat >conftest.$ac_ext <<_ACEOF
22871 /* confdefs.h. */
22872 _ACEOF
22873 cat confdefs.h >>conftest.$ac_ext
22874 cat >>conftest.$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 #include <math.h>
22878 main ()
22880 powl(0, 0);
22882 return 0;
22884 _ACEOF
22885 rm -f conftest.$ac_objext
22886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22887 (eval $ac_compile) 2>conftest.er1
22888 ac_status=$?
22889 grep -v '^ *+' conftest.er1 >conftest.err
22890 rm -f conftest.er1
22891 cat conftest.err >&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } &&
22894 { ac_try='test -z "$ac_cxx_werror_flag"
22895 || test ! -s conftest.err'
22896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22897 (eval $ac_try) 2>&5
22898 ac_status=$?
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); }; } &&
22901 { ac_try='test -s conftest.$ac_objext'
22902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22903 (eval $ac_try) 2>&5
22904 ac_status=$?
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); }; }; then
22907 glibcxx_cv_func_powl_use=yes
22908 else
22909 echo "$as_me: failed program was:" >&5
22910 sed 's/^/| /' conftest.$ac_ext >&5
22912 glibcxx_cv_func_powl_use=no
22914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22915 ac_ext=c
22916 ac_cpp='$CPP $CPPFLAGS'
22917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22926 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22928 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22930 for ac_func in powl
22932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22933 echo "$as_me:$LINENO: checking for $ac_func" >&5
22934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22935 if eval "test \"\${$as_ac_var+set}\" = set"; then
22936 echo $ECHO_N "(cached) $ECHO_C" >&6
22937 else
22938 if test x$gcc_no_link = xyes; then
22939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22941 { (exit 1); exit 1; }; }
22943 cat >conftest.$ac_ext <<_ACEOF
22944 /* confdefs.h. */
22945 _ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h. */
22949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22951 #define $ac_func innocuous_$ac_func
22953 /* System header to define __stub macros and hopefully few prototypes,
22954 which can conflict with char $ac_func (); below.
22955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22956 <limits.h> exists even on freestanding compilers. */
22958 #ifdef __STDC__
22959 # include <limits.h>
22960 #else
22961 # include <assert.h>
22962 #endif
22964 #undef $ac_func
22966 /* Override any gcc2 internal prototype to avoid an error. */
22967 #ifdef __cplusplus
22968 extern "C"
22970 #endif
22971 /* We use char because int might match the return type of a gcc2
22972 builtin and then its argument prototype would still apply. */
22973 char $ac_func ();
22974 /* The GNU C library defines this for functions which it implements
22975 to always fail with ENOSYS. Some functions are actually named
22976 something starting with __ and the normal name is an alias. */
22977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22978 choke me
22979 #else
22980 char (*f) () = $ac_func;
22981 #endif
22982 #ifdef __cplusplus
22984 #endif
22987 main ()
22989 return f != $ac_func;
22991 return 0;
22993 _ACEOF
22994 rm -f conftest.$ac_objext conftest$ac_exeext
22995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22996 (eval $ac_link) 2>conftest.er1
22997 ac_status=$?
22998 grep -v '^ *+' conftest.er1 >conftest.err
22999 rm -f conftest.er1
23000 cat conftest.err >&5
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } &&
23003 { ac_try='test -z "$ac_c_werror_flag"
23004 || test ! -s conftest.err'
23005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23006 (eval $ac_try) 2>&5
23007 ac_status=$?
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); }; } &&
23010 { ac_try='test -s conftest$ac_exeext'
23011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23012 (eval $ac_try) 2>&5
23013 ac_status=$?
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); }; }; then
23016 eval "$as_ac_var=yes"
23017 else
23018 echo "$as_me: failed program was:" >&5
23019 sed 's/^/| /' conftest.$ac_ext >&5
23021 eval "$as_ac_var=no"
23023 rm -f conftest.err conftest.$ac_objext \
23024 conftest$ac_exeext conftest.$ac_ext
23026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23028 if test `eval echo '${'$as_ac_var'}'` = yes; then
23029 cat >>confdefs.h <<_ACEOF
23030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23031 _ACEOF
23034 done
23036 else
23038 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23039 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23040 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23041 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 else
23047 ac_ext=cc
23048 ac_cpp='$CXXCPP $CPPFLAGS'
23049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053 cat >conftest.$ac_ext <<_ACEOF
23054 /* confdefs.h. */
23055 _ACEOF
23056 cat confdefs.h >>conftest.$ac_ext
23057 cat >>conftest.$ac_ext <<_ACEOF
23058 /* end confdefs.h. */
23059 #include <math.h>
23061 main ()
23063 _powl(0, 0);
23065 return 0;
23067 _ACEOF
23068 rm -f conftest.$ac_objext
23069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23070 (eval $ac_compile) 2>conftest.er1
23071 ac_status=$?
23072 grep -v '^ *+' conftest.er1 >conftest.err
23073 rm -f conftest.er1
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } &&
23077 { ac_try='test -z "$ac_cxx_werror_flag"
23078 || test ! -s conftest.err'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23081 ac_status=$?
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; } &&
23084 { ac_try='test -s conftest.$ac_objext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 glibcxx_cv_func__powl_use=yes
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23095 glibcxx_cv_func__powl_use=no
23097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23098 ac_ext=c
23099 ac_cpp='$CPP $CPPFLAGS'
23100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23109 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23111 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23113 for ac_func in _powl
23115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23116 echo "$as_me:$LINENO: checking for $ac_func" >&5
23117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23118 if eval "test \"\${$as_ac_var+set}\" = set"; then
23119 echo $ECHO_N "(cached) $ECHO_C" >&6
23120 else
23121 if test x$gcc_no_link = xyes; then
23122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23124 { (exit 1); exit 1; }; }
23126 cat >conftest.$ac_ext <<_ACEOF
23127 /* confdefs.h. */
23128 _ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23134 #define $ac_func innocuous_$ac_func
23136 /* System header to define __stub macros and hopefully few prototypes,
23137 which can conflict with char $ac_func (); below.
23138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23139 <limits.h> exists even on freestanding compilers. */
23141 #ifdef __STDC__
23142 # include <limits.h>
23143 #else
23144 # include <assert.h>
23145 #endif
23147 #undef $ac_func
23149 /* Override any gcc2 internal prototype to avoid an error. */
23150 #ifdef __cplusplus
23151 extern "C"
23153 #endif
23154 /* We use char because int might match the return type of a gcc2
23155 builtin and then its argument prototype would still apply. */
23156 char $ac_func ();
23157 /* The GNU C library defines this for functions which it implements
23158 to always fail with ENOSYS. Some functions are actually named
23159 something starting with __ and the normal name is an alias. */
23160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23161 choke me
23162 #else
23163 char (*f) () = $ac_func;
23164 #endif
23165 #ifdef __cplusplus
23167 #endif
23170 main ()
23172 return f != $ac_func;
23174 return 0;
23176 _ACEOF
23177 rm -f conftest.$ac_objext conftest$ac_exeext
23178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23179 (eval $ac_link) 2>conftest.er1
23180 ac_status=$?
23181 grep -v '^ *+' conftest.er1 >conftest.err
23182 rm -f conftest.er1
23183 cat conftest.err >&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } &&
23186 { ac_try='test -z "$ac_c_werror_flag"
23187 || test ! -s conftest.err'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23190 ac_status=$?
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; } &&
23193 { ac_try='test -s conftest$ac_exeext'
23194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195 (eval $ac_try) 2>&5
23196 ac_status=$?
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); }; }; then
23199 eval "$as_ac_var=yes"
23200 else
23201 echo "$as_me: failed program was:" >&5
23202 sed 's/^/| /' conftest.$ac_ext >&5
23204 eval "$as_ac_var=no"
23206 rm -f conftest.err conftest.$ac_objext \
23207 conftest$ac_exeext conftest.$ac_ext
23209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23211 if test `eval echo '${'$as_ac_var'}'` = yes; then
23212 cat >>confdefs.h <<_ACEOF
23213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23214 _ACEOF
23217 done
23224 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23225 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23226 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23227 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23228 echo $ECHO_N "(cached) $ECHO_C" >&6
23229 else
23233 ac_ext=cc
23234 ac_cpp='$CXXCPP $CPPFLAGS'
23235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23239 cat >conftest.$ac_ext <<_ACEOF
23240 /* confdefs.h. */
23241 _ACEOF
23242 cat confdefs.h >>conftest.$ac_ext
23243 cat >>conftest.$ac_ext <<_ACEOF
23244 /* end confdefs.h. */
23245 #include <math.h>
23246 #ifdef HAVE_IEEEFP_H
23247 #include <ieeefp.h>
23248 #endif
23251 main ()
23253 sqrtl(0);
23255 return 0;
23257 _ACEOF
23258 rm -f conftest.$ac_objext
23259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23260 (eval $ac_compile) 2>conftest.er1
23261 ac_status=$?
23262 grep -v '^ *+' conftest.er1 >conftest.err
23263 rm -f conftest.er1
23264 cat conftest.err >&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); } &&
23267 { ac_try='test -z "$ac_cxx_werror_flag"
23268 || test ! -s conftest.err'
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); }; } &&
23274 { ac_try='test -s conftest.$ac_objext'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23277 ac_status=$?
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; }; then
23280 glibcxx_cv_func_sqrtl_use=yes
23281 else
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23285 glibcxx_cv_func_sqrtl_use=no
23287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23299 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23301 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23303 for ac_func in sqrtl
23305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23306 echo "$as_me:$LINENO: checking for $ac_func" >&5
23307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23308 if eval "test \"\${$as_ac_var+set}\" = set"; then
23309 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 else
23311 if test x$gcc_no_link = xyes; then
23312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23314 { (exit 1); exit 1; }; }
23316 cat >conftest.$ac_ext <<_ACEOF
23317 /* confdefs.h. */
23318 _ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23324 #define $ac_func innocuous_$ac_func
23326 /* System header to define __stub macros and hopefully few prototypes,
23327 which can conflict with char $ac_func (); below.
23328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23329 <limits.h> exists even on freestanding compilers. */
23331 #ifdef __STDC__
23332 # include <limits.h>
23333 #else
23334 # include <assert.h>
23335 #endif
23337 #undef $ac_func
23339 /* Override any gcc2 internal prototype to avoid an error. */
23340 #ifdef __cplusplus
23341 extern "C"
23343 #endif
23344 /* We use char because int might match the return type of a gcc2
23345 builtin and then its argument prototype would still apply. */
23346 char $ac_func ();
23347 /* The GNU C library defines this for functions which it implements
23348 to always fail with ENOSYS. Some functions are actually named
23349 something starting with __ and the normal name is an alias. */
23350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23351 choke me
23352 #else
23353 char (*f) () = $ac_func;
23354 #endif
23355 #ifdef __cplusplus
23357 #endif
23360 main ()
23362 return f != $ac_func;
23364 return 0;
23366 _ACEOF
23367 rm -f conftest.$ac_objext conftest$ac_exeext
23368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23369 (eval $ac_link) 2>conftest.er1
23370 ac_status=$?
23371 grep -v '^ *+' conftest.er1 >conftest.err
23372 rm -f conftest.er1
23373 cat conftest.err >&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); } &&
23376 { ac_try='test -z "$ac_c_werror_flag"
23377 || test ! -s conftest.err'
23378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379 (eval $ac_try) 2>&5
23380 ac_status=$?
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); }; } &&
23383 { ac_try='test -s conftest$ac_exeext'
23384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385 (eval $ac_try) 2>&5
23386 ac_status=$?
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); }; }; then
23389 eval "$as_ac_var=yes"
23390 else
23391 echo "$as_me: failed program was:" >&5
23392 sed 's/^/| /' conftest.$ac_ext >&5
23394 eval "$as_ac_var=no"
23396 rm -f conftest.err conftest.$ac_objext \
23397 conftest$ac_exeext conftest.$ac_ext
23399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23401 if test `eval echo '${'$as_ac_var'}'` = yes; then
23402 cat >>confdefs.h <<_ACEOF
23403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23404 _ACEOF
23407 done
23409 else
23411 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23412 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23413 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23414 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23416 else
23420 ac_ext=cc
23421 ac_cpp='$CXXCPP $CPPFLAGS'
23422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23426 cat >conftest.$ac_ext <<_ACEOF
23427 /* confdefs.h. */
23428 _ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432 #include <math.h>
23433 #ifdef HAVE_IEEEFP_H
23434 #include <ieeefp.h>
23435 #endif
23438 main ()
23440 _sqrtl(0);
23442 return 0;
23444 _ACEOF
23445 rm -f conftest.$ac_objext
23446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23447 (eval $ac_compile) 2>conftest.er1
23448 ac_status=$?
23449 grep -v '^ *+' conftest.er1 >conftest.err
23450 rm -f conftest.er1
23451 cat conftest.err >&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } &&
23454 { ac_try='test -z "$ac_cxx_werror_flag"
23455 || test ! -s conftest.err'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23458 ac_status=$?
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; } &&
23461 { ac_try='test -s conftest.$ac_objext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23467 glibcxx_cv_func__sqrtl_use=yes
23468 else
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.$ac_ext >&5
23472 glibcxx_cv_func__sqrtl_use=no
23474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23475 ac_ext=c
23476 ac_cpp='$CPP $CPPFLAGS'
23477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23486 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23488 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23490 for ac_func in _sqrtl
23492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23493 echo "$as_me:$LINENO: checking for $ac_func" >&5
23494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23495 if eval "test \"\${$as_ac_var+set}\" = set"; then
23496 echo $ECHO_N "(cached) $ECHO_C" >&6
23497 else
23498 if test x$gcc_no_link = xyes; then
23499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23501 { (exit 1); exit 1; }; }
23503 cat >conftest.$ac_ext <<_ACEOF
23504 /* confdefs.h. */
23505 _ACEOF
23506 cat confdefs.h >>conftest.$ac_ext
23507 cat >>conftest.$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23511 #define $ac_func innocuous_$ac_func
23513 /* System header to define __stub macros and hopefully few prototypes,
23514 which can conflict with char $ac_func (); below.
23515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23516 <limits.h> exists even on freestanding compilers. */
23518 #ifdef __STDC__
23519 # include <limits.h>
23520 #else
23521 # include <assert.h>
23522 #endif
23524 #undef $ac_func
23526 /* Override any gcc2 internal prototype to avoid an error. */
23527 #ifdef __cplusplus
23528 extern "C"
23530 #endif
23531 /* We use char because int might match the return type of a gcc2
23532 builtin and then its argument prototype would still apply. */
23533 char $ac_func ();
23534 /* The GNU C library defines this for functions which it implements
23535 to always fail with ENOSYS. Some functions are actually named
23536 something starting with __ and the normal name is an alias. */
23537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23538 choke me
23539 #else
23540 char (*f) () = $ac_func;
23541 #endif
23542 #ifdef __cplusplus
23544 #endif
23547 main ()
23549 return f != $ac_func;
23551 return 0;
23553 _ACEOF
23554 rm -f conftest.$ac_objext conftest$ac_exeext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23556 (eval $ac_link) 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try='test -z "$ac_c_werror_flag"
23564 || test ! -s conftest.err'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23567 ac_status=$?
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; } &&
23570 { ac_try='test -s conftest$ac_exeext'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; }; then
23576 eval "$as_ac_var=yes"
23577 else
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.$ac_ext >&5
23581 eval "$as_ac_var=no"
23583 rm -f conftest.err conftest.$ac_objext \
23584 conftest$ac_exeext conftest.$ac_ext
23586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23588 if test `eval echo '${'$as_ac_var'}'` = yes; then
23589 cat >>confdefs.h <<_ACEOF
23590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23591 _ACEOF
23594 done
23601 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23602 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23603 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23604 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23605 echo $ECHO_N "(cached) $ECHO_C" >&6
23606 else
23610 ac_ext=cc
23611 ac_cpp='$CXXCPP $CPPFLAGS'
23612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23616 cat >conftest.$ac_ext <<_ACEOF
23617 /* confdefs.h. */
23618 _ACEOF
23619 cat confdefs.h >>conftest.$ac_ext
23620 cat >>conftest.$ac_ext <<_ACEOF
23621 /* end confdefs.h. */
23622 #include <math.h>
23624 main ()
23626 sincosl(0, 0, 0);
23628 return 0;
23630 _ACEOF
23631 rm -f conftest.$ac_objext
23632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23633 (eval $ac_compile) 2>conftest.er1
23634 ac_status=$?
23635 grep -v '^ *+' conftest.er1 >conftest.err
23636 rm -f conftest.er1
23637 cat conftest.err >&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } &&
23640 { ac_try='test -z "$ac_cxx_werror_flag"
23641 || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try='test -s conftest.$ac_objext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23650 ac_status=$?
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 glibcxx_cv_func_sincosl_use=yes
23654 else
23655 echo "$as_me: failed program was:" >&5
23656 sed 's/^/| /' conftest.$ac_ext >&5
23658 glibcxx_cv_func_sincosl_use=no
23660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23661 ac_ext=c
23662 ac_cpp='$CPP $CPPFLAGS'
23663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23672 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23674 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23676 for ac_func in sincosl
23678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23679 echo "$as_me:$LINENO: checking for $ac_func" >&5
23680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23681 if eval "test \"\${$as_ac_var+set}\" = set"; then
23682 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 else
23684 if test x$gcc_no_link = xyes; then
23685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23687 { (exit 1); exit 1; }; }
23689 cat >conftest.$ac_ext <<_ACEOF
23690 /* confdefs.h. */
23691 _ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23697 #define $ac_func innocuous_$ac_func
23699 /* System header to define __stub macros and hopefully few prototypes,
23700 which can conflict with char $ac_func (); below.
23701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23702 <limits.h> exists even on freestanding compilers. */
23704 #ifdef __STDC__
23705 # include <limits.h>
23706 #else
23707 # include <assert.h>
23708 #endif
23710 #undef $ac_func
23712 /* Override any gcc2 internal prototype to avoid an error. */
23713 #ifdef __cplusplus
23714 extern "C"
23716 #endif
23717 /* We use char because int might match the return type of a gcc2
23718 builtin and then its argument prototype would still apply. */
23719 char $ac_func ();
23720 /* The GNU C library defines this for functions which it implements
23721 to always fail with ENOSYS. Some functions are actually named
23722 something starting with __ and the normal name is an alias. */
23723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23724 choke me
23725 #else
23726 char (*f) () = $ac_func;
23727 #endif
23728 #ifdef __cplusplus
23730 #endif
23733 main ()
23735 return f != $ac_func;
23737 return 0;
23739 _ACEOF
23740 rm -f conftest.$ac_objext conftest$ac_exeext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23742 (eval $ac_link) 2>conftest.er1
23743 ac_status=$?
23744 grep -v '^ *+' conftest.er1 >conftest.err
23745 rm -f conftest.er1
23746 cat conftest.err >&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } &&
23749 { ac_try='test -z "$ac_c_werror_flag"
23750 || test ! -s conftest.err'
23751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23752 (eval $ac_try) 2>&5
23753 ac_status=$?
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; } &&
23756 { ac_try='test -s conftest$ac_exeext'
23757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23758 (eval $ac_try) 2>&5
23759 ac_status=$?
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; }; then
23762 eval "$as_ac_var=yes"
23763 else
23764 echo "$as_me: failed program was:" >&5
23765 sed 's/^/| /' conftest.$ac_ext >&5
23767 eval "$as_ac_var=no"
23769 rm -f conftest.err conftest.$ac_objext \
23770 conftest$ac_exeext conftest.$ac_ext
23772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23774 if test `eval echo '${'$as_ac_var'}'` = yes; then
23775 cat >>confdefs.h <<_ACEOF
23776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23777 _ACEOF
23780 done
23782 else
23784 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23785 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23786 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23787 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23788 echo $ECHO_N "(cached) $ECHO_C" >&6
23789 else
23793 ac_ext=cc
23794 ac_cpp='$CXXCPP $CPPFLAGS'
23795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23799 cat >conftest.$ac_ext <<_ACEOF
23800 /* confdefs.h. */
23801 _ACEOF
23802 cat confdefs.h >>conftest.$ac_ext
23803 cat >>conftest.$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 #include <math.h>
23807 main ()
23809 _sincosl(0, 0, 0);
23811 return 0;
23813 _ACEOF
23814 rm -f conftest.$ac_objext
23815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23816 (eval $ac_compile) 2>conftest.er1
23817 ac_status=$?
23818 grep -v '^ *+' conftest.er1 >conftest.err
23819 rm -f conftest.er1
23820 cat conftest.err >&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); } &&
23823 { ac_try='test -z "$ac_cxx_werror_flag"
23824 || test ! -s conftest.err'
23825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826 (eval $ac_try) 2>&5
23827 ac_status=$?
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); }; } &&
23830 { ac_try='test -s conftest.$ac_objext'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; }; then
23836 glibcxx_cv_func__sincosl_use=yes
23837 else
23838 echo "$as_me: failed program was:" >&5
23839 sed 's/^/| /' conftest.$ac_ext >&5
23841 glibcxx_cv_func__sincosl_use=no
23843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23844 ac_ext=c
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23855 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23857 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23859 for ac_func in _sincosl
23861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23862 echo "$as_me:$LINENO: checking for $ac_func" >&5
23863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23864 if eval "test \"\${$as_ac_var+set}\" = set"; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23866 else
23867 if test x$gcc_no_link = xyes; then
23868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23870 { (exit 1); exit 1; }; }
23872 cat >conftest.$ac_ext <<_ACEOF
23873 /* confdefs.h. */
23874 _ACEOF
23875 cat confdefs.h >>conftest.$ac_ext
23876 cat >>conftest.$ac_ext <<_ACEOF
23877 /* end confdefs.h. */
23878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23880 #define $ac_func innocuous_$ac_func
23882 /* System header to define __stub macros and hopefully few prototypes,
23883 which can conflict with char $ac_func (); below.
23884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23885 <limits.h> exists even on freestanding compilers. */
23887 #ifdef __STDC__
23888 # include <limits.h>
23889 #else
23890 # include <assert.h>
23891 #endif
23893 #undef $ac_func
23895 /* Override any gcc2 internal prototype to avoid an error. */
23896 #ifdef __cplusplus
23897 extern "C"
23899 #endif
23900 /* We use char because int might match the return type of a gcc2
23901 builtin and then its argument prototype would still apply. */
23902 char $ac_func ();
23903 /* The GNU C library defines this for functions which it implements
23904 to always fail with ENOSYS. Some functions are actually named
23905 something starting with __ and the normal name is an alias. */
23906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23907 choke me
23908 #else
23909 char (*f) () = $ac_func;
23910 #endif
23911 #ifdef __cplusplus
23913 #endif
23916 main ()
23918 return f != $ac_func;
23920 return 0;
23922 _ACEOF
23923 rm -f conftest.$ac_objext conftest$ac_exeext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23925 (eval $ac_link) 2>conftest.er1
23926 ac_status=$?
23927 grep -v '^ *+' conftest.er1 >conftest.err
23928 rm -f conftest.er1
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try='test -z "$ac_c_werror_flag"
23933 || test ! -s conftest.err'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23936 ac_status=$?
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; } &&
23939 { ac_try='test -s conftest$ac_exeext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23942 ac_status=$?
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 eval "$as_ac_var=yes"
23946 else
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.$ac_ext >&5
23950 eval "$as_ac_var=no"
23952 rm -f conftest.err conftest.$ac_objext \
23953 conftest$ac_exeext conftest.$ac_ext
23955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23957 if test `eval echo '${'$as_ac_var'}'` = yes; then
23958 cat >>confdefs.h <<_ACEOF
23959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23960 _ACEOF
23963 done
23970 echo "$as_me:$LINENO: checking for finitel declaration" >&5
23971 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23972 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23973 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
23974 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 else
23979 ac_ext=cc
23980 ac_cpp='$CXXCPP $CPPFLAGS'
23981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23985 cat >conftest.$ac_ext <<_ACEOF
23986 /* confdefs.h. */
23987 _ACEOF
23988 cat confdefs.h >>conftest.$ac_ext
23989 cat >>conftest.$ac_ext <<_ACEOF
23990 /* end confdefs.h. */
23991 #include <math.h>
23992 #ifdef HAVE_IEEEFP_H
23993 #include <ieeefp.h>
23994 #endif
23997 main ()
23999 finitel(0);
24001 return 0;
24003 _ACEOF
24004 rm -f conftest.$ac_objext
24005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24006 (eval $ac_compile) 2>conftest.er1
24007 ac_status=$?
24008 grep -v '^ *+' conftest.er1 >conftest.err
24009 rm -f conftest.er1
24010 cat conftest.err >&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } &&
24013 { ac_try='test -z "$ac_cxx_werror_flag"
24014 || test ! -s conftest.err'
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); }; } &&
24020 { ac_try='test -s conftest.$ac_objext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24023 ac_status=$?
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24026 glibcxx_cv_func_finitel_use=yes
24027 else
24028 echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.$ac_ext >&5
24031 glibcxx_cv_func_finitel_use=no
24033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24045 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24047 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24049 for ac_func in finitel
24051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24052 echo "$as_me:$LINENO: checking for $ac_func" >&5
24053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24054 if eval "test \"\${$as_ac_var+set}\" = set"; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24056 else
24057 if test x$gcc_no_link = xyes; then
24058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24060 { (exit 1); exit 1; }; }
24062 cat >conftest.$ac_ext <<_ACEOF
24063 /* confdefs.h. */
24064 _ACEOF
24065 cat confdefs.h >>conftest.$ac_ext
24066 cat >>conftest.$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24070 #define $ac_func innocuous_$ac_func
24072 /* System header to define __stub macros and hopefully few prototypes,
24073 which can conflict with char $ac_func (); below.
24074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24075 <limits.h> exists even on freestanding compilers. */
24077 #ifdef __STDC__
24078 # include <limits.h>
24079 #else
24080 # include <assert.h>
24081 #endif
24083 #undef $ac_func
24085 /* Override any gcc2 internal prototype to avoid an error. */
24086 #ifdef __cplusplus
24087 extern "C"
24089 #endif
24090 /* We use char because int might match the return type of a gcc2
24091 builtin and then its argument prototype would still apply. */
24092 char $ac_func ();
24093 /* The GNU C library defines this for functions which it implements
24094 to always fail with ENOSYS. Some functions are actually named
24095 something starting with __ and the normal name is an alias. */
24096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24097 choke me
24098 #else
24099 char (*f) () = $ac_func;
24100 #endif
24101 #ifdef __cplusplus
24103 #endif
24106 main ()
24108 return f != $ac_func;
24110 return 0;
24112 _ACEOF
24113 rm -f conftest.$ac_objext conftest$ac_exeext
24114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24115 (eval $ac_link) 2>conftest.er1
24116 ac_status=$?
24117 grep -v '^ *+' conftest.er1 >conftest.err
24118 rm -f conftest.er1
24119 cat conftest.err >&5
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); } &&
24122 { ac_try='test -z "$ac_c_werror_flag"
24123 || test ! -s conftest.err'
24124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125 (eval $ac_try) 2>&5
24126 ac_status=$?
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); }; } &&
24129 { ac_try='test -s conftest$ac_exeext'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24132 ac_status=$?
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; }; then
24135 eval "$as_ac_var=yes"
24136 else
24137 echo "$as_me: failed program was:" >&5
24138 sed 's/^/| /' conftest.$ac_ext >&5
24140 eval "$as_ac_var=no"
24142 rm -f conftest.err conftest.$ac_objext \
24143 conftest$ac_exeext conftest.$ac_ext
24145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24147 if test `eval echo '${'$as_ac_var'}'` = yes; then
24148 cat >>confdefs.h <<_ACEOF
24149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24150 _ACEOF
24153 done
24155 else
24157 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24158 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24159 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24160 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24161 echo $ECHO_N "(cached) $ECHO_C" >&6
24162 else
24166 ac_ext=cc
24167 ac_cpp='$CXXCPP $CPPFLAGS'
24168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24172 cat >conftest.$ac_ext <<_ACEOF
24173 /* confdefs.h. */
24174 _ACEOF
24175 cat confdefs.h >>conftest.$ac_ext
24176 cat >>conftest.$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24178 #include <math.h>
24179 #ifdef HAVE_IEEEFP_H
24180 #include <ieeefp.h>
24181 #endif
24184 main ()
24186 _finitel(0);
24188 return 0;
24190 _ACEOF
24191 rm -f conftest.$ac_objext
24192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24193 (eval $ac_compile) 2>conftest.er1
24194 ac_status=$?
24195 grep -v '^ *+' conftest.er1 >conftest.err
24196 rm -f conftest.er1
24197 cat conftest.err >&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } &&
24200 { ac_try='test -z "$ac_cxx_werror_flag"
24201 || test ! -s conftest.err'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; } &&
24207 { ac_try='test -s conftest.$ac_objext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213 glibcxx_cv_func__finitel_use=yes
24214 else
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.$ac_ext >&5
24218 glibcxx_cv_func__finitel_use=no
24220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24221 ac_ext=c
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24232 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24234 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24236 for ac_func in _finitel
24238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24239 echo "$as_me:$LINENO: checking for $ac_func" >&5
24240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24241 if eval "test \"\${$as_ac_var+set}\" = set"; then
24242 echo $ECHO_N "(cached) $ECHO_C" >&6
24243 else
24244 if test x$gcc_no_link = xyes; then
24245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24247 { (exit 1); exit 1; }; }
24249 cat >conftest.$ac_ext <<_ACEOF
24250 /* confdefs.h. */
24251 _ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24257 #define $ac_func innocuous_$ac_func
24259 /* System header to define __stub macros and hopefully few prototypes,
24260 which can conflict with char $ac_func (); below.
24261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24262 <limits.h> exists even on freestanding compilers. */
24264 #ifdef __STDC__
24265 # include <limits.h>
24266 #else
24267 # include <assert.h>
24268 #endif
24270 #undef $ac_func
24272 /* Override any gcc2 internal prototype to avoid an error. */
24273 #ifdef __cplusplus
24274 extern "C"
24276 #endif
24277 /* We use char because int might match the return type of a gcc2
24278 builtin and then its argument prototype would still apply. */
24279 char $ac_func ();
24280 /* The GNU C library defines this for functions which it implements
24281 to always fail with ENOSYS. Some functions are actually named
24282 something starting with __ and the normal name is an alias. */
24283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24284 choke me
24285 #else
24286 char (*f) () = $ac_func;
24287 #endif
24288 #ifdef __cplusplus
24290 #endif
24293 main ()
24295 return f != $ac_func;
24297 return 0;
24299 _ACEOF
24300 rm -f conftest.$ac_objext conftest$ac_exeext
24301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24302 (eval $ac_link) 2>conftest.er1
24303 ac_status=$?
24304 grep -v '^ *+' conftest.er1 >conftest.err
24305 rm -f conftest.er1
24306 cat conftest.err >&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); } &&
24309 { ac_try='test -z "$ac_c_werror_flag"
24310 || test ! -s conftest.err'
24311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24312 (eval $ac_try) 2>&5
24313 ac_status=$?
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); }; } &&
24316 { ac_try='test -s conftest$ac_exeext'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; }; then
24322 eval "$as_ac_var=yes"
24323 else
24324 echo "$as_me: failed program was:" >&5
24325 sed 's/^/| /' conftest.$ac_ext >&5
24327 eval "$as_ac_var=no"
24329 rm -f conftest.err conftest.$ac_objext \
24330 conftest$ac_exeext conftest.$ac_ext
24332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24334 if test `eval echo '${'$as_ac_var'}'` = yes; then
24335 cat >>confdefs.h <<_ACEOF
24336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24337 _ACEOF
24340 done
24348 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24349 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24350 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24351 echo $ECHO_N "(cached) $ECHO_C" >&6
24352 else
24356 ac_ext=cc
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24362 cat >conftest.$ac_ext <<_ACEOF
24363 /* confdefs.h. */
24364 _ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 #include <math.h>
24370 main ()
24372 `for x in _acosf _asinf _atanf \
24373 _cosf _sinf _tanf \
24374 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24376 return 0;
24378 _ACEOF
24379 rm -f conftest.$ac_objext
24380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24381 (eval $ac_compile) 2>conftest.er1
24382 ac_status=$?
24383 grep -v '^ *+' conftest.er1 >conftest.err
24384 rm -f conftest.er1
24385 cat conftest.err >&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } &&
24388 { ac_try='test -z "$ac_cxx_werror_flag"
24389 || test ! -s conftest.err'
24390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24391 (eval $ac_try) 2>&5
24392 ac_status=$?
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); }; } &&
24395 { ac_try='test -s conftest.$ac_objext'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24398 ac_status=$?
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; }; then
24401 glibcxx_cv_func__float_trig_use=yes
24402 else
24403 echo "$as_me: failed program was:" >&5
24404 sed 's/^/| /' conftest.$ac_ext >&5
24406 glibcxx_cv_func__float_trig_use=no
24408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24409 ac_ext=c
24410 ac_cpp='$CPP $CPPFLAGS'
24411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24418 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24419 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24429 for ac_func in _acosf _asinf _atanf \
24430 _cosf _sinf _tanf \
24431 _coshf _sinhf _tanhf
24433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24434 echo "$as_me:$LINENO: checking for $ac_func" >&5
24435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24436 if eval "test \"\${$as_ac_var+set}\" = set"; then
24437 echo $ECHO_N "(cached) $ECHO_C" >&6
24438 else
24439 if test x$gcc_no_link = xyes; then
24440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24442 { (exit 1); exit 1; }; }
24444 cat >conftest.$ac_ext <<_ACEOF
24445 /* confdefs.h. */
24446 _ACEOF
24447 cat confdefs.h >>conftest.$ac_ext
24448 cat >>conftest.$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24452 #define $ac_func innocuous_$ac_func
24454 /* System header to define __stub macros and hopefully few prototypes,
24455 which can conflict with char $ac_func (); below.
24456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24457 <limits.h> exists even on freestanding compilers. */
24459 #ifdef __STDC__
24460 # include <limits.h>
24461 #else
24462 # include <assert.h>
24463 #endif
24465 #undef $ac_func
24467 /* Override any gcc2 internal prototype to avoid an error. */
24468 #ifdef __cplusplus
24469 extern "C"
24471 #endif
24472 /* We use char because int might match the return type of a gcc2
24473 builtin and then its argument prototype would still apply. */
24474 char $ac_func ();
24475 /* The GNU C library defines this for functions which it implements
24476 to always fail with ENOSYS. Some functions are actually named
24477 something starting with __ and the normal name is an alias. */
24478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24479 choke me
24480 #else
24481 char (*f) () = $ac_func;
24482 #endif
24483 #ifdef __cplusplus
24485 #endif
24488 main ()
24490 return f != $ac_func;
24492 return 0;
24494 _ACEOF
24495 rm -f conftest.$ac_objext conftest$ac_exeext
24496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24497 (eval $ac_link) 2>conftest.er1
24498 ac_status=$?
24499 grep -v '^ *+' conftest.er1 >conftest.err
24500 rm -f conftest.er1
24501 cat conftest.err >&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); } &&
24504 { ac_try='test -z "$ac_c_werror_flag"
24505 || test ! -s conftest.err'
24506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24507 (eval $ac_try) 2>&5
24508 ac_status=$?
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); }; } &&
24511 { ac_try='test -s conftest$ac_exeext'
24512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24513 (eval $ac_try) 2>&5
24514 ac_status=$?
24515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24516 (exit $ac_status); }; }; then
24517 eval "$as_ac_var=yes"
24518 else
24519 echo "$as_me: failed program was:" >&5
24520 sed 's/^/| /' conftest.$ac_ext >&5
24522 eval "$as_ac_var=no"
24524 rm -f conftest.err conftest.$ac_objext \
24525 conftest$ac_exeext conftest.$ac_ext
24527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24529 if test `eval echo '${'$as_ac_var'}'` = yes; then
24530 cat >>confdefs.h <<_ACEOF
24531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24532 _ACEOF
24535 done
24540 echo "$as_me:$LINENO: checking for _float round functions" >&5
24541 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24542 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6
24544 else
24548 ac_ext=cc
24549 ac_cpp='$CXXCPP $CPPFLAGS'
24550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <math.h>
24562 main ()
24564 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24566 return 0;
24568 _ACEOF
24569 rm -f conftest.$ac_objext
24570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24571 (eval $ac_compile) 2>conftest.er1
24572 ac_status=$?
24573 grep -v '^ *+' conftest.er1 >conftest.err
24574 rm -f conftest.er1
24575 cat conftest.err >&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); } &&
24578 { ac_try='test -z "$ac_cxx_werror_flag"
24579 || test ! -s conftest.err'
24580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581 (eval $ac_try) 2>&5
24582 ac_status=$?
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); }; } &&
24585 { ac_try='test -s conftest.$ac_objext'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24588 ac_status=$?
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; }; then
24591 glibcxx_cv_func__float_round_use=yes
24592 else
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24596 glibcxx_cv_func__float_round_use=no
24598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24599 ac_ext=c
24600 ac_cpp='$CPP $CPPFLAGS'
24601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24608 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24609 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24612 for ac_func in _ceilf _floorf
24614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24615 echo "$as_me:$LINENO: checking for $ac_func" >&5
24616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24617 if eval "test \"\${$as_ac_var+set}\" = set"; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24619 else
24620 if test x$gcc_no_link = xyes; then
24621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24623 { (exit 1); exit 1; }; }
24625 cat >conftest.$ac_ext <<_ACEOF
24626 /* confdefs.h. */
24627 _ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24633 #define $ac_func innocuous_$ac_func
24635 /* System header to define __stub macros and hopefully few prototypes,
24636 which can conflict with char $ac_func (); below.
24637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24638 <limits.h> exists even on freestanding compilers. */
24640 #ifdef __STDC__
24641 # include <limits.h>
24642 #else
24643 # include <assert.h>
24644 #endif
24646 #undef $ac_func
24648 /* Override any gcc2 internal prototype to avoid an error. */
24649 #ifdef __cplusplus
24650 extern "C"
24652 #endif
24653 /* We use char because int might match the return type of a gcc2
24654 builtin and then its argument prototype would still apply. */
24655 char $ac_func ();
24656 /* The GNU C library defines this for functions which it implements
24657 to always fail with ENOSYS. Some functions are actually named
24658 something starting with __ and the normal name is an alias. */
24659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24660 choke me
24661 #else
24662 char (*f) () = $ac_func;
24663 #endif
24664 #ifdef __cplusplus
24666 #endif
24669 main ()
24671 return f != $ac_func;
24673 return 0;
24675 _ACEOF
24676 rm -f conftest.$ac_objext conftest$ac_exeext
24677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24678 (eval $ac_link) 2>conftest.er1
24679 ac_status=$?
24680 grep -v '^ *+' conftest.er1 >conftest.err
24681 rm -f conftest.er1
24682 cat conftest.err >&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } &&
24685 { ac_try='test -z "$ac_c_werror_flag"
24686 || test ! -s conftest.err'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24689 ac_status=$?
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; } &&
24692 { ac_try='test -s conftest$ac_exeext'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24695 ac_status=$?
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; }; then
24698 eval "$as_ac_var=yes"
24699 else
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.$ac_ext >&5
24703 eval "$as_ac_var=no"
24705 rm -f conftest.err conftest.$ac_objext \
24706 conftest$ac_exeext conftest.$ac_ext
24708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24710 if test `eval echo '${'$as_ac_var'}'` = yes; then
24711 cat >>confdefs.h <<_ACEOF
24712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24713 _ACEOF
24716 done
24722 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24723 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24724 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24730 ac_ext=cc
24731 ac_cpp='$CXXCPP $CPPFLAGS'
24732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24736 cat >conftest.$ac_ext <<_ACEOF
24737 /* confdefs.h. */
24738 _ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24742 #include <math.h>
24744 main ()
24746 `for x in _acosl _asinl _atanl \
24747 _cosl _sinl _tanl \
24748 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24750 return 0;
24752 _ACEOF
24753 rm -f conftest.$ac_objext
24754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24755 (eval $ac_compile) 2>conftest.er1
24756 ac_status=$?
24757 grep -v '^ *+' conftest.er1 >conftest.err
24758 rm -f conftest.er1
24759 cat conftest.err >&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } &&
24762 { ac_try='test -z "$ac_cxx_werror_flag"
24763 || test ! -s conftest.err'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24766 ac_status=$?
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; } &&
24769 { ac_try='test -s conftest.$ac_objext'
24770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24771 (eval $ac_try) 2>&5
24772 ac_status=$?
24773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); }; }; then
24775 glibcxx_cv_func__long_double_trig_use=yes
24776 else
24777 echo "$as_me: failed program was:" >&5
24778 sed 's/^/| /' conftest.$ac_ext >&5
24780 glibcxx_cv_func__long_double_trig_use=no
24782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24783 ac_ext=c
24784 ac_cpp='$CPP $CPPFLAGS'
24785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24792 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24793 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24803 for ac_func in _acosl _asinl _atanl \
24804 _cosl _sinl _tanl \
24805 _coshl _sinhl _tanhl
24807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24808 echo "$as_me:$LINENO: checking for $ac_func" >&5
24809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24810 if eval "test \"\${$as_ac_var+set}\" = set"; then
24811 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 else
24813 if test x$gcc_no_link = xyes; then
24814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24816 { (exit 1); exit 1; }; }
24818 cat >conftest.$ac_ext <<_ACEOF
24819 /* confdefs.h. */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24826 #define $ac_func innocuous_$ac_func
24828 /* System header to define __stub macros and hopefully few prototypes,
24829 which can conflict with char $ac_func (); below.
24830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24831 <limits.h> exists even on freestanding compilers. */
24833 #ifdef __STDC__
24834 # include <limits.h>
24835 #else
24836 # include <assert.h>
24837 #endif
24839 #undef $ac_func
24841 /* Override any gcc2 internal prototype to avoid an error. */
24842 #ifdef __cplusplus
24843 extern "C"
24845 #endif
24846 /* We use char because int might match the return type of a gcc2
24847 builtin and then its argument prototype would still apply. */
24848 char $ac_func ();
24849 /* The GNU C library defines this for functions which it implements
24850 to always fail with ENOSYS. Some functions are actually named
24851 something starting with __ and the normal name is an alias. */
24852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24853 choke me
24854 #else
24855 char (*f) () = $ac_func;
24856 #endif
24857 #ifdef __cplusplus
24859 #endif
24862 main ()
24864 return f != $ac_func;
24866 return 0;
24868 _ACEOF
24869 rm -f conftest.$ac_objext conftest$ac_exeext
24870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24871 (eval $ac_link) 2>conftest.er1
24872 ac_status=$?
24873 grep -v '^ *+' conftest.er1 >conftest.err
24874 rm -f conftest.er1
24875 cat conftest.err >&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try='test -z "$ac_c_werror_flag"
24879 || test ! -s conftest.err'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24882 ac_status=$?
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; } &&
24885 { ac_try='test -s conftest$ac_exeext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 eval "$as_ac_var=yes"
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24896 eval "$as_ac_var=no"
24898 rm -f conftest.err conftest.$ac_objext \
24899 conftest$ac_exeext conftest.$ac_ext
24901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24903 if test `eval echo '${'$as_ac_var'}'` = yes; then
24904 cat >>confdefs.h <<_ACEOF
24905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24906 _ACEOF
24909 done
24914 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24915 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24916 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24917 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 else
24922 ac_ext=cc
24923 ac_cpp='$CXXCPP $CPPFLAGS'
24924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24928 cat >conftest.$ac_ext <<_ACEOF
24929 /* confdefs.h. */
24930 _ACEOF
24931 cat confdefs.h >>conftest.$ac_ext
24932 cat >>conftest.$ac_ext <<_ACEOF
24933 /* end confdefs.h. */
24934 #include <math.h>
24936 main ()
24938 `for x in _ceill _floorl; do echo "$x (0);"; done`
24940 return 0;
24942 _ACEOF
24943 rm -f conftest.$ac_objext
24944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24945 (eval $ac_compile) 2>conftest.er1
24946 ac_status=$?
24947 grep -v '^ *+' conftest.er1 >conftest.err
24948 rm -f conftest.er1
24949 cat conftest.err >&5
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); } &&
24952 { ac_try='test -z "$ac_cxx_werror_flag"
24953 || test ! -s conftest.err'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24956 ac_status=$?
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; } &&
24959 { ac_try='test -s conftest.$ac_objext'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; }; then
24965 glibcxx_cv_func__long_double_round_use=yes
24966 else
24967 echo "$as_me: failed program was:" >&5
24968 sed 's/^/| /' conftest.$ac_ext >&5
24970 glibcxx_cv_func__long_double_round_use=no
24972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24973 ac_ext=c
24974 ac_cpp='$CPP $CPPFLAGS'
24975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
24982 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
24983 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24986 for ac_func in _ceill _floorl
24988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24989 echo "$as_me:$LINENO: checking for $ac_func" >&5
24990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24991 if eval "test \"\${$as_ac_var+set}\" = set"; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24993 else
24994 if test x$gcc_no_link = xyes; then
24995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24997 { (exit 1); exit 1; }; }
24999 cat >conftest.$ac_ext <<_ACEOF
25000 /* confdefs.h. */
25001 _ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25007 #define $ac_func innocuous_$ac_func
25009 /* System header to define __stub macros and hopefully few prototypes,
25010 which can conflict with char $ac_func (); below.
25011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25012 <limits.h> exists even on freestanding compilers. */
25014 #ifdef __STDC__
25015 # include <limits.h>
25016 #else
25017 # include <assert.h>
25018 #endif
25020 #undef $ac_func
25022 /* Override any gcc2 internal prototype to avoid an error. */
25023 #ifdef __cplusplus
25024 extern "C"
25026 #endif
25027 /* We use char because int might match the return type of a gcc2
25028 builtin and then its argument prototype would still apply. */
25029 char $ac_func ();
25030 /* The GNU C library defines this for functions which it implements
25031 to always fail with ENOSYS. Some functions are actually named
25032 something starting with __ and the normal name is an alias. */
25033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25034 choke me
25035 #else
25036 char (*f) () = $ac_func;
25037 #endif
25038 #ifdef __cplusplus
25040 #endif
25043 main ()
25045 return f != $ac_func;
25047 return 0;
25049 _ACEOF
25050 rm -f conftest.$ac_objext conftest$ac_exeext
25051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25052 (eval $ac_link) 2>conftest.er1
25053 ac_status=$?
25054 grep -v '^ *+' conftest.er1 >conftest.err
25055 rm -f conftest.er1
25056 cat conftest.err >&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } &&
25059 { ac_try='test -z "$ac_c_werror_flag"
25060 || test ! -s conftest.err'
25061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062 (eval $ac_try) 2>&5
25063 ac_status=$?
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); }; } &&
25066 { ac_try='test -s conftest$ac_exeext'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25069 ac_status=$?
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; }; then
25072 eval "$as_ac_var=yes"
25073 else
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.$ac_ext >&5
25077 eval "$as_ac_var=no"
25079 rm -f conftest.err conftest.$ac_objext \
25080 conftest$ac_exeext conftest.$ac_ext
25082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25084 if test `eval echo '${'$as_ac_var'}'` = yes; then
25085 cat >>confdefs.h <<_ACEOF
25086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25087 _ACEOF
25090 done
25095 LIBS="$ac_save_LIBS"
25096 CXXFLAGS="$ac_save_CXXFLAGS"
25100 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25101 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25102 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25103 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25104 echo $ECHO_N "(cached) $ECHO_C" >&6
25105 else
25109 ac_ext=cc
25110 ac_cpp='$CXXCPP $CPPFLAGS'
25111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121 #include <math.h>
25123 main ()
25125 __builtin_abs(0);
25127 return 0;
25129 _ACEOF
25130 rm -f conftest.$ac_objext
25131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25132 (eval $ac_compile) 2>conftest.er1
25133 ac_status=$?
25134 grep -v '^ *+' conftest.er1 >conftest.err
25135 rm -f conftest.er1
25136 cat conftest.err >&5
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); } &&
25139 { ac_try='test -z "$ac_cxx_werror_flag"
25140 || test ! -s conftest.err'
25141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25142 (eval $ac_try) 2>&5
25143 ac_status=$?
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); }; } &&
25146 { ac_try='test -s conftest.$ac_objext'
25147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148 (eval $ac_try) 2>&5
25149 ac_status=$?
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); }; }; then
25152 glibcxx_cv_func___builtin_abs_use=yes
25153 else
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25157 glibcxx_cv_func___builtin_abs_use=no
25159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25160 ac_ext=c
25161 ac_cpp='$CPP $CPPFLAGS'
25162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25171 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25172 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25173 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25174 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25175 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25176 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25177 echo $ECHO_N "(cached) $ECHO_C" >&6
25178 else
25180 if test x$gcc_no_link = xyes; then
25181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25183 { (exit 1); exit 1; }; }
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 #include <math.h>
25193 main ()
25195 __builtin_abs(0);
25197 return 0;
25199 _ACEOF
25200 rm -f conftest.$ac_objext conftest$ac_exeext
25201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25202 (eval $ac_link) 2>conftest.er1
25203 ac_status=$?
25204 grep -v '^ *+' conftest.er1 >conftest.err
25205 rm -f conftest.er1
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } &&
25209 { ac_try='test -z "$ac_c_werror_flag"
25210 || test ! -s conftest.err'
25211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25212 (eval $ac_try) 2>&5
25213 ac_status=$?
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); }; } &&
25216 { ac_try='test -s conftest$ac_exeext'
25217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25218 (eval $ac_try) 2>&5
25219 ac_status=$?
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); }; }; then
25222 glibcxx_cv_func___builtin_abs_link=yes
25223 else
25224 echo "$as_me: failed program was:" >&5
25225 sed 's/^/| /' conftest.$ac_ext >&5
25227 glibcxx_cv_func___builtin_abs_link=no
25229 rm -f conftest.err conftest.$ac_objext \
25230 conftest$ac_exeext conftest.$ac_ext
25235 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25236 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25237 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25238 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25240 cat >>confdefs.h <<_ACEOF
25241 #define ${ac_tr_func} 1
25242 _ACEOF
25248 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25249 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25250 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25251 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25253 else
25257 ac_ext=cc
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25263 cat >conftest.$ac_ext <<_ACEOF
25264 /* confdefs.h. */
25265 _ACEOF
25266 cat confdefs.h >>conftest.$ac_ext
25267 cat >>conftest.$ac_ext <<_ACEOF
25268 /* end confdefs.h. */
25269 #include <math.h>
25271 main ()
25273 __builtin_fabsf(0);
25275 return 0;
25277 _ACEOF
25278 rm -f conftest.$ac_objext
25279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25280 (eval $ac_compile) 2>conftest.er1
25281 ac_status=$?
25282 grep -v '^ *+' conftest.er1 >conftest.err
25283 rm -f conftest.er1
25284 cat conftest.err >&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); } &&
25287 { ac_try='test -z "$ac_cxx_werror_flag"
25288 || test ! -s conftest.err'
25289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290 (eval $ac_try) 2>&5
25291 ac_status=$?
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); }; } &&
25294 { ac_try='test -s conftest.$ac_objext'
25295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25296 (eval $ac_try) 2>&5
25297 ac_status=$?
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); }; }; then
25300 glibcxx_cv_func___builtin_fabsf_use=yes
25301 else
25302 echo "$as_me: failed program was:" >&5
25303 sed 's/^/| /' conftest.$ac_ext >&5
25305 glibcxx_cv_func___builtin_fabsf_use=no
25307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25308 ac_ext=c
25309 ac_cpp='$CPP $CPPFLAGS'
25310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25318 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25319 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25320 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25321 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25322 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25323 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25324 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 else
25328 if test x$gcc_no_link = xyes; then
25329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25331 { (exit 1); exit 1; }; }
25333 cat >conftest.$ac_ext <<_ACEOF
25334 /* confdefs.h. */
25335 _ACEOF
25336 cat confdefs.h >>conftest.$ac_ext
25337 cat >>conftest.$ac_ext <<_ACEOF
25338 /* end confdefs.h. */
25339 #include <math.h>
25341 main ()
25343 __builtin_fabsf(0);
25345 return 0;
25347 _ACEOF
25348 rm -f conftest.$ac_objext conftest$ac_exeext
25349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25350 (eval $ac_link) 2>conftest.er1
25351 ac_status=$?
25352 grep -v '^ *+' conftest.er1 >conftest.err
25353 rm -f conftest.er1
25354 cat conftest.err >&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } &&
25357 { ac_try='test -z "$ac_c_werror_flag"
25358 || test ! -s conftest.err'
25359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25360 (eval $ac_try) 2>&5
25361 ac_status=$?
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; } &&
25364 { ac_try='test -s conftest$ac_exeext'
25365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25366 (eval $ac_try) 2>&5
25367 ac_status=$?
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); }; }; then
25370 glibcxx_cv_func___builtin_fabsf_link=yes
25371 else
25372 echo "$as_me: failed program was:" >&5
25373 sed 's/^/| /' conftest.$ac_ext >&5
25375 glibcxx_cv_func___builtin_fabsf_link=no
25377 rm -f conftest.err conftest.$ac_objext \
25378 conftest$ac_exeext conftest.$ac_ext
25383 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25384 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25385 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25386 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25388 cat >>confdefs.h <<_ACEOF
25389 #define ${ac_tr_func} 1
25390 _ACEOF
25396 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25397 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25398 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25399 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25401 else
25405 ac_ext=cc
25406 ac_cpp='$CXXCPP $CPPFLAGS'
25407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25411 cat >conftest.$ac_ext <<_ACEOF
25412 /* confdefs.h. */
25413 _ACEOF
25414 cat confdefs.h >>conftest.$ac_ext
25415 cat >>conftest.$ac_ext <<_ACEOF
25416 /* end confdefs.h. */
25417 #include <math.h>
25419 main ()
25421 __builtin_fabs(0);
25423 return 0;
25425 _ACEOF
25426 rm -f conftest.$ac_objext
25427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25428 (eval $ac_compile) 2>conftest.er1
25429 ac_status=$?
25430 grep -v '^ *+' conftest.er1 >conftest.err
25431 rm -f conftest.er1
25432 cat conftest.err >&5
25433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25434 (exit $ac_status); } &&
25435 { ac_try='test -z "$ac_cxx_werror_flag"
25436 || test ! -s conftest.err'
25437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25438 (eval $ac_try) 2>&5
25439 ac_status=$?
25440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441 (exit $ac_status); }; } &&
25442 { ac_try='test -s conftest.$ac_objext'
25443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25444 (eval $ac_try) 2>&5
25445 ac_status=$?
25446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25447 (exit $ac_status); }; }; then
25448 glibcxx_cv_func___builtin_fabs_use=yes
25449 else
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25453 glibcxx_cv_func___builtin_fabs_use=no
25455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25456 ac_ext=c
25457 ac_cpp='$CPP $CPPFLAGS'
25458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25466 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25467 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25468 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25469 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25470 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25471 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25472 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25473 echo $ECHO_N "(cached) $ECHO_C" >&6
25474 else
25476 if test x$gcc_no_link = xyes; then
25477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25479 { (exit 1); exit 1; }; }
25481 cat >conftest.$ac_ext <<_ACEOF
25482 /* confdefs.h. */
25483 _ACEOF
25484 cat confdefs.h >>conftest.$ac_ext
25485 cat >>conftest.$ac_ext <<_ACEOF
25486 /* end confdefs.h. */
25487 #include <math.h>
25489 main ()
25491 __builtin_fabs(0);
25493 return 0;
25495 _ACEOF
25496 rm -f conftest.$ac_objext conftest$ac_exeext
25497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25498 (eval $ac_link) 2>conftest.er1
25499 ac_status=$?
25500 grep -v '^ *+' conftest.er1 >conftest.err
25501 rm -f conftest.er1
25502 cat conftest.err >&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); } &&
25505 { ac_try='test -z "$ac_c_werror_flag"
25506 || test ! -s conftest.err'
25507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25508 (eval $ac_try) 2>&5
25509 ac_status=$?
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); }; } &&
25512 { ac_try='test -s conftest$ac_exeext'
25513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25514 (eval $ac_try) 2>&5
25515 ac_status=$?
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); }; }; then
25518 glibcxx_cv_func___builtin_fabs_link=yes
25519 else
25520 echo "$as_me: failed program was:" >&5
25521 sed 's/^/| /' conftest.$ac_ext >&5
25523 glibcxx_cv_func___builtin_fabs_link=no
25525 rm -f conftest.err conftest.$ac_objext \
25526 conftest$ac_exeext conftest.$ac_ext
25531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25532 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25533 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25534 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25536 cat >>confdefs.h <<_ACEOF
25537 #define ${ac_tr_func} 1
25538 _ACEOF
25544 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25545 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25546 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25547 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25548 echo $ECHO_N "(cached) $ECHO_C" >&6
25549 else
25553 ac_ext=cc
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25559 cat >conftest.$ac_ext <<_ACEOF
25560 /* confdefs.h. */
25561 _ACEOF
25562 cat confdefs.h >>conftest.$ac_ext
25563 cat >>conftest.$ac_ext <<_ACEOF
25564 /* end confdefs.h. */
25565 #include <math.h>
25567 main ()
25569 __builtin_fabsl(0);
25571 return 0;
25573 _ACEOF
25574 rm -f conftest.$ac_objext
25575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25576 (eval $ac_compile) 2>conftest.er1
25577 ac_status=$?
25578 grep -v '^ *+' conftest.er1 >conftest.err
25579 rm -f conftest.er1
25580 cat conftest.err >&5
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); } &&
25583 { ac_try='test -z "$ac_cxx_werror_flag"
25584 || test ! -s conftest.err'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25587 ac_status=$?
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; } &&
25590 { ac_try='test -s conftest.$ac_objext'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25593 ac_status=$?
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; }; then
25596 glibcxx_cv_func___builtin_fabsl_use=yes
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25601 glibcxx_cv_func___builtin_fabsl_use=no
25603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25604 ac_ext=c
25605 ac_cpp='$CPP $CPPFLAGS'
25606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25614 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25615 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25616 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25617 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25618 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25619 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25620 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25621 echo $ECHO_N "(cached) $ECHO_C" >&6
25622 else
25624 if test x$gcc_no_link = xyes; then
25625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25627 { (exit 1); exit 1; }; }
25629 cat >conftest.$ac_ext <<_ACEOF
25630 /* confdefs.h. */
25631 _ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635 #include <math.h>
25637 main ()
25639 __builtin_fabsl(0);
25641 return 0;
25643 _ACEOF
25644 rm -f conftest.$ac_objext conftest$ac_exeext
25645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25646 (eval $ac_link) 2>conftest.er1
25647 ac_status=$?
25648 grep -v '^ *+' conftest.er1 >conftest.err
25649 rm -f conftest.er1
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } &&
25653 { ac_try='test -z "$ac_c_werror_flag"
25654 || test ! -s conftest.err'
25655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25656 (eval $ac_try) 2>&5
25657 ac_status=$?
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); }; } &&
25660 { ac_try='test -s conftest$ac_exeext'
25661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25662 (eval $ac_try) 2>&5
25663 ac_status=$?
25664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25665 (exit $ac_status); }; }; then
25666 glibcxx_cv_func___builtin_fabsl_link=yes
25667 else
25668 echo "$as_me: failed program was:" >&5
25669 sed 's/^/| /' conftest.$ac_ext >&5
25671 glibcxx_cv_func___builtin_fabsl_link=no
25673 rm -f conftest.err conftest.$ac_objext \
25674 conftest$ac_exeext conftest.$ac_ext
25679 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25680 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25681 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25682 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25684 cat >>confdefs.h <<_ACEOF
25685 #define ${ac_tr_func} 1
25686 _ACEOF
25692 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25693 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25694 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25695 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25701 ac_ext=cc
25702 ac_cpp='$CXXCPP $CPPFLAGS'
25703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25707 cat >conftest.$ac_ext <<_ACEOF
25708 /* confdefs.h. */
25709 _ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25713 #include <math.h>
25715 main ()
25717 __builtin_labs(0);
25719 return 0;
25721 _ACEOF
25722 rm -f conftest.$ac_objext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25724 (eval $ac_compile) 2>conftest.er1
25725 ac_status=$?
25726 grep -v '^ *+' conftest.er1 >conftest.err
25727 rm -f conftest.er1
25728 cat conftest.err >&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } &&
25731 { ac_try='test -z "$ac_cxx_werror_flag"
25732 || test ! -s conftest.err'
25733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734 (eval $ac_try) 2>&5
25735 ac_status=$?
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); }; } &&
25738 { ac_try='test -s conftest.$ac_objext'
25739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25740 (eval $ac_try) 2>&5
25741 ac_status=$?
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); }; }; then
25744 glibcxx_cv_func___builtin_labs_use=yes
25745 else
25746 echo "$as_me: failed program was:" >&5
25747 sed 's/^/| /' conftest.$ac_ext >&5
25749 glibcxx_cv_func___builtin_labs_use=no
25751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25752 ac_ext=c
25753 ac_cpp='$CPP $CPPFLAGS'
25754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25763 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25764 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25765 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25766 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25767 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25768 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 else
25772 if test x$gcc_no_link = xyes; then
25773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25775 { (exit 1); exit 1; }; }
25777 cat >conftest.$ac_ext <<_ACEOF
25778 /* confdefs.h. */
25779 _ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 #include <math.h>
25785 main ()
25787 __builtin_labs(0);
25789 return 0;
25791 _ACEOF
25792 rm -f conftest.$ac_objext conftest$ac_exeext
25793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25794 (eval $ac_link) 2>conftest.er1
25795 ac_status=$?
25796 grep -v '^ *+' conftest.er1 >conftest.err
25797 rm -f conftest.er1
25798 cat conftest.err >&5
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); } &&
25801 { ac_try='test -z "$ac_c_werror_flag"
25802 || test ! -s conftest.err'
25803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25804 (eval $ac_try) 2>&5
25805 ac_status=$?
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); }; } &&
25808 { ac_try='test -s conftest$ac_exeext'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 glibcxx_cv_func___builtin_labs_link=yes
25815 else
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.$ac_ext >&5
25819 glibcxx_cv_func___builtin_labs_link=no
25821 rm -f conftest.err conftest.$ac_objext \
25822 conftest$ac_exeext conftest.$ac_ext
25827 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25828 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25829 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25830 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25832 cat >>confdefs.h <<_ACEOF
25833 #define ${ac_tr_func} 1
25834 _ACEOF
25841 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25842 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25843 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25844 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25846 else
25850 ac_ext=cc
25851 ac_cpp='$CXXCPP $CPPFLAGS'
25852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25856 cat >conftest.$ac_ext <<_ACEOF
25857 /* confdefs.h. */
25858 _ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25862 #include <math.h>
25864 main ()
25866 __builtin_sqrtf(0);
25868 return 0;
25870 _ACEOF
25871 rm -f conftest.$ac_objext
25872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25873 (eval $ac_compile) 2>conftest.er1
25874 ac_status=$?
25875 grep -v '^ *+' conftest.er1 >conftest.err
25876 rm -f conftest.er1
25877 cat conftest.err >&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); } &&
25880 { ac_try='test -z "$ac_cxx_werror_flag"
25881 || test ! -s conftest.err'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25884 ac_status=$?
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; } &&
25887 { ac_try='test -s conftest.$ac_objext'
25888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25889 (eval $ac_try) 2>&5
25890 ac_status=$?
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; }; then
25893 glibcxx_cv_func___builtin_sqrtf_use=yes
25894 else
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25898 glibcxx_cv_func___builtin_sqrtf_use=no
25900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25901 ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25912 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25913 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25914 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25915 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25916 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25917 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25918 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 else
25921 if test x$gcc_no_link = xyes; then
25922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25924 { (exit 1); exit 1; }; }
25926 cat >conftest.$ac_ext <<_ACEOF
25927 /* confdefs.h. */
25928 _ACEOF
25929 cat confdefs.h >>conftest.$ac_ext
25930 cat >>conftest.$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25932 #include <math.h>
25934 main ()
25936 __builtin_sqrtf(0);
25938 return 0;
25940 _ACEOF
25941 rm -f conftest.$ac_objext conftest$ac_exeext
25942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25943 (eval $ac_link) 2>conftest.er1
25944 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } &&
25950 { ac_try='test -z "$ac_c_werror_flag"
25951 || test ! -s conftest.err'
25952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25953 (eval $ac_try) 2>&5
25954 ac_status=$?
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); }; } &&
25957 { ac_try='test -s conftest$ac_exeext'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25960 ac_status=$?
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; }; then
25963 glibcxx_cv_func___builtin_sqrtf_link=yes
25964 else
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25968 glibcxx_cv_func___builtin_sqrtf_link=no
25970 rm -f conftest.err conftest.$ac_objext \
25971 conftest$ac_exeext conftest.$ac_ext
25976 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25977 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25978 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25979 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25981 cat >>confdefs.h <<_ACEOF
25982 #define ${ac_tr_func} 1
25983 _ACEOF
25989 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
25990 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
25991 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
25992 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 else
25998 ac_ext=cc
25999 ac_cpp='$CXXCPP $CPPFLAGS'
26000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26004 cat >conftest.$ac_ext <<_ACEOF
26005 /* confdefs.h. */
26006 _ACEOF
26007 cat confdefs.h >>conftest.$ac_ext
26008 cat >>conftest.$ac_ext <<_ACEOF
26009 /* end confdefs.h. */
26010 #include <math.h>
26012 main ()
26014 __builtin_sqrt(0);
26016 return 0;
26018 _ACEOF
26019 rm -f conftest.$ac_objext
26020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26021 (eval $ac_compile) 2>conftest.er1
26022 ac_status=$?
26023 grep -v '^ *+' conftest.er1 >conftest.err
26024 rm -f conftest.er1
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } &&
26028 { ac_try='test -z "$ac_cxx_werror_flag"
26029 || test ! -s conftest.err'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26032 ac_status=$?
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; } &&
26035 { ac_try='test -s conftest.$ac_objext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26041 glibcxx_cv_func___builtin_sqrt_use=yes
26042 else
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.$ac_ext >&5
26046 glibcxx_cv_func___builtin_sqrt_use=no
26048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26049 ac_ext=c
26050 ac_cpp='$CPP $CPPFLAGS'
26051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26061 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26062 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26063 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26064 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26065 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 else
26069 if test x$gcc_no_link = xyes; then
26070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26072 { (exit 1); exit 1; }; }
26074 cat >conftest.$ac_ext <<_ACEOF
26075 /* confdefs.h. */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080 #include <math.h>
26082 main ()
26084 __builtin_sqrt(0);
26086 return 0;
26088 _ACEOF
26089 rm -f conftest.$ac_objext conftest$ac_exeext
26090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26091 (eval $ac_link) 2>conftest.er1
26092 ac_status=$?
26093 grep -v '^ *+' conftest.er1 >conftest.err
26094 rm -f conftest.er1
26095 cat conftest.err >&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try='test -z "$ac_c_werror_flag"
26099 || test ! -s conftest.err'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26102 ac_status=$?
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; } &&
26105 { ac_try='test -s conftest$ac_exeext'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26111 glibcxx_cv_func___builtin_sqrt_link=yes
26112 else
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.$ac_ext >&5
26116 glibcxx_cv_func___builtin_sqrt_link=no
26118 rm -f conftest.err conftest.$ac_objext \
26119 conftest$ac_exeext conftest.$ac_ext
26124 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26126 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26127 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26129 cat >>confdefs.h <<_ACEOF
26130 #define ${ac_tr_func} 1
26131 _ACEOF
26137 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26138 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26139 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26140 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 else
26146 ac_ext=cc
26147 ac_cpp='$CXXCPP $CPPFLAGS'
26148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26152 cat >conftest.$ac_ext <<_ACEOF
26153 /* confdefs.h. */
26154 _ACEOF
26155 cat confdefs.h >>conftest.$ac_ext
26156 cat >>conftest.$ac_ext <<_ACEOF
26157 /* end confdefs.h. */
26158 #include <math.h>
26160 main ()
26162 __builtin_sqrtl(0);
26164 return 0;
26166 _ACEOF
26167 rm -f conftest.$ac_objext
26168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26169 (eval $ac_compile) 2>conftest.er1
26170 ac_status=$?
26171 grep -v '^ *+' conftest.er1 >conftest.err
26172 rm -f conftest.er1
26173 cat conftest.err >&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } &&
26176 { ac_try='test -z "$ac_cxx_werror_flag"
26177 || test ! -s conftest.err'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; } &&
26183 { ac_try='test -s conftest.$ac_objext'
26184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185 (eval $ac_try) 2>&5
26186 ac_status=$?
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); }; }; then
26189 glibcxx_cv_func___builtin_sqrtl_use=yes
26190 else
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.$ac_ext >&5
26194 glibcxx_cv_func___builtin_sqrtl_use=no
26196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26197 ac_ext=c
26198 ac_cpp='$CPP $CPPFLAGS'
26199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26207 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26208 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26209 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26210 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26211 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26212 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26213 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26217 if test x$gcc_no_link = xyes; then
26218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26220 { (exit 1); exit 1; }; }
26222 cat >conftest.$ac_ext <<_ACEOF
26223 /* confdefs.h. */
26224 _ACEOF
26225 cat confdefs.h >>conftest.$ac_ext
26226 cat >>conftest.$ac_ext <<_ACEOF
26227 /* end confdefs.h. */
26228 #include <math.h>
26230 main ()
26232 __builtin_sqrtl(0);
26234 return 0;
26236 _ACEOF
26237 rm -f conftest.$ac_objext conftest$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26240 ac_status=$?
26241 grep -v '^ *+' conftest.er1 >conftest.err
26242 rm -f conftest.er1
26243 cat conftest.err >&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try='test -z "$ac_c_werror_flag"
26247 || test ! -s conftest.err'
26248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26249 (eval $ac_try) 2>&5
26250 ac_status=$?
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); }; } &&
26253 { ac_try='test -s conftest$ac_exeext'
26254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26255 (eval $ac_try) 2>&5
26256 ac_status=$?
26257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258 (exit $ac_status); }; }; then
26259 glibcxx_cv_func___builtin_sqrtl_link=yes
26260 else
26261 echo "$as_me: failed program was:" >&5
26262 sed 's/^/| /' conftest.$ac_ext >&5
26264 glibcxx_cv_func___builtin_sqrtl_link=no
26266 rm -f conftest.err conftest.$ac_objext \
26267 conftest$ac_exeext conftest.$ac_ext
26272 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26273 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26274 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26275 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26277 cat >>confdefs.h <<_ACEOF
26278 #define ${ac_tr_func} 1
26279 _ACEOF
26286 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26287 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26288 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26289 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26290 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 else
26295 ac_ext=cc
26296 ac_cpp='$CXXCPP $CPPFLAGS'
26297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26301 cat >conftest.$ac_ext <<_ACEOF
26302 /* confdefs.h. */
26303 _ACEOF
26304 cat confdefs.h >>conftest.$ac_ext
26305 cat >>conftest.$ac_ext <<_ACEOF
26306 /* end confdefs.h. */
26307 #include <math.h>
26309 main ()
26311 __builtin_sinf(0);
26313 return 0;
26315 _ACEOF
26316 rm -f conftest.$ac_objext
26317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26318 (eval $ac_compile) 2>conftest.er1
26319 ac_status=$?
26320 grep -v '^ *+' conftest.er1 >conftest.err
26321 rm -f conftest.er1
26322 cat conftest.err >&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } &&
26325 { ac_try='test -z "$ac_cxx_werror_flag"
26326 || test ! -s conftest.err'
26327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26328 (eval $ac_try) 2>&5
26329 ac_status=$?
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); }; } &&
26332 { ac_try='test -s conftest.$ac_objext'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 glibcxx_cv_func___builtin_sinf_use=yes
26339 else
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26343 glibcxx_cv_func___builtin_sinf_use=no
26345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26346 ac_ext=c
26347 ac_cpp='$CPP $CPPFLAGS'
26348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26357 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26358 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26359 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26360 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26361 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26362 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26364 else
26366 if test x$gcc_no_link = xyes; then
26367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26369 { (exit 1); exit 1; }; }
26371 cat >conftest.$ac_ext <<_ACEOF
26372 /* confdefs.h. */
26373 _ACEOF
26374 cat confdefs.h >>conftest.$ac_ext
26375 cat >>conftest.$ac_ext <<_ACEOF
26376 /* end confdefs.h. */
26377 #include <math.h>
26379 main ()
26381 __builtin_sinf(0);
26383 return 0;
26385 _ACEOF
26386 rm -f conftest.$ac_objext conftest$ac_exeext
26387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26388 (eval $ac_link) 2>conftest.er1
26389 ac_status=$?
26390 grep -v '^ *+' conftest.er1 >conftest.err
26391 rm -f conftest.er1
26392 cat conftest.err >&5
26393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394 (exit $ac_status); } &&
26395 { ac_try='test -z "$ac_c_werror_flag"
26396 || test ! -s conftest.err'
26397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398 (eval $ac_try) 2>&5
26399 ac_status=$?
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; } &&
26402 { ac_try='test -s conftest$ac_exeext'
26403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26404 (eval $ac_try) 2>&5
26405 ac_status=$?
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); }; }; then
26408 glibcxx_cv_func___builtin_sinf_link=yes
26409 else
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26413 glibcxx_cv_func___builtin_sinf_link=no
26415 rm -f conftest.err conftest.$ac_objext \
26416 conftest$ac_exeext conftest.$ac_ext
26421 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26422 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26423 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26424 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26426 cat >>confdefs.h <<_ACEOF
26427 #define ${ac_tr_func} 1
26428 _ACEOF
26434 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26435 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26436 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26437 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26443 ac_ext=cc
26444 ac_cpp='$CXXCPP $CPPFLAGS'
26445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26449 cat >conftest.$ac_ext <<_ACEOF
26450 /* confdefs.h. */
26451 _ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 #include <math.h>
26457 main ()
26459 __builtin_sin(0);
26461 return 0;
26463 _ACEOF
26464 rm -f conftest.$ac_objext
26465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26466 (eval $ac_compile) 2>conftest.er1
26467 ac_status=$?
26468 grep -v '^ *+' conftest.er1 >conftest.err
26469 rm -f conftest.er1
26470 cat conftest.err >&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } &&
26473 { ac_try='test -z "$ac_cxx_werror_flag"
26474 || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26477 ac_status=$?
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try='test -s conftest.$ac_objext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26483 ac_status=$?
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26486 glibcxx_cv_func___builtin_sin_use=yes
26487 else
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.$ac_ext >&5
26491 glibcxx_cv_func___builtin_sin_use=no
26493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26494 ac_ext=c
26495 ac_cpp='$CPP $CPPFLAGS'
26496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26504 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26505 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26506 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26507 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26508 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26509 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26510 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 else
26514 if test x$gcc_no_link = xyes; then
26515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26517 { (exit 1); exit 1; }; }
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h. */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525 #include <math.h>
26527 main ()
26529 __builtin_sin(0);
26531 return 0;
26533 _ACEOF
26534 rm -f conftest.$ac_objext conftest$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536 (eval $ac_link) 2>conftest.er1
26537 ac_status=$?
26538 grep -v '^ *+' conftest.er1 >conftest.err
26539 rm -f conftest.er1
26540 cat conftest.err >&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try='test -z "$ac_c_werror_flag"
26544 || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26547 ac_status=$?
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try='test -s conftest$ac_exeext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 glibcxx_cv_func___builtin_sin_link=yes
26557 else
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26561 glibcxx_cv_func___builtin_sin_link=no
26563 rm -f conftest.err conftest.$ac_objext \
26564 conftest$ac_exeext conftest.$ac_ext
26569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26571 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26572 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26574 cat >>confdefs.h <<_ACEOF
26575 #define ${ac_tr_func} 1
26576 _ACEOF
26582 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26583 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26584 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26585 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26587 else
26591 ac_ext=cc
26592 ac_cpp='$CXXCPP $CPPFLAGS'
26593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26597 cat >conftest.$ac_ext <<_ACEOF
26598 /* confdefs.h. */
26599 _ACEOF
26600 cat confdefs.h >>conftest.$ac_ext
26601 cat >>conftest.$ac_ext <<_ACEOF
26602 /* end confdefs.h. */
26603 #include <math.h>
26605 main ()
26607 __builtin_sinl(0);
26609 return 0;
26611 _ACEOF
26612 rm -f conftest.$ac_objext
26613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26614 (eval $ac_compile) 2>conftest.er1
26615 ac_status=$?
26616 grep -v '^ *+' conftest.er1 >conftest.err
26617 rm -f conftest.er1
26618 cat conftest.err >&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); } &&
26621 { ac_try='test -z "$ac_cxx_werror_flag"
26622 || test ! -s conftest.err'
26623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624 (eval $ac_try) 2>&5
26625 ac_status=$?
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); }; } &&
26628 { ac_try='test -s conftest.$ac_objext'
26629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630 (eval $ac_try) 2>&5
26631 ac_status=$?
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); }; }; then
26634 glibcxx_cv_func___builtin_sinl_use=yes
26635 else
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26639 glibcxx_cv_func___builtin_sinl_use=no
26641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26642 ac_ext=c
26643 ac_cpp='$CPP $CPPFLAGS'
26644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26653 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26654 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26655 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26656 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26657 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26658 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26660 else
26662 if test x$gcc_no_link = xyes; then
26663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26665 { (exit 1); exit 1; }; }
26667 cat >conftest.$ac_ext <<_ACEOF
26668 /* confdefs.h. */
26669 _ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673 #include <math.h>
26675 main ()
26677 __builtin_sinl(0);
26679 return 0;
26681 _ACEOF
26682 rm -f conftest.$ac_objext conftest$ac_exeext
26683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26684 (eval $ac_link) 2>conftest.er1
26685 ac_status=$?
26686 grep -v '^ *+' conftest.er1 >conftest.err
26687 rm -f conftest.er1
26688 cat conftest.err >&5
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); } &&
26691 { ac_try='test -z "$ac_c_werror_flag"
26692 || test ! -s conftest.err'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26695 ac_status=$?
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; } &&
26698 { ac_try='test -s conftest$ac_exeext'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26701 ac_status=$?
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; }; then
26704 glibcxx_cv_func___builtin_sinl_link=yes
26705 else
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.$ac_ext >&5
26709 glibcxx_cv_func___builtin_sinl_link=no
26711 rm -f conftest.err conftest.$ac_objext \
26712 conftest$ac_exeext conftest.$ac_ext
26717 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26718 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26719 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26720 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26722 cat >>confdefs.h <<_ACEOF
26723 #define ${ac_tr_func} 1
26724 _ACEOF
26731 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26732 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26733 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26734 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26735 echo $ECHO_N "(cached) $ECHO_C" >&6
26736 else
26740 ac_ext=cc
26741 ac_cpp='$CXXCPP $CPPFLAGS'
26742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26746 cat >conftest.$ac_ext <<_ACEOF
26747 /* confdefs.h. */
26748 _ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752 #include <math.h>
26754 main ()
26756 __builtin_cosf(0);
26758 return 0;
26760 _ACEOF
26761 rm -f conftest.$ac_objext
26762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26763 (eval $ac_compile) 2>conftest.er1
26764 ac_status=$?
26765 grep -v '^ *+' conftest.er1 >conftest.err
26766 rm -f conftest.er1
26767 cat conftest.err >&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try='test -z "$ac_cxx_werror_flag"
26771 || test ! -s conftest.err'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; } &&
26777 { ac_try='test -s conftest.$ac_objext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26780 ac_status=$?
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 glibcxx_cv_func___builtin_cosf_use=yes
26784 else
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.$ac_ext >&5
26788 glibcxx_cv_func___builtin_cosf_use=no
26790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26791 ac_ext=c
26792 ac_cpp='$CPP $CPPFLAGS'
26793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26802 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26803 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26804 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26805 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26806 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26807 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 else
26811 if test x$gcc_no_link = xyes; then
26812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26814 { (exit 1); exit 1; }; }
26816 cat >conftest.$ac_ext <<_ACEOF
26817 /* confdefs.h. */
26818 _ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 #include <math.h>
26824 main ()
26826 __builtin_cosf(0);
26828 return 0;
26830 _ACEOF
26831 rm -f conftest.$ac_objext conftest$ac_exeext
26832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26833 (eval $ac_link) 2>conftest.er1
26834 ac_status=$?
26835 grep -v '^ *+' conftest.er1 >conftest.err
26836 rm -f conftest.er1
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } &&
26840 { ac_try='test -z "$ac_c_werror_flag"
26841 || test ! -s conftest.err'
26842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26843 (eval $ac_try) 2>&5
26844 ac_status=$?
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); }; } &&
26847 { ac_try='test -s conftest$ac_exeext'
26848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26849 (eval $ac_try) 2>&5
26850 ac_status=$?
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); }; }; then
26853 glibcxx_cv_func___builtin_cosf_link=yes
26854 else
26855 echo "$as_me: failed program was:" >&5
26856 sed 's/^/| /' conftest.$ac_ext >&5
26858 glibcxx_cv_func___builtin_cosf_link=no
26860 rm -f conftest.err conftest.$ac_objext \
26861 conftest$ac_exeext conftest.$ac_ext
26866 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26867 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26868 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26869 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26871 cat >>confdefs.h <<_ACEOF
26872 #define ${ac_tr_func} 1
26873 _ACEOF
26879 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26880 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26881 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26882 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26884 else
26888 ac_ext=cc
26889 ac_cpp='$CXXCPP $CPPFLAGS'
26890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26894 cat >conftest.$ac_ext <<_ACEOF
26895 /* confdefs.h. */
26896 _ACEOF
26897 cat confdefs.h >>conftest.$ac_ext
26898 cat >>conftest.$ac_ext <<_ACEOF
26899 /* end confdefs.h. */
26900 #include <math.h>
26902 main ()
26904 __builtin_cos(0);
26906 return 0;
26908 _ACEOF
26909 rm -f conftest.$ac_objext
26910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26911 (eval $ac_compile) 2>conftest.er1
26912 ac_status=$?
26913 grep -v '^ *+' conftest.er1 >conftest.err
26914 rm -f conftest.er1
26915 cat conftest.err >&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } &&
26918 { ac_try='test -z "$ac_cxx_werror_flag"
26919 || test ! -s conftest.err'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; } &&
26925 { ac_try='test -s conftest.$ac_objext'
26926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26927 (eval $ac_try) 2>&5
26928 ac_status=$?
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); }; }; then
26931 glibcxx_cv_func___builtin_cos_use=yes
26932 else
26933 echo "$as_me: failed program was:" >&5
26934 sed 's/^/| /' conftest.$ac_ext >&5
26936 glibcxx_cv_func___builtin_cos_use=no
26938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26939 ac_ext=c
26940 ac_cpp='$CPP $CPPFLAGS'
26941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26949 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26950 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26951 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26952 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26953 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26954 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26955 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26956 echo $ECHO_N "(cached) $ECHO_C" >&6
26957 else
26959 if test x$gcc_no_link = xyes; then
26960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26962 { (exit 1); exit 1; }; }
26964 cat >conftest.$ac_ext <<_ACEOF
26965 /* confdefs.h. */
26966 _ACEOF
26967 cat confdefs.h >>conftest.$ac_ext
26968 cat >>conftest.$ac_ext <<_ACEOF
26969 /* end confdefs.h. */
26970 #include <math.h>
26972 main ()
26974 __builtin_cos(0);
26976 return 0;
26978 _ACEOF
26979 rm -f conftest.$ac_objext conftest$ac_exeext
26980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26981 (eval $ac_link) 2>conftest.er1
26982 ac_status=$?
26983 grep -v '^ *+' conftest.er1 >conftest.err
26984 rm -f conftest.er1
26985 cat conftest.err >&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); } &&
26988 { ac_try='test -z "$ac_c_werror_flag"
26989 || test ! -s conftest.err'
26990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26991 (eval $ac_try) 2>&5
26992 ac_status=$?
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); }; } &&
26995 { ac_try='test -s conftest$ac_exeext'
26996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997 (eval $ac_try) 2>&5
26998 ac_status=$?
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; }; then
27001 glibcxx_cv_func___builtin_cos_link=yes
27002 else
27003 echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27006 glibcxx_cv_func___builtin_cos_link=no
27008 rm -f conftest.err conftest.$ac_objext \
27009 conftest$ac_exeext conftest.$ac_ext
27014 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27015 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27016 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27017 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27019 cat >>confdefs.h <<_ACEOF
27020 #define ${ac_tr_func} 1
27021 _ACEOF
27027 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27028 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27029 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27030 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 else
27036 ac_ext=cc
27037 ac_cpp='$CXXCPP $CPPFLAGS'
27038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27042 cat >conftest.$ac_ext <<_ACEOF
27043 /* confdefs.h. */
27044 _ACEOF
27045 cat confdefs.h >>conftest.$ac_ext
27046 cat >>conftest.$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27048 #include <math.h>
27050 main ()
27052 __builtin_cosl(0);
27054 return 0;
27056 _ACEOF
27057 rm -f conftest.$ac_objext
27058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27059 (eval $ac_compile) 2>conftest.er1
27060 ac_status=$?
27061 grep -v '^ *+' conftest.er1 >conftest.err
27062 rm -f conftest.er1
27063 cat conftest.err >&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } &&
27066 { ac_try='test -z "$ac_cxx_werror_flag"
27067 || test ! -s conftest.err'
27068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27069 (eval $ac_try) 2>&5
27070 ac_status=$?
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); }; } &&
27073 { ac_try='test -s conftest.$ac_objext'
27074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27075 (eval $ac_try) 2>&5
27076 ac_status=$?
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); }; }; then
27079 glibcxx_cv_func___builtin_cosl_use=yes
27080 else
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.$ac_ext >&5
27084 glibcxx_cv_func___builtin_cosl_use=no
27086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27087 ac_ext=c
27088 ac_cpp='$CPP $CPPFLAGS'
27089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27098 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27099 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27100 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27101 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27102 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27103 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27104 echo $ECHO_N "(cached) $ECHO_C" >&6
27105 else
27107 if test x$gcc_no_link = xyes; then
27108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27110 { (exit 1); exit 1; }; }
27112 cat >conftest.$ac_ext <<_ACEOF
27113 /* confdefs.h. */
27114 _ACEOF
27115 cat confdefs.h >>conftest.$ac_ext
27116 cat >>conftest.$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27118 #include <math.h>
27120 main ()
27122 __builtin_cosl(0);
27124 return 0;
27126 _ACEOF
27127 rm -f conftest.$ac_objext conftest$ac_exeext
27128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27129 (eval $ac_link) 2>conftest.er1
27130 ac_status=$?
27131 grep -v '^ *+' conftest.er1 >conftest.err
27132 rm -f conftest.er1
27133 cat conftest.err >&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } &&
27136 { ac_try='test -z "$ac_c_werror_flag"
27137 || test ! -s conftest.err'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27140 ac_status=$?
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; } &&
27143 { ac_try='test -s conftest$ac_exeext'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27146 ac_status=$?
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; }; then
27149 glibcxx_cv_func___builtin_cosl_link=yes
27150 else
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27154 glibcxx_cv_func___builtin_cosl_link=no
27156 rm -f conftest.err conftest.$ac_objext \
27157 conftest$ac_exeext conftest.$ac_ext
27162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27163 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27164 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27165 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27167 cat >>confdefs.h <<_ACEOF
27168 #define ${ac_tr_func} 1
27169 _ACEOF
27177 echo "$as_me:$LINENO: checking for main in -lm" >&5
27178 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27179 if test "${ac_cv_lib_m_main+set}" = set; then
27180 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 else
27182 ac_check_lib_save_LIBS=$LIBS
27183 LIBS="-lm $LIBS"
27184 if test x$gcc_no_link = xyes; then
27185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27187 { (exit 1); exit 1; }; }
27189 cat >conftest.$ac_ext <<_ACEOF
27190 /* confdefs.h. */
27191 _ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27198 main ()
27200 main ();
27202 return 0;
27204 _ACEOF
27205 rm -f conftest.$ac_objext conftest$ac_exeext
27206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>conftest.er1
27208 ac_status=$?
27209 grep -v '^ *+' conftest.er1 >conftest.err
27210 rm -f conftest.er1
27211 cat conftest.err >&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); } &&
27214 { ac_try='test -z "$ac_c_werror_flag"
27215 || test ! -s conftest.err'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; } &&
27221 { ac_try='test -s conftest$ac_exeext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 ac_cv_lib_m_main=yes
27228 else
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.$ac_ext >&5
27232 ac_cv_lib_m_main=no
27234 rm -f conftest.err conftest.$ac_objext \
27235 conftest$ac_exeext conftest.$ac_ext
27236 LIBS=$ac_check_lib_save_LIBS
27238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27239 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27240 if test $ac_cv_lib_m_main = yes; then
27241 cat >>confdefs.h <<_ACEOF
27242 #define HAVE_LIBM 1
27243 _ACEOF
27245 LIBS="-lm $LIBS"
27250 for ac_func in copysignf
27252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27253 echo "$as_me:$LINENO: checking for $ac_func" >&5
27254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27255 if eval "test \"\${$as_ac_var+set}\" = set"; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27257 else
27258 if test x$gcc_no_link = xyes; then
27259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27261 { (exit 1); exit 1; }; }
27263 cat >conftest.$ac_ext <<_ACEOF
27264 /* confdefs.h. */
27265 _ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27271 #define $ac_func innocuous_$ac_func
27273 /* System header to define __stub macros and hopefully few prototypes,
27274 which can conflict with char $ac_func (); below.
27275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27276 <limits.h> exists even on freestanding compilers. */
27278 #ifdef __STDC__
27279 # include <limits.h>
27280 #else
27281 # include <assert.h>
27282 #endif
27284 #undef $ac_func
27286 /* Override any gcc2 internal prototype to avoid an error. */
27287 #ifdef __cplusplus
27288 extern "C"
27290 #endif
27291 /* We use char because int might match the return type of a gcc2
27292 builtin and then its argument prototype would still apply. */
27293 char $ac_func ();
27294 /* The GNU C library defines this for functions which it implements
27295 to always fail with ENOSYS. Some functions are actually named
27296 something starting with __ and the normal name is an alias. */
27297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27298 choke me
27299 #else
27300 char (*f) () = $ac_func;
27301 #endif
27302 #ifdef __cplusplus
27304 #endif
27307 main ()
27309 return f != $ac_func;
27311 return 0;
27313 _ACEOF
27314 rm -f conftest.$ac_objext conftest$ac_exeext
27315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27316 (eval $ac_link) 2>conftest.er1
27317 ac_status=$?
27318 grep -v '^ *+' conftest.er1 >conftest.err
27319 rm -f conftest.er1
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } &&
27323 { ac_try='test -z "$ac_c_werror_flag"
27324 || test ! -s conftest.err'
27325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27326 (eval $ac_try) 2>&5
27327 ac_status=$?
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); }; } &&
27330 { ac_try='test -s conftest$ac_exeext'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27333 ac_status=$?
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; }; then
27336 eval "$as_ac_var=yes"
27337 else
27338 echo "$as_me: failed program was:" >&5
27339 sed 's/^/| /' conftest.$ac_ext >&5
27341 eval "$as_ac_var=no"
27343 rm -f conftest.err conftest.$ac_objext \
27344 conftest$ac_exeext conftest.$ac_ext
27346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27348 if test `eval echo '${'$as_ac_var'}'` = yes; then
27349 cat >>confdefs.h <<_ACEOF
27350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27351 _ACEOF
27353 else
27354 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27356 done
27360 for ac_func in __signbit
27362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27363 echo "$as_me:$LINENO: checking for $ac_func" >&5
27364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27365 if eval "test \"\${$as_ac_var+set}\" = set"; then
27366 echo $ECHO_N "(cached) $ECHO_C" >&6
27367 else
27368 if test x$gcc_no_link = xyes; then
27369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27371 { (exit 1); exit 1; }; }
27373 cat >conftest.$ac_ext <<_ACEOF
27374 /* confdefs.h. */
27375 _ACEOF
27376 cat confdefs.h >>conftest.$ac_ext
27377 cat >>conftest.$ac_ext <<_ACEOF
27378 /* end confdefs.h. */
27379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27381 #define $ac_func innocuous_$ac_func
27383 /* System header to define __stub macros and hopefully few prototypes,
27384 which can conflict with char $ac_func (); below.
27385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27386 <limits.h> exists even on freestanding compilers. */
27388 #ifdef __STDC__
27389 # include <limits.h>
27390 #else
27391 # include <assert.h>
27392 #endif
27394 #undef $ac_func
27396 /* Override any gcc2 internal prototype to avoid an error. */
27397 #ifdef __cplusplus
27398 extern "C"
27400 #endif
27401 /* We use char because int might match the return type of a gcc2
27402 builtin and then its argument prototype would still apply. */
27403 char $ac_func ();
27404 /* The GNU C library defines this for functions which it implements
27405 to always fail with ENOSYS. Some functions are actually named
27406 something starting with __ and the normal name is an alias. */
27407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27408 choke me
27409 #else
27410 char (*f) () = $ac_func;
27411 #endif
27412 #ifdef __cplusplus
27414 #endif
27417 main ()
27419 return f != $ac_func;
27421 return 0;
27423 _ACEOF
27424 rm -f conftest.$ac_objext conftest$ac_exeext
27425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27426 (eval $ac_link) 2>conftest.er1
27427 ac_status=$?
27428 grep -v '^ *+' conftest.er1 >conftest.err
27429 rm -f conftest.er1
27430 cat conftest.err >&5
27431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432 (exit $ac_status); } &&
27433 { ac_try='test -z "$ac_c_werror_flag"
27434 || test ! -s conftest.err'
27435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27436 (eval $ac_try) 2>&5
27437 ac_status=$?
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); }; } &&
27440 { ac_try='test -s conftest$ac_exeext'
27441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442 (eval $ac_try) 2>&5
27443 ac_status=$?
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); }; }; then
27446 eval "$as_ac_var=yes"
27447 else
27448 echo "$as_me: failed program was:" >&5
27449 sed 's/^/| /' conftest.$ac_ext >&5
27451 eval "$as_ac_var=no"
27453 rm -f conftest.err conftest.$ac_objext \
27454 conftest$ac_exeext conftest.$ac_ext
27456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27458 if test `eval echo '${'$as_ac_var'}'` = yes; then
27459 cat >>confdefs.h <<_ACEOF
27460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27461 _ACEOF
27463 else
27464 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27466 done
27470 for ac_func in __signbitf
27472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27473 echo "$as_me:$LINENO: checking for $ac_func" >&5
27474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27475 if eval "test \"\${$as_ac_var+set}\" = set"; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 else
27478 if test x$gcc_no_link = xyes; then
27479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27481 { (exit 1); exit 1; }; }
27483 cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27491 #define $ac_func innocuous_$ac_func
27493 /* System header to define __stub macros and hopefully few prototypes,
27494 which can conflict with char $ac_func (); below.
27495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27496 <limits.h> exists even on freestanding compilers. */
27498 #ifdef __STDC__
27499 # include <limits.h>
27500 #else
27501 # include <assert.h>
27502 #endif
27504 #undef $ac_func
27506 /* Override any gcc2 internal prototype to avoid an error. */
27507 #ifdef __cplusplus
27508 extern "C"
27510 #endif
27511 /* We use char because int might match the return type of a gcc2
27512 builtin and then its argument prototype would still apply. */
27513 char $ac_func ();
27514 /* The GNU C library defines this for functions which it implements
27515 to always fail with ENOSYS. Some functions are actually named
27516 something starting with __ and the normal name is an alias. */
27517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27518 choke me
27519 #else
27520 char (*f) () = $ac_func;
27521 #endif
27522 #ifdef __cplusplus
27524 #endif
27527 main ()
27529 return f != $ac_func;
27531 return 0;
27533 _ACEOF
27534 rm -f conftest.$ac_objext conftest$ac_exeext
27535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27536 (eval $ac_link) 2>conftest.er1
27537 ac_status=$?
27538 grep -v '^ *+' conftest.er1 >conftest.err
27539 rm -f conftest.er1
27540 cat conftest.err >&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } &&
27543 { ac_try='test -z "$ac_c_werror_flag"
27544 || test ! -s conftest.err'
27545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27546 (eval $ac_try) 2>&5
27547 ac_status=$?
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); }; } &&
27550 { ac_try='test -s conftest$ac_exeext'
27551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552 (eval $ac_try) 2>&5
27553 ac_status=$?
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; }; then
27556 eval "$as_ac_var=yes"
27557 else
27558 echo "$as_me: failed program was:" >&5
27559 sed 's/^/| /' conftest.$ac_ext >&5
27561 eval "$as_ac_var=no"
27563 rm -f conftest.err conftest.$ac_objext \
27564 conftest$ac_exeext conftest.$ac_ext
27566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27568 if test `eval echo '${'$as_ac_var'}'` = yes; then
27569 cat >>confdefs.h <<_ACEOF
27570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27571 _ACEOF
27573 else
27574 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27576 done
27579 if test x$ac_cv_func_copysignl = x"yes"; then
27581 for ac_func in __signbitl
27583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27584 echo "$as_me:$LINENO: checking for $ac_func" >&5
27585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27586 if eval "test \"\${$as_ac_var+set}\" = set"; then
27587 echo $ECHO_N "(cached) $ECHO_C" >&6
27588 else
27589 if test x$gcc_no_link = xyes; then
27590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27592 { (exit 1); exit 1; }; }
27594 cat >conftest.$ac_ext <<_ACEOF
27595 /* confdefs.h. */
27596 _ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27602 #define $ac_func innocuous_$ac_func
27604 /* System header to define __stub macros and hopefully few prototypes,
27605 which can conflict with char $ac_func (); below.
27606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27607 <limits.h> exists even on freestanding compilers. */
27609 #ifdef __STDC__
27610 # include <limits.h>
27611 #else
27612 # include <assert.h>
27613 #endif
27615 #undef $ac_func
27617 /* Override any gcc2 internal prototype to avoid an error. */
27618 #ifdef __cplusplus
27619 extern "C"
27621 #endif
27622 /* We use char because int might match the return type of a gcc2
27623 builtin and then its argument prototype would still apply. */
27624 char $ac_func ();
27625 /* The GNU C library defines this for functions which it implements
27626 to always fail with ENOSYS. Some functions are actually named
27627 something starting with __ and the normal name is an alias. */
27628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27629 choke me
27630 #else
27631 char (*f) () = $ac_func;
27632 #endif
27633 #ifdef __cplusplus
27635 #endif
27638 main ()
27640 return f != $ac_func;
27642 return 0;
27644 _ACEOF
27645 rm -f conftest.$ac_objext conftest$ac_exeext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27647 (eval $ac_link) 2>conftest.er1
27648 ac_status=$?
27649 grep -v '^ *+' conftest.er1 >conftest.err
27650 rm -f conftest.er1
27651 cat conftest.err >&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); } &&
27654 { ac_try='test -z "$ac_c_werror_flag"
27655 || test ! -s conftest.err'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27658 ac_status=$?
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; } &&
27661 { ac_try='test -s conftest$ac_exeext'
27662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27663 (eval $ac_try) 2>&5
27664 ac_status=$?
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); }; }; then
27667 eval "$as_ac_var=yes"
27668 else
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27672 eval "$as_ac_var=no"
27674 rm -f conftest.err conftest.$ac_objext \
27675 conftest$ac_exeext conftest.$ac_ext
27677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27679 if test `eval echo '${'$as_ac_var'}'` = yes; then
27680 cat >>confdefs.h <<_ACEOF
27681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27682 _ACEOF
27684 else
27685 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27687 done
27691 # Used in libmath/Makefile.am.
27692 if test -n "$LIBMATHOBJS"; then
27693 need_libmath=yes
27698 # Test wchar.h for mbstate_t, which is needed for char_traits and
27699 # others even if wchar_t support is not on.
27700 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27701 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27702 cat >conftest.$ac_ext <<_ACEOF
27703 /* confdefs.h. */
27704 _ACEOF
27705 cat confdefs.h >>conftest.$ac_ext
27706 cat >>conftest.$ac_ext <<_ACEOF
27707 /* end confdefs.h. */
27708 #include <wchar.h>
27710 main ()
27712 mbstate_t teststate;
27714 return 0;
27716 _ACEOF
27717 rm -f conftest.$ac_objext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27719 (eval $ac_compile) 2>conftest.er1
27720 ac_status=$?
27721 grep -v '^ *+' conftest.er1 >conftest.err
27722 rm -f conftest.er1
27723 cat conftest.err >&5
27724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725 (exit $ac_status); } &&
27726 { ac_try='test -z "$ac_c_werror_flag"
27727 || test ! -s conftest.err'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27730 ac_status=$?
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; } &&
27733 { ac_try='test -s conftest.$ac_objext'
27734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27735 (eval $ac_try) 2>&5
27736 ac_status=$?
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); }; }; then
27739 have_mbstate_t=yes
27740 else
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27744 have_mbstate_t=no
27746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27747 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27748 echo "${ECHO_T}$have_mbstate_t" >&6
27749 if test x"$have_mbstate_t" = xyes; then
27750 cat >>confdefs.h <<\_ACEOF
27751 #define HAVE_MBSTATE_T 1
27752 _ACEOF
27756 # Sanity check for existence of ISO C99 headers for extended encoding.
27758 for ac_header in wchar.h
27760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27762 echo "$as_me:$LINENO: checking for $ac_header" >&5
27763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27769 else
27770 # Is the header compilable?
27771 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27773 cat >conftest.$ac_ext <<_ACEOF
27774 /* confdefs.h. */
27775 _ACEOF
27776 cat confdefs.h >>conftest.$ac_ext
27777 cat >>conftest.$ac_ext <<_ACEOF
27778 /* end confdefs.h. */
27779 $ac_includes_default
27780 #include <$ac_header>
27781 _ACEOF
27782 rm -f conftest.$ac_objext
27783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27784 (eval $ac_compile) 2>conftest.er1
27785 ac_status=$?
27786 grep -v '^ *+' conftest.er1 >conftest.err
27787 rm -f conftest.er1
27788 cat conftest.err >&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); } &&
27791 { ac_try='test -z "$ac_c_werror_flag"
27792 || test ! -s conftest.err'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27795 ac_status=$?
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; } &&
27798 { ac_try='test -s conftest.$ac_objext'
27799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27800 (eval $ac_try) 2>&5
27801 ac_status=$?
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); }; }; then
27804 ac_header_compiler=yes
27805 else
27806 echo "$as_me: failed program was:" >&5
27807 sed 's/^/| /' conftest.$ac_ext >&5
27809 ac_header_compiler=no
27811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27813 echo "${ECHO_T}$ac_header_compiler" >&6
27815 # Is the header present?
27816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27818 cat >conftest.$ac_ext <<_ACEOF
27819 /* confdefs.h. */
27820 _ACEOF
27821 cat confdefs.h >>conftest.$ac_ext
27822 cat >>conftest.$ac_ext <<_ACEOF
27823 /* end confdefs.h. */
27824 #include <$ac_header>
27825 _ACEOF
27826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27828 ac_status=$?
27829 grep -v '^ *+' conftest.er1 >conftest.err
27830 rm -f conftest.er1
27831 cat conftest.err >&5
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); } >/dev/null; then
27834 if test -s conftest.err; then
27835 ac_cpp_err=$ac_c_preproc_warn_flag
27836 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27837 else
27838 ac_cpp_err=
27840 else
27841 ac_cpp_err=yes
27843 if test -z "$ac_cpp_err"; then
27844 ac_header_preproc=yes
27845 else
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.$ac_ext >&5
27849 ac_header_preproc=no
27851 rm -f conftest.err conftest.$ac_ext
27852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27853 echo "${ECHO_T}$ac_header_preproc" >&6
27855 # So? What about this header?
27856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27857 yes:no: )
27858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27862 ac_header_preproc=yes
27864 no:yes:* )
27865 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27867 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27868 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27869 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27871 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27872 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27878 cat <<\_ASBOX
27879 ## ----------------------------------------- ##
27880 ## Report this to the package-unused lists. ##
27881 ## ----------------------------------------- ##
27882 _ASBOX
27884 sed "s/^/$as_me: WARNING: /" >&2
27886 esac
27887 echo "$as_me:$LINENO: checking for $ac_header" >&5
27888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 else
27892 eval "$as_ac_Header=\$ac_header_preproc"
27894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27899 cat >>confdefs.h <<_ACEOF
27900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27901 _ACEOF
27902 ac_has_wchar_h=yes
27903 else
27904 ac_has_wchar_h=no
27907 done
27910 for ac_header in wctype.h
27912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27914 echo "$as_me:$LINENO: checking for $ac_header" >&5
27915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27921 else
27922 # Is the header compilable?
27923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27925 cat >conftest.$ac_ext <<_ACEOF
27926 /* confdefs.h. */
27927 _ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27931 $ac_includes_default
27932 #include <$ac_header>
27933 _ACEOF
27934 rm -f conftest.$ac_objext
27935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27936 (eval $ac_compile) 2>conftest.er1
27937 ac_status=$?
27938 grep -v '^ *+' conftest.er1 >conftest.err
27939 rm -f conftest.er1
27940 cat conftest.err >&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); } &&
27943 { ac_try='test -z "$ac_c_werror_flag"
27944 || test ! -s conftest.err'
27945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27946 (eval $ac_try) 2>&5
27947 ac_status=$?
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); }; } &&
27950 { ac_try='test -s conftest.$ac_objext'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27953 ac_status=$?
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; }; then
27956 ac_header_compiler=yes
27957 else
27958 echo "$as_me: failed program was:" >&5
27959 sed 's/^/| /' conftest.$ac_ext >&5
27961 ac_header_compiler=no
27963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27965 echo "${ECHO_T}$ac_header_compiler" >&6
27967 # Is the header present?
27968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27970 cat >conftest.$ac_ext <<_ACEOF
27971 /* confdefs.h. */
27972 _ACEOF
27973 cat confdefs.h >>conftest.$ac_ext
27974 cat >>conftest.$ac_ext <<_ACEOF
27975 /* end confdefs.h. */
27976 #include <$ac_header>
27977 _ACEOF
27978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27980 ac_status=$?
27981 grep -v '^ *+' conftest.er1 >conftest.err
27982 rm -f conftest.er1
27983 cat conftest.err >&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); } >/dev/null; then
27986 if test -s conftest.err; then
27987 ac_cpp_err=$ac_c_preproc_warn_flag
27988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27989 else
27990 ac_cpp_err=
27992 else
27993 ac_cpp_err=yes
27995 if test -z "$ac_cpp_err"; then
27996 ac_header_preproc=yes
27997 else
27998 echo "$as_me: failed program was:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28001 ac_header_preproc=no
28003 rm -f conftest.err conftest.$ac_ext
28004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28005 echo "${ECHO_T}$ac_header_preproc" >&6
28007 # So? What about this header?
28008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28009 yes:no: )
28010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28014 ac_header_preproc=yes
28016 no:yes:* )
28017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28030 cat <<\_ASBOX
28031 ## ----------------------------------------- ##
28032 ## Report this to the package-unused lists. ##
28033 ## ----------------------------------------- ##
28034 _ASBOX
28036 sed "s/^/$as_me: WARNING: /" >&2
28038 esac
28039 echo "$as_me:$LINENO: checking for $ac_header" >&5
28040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 else
28044 eval "$as_ac_Header=\$ac_header_preproc"
28046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28051 cat >>confdefs.h <<_ACEOF
28052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28053 _ACEOF
28054 ac_has_wctype_h=yes
28055 else
28056 ac_has_wctype_h=no
28059 done
28062 # Only continue checking if the ISO C99 headers exist and support is on.
28063 if test x"$ac_has_wchar_h" = xyes &&
28064 test x"$ac_has_wctype_h" = xyes &&
28065 test x"$enable_c_mbchar" != xno; then
28067 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28068 # numeric_limits can instantiate type_traits<wchar_t>
28069 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28070 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28071 cat >conftest.$ac_ext <<_ACEOF
28072 /* confdefs.h. */
28073 _ACEOF
28074 cat confdefs.h >>conftest.$ac_ext
28075 cat >>conftest.$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28077 #include <wchar.h>
28079 main ()
28081 int i = WCHAR_MIN; int j = WCHAR_MAX;
28083 return 0;
28085 _ACEOF
28086 rm -f conftest.$ac_objext
28087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28088 (eval $ac_compile) 2>conftest.er1
28089 ac_status=$?
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } &&
28095 { ac_try='test -z "$ac_c_werror_flag"
28096 || test ! -s conftest.err'
28097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28098 (eval $ac_try) 2>&5
28099 ac_status=$?
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); }; } &&
28102 { ac_try='test -s conftest.$ac_objext'
28103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28104 (eval $ac_try) 2>&5
28105 ac_status=$?
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; }; then
28108 has_wchar_minmax=yes
28109 else
28110 echo "$as_me: failed program was:" >&5
28111 sed 's/^/| /' conftest.$ac_ext >&5
28113 has_wchar_minmax=no
28115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28116 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28117 echo "${ECHO_T}$has_wchar_minmax" >&6
28119 # Test wchar.h for WEOF, which is what we use to determine whether
28120 # to specialize for char_traits<wchar_t> or not.
28121 echo "$as_me:$LINENO: checking for WEOF" >&5
28122 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28123 cat >conftest.$ac_ext <<_ACEOF
28124 /* confdefs.h. */
28125 _ACEOF
28126 cat confdefs.h >>conftest.$ac_ext
28127 cat >>conftest.$ac_ext <<_ACEOF
28128 /* end confdefs.h. */
28130 #include <wchar.h>
28131 #include <stddef.h>
28133 main ()
28135 wint_t i = WEOF;
28137 return 0;
28139 _ACEOF
28140 rm -f conftest.$ac_objext
28141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28142 (eval $ac_compile) 2>conftest.er1
28143 ac_status=$?
28144 grep -v '^ *+' conftest.er1 >conftest.err
28145 rm -f conftest.er1
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try='test -z "$ac_c_werror_flag"
28150 || test ! -s conftest.err'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28153 ac_status=$?
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; } &&
28156 { ac_try='test -s conftest.$ac_objext'
28157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28158 (eval $ac_try) 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; }; then
28162 has_weof=yes
28163 else
28164 echo "$as_me: failed program was:" >&5
28165 sed 's/^/| /' conftest.$ac_ext >&5
28167 has_weof=no
28169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28170 echo "$as_me:$LINENO: result: $has_weof" >&5
28171 echo "${ECHO_T}$has_weof" >&6
28173 # Tests for wide character functions used in char_traits<wchar_t>.
28174 ac_wfuncs=yes
28181 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28184 echo "$as_me:$LINENO: checking for $ac_func" >&5
28185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28186 if eval "test \"\${$as_ac_var+set}\" = set"; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28188 else
28189 if test x$gcc_no_link = xyes; then
28190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28192 { (exit 1); exit 1; }; }
28194 cat >conftest.$ac_ext <<_ACEOF
28195 /* confdefs.h. */
28196 _ACEOF
28197 cat confdefs.h >>conftest.$ac_ext
28198 cat >>conftest.$ac_ext <<_ACEOF
28199 /* end confdefs.h. */
28200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28202 #define $ac_func innocuous_$ac_func
28204 /* System header to define __stub macros and hopefully few prototypes,
28205 which can conflict with char $ac_func (); below.
28206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28207 <limits.h> exists even on freestanding compilers. */
28209 #ifdef __STDC__
28210 # include <limits.h>
28211 #else
28212 # include <assert.h>
28213 #endif
28215 #undef $ac_func
28217 /* Override any gcc2 internal prototype to avoid an error. */
28218 #ifdef __cplusplus
28219 extern "C"
28221 #endif
28222 /* We use char because int might match the return type of a gcc2
28223 builtin and then its argument prototype would still apply. */
28224 char $ac_func ();
28225 /* The GNU C library defines this for functions which it implements
28226 to always fail with ENOSYS. Some functions are actually named
28227 something starting with __ and the normal name is an alias. */
28228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28229 choke me
28230 #else
28231 char (*f) () = $ac_func;
28232 #endif
28233 #ifdef __cplusplus
28235 #endif
28238 main ()
28240 return f != $ac_func;
28242 return 0;
28244 _ACEOF
28245 rm -f conftest.$ac_objext conftest$ac_exeext
28246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28247 (eval $ac_link) 2>conftest.er1
28248 ac_status=$?
28249 grep -v '^ *+' conftest.er1 >conftest.err
28250 rm -f conftest.er1
28251 cat conftest.err >&5
28252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253 (exit $ac_status); } &&
28254 { ac_try='test -z "$ac_c_werror_flag"
28255 || test ! -s conftest.err'
28256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28257 (eval $ac_try) 2>&5
28258 ac_status=$?
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); }; } &&
28261 { ac_try='test -s conftest$ac_exeext'
28262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28263 (eval $ac_try) 2>&5
28264 ac_status=$?
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); }; }; then
28267 eval "$as_ac_var=yes"
28268 else
28269 echo "$as_me: failed program was:" >&5
28270 sed 's/^/| /' conftest.$ac_ext >&5
28272 eval "$as_ac_var=no"
28274 rm -f conftest.err conftest.$ac_objext \
28275 conftest$ac_exeext conftest.$ac_ext
28277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28279 if test `eval echo '${'$as_ac_var'}'` = yes; then
28280 cat >>confdefs.h <<_ACEOF
28281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28282 _ACEOF
28284 else
28285 ac_wfuncs=no
28287 done
28290 # Checks for names injected into std:: by the c_std headers.
28337 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28338 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28339 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28340 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28341 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28342 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28345 echo "$as_me:$LINENO: checking for $ac_func" >&5
28346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28347 if eval "test \"\${$as_ac_var+set}\" = set"; then
28348 echo $ECHO_N "(cached) $ECHO_C" >&6
28349 else
28350 if test x$gcc_no_link = xyes; then
28351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28353 { (exit 1); exit 1; }; }
28355 cat >conftest.$ac_ext <<_ACEOF
28356 /* confdefs.h. */
28357 _ACEOF
28358 cat confdefs.h >>conftest.$ac_ext
28359 cat >>conftest.$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28363 #define $ac_func innocuous_$ac_func
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28370 #ifdef __STDC__
28371 # include <limits.h>
28372 #else
28373 # include <assert.h>
28374 #endif
28376 #undef $ac_func
28378 /* Override any gcc2 internal prototype to avoid an error. */
28379 #ifdef __cplusplus
28380 extern "C"
28382 #endif
28383 /* We use char because int might match the return type of a gcc2
28384 builtin and then its argument prototype would still apply. */
28385 char $ac_func ();
28386 /* The GNU C library defines this for functions which it implements
28387 to always fail with ENOSYS. Some functions are actually named
28388 something starting with __ and the normal name is an alias. */
28389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28390 choke me
28391 #else
28392 char (*f) () = $ac_func;
28393 #endif
28394 #ifdef __cplusplus
28396 #endif
28399 main ()
28401 return f != $ac_func;
28403 return 0;
28405 _ACEOF
28406 rm -f conftest.$ac_objext conftest$ac_exeext
28407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28408 (eval $ac_link) 2>conftest.er1
28409 ac_status=$?
28410 grep -v '^ *+' conftest.er1 >conftest.err
28411 rm -f conftest.er1
28412 cat conftest.err >&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } &&
28415 { ac_try='test -z "$ac_c_werror_flag"
28416 || test ! -s conftest.err'
28417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418 (eval $ac_try) 2>&5
28419 ac_status=$?
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); }; } &&
28422 { ac_try='test -s conftest$ac_exeext'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; }; then
28428 eval "$as_ac_var=yes"
28429 else
28430 echo "$as_me: failed program was:" >&5
28431 sed 's/^/| /' conftest.$ac_ext >&5
28433 eval "$as_ac_var=no"
28435 rm -f conftest.err conftest.$ac_objext \
28436 conftest$ac_exeext conftest.$ac_ext
28438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28440 if test `eval echo '${'$as_ac_var'}'` = yes; then
28441 cat >>confdefs.h <<_ACEOF
28442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28443 _ACEOF
28445 else
28446 ac_wfuncs=no
28448 done
28451 # Checks for wide character functions that are not required
28452 # for basic wchar_t support. Don't disable support if they are missing.
28453 # Injection of these is wrapped with guard macros.
28459 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28462 echo "$as_me:$LINENO: checking for $ac_func" >&5
28463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28464 if eval "test \"\${$as_ac_var+set}\" = set"; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28466 else
28467 if test x$gcc_no_link = xyes; then
28468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28470 { (exit 1); exit 1; }; }
28472 cat >conftest.$ac_ext <<_ACEOF
28473 /* confdefs.h. */
28474 _ACEOF
28475 cat confdefs.h >>conftest.$ac_ext
28476 cat >>conftest.$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28480 #define $ac_func innocuous_$ac_func
28482 /* System header to define __stub macros and hopefully few prototypes,
28483 which can conflict with char $ac_func (); below.
28484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28485 <limits.h> exists even on freestanding compilers. */
28487 #ifdef __STDC__
28488 # include <limits.h>
28489 #else
28490 # include <assert.h>
28491 #endif
28493 #undef $ac_func
28495 /* Override any gcc2 internal prototype to avoid an error. */
28496 #ifdef __cplusplus
28497 extern "C"
28499 #endif
28500 /* We use char because int might match the return type of a gcc2
28501 builtin and then its argument prototype would still apply. */
28502 char $ac_func ();
28503 /* The GNU C library defines this for functions which it implements
28504 to always fail with ENOSYS. Some functions are actually named
28505 something starting with __ and the normal name is an alias. */
28506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28507 choke me
28508 #else
28509 char (*f) () = $ac_func;
28510 #endif
28511 #ifdef __cplusplus
28513 #endif
28516 main ()
28518 return f != $ac_func;
28520 return 0;
28522 _ACEOF
28523 rm -f conftest.$ac_objext conftest$ac_exeext
28524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28525 (eval $ac_link) 2>conftest.er1
28526 ac_status=$?
28527 grep -v '^ *+' conftest.er1 >conftest.err
28528 rm -f conftest.er1
28529 cat conftest.err >&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } &&
28532 { ac_try='test -z "$ac_c_werror_flag"
28533 || test ! -s conftest.err'
28534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28535 (eval $ac_try) 2>&5
28536 ac_status=$?
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); }; } &&
28539 { ac_try='test -s conftest$ac_exeext'
28540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28541 (eval $ac_try) 2>&5
28542 ac_status=$?
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); }; }; then
28545 eval "$as_ac_var=yes"
28546 else
28547 echo "$as_me: failed program was:" >&5
28548 sed 's/^/| /' conftest.$ac_ext >&5
28550 eval "$as_ac_var=no"
28552 rm -f conftest.err conftest.$ac_objext \
28553 conftest$ac_exeext conftest.$ac_ext
28555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28557 if test `eval echo '${'$as_ac_var'}'` = yes; then
28558 cat >>confdefs.h <<_ACEOF
28559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28560 _ACEOF
28563 done
28566 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28567 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28568 if test x"$has_weof" = xyes &&
28569 test x"$has_wchar_minmax" = xyes &&
28570 test x"$ac_wfuncs" = xyes;
28571 then
28572 ac_isoC99_wchar_t=yes
28573 else
28574 ac_isoC99_wchar_t=no
28576 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28577 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28579 # Use iconv for wchar_t to char conversions. As such, check for
28580 # X/Open Portability Guide, version 2 features (XPG2).
28581 if test "${ac_cv_header_iconv_h+set}" = set; then
28582 echo "$as_me:$LINENO: checking for iconv.h" >&5
28583 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28584 if test "${ac_cv_header_iconv_h+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28587 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28588 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28589 else
28590 # Is the header compilable?
28591 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28592 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28593 cat >conftest.$ac_ext <<_ACEOF
28594 /* confdefs.h. */
28595 _ACEOF
28596 cat confdefs.h >>conftest.$ac_ext
28597 cat >>conftest.$ac_ext <<_ACEOF
28598 /* end confdefs.h. */
28599 $ac_includes_default
28600 #include <iconv.h>
28601 _ACEOF
28602 rm -f conftest.$ac_objext
28603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28604 (eval $ac_compile) 2>conftest.er1
28605 ac_status=$?
28606 grep -v '^ *+' conftest.er1 >conftest.err
28607 rm -f conftest.er1
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -z "$ac_c_werror_flag"
28612 || test ! -s conftest.err'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28615 ac_status=$?
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; } &&
28618 { ac_try='test -s conftest.$ac_objext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28621 ac_status=$?
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28624 ac_header_compiler=yes
28625 else
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.$ac_ext >&5
28629 ac_header_compiler=no
28631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28633 echo "${ECHO_T}$ac_header_compiler" >&6
28635 # Is the header present?
28636 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28637 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28638 cat >conftest.$ac_ext <<_ACEOF
28639 /* confdefs.h. */
28640 _ACEOF
28641 cat confdefs.h >>conftest.$ac_ext
28642 cat >>conftest.$ac_ext <<_ACEOF
28643 /* end confdefs.h. */
28644 #include <iconv.h>
28645 _ACEOF
28646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28648 ac_status=$?
28649 grep -v '^ *+' conftest.er1 >conftest.err
28650 rm -f conftest.er1
28651 cat conftest.err >&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); } >/dev/null; then
28654 if test -s conftest.err; then
28655 ac_cpp_err=$ac_c_preproc_warn_flag
28656 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28657 else
28658 ac_cpp_err=
28660 else
28661 ac_cpp_err=yes
28663 if test -z "$ac_cpp_err"; then
28664 ac_header_preproc=yes
28665 else
28666 echo "$as_me: failed program was:" >&5
28667 sed 's/^/| /' conftest.$ac_ext >&5
28669 ac_header_preproc=no
28671 rm -f conftest.err conftest.$ac_ext
28672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28673 echo "${ECHO_T}$ac_header_preproc" >&6
28675 # So? What about this header?
28676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28677 yes:no: )
28678 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28679 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28680 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28681 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28682 ac_header_preproc=yes
28684 no:yes:* )
28685 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28686 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28687 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28688 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28689 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28690 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28691 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28692 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28693 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28694 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28695 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28696 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28698 cat <<\_ASBOX
28699 ## ----------------------------------------- ##
28700 ## Report this to the package-unused lists. ##
28701 ## ----------------------------------------- ##
28702 _ASBOX
28704 sed "s/^/$as_me: WARNING: /" >&2
28706 esac
28707 echo "$as_me:$LINENO: checking for iconv.h" >&5
28708 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28709 if test "${ac_cv_header_iconv_h+set}" = set; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 else
28712 ac_cv_header_iconv_h=$ac_header_preproc
28714 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28715 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28718 if test $ac_cv_header_iconv_h = yes; then
28719 ac_has_iconv_h=yes
28720 else
28721 ac_has_iconv_h=no
28725 if test "${ac_cv_header_langinfo_h+set}" = set; then
28726 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28727 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28728 if test "${ac_cv_header_langinfo_h+set}" = set; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28731 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28732 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28733 else
28734 # Is the header compilable?
28735 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28736 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28737 cat >conftest.$ac_ext <<_ACEOF
28738 /* confdefs.h. */
28739 _ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h. */
28743 $ac_includes_default
28744 #include <langinfo.h>
28745 _ACEOF
28746 rm -f conftest.$ac_objext
28747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28748 (eval $ac_compile) 2>conftest.er1
28749 ac_status=$?
28750 grep -v '^ *+' conftest.er1 >conftest.err
28751 rm -f conftest.er1
28752 cat conftest.err >&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); } &&
28755 { ac_try='test -z "$ac_c_werror_flag"
28756 || test ! -s conftest.err'
28757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28758 (eval $ac_try) 2>&5
28759 ac_status=$?
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); }; } &&
28762 { ac_try='test -s conftest.$ac_objext'
28763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28764 (eval $ac_try) 2>&5
28765 ac_status=$?
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); }; }; then
28768 ac_header_compiler=yes
28769 else
28770 echo "$as_me: failed program was:" >&5
28771 sed 's/^/| /' conftest.$ac_ext >&5
28773 ac_header_compiler=no
28775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28777 echo "${ECHO_T}$ac_header_compiler" >&6
28779 # Is the header present?
28780 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28781 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28782 cat >conftest.$ac_ext <<_ACEOF
28783 /* confdefs.h. */
28784 _ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28788 #include <langinfo.h>
28789 _ACEOF
28790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28792 ac_status=$?
28793 grep -v '^ *+' conftest.er1 >conftest.err
28794 rm -f conftest.er1
28795 cat conftest.err >&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } >/dev/null; then
28798 if test -s conftest.err; then
28799 ac_cpp_err=$ac_c_preproc_warn_flag
28800 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28801 else
28802 ac_cpp_err=
28804 else
28805 ac_cpp_err=yes
28807 if test -z "$ac_cpp_err"; then
28808 ac_header_preproc=yes
28809 else
28810 echo "$as_me: failed program was:" >&5
28811 sed 's/^/| /' conftest.$ac_ext >&5
28813 ac_header_preproc=no
28815 rm -f conftest.err conftest.$ac_ext
28816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28817 echo "${ECHO_T}$ac_header_preproc" >&6
28819 # So? What about this header?
28820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28821 yes:no: )
28822 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28823 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28824 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28825 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28826 ac_header_preproc=yes
28828 no:yes:* )
28829 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28830 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28831 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28832 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28833 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28834 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28835 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28836 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28837 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28838 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28839 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28840 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28842 cat <<\_ASBOX
28843 ## ----------------------------------------- ##
28844 ## Report this to the package-unused lists. ##
28845 ## ----------------------------------------- ##
28846 _ASBOX
28848 sed "s/^/$as_me: WARNING: /" >&2
28850 esac
28851 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28852 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28853 if test "${ac_cv_header_langinfo_h+set}" = set; then
28854 echo $ECHO_N "(cached) $ECHO_C" >&6
28855 else
28856 ac_cv_header_langinfo_h=$ac_header_preproc
28858 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28859 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28862 if test $ac_cv_header_langinfo_h = yes; then
28863 ac_has_langinfo_h=yes
28864 else
28865 ac_has_langinfo_h=no
28870 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28871 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28872 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28873 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28874 echo $ECHO_N "(cached) $ECHO_C" >&6
28875 else
28876 ac_check_lib_save_LIBS=$LIBS
28877 LIBS="-liconv $LIBS"
28878 if test x$gcc_no_link = xyes; then
28879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28881 { (exit 1); exit 1; }; }
28883 cat >conftest.$ac_ext <<_ACEOF
28884 /* confdefs.h. */
28885 _ACEOF
28886 cat confdefs.h >>conftest.$ac_ext
28887 cat >>conftest.$ac_ext <<_ACEOF
28888 /* end confdefs.h. */
28890 /* Override any gcc2 internal prototype to avoid an error. */
28891 #ifdef __cplusplus
28892 extern "C"
28893 #endif
28894 /* We use char because int might match the return type of a gcc2
28895 builtin and then its argument prototype would still apply. */
28896 char iconv ();
28898 main ()
28900 iconv ();
28902 return 0;
28904 _ACEOF
28905 rm -f conftest.$ac_objext conftest$ac_exeext
28906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28907 (eval $ac_link) 2>conftest.er1
28908 ac_status=$?
28909 grep -v '^ *+' conftest.er1 >conftest.err
28910 rm -f conftest.er1
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } &&
28914 { ac_try='test -z "$ac_c_werror_flag"
28915 || test ! -s conftest.err'
28916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28917 (eval $ac_try) 2>&5
28918 ac_status=$?
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); }; } &&
28921 { ac_try='test -s conftest$ac_exeext'
28922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28923 (eval $ac_try) 2>&5
28924 ac_status=$?
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); }; }; then
28927 ac_cv_lib_iconv_iconv=yes
28928 else
28929 echo "$as_me: failed program was:" >&5
28930 sed 's/^/| /' conftest.$ac_ext >&5
28932 ac_cv_lib_iconv_iconv=no
28934 rm -f conftest.err conftest.$ac_objext \
28935 conftest$ac_exeext conftest.$ac_ext
28936 LIBS=$ac_check_lib_save_LIBS
28938 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28939 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28940 if test $ac_cv_lib_iconv_iconv = yes; then
28941 LIBICONV="-liconv"
28944 ac_save_LIBS="$LIBS"
28945 LIBS="$LIBS $LIBICONV"
28952 for ac_func in iconv_open iconv_close iconv nl_langinfo
28954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28955 echo "$as_me:$LINENO: checking for $ac_func" >&5
28956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28957 if eval "test \"\${$as_ac_var+set}\" = set"; then
28958 echo $ECHO_N "(cached) $ECHO_C" >&6
28959 else
28960 if test x$gcc_no_link = xyes; then
28961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28963 { (exit 1); exit 1; }; }
28965 cat >conftest.$ac_ext <<_ACEOF
28966 /* confdefs.h. */
28967 _ACEOF
28968 cat confdefs.h >>conftest.$ac_ext
28969 cat >>conftest.$ac_ext <<_ACEOF
28970 /* end confdefs.h. */
28971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28973 #define $ac_func innocuous_$ac_func
28975 /* System header to define __stub macros and hopefully few prototypes,
28976 which can conflict with char $ac_func (); below.
28977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28978 <limits.h> exists even on freestanding compilers. */
28980 #ifdef __STDC__
28981 # include <limits.h>
28982 #else
28983 # include <assert.h>
28984 #endif
28986 #undef $ac_func
28988 /* Override any gcc2 internal prototype to avoid an error. */
28989 #ifdef __cplusplus
28990 extern "C"
28992 #endif
28993 /* We use char because int might match the return type of a gcc2
28994 builtin and then its argument prototype would still apply. */
28995 char $ac_func ();
28996 /* The GNU C library defines this for functions which it implements
28997 to always fail with ENOSYS. Some functions are actually named
28998 something starting with __ and the normal name is an alias. */
28999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29000 choke me
29001 #else
29002 char (*f) () = $ac_func;
29003 #endif
29004 #ifdef __cplusplus
29006 #endif
29009 main ()
29011 return f != $ac_func;
29013 return 0;
29015 _ACEOF
29016 rm -f conftest.$ac_objext conftest$ac_exeext
29017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29018 (eval $ac_link) 2>conftest.er1
29019 ac_status=$?
29020 grep -v '^ *+' conftest.er1 >conftest.err
29021 rm -f conftest.er1
29022 cat conftest.err >&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); } &&
29025 { ac_try='test -z "$ac_c_werror_flag"
29026 || test ! -s conftest.err'
29027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29028 (eval $ac_try) 2>&5
29029 ac_status=$?
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); }; } &&
29032 { ac_try='test -s conftest$ac_exeext'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29035 ac_status=$?
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; }; then
29038 eval "$as_ac_var=yes"
29039 else
29040 echo "$as_me: failed program was:" >&5
29041 sed 's/^/| /' conftest.$ac_ext >&5
29043 eval "$as_ac_var=no"
29045 rm -f conftest.err conftest.$ac_objext \
29046 conftest$ac_exeext conftest.$ac_ext
29048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29050 if test `eval echo '${'$as_ac_var'}'` = yes; then
29051 cat >>confdefs.h <<_ACEOF
29052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29053 _ACEOF
29054 ac_XPG2funcs=yes
29055 else
29056 ac_XPG2funcs=no
29058 done
29061 LIBS="$ac_save_LIBS"
29063 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29064 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29065 if test x"$ac_has_iconv_h" = xyes &&
29066 test x"$ac_has_langinfo_h" = xyes &&
29067 test x"$ac_XPG2funcs" = xyes;
29068 then
29069 ac_XPG2_wchar_t=yes
29070 else
29071 ac_XPG2_wchar_t=no
29073 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29074 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29076 # At the moment, only enable wchar_t specializations if all the
29077 # above support is present.
29078 if test x"$ac_isoC99_wchar_t" = xyes &&
29079 test x"$ac_XPG2_wchar_t" = xyes;
29080 then
29081 cat >>confdefs.h <<\_ACEOF
29082 #define _GLIBCXX_USE_WCHAR_T 1
29083 _ACEOF
29085 enable_wchar_t=yes
29088 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29089 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29090 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29091 echo "${ECHO_T}$enable_wchar_t" >&6
29094 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29095 ac_save_CXXFLAGS="$CXXFLAGS"
29096 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29099 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29100 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29101 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29102 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29103 echo $ECHO_N "(cached) $ECHO_C" >&6
29104 else
29108 ac_ext=cc
29109 ac_cpp='$CXXCPP $CPPFLAGS'
29110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29114 cat >conftest.$ac_ext <<_ACEOF
29115 /* confdefs.h. */
29116 _ACEOF
29117 cat confdefs.h >>conftest.$ac_ext
29118 cat >>conftest.$ac_ext <<_ACEOF
29119 /* end confdefs.h. */
29120 #include <stdlib.h>
29122 main ()
29124 strtold(0, 0);
29126 return 0;
29128 _ACEOF
29129 rm -f conftest.$ac_objext
29130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29131 (eval $ac_compile) 2>conftest.er1
29132 ac_status=$?
29133 grep -v '^ *+' conftest.er1 >conftest.err
29134 rm -f conftest.er1
29135 cat conftest.err >&5
29136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29137 (exit $ac_status); } &&
29138 { ac_try='test -z "$ac_cxx_werror_flag"
29139 || test ! -s conftest.err'
29140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141 (eval $ac_try) 2>&5
29142 ac_status=$?
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); }; } &&
29145 { ac_try='test -s conftest.$ac_objext'
29146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29147 (eval $ac_try) 2>&5
29148 ac_status=$?
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); }; }; then
29151 glibcxx_cv_func_strtold_use=yes
29152 else
29153 echo "$as_me: failed program was:" >&5
29154 sed 's/^/| /' conftest.$ac_ext >&5
29156 glibcxx_cv_func_strtold_use=no
29158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29159 ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29170 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29171 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29173 for ac_func in strtold
29175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29176 echo "$as_me:$LINENO: checking for $ac_func" >&5
29177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29178 if eval "test \"\${$as_ac_var+set}\" = set"; then
29179 echo $ECHO_N "(cached) $ECHO_C" >&6
29180 else
29181 if test x$gcc_no_link = xyes; then
29182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29184 { (exit 1); exit 1; }; }
29186 cat >conftest.$ac_ext <<_ACEOF
29187 /* confdefs.h. */
29188 _ACEOF
29189 cat confdefs.h >>conftest.$ac_ext
29190 cat >>conftest.$ac_ext <<_ACEOF
29191 /* end confdefs.h. */
29192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29194 #define $ac_func innocuous_$ac_func
29196 /* System header to define __stub macros and hopefully few prototypes,
29197 which can conflict with char $ac_func (); below.
29198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29199 <limits.h> exists even on freestanding compilers. */
29201 #ifdef __STDC__
29202 # include <limits.h>
29203 #else
29204 # include <assert.h>
29205 #endif
29207 #undef $ac_func
29209 /* Override any gcc2 internal prototype to avoid an error. */
29210 #ifdef __cplusplus
29211 extern "C"
29213 #endif
29214 /* We use char because int might match the return type of a gcc2
29215 builtin and then its argument prototype would still apply. */
29216 char $ac_func ();
29217 /* The GNU C library defines this for functions which it implements
29218 to always fail with ENOSYS. Some functions are actually named
29219 something starting with __ and the normal name is an alias. */
29220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29221 choke me
29222 #else
29223 char (*f) () = $ac_func;
29224 #endif
29225 #ifdef __cplusplus
29227 #endif
29230 main ()
29232 return f != $ac_func;
29234 return 0;
29236 _ACEOF
29237 rm -f conftest.$ac_objext conftest$ac_exeext
29238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29239 (eval $ac_link) 2>conftest.er1
29240 ac_status=$?
29241 grep -v '^ *+' conftest.er1 >conftest.err
29242 rm -f conftest.er1
29243 cat conftest.err >&5
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); } &&
29246 { ac_try='test -z "$ac_c_werror_flag"
29247 || test ! -s conftest.err'
29248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29249 (eval $ac_try) 2>&5
29250 ac_status=$?
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); }; } &&
29253 { ac_try='test -s conftest$ac_exeext'
29254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29255 (eval $ac_try) 2>&5
29256 ac_status=$?
29257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 (exit $ac_status); }; }; then
29259 eval "$as_ac_var=yes"
29260 else
29261 echo "$as_me: failed program was:" >&5
29262 sed 's/^/| /' conftest.$ac_ext >&5
29264 eval "$as_ac_var=no"
29266 rm -f conftest.err conftest.$ac_objext \
29267 conftest$ac_exeext conftest.$ac_ext
29269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29271 if test `eval echo '${'$as_ac_var'}'` = yes; then
29272 cat >>confdefs.h <<_ACEOF
29273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29274 _ACEOF
29277 done
29282 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29283 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29284 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29285 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29286 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 else
29291 ac_ext=cc
29292 ac_cpp='$CXXCPP $CPPFLAGS'
29293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29297 cat >conftest.$ac_ext <<_ACEOF
29298 /* confdefs.h. */
29299 _ACEOF
29300 cat confdefs.h >>conftest.$ac_ext
29301 cat >>conftest.$ac_ext <<_ACEOF
29302 /* end confdefs.h. */
29303 #include <stdlib.h>
29305 main ()
29307 strtof(0, 0);
29309 return 0;
29311 _ACEOF
29312 rm -f conftest.$ac_objext
29313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29314 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_strtof_use=yes
29335 else
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.$ac_ext >&5
29339 glibcxx_cv_func_strtof_use=no
29341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29342 ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29353 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29354 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29356 for ac_func in strtof
29358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29359 echo "$as_me:$LINENO: checking for $ac_func" >&5
29360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29361 if eval "test \"\${$as_ac_var+set}\" = set"; then
29362 echo $ECHO_N "(cached) $ECHO_C" >&6
29363 else
29364 if test x$gcc_no_link = xyes; then
29365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29367 { (exit 1); exit 1; }; }
29369 cat >conftest.$ac_ext <<_ACEOF
29370 /* confdefs.h. */
29371 _ACEOF
29372 cat confdefs.h >>conftest.$ac_ext
29373 cat >>conftest.$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29377 #define $ac_func innocuous_$ac_func
29379 /* System header to define __stub macros and hopefully few prototypes,
29380 which can conflict with char $ac_func (); below.
29381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29382 <limits.h> exists even on freestanding compilers. */
29384 #ifdef __STDC__
29385 # include <limits.h>
29386 #else
29387 # include <assert.h>
29388 #endif
29390 #undef $ac_func
29392 /* Override any gcc2 internal prototype to avoid an error. */
29393 #ifdef __cplusplus
29394 extern "C"
29396 #endif
29397 /* We use char because int might match the return type of a gcc2
29398 builtin and then its argument prototype would still apply. */
29399 char $ac_func ();
29400 /* The GNU C library defines this for functions which it implements
29401 to always fail with ENOSYS. Some functions are actually named
29402 something starting with __ and the normal name is an alias. */
29403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29404 choke me
29405 #else
29406 char (*f) () = $ac_func;
29407 #endif
29408 #ifdef __cplusplus
29410 #endif
29413 main ()
29415 return f != $ac_func;
29417 return 0;
29419 _ACEOF
29420 rm -f conftest.$ac_objext conftest$ac_exeext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422 (eval $ac_link) 2>conftest.er1
29423 ac_status=$?
29424 grep -v '^ *+' conftest.er1 >conftest.err
29425 rm -f conftest.er1
29426 cat conftest.err >&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } &&
29429 { ac_try='test -z "$ac_c_werror_flag"
29430 || test ! -s conftest.err'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; } &&
29436 { ac_try='test -s conftest$ac_exeext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 eval "$as_ac_var=yes"
29443 else
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29447 eval "$as_ac_var=no"
29449 rm -f conftest.err conftest.$ac_objext \
29450 conftest$ac_exeext conftest.$ac_ext
29452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29454 if test `eval echo '${'$as_ac_var'}'` = yes; then
29455 cat >>confdefs.h <<_ACEOF
29456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29457 _ACEOF
29460 done
29465 CXXFLAGS="$ac_save_CXXFLAGS"
29468 # For showmanyc_helper().
29471 for ac_header in sys/ioctl.h sys/filio.h
29473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29475 echo "$as_me:$LINENO: checking for $ac_header" >&5
29476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29478 echo $ECHO_N "(cached) $ECHO_C" >&6
29480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29482 else
29483 # Is the header compilable?
29484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29486 cat >conftest.$ac_ext <<_ACEOF
29487 /* confdefs.h. */
29488 _ACEOF
29489 cat confdefs.h >>conftest.$ac_ext
29490 cat >>conftest.$ac_ext <<_ACEOF
29491 /* end confdefs.h. */
29492 $ac_includes_default
29493 #include <$ac_header>
29494 _ACEOF
29495 rm -f conftest.$ac_objext
29496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29497 (eval $ac_compile) 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_objext'
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 ac_header_compiler=yes
29518 else
29519 echo "$as_me: failed program was:" >&5
29520 sed 's/^/| /' conftest.$ac_ext >&5
29522 ac_header_compiler=no
29524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29526 echo "${ECHO_T}$ac_header_compiler" >&6
29528 # Is the header present?
29529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29531 cat >conftest.$ac_ext <<_ACEOF
29532 /* confdefs.h. */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29537 #include <$ac_header>
29538 _ACEOF
29539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29541 ac_status=$?
29542 grep -v '^ *+' conftest.er1 >conftest.err
29543 rm -f conftest.er1
29544 cat conftest.err >&5
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); } >/dev/null; then
29547 if test -s conftest.err; then
29548 ac_cpp_err=$ac_c_preproc_warn_flag
29549 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29550 else
29551 ac_cpp_err=
29553 else
29554 ac_cpp_err=yes
29556 if test -z "$ac_cpp_err"; then
29557 ac_header_preproc=yes
29558 else
29559 echo "$as_me: failed program was:" >&5
29560 sed 's/^/| /' conftest.$ac_ext >&5
29562 ac_header_preproc=no
29564 rm -f conftest.err conftest.$ac_ext
29565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29566 echo "${ECHO_T}$ac_header_preproc" >&6
29568 # So? What about this header?
29569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29570 yes:no: )
29571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29575 ac_header_preproc=yes
29577 no:yes:* )
29578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29591 cat <<\_ASBOX
29592 ## ----------------------------------------- ##
29593 ## Report this to the package-unused lists. ##
29594 ## ----------------------------------------- ##
29595 _ASBOX
29597 sed "s/^/$as_me: WARNING: /" >&2
29599 esac
29600 echo "$as_me:$LINENO: checking for $ac_header" >&5
29601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29604 else
29605 eval "$as_ac_Header=\$ac_header_preproc"
29607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29612 cat >>confdefs.h <<_ACEOF
29613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29614 _ACEOF
29618 done
29621 if test "${glibcxx_cv_POLL+set}" = set; then
29622 echo $ECHO_N "(cached) $ECHO_C" >&6
29623 else
29625 if test x$gcc_no_link = xyes; then
29626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29628 { (exit 1); exit 1; }; }
29630 cat >conftest.$ac_ext <<_ACEOF
29631 /* confdefs.h. */
29632 _ACEOF
29633 cat confdefs.h >>conftest.$ac_ext
29634 cat >>conftest.$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29636 #include <poll.h>
29638 main ()
29640 struct pollfd pfd[1];
29641 pfd[0].events = POLLIN;
29642 poll(pfd, 1, 0);
29644 return 0;
29646 _ACEOF
29647 rm -f conftest.$ac_objext conftest$ac_exeext
29648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29649 (eval $ac_link) 2>conftest.er1
29650 ac_status=$?
29651 grep -v '^ *+' conftest.er1 >conftest.err
29652 rm -f conftest.er1
29653 cat conftest.err >&5
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); } &&
29656 { ac_try='test -z "$ac_c_werror_flag"
29657 || test ! -s conftest.err'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29660 ac_status=$?
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; } &&
29663 { ac_try='test -s conftest$ac_exeext'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29666 ac_status=$?
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; }; then
29669 glibcxx_cv_POLL=yes
29670 else
29671 echo "$as_me: failed program was:" >&5
29672 sed 's/^/| /' conftest.$ac_ext >&5
29674 glibcxx_cv_POLL=no
29676 rm -f conftest.err conftest.$ac_objext \
29677 conftest$ac_exeext conftest.$ac_ext
29681 if test $glibcxx_cv_POLL = yes; then
29682 cat >>confdefs.h <<\_ACEOF
29683 #define HAVE_POLL 1
29684 _ACEOF
29689 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29690 echo $ECHO_N "(cached) $ECHO_C" >&6
29691 else
29693 if test x$gcc_no_link = xyes; then
29694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29696 { (exit 1); exit 1; }; }
29698 cat >conftest.$ac_ext <<_ACEOF
29699 /* confdefs.h. */
29700 _ACEOF
29701 cat confdefs.h >>conftest.$ac_ext
29702 cat >>conftest.$ac_ext <<_ACEOF
29703 /* end confdefs.h. */
29704 #include <sys/stat.h>
29706 main ()
29708 struct stat buffer;
29709 fstat(0, &buffer);
29710 S_ISREG(buffer.st_mode);
29712 return 0;
29714 _ACEOF
29715 rm -f conftest.$ac_objext conftest$ac_exeext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29717 (eval $ac_link) 2>conftest.er1
29718 ac_status=$?
29719 grep -v '^ *+' conftest.er1 >conftest.err
29720 rm -f conftest.er1
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } &&
29724 { ac_try='test -z "$ac_c_werror_flag"
29725 || test ! -s conftest.err'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; } &&
29731 { ac_try='test -s conftest$ac_exeext'
29732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733 (eval $ac_try) 2>&5
29734 ac_status=$?
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); }; }; then
29737 glibcxx_cv_S_ISREG=yes
29738 else
29739 echo "$as_me: failed program was:" >&5
29740 sed 's/^/| /' conftest.$ac_ext >&5
29742 glibcxx_cv_S_ISREG=no
29744 rm -f conftest.err conftest.$ac_objext \
29745 conftest$ac_exeext conftest.$ac_ext
29749 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29750 echo $ECHO_N "(cached) $ECHO_C" >&6
29751 else
29753 if test x$gcc_no_link = xyes; then
29754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29756 { (exit 1); exit 1; }; }
29758 cat >conftest.$ac_ext <<_ACEOF
29759 /* confdefs.h. */
29760 _ACEOF
29761 cat confdefs.h >>conftest.$ac_ext
29762 cat >>conftest.$ac_ext <<_ACEOF
29763 /* end confdefs.h. */
29764 #include <sys/stat.h>
29766 main ()
29768 struct stat buffer;
29769 fstat(0, &buffer);
29770 S_IFREG & buffer.st_mode;
29772 return 0;
29774 _ACEOF
29775 rm -f conftest.$ac_objext conftest$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>conftest.er1
29778 ac_status=$?
29779 grep -v '^ *+' conftest.er1 >conftest.err
29780 rm -f conftest.er1
29781 cat conftest.err >&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try='test -z "$ac_c_werror_flag"
29785 || test ! -s conftest.err'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29788 ac_status=$?
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try='test -s conftest$ac_exeext'
29792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793 (eval $ac_try) 2>&5
29794 ac_status=$?
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); }; }; then
29797 glibcxx_cv_S_IFREG=yes
29798 else
29799 echo "$as_me: failed program was:" >&5
29800 sed 's/^/| /' conftest.$ac_ext >&5
29802 glibcxx_cv_S_IFREG=no
29804 rm -f conftest.err conftest.$ac_objext \
29805 conftest$ac_exeext conftest.$ac_ext
29809 if test $glibcxx_cv_S_ISREG = yes; then
29810 cat >>confdefs.h <<\_ACEOF
29811 #define HAVE_S_ISREG 1
29812 _ACEOF
29814 elif test $glibcxx_cv_S_IFREG = yes; then
29815 cat >>confdefs.h <<\_ACEOF
29816 #define HAVE_S_IFREG 1
29817 _ACEOF
29822 # For xsputn_2().
29824 for ac_header in sys/uio.h
29826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29828 echo "$as_me:$LINENO: checking for $ac_header" >&5
29829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29831 echo $ECHO_N "(cached) $ECHO_C" >&6
29833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29835 else
29836 # Is the header compilable?
29837 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29838 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29839 cat >conftest.$ac_ext <<_ACEOF
29840 /* confdefs.h. */
29841 _ACEOF
29842 cat confdefs.h >>conftest.$ac_ext
29843 cat >>conftest.$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29845 $ac_includes_default
29846 #include <$ac_header>
29847 _ACEOF
29848 rm -f conftest.$ac_objext
29849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29850 (eval $ac_compile) 2>conftest.er1
29851 ac_status=$?
29852 grep -v '^ *+' conftest.er1 >conftest.err
29853 rm -f conftest.er1
29854 cat conftest.err >&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } &&
29857 { ac_try='test -z "$ac_c_werror_flag"
29858 || test ! -s conftest.err'
29859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29860 (eval $ac_try) 2>&5
29861 ac_status=$?
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); }; } &&
29864 { ac_try='test -s conftest.$ac_objext'
29865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29866 (eval $ac_try) 2>&5
29867 ac_status=$?
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; }; then
29870 ac_header_compiler=yes
29871 else
29872 echo "$as_me: failed program was:" >&5
29873 sed 's/^/| /' conftest.$ac_ext >&5
29875 ac_header_compiler=no
29877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29879 echo "${ECHO_T}$ac_header_compiler" >&6
29881 # Is the header present?
29882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890 #include <$ac_header>
29891 _ACEOF
29892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29894 ac_status=$?
29895 grep -v '^ *+' conftest.er1 >conftest.err
29896 rm -f conftest.er1
29897 cat conftest.err >&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); } >/dev/null; then
29900 if test -s conftest.err; then
29901 ac_cpp_err=$ac_c_preproc_warn_flag
29902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29903 else
29904 ac_cpp_err=
29906 else
29907 ac_cpp_err=yes
29909 if test -z "$ac_cpp_err"; then
29910 ac_header_preproc=yes
29911 else
29912 echo "$as_me: failed program was:" >&5
29913 sed 's/^/| /' conftest.$ac_ext >&5
29915 ac_header_preproc=no
29917 rm -f conftest.err conftest.$ac_ext
29918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29919 echo "${ECHO_T}$ac_header_preproc" >&6
29921 # So? What about this header?
29922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29923 yes:no: )
29924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29928 ac_header_preproc=yes
29930 no:yes:* )
29931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29944 cat <<\_ASBOX
29945 ## ----------------------------------------- ##
29946 ## Report this to the package-unused lists. ##
29947 ## ----------------------------------------- ##
29948 _ASBOX
29950 sed "s/^/$as_me: WARNING: /" >&2
29952 esac
29953 echo "$as_me:$LINENO: checking for $ac_header" >&5
29954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29956 echo $ECHO_N "(cached) $ECHO_C" >&6
29957 else
29958 eval "$as_ac_Header=\$ac_header_preproc"
29960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29965 cat >>confdefs.h <<_ACEOF
29966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29967 _ACEOF
29971 done
29974 if test "${glibcxx_cv_WRITEV+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29978 if test x$gcc_no_link = xyes; then
29979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29981 { (exit 1); exit 1; }; }
29983 cat >conftest.$ac_ext <<_ACEOF
29984 /* confdefs.h. */
29985 _ACEOF
29986 cat confdefs.h >>conftest.$ac_ext
29987 cat >>conftest.$ac_ext <<_ACEOF
29988 /* end confdefs.h. */
29989 #include <sys/uio.h>
29991 main ()
29993 struct iovec iov[2];
29994 writev(0, iov, 0);
29996 return 0;
29998 _ACEOF
29999 rm -f conftest.$ac_objext conftest$ac_exeext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001 (eval $ac_link) 2>conftest.er1
30002 ac_status=$?
30003 grep -v '^ *+' conftest.er1 >conftest.err
30004 rm -f conftest.er1
30005 cat conftest.err >&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); } &&
30008 { ac_try='test -z "$ac_c_werror_flag"
30009 || test ! -s conftest.err'
30010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011 (eval $ac_try) 2>&5
30012 ac_status=$?
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; } &&
30015 { ac_try='test -s conftest$ac_exeext'
30016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30017 (eval $ac_try) 2>&5
30018 ac_status=$?
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); }; }; then
30021 glibcxx_cv_WRITEV=yes
30022 else
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.$ac_ext >&5
30026 glibcxx_cv_WRITEV=no
30028 rm -f conftest.err conftest.$ac_objext \
30029 conftest$ac_exeext conftest.$ac_ext
30033 if test $glibcxx_cv_WRITEV = yes; then
30034 cat >>confdefs.h <<\_ACEOF
30035 #define HAVE_WRITEV 1
30036 _ACEOF
30041 # For the __streamoff_base_type typedef.
30043 if test "${glibcxx_cv_INT64_T+set}" = set; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30045 else
30047 cat >conftest.$ac_ext <<_ACEOF
30048 /* confdefs.h. */
30049 _ACEOF
30050 cat confdefs.h >>conftest.$ac_ext
30051 cat >>conftest.$ac_ext <<_ACEOF
30052 /* end confdefs.h. */
30053 #include <stdint.h>
30055 main ()
30057 int64_t var;
30059 return 0;
30061 _ACEOF
30062 rm -f conftest.$ac_objext
30063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30064 (eval $ac_compile) 2>conftest.er1
30065 ac_status=$?
30066 grep -v '^ *+' conftest.er1 >conftest.err
30067 rm -f conftest.er1
30068 cat conftest.err >&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } &&
30071 { ac_try='test -z "$ac_c_werror_flag"
30072 || test ! -s conftest.err'
30073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30074 (eval $ac_try) 2>&5
30075 ac_status=$?
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); }; } &&
30078 { ac_try='test -s conftest.$ac_objext'
30079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080 (eval $ac_try) 2>&5
30081 ac_status=$?
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30084 glibcxx_cv_INT64_T=yes
30085 else
30086 echo "$as_me: failed program was:" >&5
30087 sed 's/^/| /' conftest.$ac_ext >&5
30089 glibcxx_cv_INT64_T=no
30091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30095 if test $glibcxx_cv_INT64_T = yes; then
30096 cat >>confdefs.h <<\_ACEOF
30097 #define HAVE_INT64_T 1
30098 _ACEOF
30103 # For LFS support.
30107 ac_ext=cc
30108 ac_cpp='$CXXCPP $CPPFLAGS'
30109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30113 ac_save_CXXFLAGS="$CXXFLAGS"
30114 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30115 if test "${glibcxx_cv_LFS+set}" = set; then
30116 echo $ECHO_N "(cached) $ECHO_C" >&6
30117 else
30119 if test x$gcc_no_link = xyes; then
30120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30122 { (exit 1); exit 1; }; }
30124 cat >conftest.$ac_ext <<_ACEOF
30125 /* confdefs.h. */
30126 _ACEOF
30127 cat confdefs.h >>conftest.$ac_ext
30128 cat >>conftest.$ac_ext <<_ACEOF
30129 /* end confdefs.h. */
30130 #include <unistd.h>
30131 #include <stdio.h>
30134 main ()
30136 FILE* fp;
30137 fopen64("t", "w");
30138 fseeko64(fp, 0, SEEK_CUR);
30139 ftello64(fp);
30140 lseek64(1, 0, SEEK_CUR);
30142 return 0;
30144 _ACEOF
30145 rm -f conftest.$ac_objext conftest$ac_exeext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30147 (eval $ac_link) 2>conftest.er1
30148 ac_status=$?
30149 grep -v '^ *+' conftest.er1 >conftest.err
30150 rm -f conftest.er1
30151 cat conftest.err >&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try='test -z "$ac_cxx_werror_flag"
30155 || test ! -s conftest.err'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; } &&
30161 { ac_try='test -s conftest$ac_exeext'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30164 ac_status=$?
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; }; then
30167 glibcxx_cv_LFS=yes
30168 else
30169 echo "$as_me: failed program was:" >&5
30170 sed 's/^/| /' conftest.$ac_ext >&5
30172 glibcxx_cv_LFS=no
30174 rm -f conftest.err conftest.$ac_objext \
30175 conftest$ac_exeext conftest.$ac_ext
30179 if test $glibcxx_cv_LFS = yes; then
30180 cat >>confdefs.h <<\_ACEOF
30181 #define _GLIBCXX_USE_LFS 1
30182 _ACEOF
30185 CXXFLAGS="$ac_save_CXXFLAGS"
30186 ac_ext=c
30187 ac_cpp='$CPP $CPPFLAGS'
30188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30195 if test "${ac_cv_header_locale_h+set}" = set; then
30196 echo "$as_me:$LINENO: checking for locale.h" >&5
30197 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30198 if test "${ac_cv_header_locale_h+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30202 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30203 else
30204 # Is the header compilable?
30205 echo "$as_me:$LINENO: checking locale.h usability" >&5
30206 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30207 cat >conftest.$ac_ext <<_ACEOF
30208 /* confdefs.h. */
30209 _ACEOF
30210 cat confdefs.h >>conftest.$ac_ext
30211 cat >>conftest.$ac_ext <<_ACEOF
30212 /* end confdefs.h. */
30213 $ac_includes_default
30214 #include <locale.h>
30215 _ACEOF
30216 rm -f conftest.$ac_objext
30217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30218 (eval $ac_compile) 2>conftest.er1
30219 ac_status=$?
30220 grep -v '^ *+' conftest.er1 >conftest.err
30221 rm -f conftest.er1
30222 cat conftest.err >&5
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); } &&
30225 { ac_try='test -z "$ac_c_werror_flag"
30226 || test ! -s conftest.err'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30229 ac_status=$?
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; } &&
30232 { ac_try='test -s conftest.$ac_objext'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30235 ac_status=$?
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; }; then
30238 ac_header_compiler=yes
30239 else
30240 echo "$as_me: failed program was:" >&5
30241 sed 's/^/| /' conftest.$ac_ext >&5
30243 ac_header_compiler=no
30245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30247 echo "${ECHO_T}$ac_header_compiler" >&6
30249 # Is the header present?
30250 echo "$as_me:$LINENO: checking locale.h presence" >&5
30251 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30252 cat >conftest.$ac_ext <<_ACEOF
30253 /* confdefs.h. */
30254 _ACEOF
30255 cat confdefs.h >>conftest.$ac_ext
30256 cat >>conftest.$ac_ext <<_ACEOF
30257 /* end confdefs.h. */
30258 #include <locale.h>
30259 _ACEOF
30260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30262 ac_status=$?
30263 grep -v '^ *+' conftest.er1 >conftest.err
30264 rm -f conftest.er1
30265 cat conftest.err >&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); } >/dev/null; then
30268 if test -s conftest.err; then
30269 ac_cpp_err=$ac_c_preproc_warn_flag
30270 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30271 else
30272 ac_cpp_err=
30274 else
30275 ac_cpp_err=yes
30277 if test -z "$ac_cpp_err"; then
30278 ac_header_preproc=yes
30279 else
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.$ac_ext >&5
30283 ac_header_preproc=no
30285 rm -f conftest.err conftest.$ac_ext
30286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30287 echo "${ECHO_T}$ac_header_preproc" >&6
30289 # So? What about this header?
30290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30291 yes:no: )
30292 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30293 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30294 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30295 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30296 ac_header_preproc=yes
30298 no:yes:* )
30299 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30300 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30301 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30302 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30303 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30304 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30305 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30306 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30307 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30308 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30309 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30310 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30312 cat <<\_ASBOX
30313 ## ----------------------------------------- ##
30314 ## Report this to the package-unused lists. ##
30315 ## ----------------------------------------- ##
30316 _ASBOX
30318 sed "s/^/$as_me: WARNING: /" >&2
30320 esac
30321 echo "$as_me:$LINENO: checking for locale.h" >&5
30322 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30323 if test "${ac_cv_header_locale_h+set}" = set; then
30324 echo $ECHO_N "(cached) $ECHO_C" >&6
30325 else
30326 ac_cv_header_locale_h=$ac_header_preproc
30328 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30329 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30332 if test $ac_cv_header_locale_h = yes; then
30334 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30335 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30336 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30337 echo $ECHO_N "(cached) $ECHO_C" >&6
30338 else
30339 if test x$gcc_no_link = xyes; then
30340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30342 { (exit 1); exit 1; }; }
30344 cat >conftest.$ac_ext <<_ACEOF
30345 /* confdefs.h. */
30346 _ACEOF
30347 cat confdefs.h >>conftest.$ac_ext
30348 cat >>conftest.$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30350 #include <locale.h>
30352 main ()
30354 return LC_MESSAGES
30356 return 0;
30358 _ACEOF
30359 rm -f conftest.$ac_objext conftest$ac_exeext
30360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30361 (eval $ac_link) 2>conftest.er1
30362 ac_status=$?
30363 grep -v '^ *+' conftest.er1 >conftest.err
30364 rm -f conftest.er1
30365 cat conftest.err >&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); } &&
30368 { ac_try='test -z "$ac_c_werror_flag"
30369 || test ! -s conftest.err'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30372 ac_status=$?
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; } &&
30375 { ac_try='test -s conftest$ac_exeext'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30378 ac_status=$?
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; }; then
30381 ac_cv_val_LC_MESSAGES=yes
30382 else
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.$ac_ext >&5
30386 ac_cv_val_LC_MESSAGES=no
30388 rm -f conftest.err conftest.$ac_objext \
30389 conftest$ac_exeext conftest.$ac_ext
30391 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30392 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30393 if test $ac_cv_val_LC_MESSAGES = yes; then
30394 cat >>confdefs.h <<\_ACEOF
30395 #define HAVE_LC_MESSAGES 1
30396 _ACEOF
30405 cat >conftest.$ac_ext <<_ACEOF
30406 /* confdefs.h. */
30407 _ACEOF
30408 cat confdefs.h >>conftest.$ac_ext
30409 cat >>conftest.$ac_ext <<_ACEOF
30410 /* end confdefs.h. */
30411 #include <setjmp.h>
30413 main ()
30415 sigjmp_buf env;
30416 while (! sigsetjmp (env, 1))
30417 siglongjmp (env, 1);
30420 return 0;
30422 _ACEOF
30423 rm -f conftest.$ac_objext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30425 (eval $ac_compile) 2>conftest.er1
30426 ac_status=$?
30427 grep -v '^ *+' conftest.er1 >conftest.err
30428 rm -f conftest.er1
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } &&
30432 { ac_try='test -z "$ac_c_werror_flag"
30433 || test ! -s conftest.err'
30434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30435 (eval $ac_try) 2>&5
30436 ac_status=$?
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); }; } &&
30439 { ac_try='test -s conftest.$ac_objext'
30440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30441 (eval $ac_try) 2>&5
30442 ac_status=$?
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); }; }; then
30446 cat >>confdefs.h <<\_ACEOF
30447 #define HAVE_SIGSETJMP 1
30448 _ACEOF
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30457 if test x$gcc_no_link = xyes; then
30458 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30459 ac_cv_func_mmap_fixed_mapped=no
30462 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30465 for ac_header in stdlib.h unistd.h
30467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30469 echo "$as_me:$LINENO: checking for $ac_header" >&5
30470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30472 echo $ECHO_N "(cached) $ECHO_C" >&6
30474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30476 else
30477 # Is the header compilable?
30478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30480 cat >conftest.$ac_ext <<_ACEOF
30481 /* confdefs.h. */
30482 _ACEOF
30483 cat confdefs.h >>conftest.$ac_ext
30484 cat >>conftest.$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30486 $ac_includes_default
30487 #include <$ac_header>
30488 _ACEOF
30489 rm -f conftest.$ac_objext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30491 (eval $ac_compile) 2>conftest.er1
30492 ac_status=$?
30493 grep -v '^ *+' conftest.er1 >conftest.err
30494 rm -f conftest.er1
30495 cat conftest.err >&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try='test -z "$ac_c_werror_flag"
30499 || test ! -s conftest.err'
30500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501 (eval $ac_try) 2>&5
30502 ac_status=$?
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; } &&
30505 { ac_try='test -s conftest.$ac_objext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 ac_header_compiler=yes
30512 else
30513 echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.$ac_ext >&5
30516 ac_header_compiler=no
30518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30520 echo "${ECHO_T}$ac_header_compiler" >&6
30522 # Is the header present?
30523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30525 cat >conftest.$ac_ext <<_ACEOF
30526 /* confdefs.h. */
30527 _ACEOF
30528 cat confdefs.h >>conftest.$ac_ext
30529 cat >>conftest.$ac_ext <<_ACEOF
30530 /* end confdefs.h. */
30531 #include <$ac_header>
30532 _ACEOF
30533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30535 ac_status=$?
30536 grep -v '^ *+' conftest.er1 >conftest.err
30537 rm -f conftest.er1
30538 cat conftest.err >&5
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); } >/dev/null; then
30541 if test -s conftest.err; then
30542 ac_cpp_err=$ac_c_preproc_warn_flag
30543 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30544 else
30545 ac_cpp_err=
30547 else
30548 ac_cpp_err=yes
30550 if test -z "$ac_cpp_err"; then
30551 ac_header_preproc=yes
30552 else
30553 echo "$as_me: failed program was:" >&5
30554 sed 's/^/| /' conftest.$ac_ext >&5
30556 ac_header_preproc=no
30558 rm -f conftest.err conftest.$ac_ext
30559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30560 echo "${ECHO_T}$ac_header_preproc" >&6
30562 # So? What about this header?
30563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30564 yes:no: )
30565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30569 ac_header_preproc=yes
30571 no:yes:* )
30572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30585 cat <<\_ASBOX
30586 ## ----------------------------------------- ##
30587 ## Report this to the package-unused lists. ##
30588 ## ----------------------------------------- ##
30589 _ASBOX
30591 sed "s/^/$as_me: WARNING: /" >&2
30593 esac
30594 echo "$as_me:$LINENO: checking for $ac_header" >&5
30595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30597 echo $ECHO_N "(cached) $ECHO_C" >&6
30598 else
30599 eval "$as_ac_Header=\$ac_header_preproc"
30601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30606 cat >>confdefs.h <<_ACEOF
30607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30608 _ACEOF
30612 done
30615 for ac_func in getpagesize
30617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30618 echo "$as_me:$LINENO: checking for $ac_func" >&5
30619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30620 if eval "test \"\${$as_ac_var+set}\" = set"; then
30621 echo $ECHO_N "(cached) $ECHO_C" >&6
30622 else
30623 if test x$gcc_no_link = xyes; then
30624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30626 { (exit 1); exit 1; }; }
30628 cat >conftest.$ac_ext <<_ACEOF
30629 /* confdefs.h. */
30630 _ACEOF
30631 cat confdefs.h >>conftest.$ac_ext
30632 cat >>conftest.$ac_ext <<_ACEOF
30633 /* end confdefs.h. */
30634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30636 #define $ac_func innocuous_$ac_func
30638 /* System header to define __stub macros and hopefully few prototypes,
30639 which can conflict with char $ac_func (); below.
30640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30641 <limits.h> exists even on freestanding compilers. */
30643 #ifdef __STDC__
30644 # include <limits.h>
30645 #else
30646 # include <assert.h>
30647 #endif
30649 #undef $ac_func
30651 /* Override any gcc2 internal prototype to avoid an error. */
30652 #ifdef __cplusplus
30653 extern "C"
30655 #endif
30656 /* We use char because int might match the return type of a gcc2
30657 builtin and then its argument prototype would still apply. */
30658 char $ac_func ();
30659 /* The GNU C library defines this for functions which it implements
30660 to always fail with ENOSYS. Some functions are actually named
30661 something starting with __ and the normal name is an alias. */
30662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30663 choke me
30664 #else
30665 char (*f) () = $ac_func;
30666 #endif
30667 #ifdef __cplusplus
30669 #endif
30672 main ()
30674 return f != $ac_func;
30676 return 0;
30678 _ACEOF
30679 rm -f conftest.$ac_objext conftest$ac_exeext
30680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30681 (eval $ac_link) 2>conftest.er1
30682 ac_status=$?
30683 grep -v '^ *+' conftest.er1 >conftest.err
30684 rm -f conftest.er1
30685 cat conftest.err >&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); } &&
30688 { ac_try='test -z "$ac_c_werror_flag"
30689 || test ! -s conftest.err'
30690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30691 (eval $ac_try) 2>&5
30692 ac_status=$?
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); }; } &&
30695 { ac_try='test -s conftest$ac_exeext'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; }; then
30701 eval "$as_ac_var=yes"
30702 else
30703 echo "$as_me: failed program was:" >&5
30704 sed 's/^/| /' conftest.$ac_ext >&5
30706 eval "$as_ac_var=no"
30708 rm -f conftest.err conftest.$ac_objext \
30709 conftest$ac_exeext conftest.$ac_ext
30711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30713 if test `eval echo '${'$as_ac_var'}'` = yes; then
30714 cat >>confdefs.h <<_ACEOF
30715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30716 _ACEOF
30719 done
30721 echo "$as_me:$LINENO: checking for working mmap" >&5
30722 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30723 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 else
30726 if test "$cross_compiling" = yes; then
30727 ac_cv_func_mmap_fixed_mapped=no
30728 else
30729 cat >conftest.$ac_ext <<_ACEOF
30730 /* confdefs.h. */
30731 _ACEOF
30732 cat confdefs.h >>conftest.$ac_ext
30733 cat >>conftest.$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 $ac_includes_default
30736 /* malloc might have been renamed as rpl_malloc. */
30737 #undef malloc
30739 /* Thanks to Mike Haertel and Jim Avera for this test.
30740 Here is a matrix of mmap possibilities:
30741 mmap private not fixed
30742 mmap private fixed at somewhere currently unmapped
30743 mmap private fixed at somewhere already mapped
30744 mmap shared not fixed
30745 mmap shared fixed at somewhere currently unmapped
30746 mmap shared fixed at somewhere already mapped
30747 For private mappings, we should verify that changes cannot be read()
30748 back from the file, nor mmap's back from the file at a different
30749 address. (There have been systems where private was not correctly
30750 implemented like the infamous i386 svr4.0, and systems where the
30751 VM page cache was not coherent with the file system buffer cache
30752 like early versions of FreeBSD and possibly contemporary NetBSD.)
30753 For shared mappings, we should conversely verify that changes get
30754 propagated back to all the places they're supposed to be.
30756 Grep wants private fixed already mapped.
30757 The main things grep needs to know about mmap are:
30758 * does it exist and is it safe to write into the mmap'd area
30759 * how to use it (BSD variants) */
30761 #include <fcntl.h>
30762 #include <sys/mman.h>
30764 #if !STDC_HEADERS && !HAVE_STDLIB_H
30765 char *malloc ();
30766 #endif
30768 /* This mess was copied from the GNU getpagesize.h. */
30769 #if !HAVE_GETPAGESIZE
30770 /* Assume that all systems that can run configure have sys/param.h. */
30771 # if !HAVE_SYS_PARAM_H
30772 # define HAVE_SYS_PARAM_H 1
30773 # endif
30775 # ifdef _SC_PAGESIZE
30776 # define getpagesize() sysconf(_SC_PAGESIZE)
30777 # else /* no _SC_PAGESIZE */
30778 # if HAVE_SYS_PARAM_H
30779 # include <sys/param.h>
30780 # ifdef EXEC_PAGESIZE
30781 # define getpagesize() EXEC_PAGESIZE
30782 # else /* no EXEC_PAGESIZE */
30783 # ifdef NBPG
30784 # define getpagesize() NBPG * CLSIZE
30785 # ifndef CLSIZE
30786 # define CLSIZE 1
30787 # endif /* no CLSIZE */
30788 # else /* no NBPG */
30789 # ifdef NBPC
30790 # define getpagesize() NBPC
30791 # else /* no NBPC */
30792 # ifdef PAGESIZE
30793 # define getpagesize() PAGESIZE
30794 # endif /* PAGESIZE */
30795 # endif /* no NBPC */
30796 # endif /* no NBPG */
30797 # endif /* no EXEC_PAGESIZE */
30798 # else /* no HAVE_SYS_PARAM_H */
30799 # define getpagesize() 8192 /* punt totally */
30800 # endif /* no HAVE_SYS_PARAM_H */
30801 # endif /* no _SC_PAGESIZE */
30803 #endif /* no HAVE_GETPAGESIZE */
30806 main ()
30808 char *data, *data2, *data3;
30809 int i, pagesize;
30810 int fd;
30812 pagesize = getpagesize ();
30814 /* First, make a file with some known garbage in it. */
30815 data = (char *) malloc (pagesize);
30816 if (!data)
30817 exit (1);
30818 for (i = 0; i < pagesize; ++i)
30819 *(data + i) = rand ();
30820 umask (0);
30821 fd = creat ("conftest.mmap", 0600);
30822 if (fd < 0)
30823 exit (1);
30824 if (write (fd, data, pagesize) != pagesize)
30825 exit (1);
30826 close (fd);
30828 /* Next, try to mmap the file at a fixed address which already has
30829 something else allocated at it. If we can, also make sure that
30830 we see the same garbage. */
30831 fd = open ("conftest.mmap", O_RDWR);
30832 if (fd < 0)
30833 exit (1);
30834 data2 = (char *) malloc (2 * pagesize);
30835 if (!data2)
30836 exit (1);
30837 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30838 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30839 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30840 exit (1);
30841 for (i = 0; i < pagesize; ++i)
30842 if (*(data + i) != *(data2 + i))
30843 exit (1);
30845 /* Finally, make sure that changes to the mapped area do not
30846 percolate back to the file as seen by read(). (This is a bug on
30847 some variants of i386 svr4.0.) */
30848 for (i = 0; i < pagesize; ++i)
30849 *(data2 + i) = *(data2 + i) + 1;
30850 data3 = (char *) malloc (pagesize);
30851 if (!data3)
30852 exit (1);
30853 if (read (fd, data3, pagesize) != pagesize)
30854 exit (1);
30855 for (i = 0; i < pagesize; ++i)
30856 if (*(data + i) != *(data3 + i))
30857 exit (1);
30858 close (fd);
30859 exit (0);
30861 _ACEOF
30862 rm -f conftest$ac_exeext
30863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30864 (eval $ac_link) 2>&5
30865 ac_status=$?
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30869 (eval $ac_try) 2>&5
30870 ac_status=$?
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; }; then
30873 ac_cv_func_mmap_fixed_mapped=yes
30874 else
30875 echo "$as_me: program exited with status $ac_status" >&5
30876 echo "$as_me: failed program was:" >&5
30877 sed 's/^/| /' conftest.$ac_ext >&5
30879 ( exit $ac_status )
30880 ac_cv_func_mmap_fixed_mapped=no
30882 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30885 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30886 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30887 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30889 cat >>confdefs.h <<\_ACEOF
30890 #define HAVE_MMAP 1
30891 _ACEOF
30894 rm -f conftest.mmap
30898 else
30900 # This lets us hard-code the functionality we know we'll have in the cross
30901 # target environment. "Let" is a sugar-coated word placed on an especially
30902 # dull and tedious hack, actually.
30904 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30905 # that involve linking, can't be used:
30906 # "cannot open sim-crt0.o"
30907 # "cannot open crt0.o"
30908 # etc. All this is because there currently exists no unified, consistent
30909 # way for top level CC information to be passed down to target directories:
30910 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30911 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30912 # crosses can be removed.
30914 # If Canadian cross, then don't pick up tools from the build directory.
30915 # Used only in GLIBCXX_EXPORT_INCLUDES.
30916 if test -n "$with_cross_host" &&
30917 test x"$build_alias" != x"$with_cross_host" &&
30918 test x"$build" != x"$target";
30919 then
30920 CANADIAN=yes
30921 else
30922 CANADIAN=no
30925 # Construct crosses by hand, eliminating bits that need ld...
30926 # GLIBCXX_CHECK_COMPILER_FEATURES
30927 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30928 # GLIBCXX_CHECK_MATH_SUPPORT
30930 # First, test for "known" system libraries. We may be using newlib even
30931 # on a hosted environment.
30932 if test "x${with_newlib}" = "xyes"; then
30933 os_include_dir="os/newlib"
30934 cat >>confdefs.h <<\_ACEOF
30935 #define HAVE_HYPOT 1
30936 _ACEOF
30939 # GLIBCXX_CHECK_STDLIB_SUPPORT
30940 cat >>confdefs.h <<\_ACEOF
30941 #define HAVE_STRTOF 1
30942 _ACEOF
30944 cat >>confdefs.h <<\_ACEOF
30945 #define HAVE_STRTOLD 1
30946 _ACEOF
30948 # AC_FUNC_MMAP
30949 cat >>confdefs.h <<\_ACEOF
30950 #define HAVE_MMAP 1
30951 _ACEOF
30954 cat >>confdefs.h <<\_ACEOF
30955 #define HAVE_ACOSF 1
30956 _ACEOF
30958 cat >>confdefs.h <<\_ACEOF
30959 #define HAVE_ASINF 1
30960 _ACEOF
30962 cat >>confdefs.h <<\_ACEOF
30963 #define HAVE_ATAN2F 1
30964 _ACEOF
30966 cat >>confdefs.h <<\_ACEOF
30967 #define HAVE_ATANF 1
30968 _ACEOF
30970 cat >>confdefs.h <<\_ACEOF
30971 #define HAVE_CEILF 1
30972 _ACEOF
30974 cat >>confdefs.h <<\_ACEOF
30975 #define HAVE_COPYSIGN 1
30976 _ACEOF
30978 cat >>confdefs.h <<\_ACEOF
30979 #define HAVE_COPYSIGNF 1
30980 _ACEOF
30982 cat >>confdefs.h <<\_ACEOF
30983 #define HAVE_COSF 1
30984 _ACEOF
30986 cat >>confdefs.h <<\_ACEOF
30987 #define HAVE_COSHF 1
30988 _ACEOF
30990 cat >>confdefs.h <<\_ACEOF
30991 #define HAVE_EXPF 1
30992 _ACEOF
30994 cat >>confdefs.h <<\_ACEOF
30995 #define HAVE_FABSF 1
30996 _ACEOF
30998 cat >>confdefs.h <<\_ACEOF
30999 #define HAVE_FLOORF 1
31000 _ACEOF
31002 cat >>confdefs.h <<\_ACEOF
31003 #define HAVE_FMODF 1
31004 _ACEOF
31006 cat >>confdefs.h <<\_ACEOF
31007 #define HAVE_FREXPF 1
31008 _ACEOF
31010 cat >>confdefs.h <<\_ACEOF
31011 #define HAVE_LDEXPF 1
31012 _ACEOF
31014 cat >>confdefs.h <<\_ACEOF
31015 #define HAVE_LOG10F 1
31016 _ACEOF
31018 cat >>confdefs.h <<\_ACEOF
31019 #define HAVE_LOGF 1
31020 _ACEOF
31022 cat >>confdefs.h <<\_ACEOF
31023 #define HAVE_MODFF 1
31024 _ACEOF
31026 cat >>confdefs.h <<\_ACEOF
31027 #define HAVE_POWF 1
31028 _ACEOF
31030 cat >>confdefs.h <<\_ACEOF
31031 #define HAVE_SINF 1
31032 _ACEOF
31034 cat >>confdefs.h <<\_ACEOF
31035 #define HAVE_SINHF 1
31036 _ACEOF
31038 cat >>confdefs.h <<\_ACEOF
31039 #define HAVE_SQRTF 1
31040 _ACEOF
31042 cat >>confdefs.h <<\_ACEOF
31043 #define HAVE_TANF 1
31044 _ACEOF
31046 cat >>confdefs.h <<\_ACEOF
31047 #define HAVE_TANHF 1
31048 _ACEOF
31051 cat >>confdefs.h <<\_ACEOF
31052 #define HAVE_S_ISREG 1
31053 _ACEOF
31055 cat >>confdefs.h <<\_ACEOF
31056 #define HAVE_S_IFREG 1
31057 _ACEOF
31059 else
31061 # Base decisions on target environment.
31062 case "${host}" in
31063 *-darwin*)
31064 # Darwin versions vary, but the linker should work in a cross environment,
31065 # so we just check for all the features here.
31066 # Check for available headers.
31080 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31081 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31082 sys/types.h
31084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31086 echo "$as_me:$LINENO: checking for $ac_header" >&5
31087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31089 echo $ECHO_N "(cached) $ECHO_C" >&6
31091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31093 else
31094 # Is the header compilable?
31095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31097 cat >conftest.$ac_ext <<_ACEOF
31098 /* confdefs.h. */
31099 _ACEOF
31100 cat confdefs.h >>conftest.$ac_ext
31101 cat >>conftest.$ac_ext <<_ACEOF
31102 /* end confdefs.h. */
31103 $ac_includes_default
31104 #include <$ac_header>
31105 _ACEOF
31106 rm -f conftest.$ac_objext
31107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31108 (eval $ac_compile) 2>conftest.er1
31109 ac_status=$?
31110 grep -v '^ *+' conftest.er1 >conftest.err
31111 rm -f conftest.er1
31112 cat conftest.err >&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try='test -z "$ac_c_werror_flag"
31116 || test ! -s conftest.err'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31119 ac_status=$?
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; } &&
31122 { ac_try='test -s conftest.$ac_objext'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31125 ac_status=$?
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; }; then
31128 ac_header_compiler=yes
31129 else
31130 echo "$as_me: failed program was:" >&5
31131 sed 's/^/| /' conftest.$ac_ext >&5
31133 ac_header_compiler=no
31135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31137 echo "${ECHO_T}$ac_header_compiler" >&6
31139 # Is the header present?
31140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31142 cat >conftest.$ac_ext <<_ACEOF
31143 /* confdefs.h. */
31144 _ACEOF
31145 cat confdefs.h >>conftest.$ac_ext
31146 cat >>conftest.$ac_ext <<_ACEOF
31147 /* end confdefs.h. */
31148 #include <$ac_header>
31149 _ACEOF
31150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31152 ac_status=$?
31153 grep -v '^ *+' conftest.er1 >conftest.err
31154 rm -f conftest.er1
31155 cat conftest.err >&5
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); } >/dev/null; then
31158 if test -s conftest.err; then
31159 ac_cpp_err=$ac_c_preproc_warn_flag
31160 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31161 else
31162 ac_cpp_err=
31164 else
31165 ac_cpp_err=yes
31167 if test -z "$ac_cpp_err"; then
31168 ac_header_preproc=yes
31169 else
31170 echo "$as_me: failed program was:" >&5
31171 sed 's/^/| /' conftest.$ac_ext >&5
31173 ac_header_preproc=no
31175 rm -f conftest.err conftest.$ac_ext
31176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31177 echo "${ECHO_T}$ac_header_preproc" >&6
31179 # So? What about this header?
31180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31181 yes:no: )
31182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31186 ac_header_preproc=yes
31188 no:yes:* )
31189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31202 cat <<\_ASBOX
31203 ## ----------------------------------------- ##
31204 ## Report this to the package-unused lists. ##
31205 ## ----------------------------------------- ##
31206 _ASBOX
31208 sed "s/^/$as_me: WARNING: /" >&2
31210 esac
31211 echo "$as_me:$LINENO: checking for $ac_header" >&5
31212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31215 else
31216 eval "$as_ac_Header=\$ac_header_preproc"
31218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31223 cat >>confdefs.h <<_ACEOF
31224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31225 _ACEOF
31229 done
31233 # All these tests are for C++; save the language and the compiler flags.
31234 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31235 # found in GLIBCXX_CONFIGURE.
31238 ac_ext=cc
31239 ac_cpp='$CXXCPP $CPPFLAGS'
31240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31244 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31245 ac_save_CXXFLAGS="$CXXFLAGS"
31247 # Check for maintainer-mode bits.
31248 if test x"$USE_MAINTAINER_MODE" = xno; then
31249 WERROR=''
31250 else
31251 WERROR='-Werror'
31254 # Check for -ffunction-sections -fdata-sections
31255 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31256 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31257 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31258 cat >conftest.$ac_ext <<_ACEOF
31259 /* confdefs.h. */
31260 _ACEOF
31261 cat confdefs.h >>conftest.$ac_ext
31262 cat >>conftest.$ac_ext <<_ACEOF
31263 /* end confdefs.h. */
31266 main ()
31268 int foo;
31270 return 0;
31272 _ACEOF
31273 rm -f conftest.$ac_objext
31274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31275 (eval $ac_compile) 2>conftest.er1
31276 ac_status=$?
31277 grep -v '^ *+' conftest.er1 >conftest.err
31278 rm -f conftest.er1
31279 cat conftest.err >&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); } &&
31282 { ac_try='test -z "$ac_cxx_werror_flag"
31283 || test ! -s conftest.err'
31284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31285 (eval $ac_try) 2>&5
31286 ac_status=$?
31287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 (exit $ac_status); }; } &&
31289 { ac_try='test -s conftest.$ac_objext'
31290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31291 (eval $ac_try) 2>&5
31292 ac_status=$?
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); }; }; then
31295 ac_fdsections=yes
31296 else
31297 echo "$as_me: failed program was:" >&5
31298 sed 's/^/| /' conftest.$ac_ext >&5
31300 ac_fdsections=no
31302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31303 if test "$ac_test_CXXFLAGS" = set; then
31304 CXXFLAGS="$ac_save_CXXFLAGS"
31305 else
31306 # this is the suspicious part
31307 CXXFLAGS=''
31309 if test x"$ac_fdsections" = x"yes"; then
31310 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31312 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31313 echo "${ECHO_T}$ac_fdsections" >&6
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31324 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31326 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31327 ac_save_CXXFLAGS="$CXXFLAGS"
31328 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31330 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31331 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31332 if test "${ac_cv_lib_m_sin+set}" = set; then
31333 echo $ECHO_N "(cached) $ECHO_C" >&6
31334 else
31335 ac_check_lib_save_LIBS=$LIBS
31336 LIBS="-lm $LIBS"
31337 if test x$gcc_no_link = xyes; then
31338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31340 { (exit 1); exit 1; }; }
31342 cat >conftest.$ac_ext <<_ACEOF
31343 /* confdefs.h. */
31344 _ACEOF
31345 cat confdefs.h >>conftest.$ac_ext
31346 cat >>conftest.$ac_ext <<_ACEOF
31347 /* end confdefs.h. */
31349 /* Override any gcc2 internal prototype to avoid an error. */
31350 #ifdef __cplusplus
31351 extern "C"
31352 #endif
31353 /* We use char because int might match the return type of a gcc2
31354 builtin and then its argument prototype would still apply. */
31355 char sin ();
31357 main ()
31359 sin ();
31361 return 0;
31363 _ACEOF
31364 rm -f conftest.$ac_objext conftest$ac_exeext
31365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31366 (eval $ac_link) 2>conftest.er1
31367 ac_status=$?
31368 grep -v '^ *+' conftest.er1 >conftest.err
31369 rm -f conftest.er1
31370 cat conftest.err >&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); } &&
31373 { ac_try='test -z "$ac_c_werror_flag"
31374 || test ! -s conftest.err'
31375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31376 (eval $ac_try) 2>&5
31377 ac_status=$?
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); }; } &&
31380 { ac_try='test -s conftest$ac_exeext'
31381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31382 (eval $ac_try) 2>&5
31383 ac_status=$?
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); }; }; then
31386 ac_cv_lib_m_sin=yes
31387 else
31388 echo "$as_me: failed program was:" >&5
31389 sed 's/^/| /' conftest.$ac_ext >&5
31391 ac_cv_lib_m_sin=no
31393 rm -f conftest.err conftest.$ac_objext \
31394 conftest$ac_exeext conftest.$ac_ext
31395 LIBS=$ac_check_lib_save_LIBS
31397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31398 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31399 if test $ac_cv_lib_m_sin = yes; then
31400 libm="-lm"
31403 ac_save_LIBS="$LIBS"
31404 LIBS="$LIBS $libm"
31408 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31409 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31410 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31411 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31412 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 else
31417 ac_ext=cc
31418 ac_cpp='$CXXCPP $CPPFLAGS'
31419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423 cat >conftest.$ac_ext <<_ACEOF
31424 /* confdefs.h. */
31425 _ACEOF
31426 cat confdefs.h >>conftest.$ac_ext
31427 cat >>conftest.$ac_ext <<_ACEOF
31428 /* end confdefs.h. */
31429 #include <math.h>
31430 #ifdef HAVE_IEEEFP_H
31431 #include <ieeefp.h>
31432 #endif
31435 main ()
31437 isinf(0);
31439 return 0;
31441 _ACEOF
31442 rm -f conftest.$ac_objext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31444 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_isinf_use=yes
31465 else
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.$ac_ext >&5
31469 glibcxx_cv_func_isinf_use=no
31471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31472 ac_ext=c
31473 ac_cpp='$CPP $CPPFLAGS'
31474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31483 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31485 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31487 for ac_func in isinf
31489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31490 echo "$as_me:$LINENO: checking for $ac_func" >&5
31491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31492 if eval "test \"\${$as_ac_var+set}\" = set"; then
31493 echo $ECHO_N "(cached) $ECHO_C" >&6
31494 else
31495 if test x$gcc_no_link = xyes; then
31496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31498 { (exit 1); exit 1; }; }
31500 cat >conftest.$ac_ext <<_ACEOF
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31508 #define $ac_func innocuous_$ac_func
31510 /* System header to define __stub macros and hopefully few prototypes,
31511 which can conflict with char $ac_func (); below.
31512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31513 <limits.h> exists even on freestanding compilers. */
31515 #ifdef __STDC__
31516 # include <limits.h>
31517 #else
31518 # include <assert.h>
31519 #endif
31521 #undef $ac_func
31523 /* Override any gcc2 internal prototype to avoid an error. */
31524 #ifdef __cplusplus
31525 extern "C"
31527 #endif
31528 /* We use char because int might match the return type of a gcc2
31529 builtin and then its argument prototype would still apply. */
31530 char $ac_func ();
31531 /* The GNU C library defines this for functions which it implements
31532 to always fail with ENOSYS. Some functions are actually named
31533 something starting with __ and the normal name is an alias. */
31534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31535 choke me
31536 #else
31537 char (*f) () = $ac_func;
31538 #endif
31539 #ifdef __cplusplus
31541 #endif
31544 main ()
31546 return f != $ac_func;
31548 return 0;
31550 _ACEOF
31551 rm -f conftest.$ac_objext conftest$ac_exeext
31552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31553 (eval $ac_link) 2>conftest.er1
31554 ac_status=$?
31555 grep -v '^ *+' conftest.er1 >conftest.err
31556 rm -f conftest.er1
31557 cat conftest.err >&5
31558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559 (exit $ac_status); } &&
31560 { ac_try='test -z "$ac_c_werror_flag"
31561 || test ! -s conftest.err'
31562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31563 (eval $ac_try) 2>&5
31564 ac_status=$?
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); }; } &&
31567 { ac_try='test -s conftest$ac_exeext'
31568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31569 (eval $ac_try) 2>&5
31570 ac_status=$?
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); }; }; then
31573 eval "$as_ac_var=yes"
31574 else
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.$ac_ext >&5
31578 eval "$as_ac_var=no"
31580 rm -f conftest.err conftest.$ac_objext \
31581 conftest$ac_exeext conftest.$ac_ext
31583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31585 if test `eval echo '${'$as_ac_var'}'` = yes; then
31586 cat >>confdefs.h <<_ACEOF
31587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31588 _ACEOF
31591 done
31593 else
31595 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31596 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31597 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31598 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31599 echo $ECHO_N "(cached) $ECHO_C" >&6
31600 else
31604 ac_ext=cc
31605 ac_cpp='$CXXCPP $CPPFLAGS'
31606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31610 cat >conftest.$ac_ext <<_ACEOF
31611 /* confdefs.h. */
31612 _ACEOF
31613 cat confdefs.h >>conftest.$ac_ext
31614 cat >>conftest.$ac_ext <<_ACEOF
31615 /* end confdefs.h. */
31616 #include <math.h>
31617 #ifdef HAVE_IEEEFP_H
31618 #include <ieeefp.h>
31619 #endif
31622 main ()
31624 _isinf(0);
31626 return 0;
31628 _ACEOF
31629 rm -f conftest.$ac_objext
31630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31631 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isinf_use=yes
31652 else
31653 echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.$ac_ext >&5
31656 glibcxx_cv_func__isinf_use=no
31658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31659 ac_ext=c
31660 ac_cpp='$CPP $CPPFLAGS'
31661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31670 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31672 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31674 for ac_func in _isinf
31676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31677 echo "$as_me:$LINENO: checking for $ac_func" >&5
31678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31679 if eval "test \"\${$as_ac_var+set}\" = set"; then
31680 echo $ECHO_N "(cached) $ECHO_C" >&6
31681 else
31682 if test x$gcc_no_link = xyes; then
31683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31685 { (exit 1); exit 1; }; }
31687 cat >conftest.$ac_ext <<_ACEOF
31688 /* confdefs.h. */
31689 _ACEOF
31690 cat confdefs.h >>conftest.$ac_ext
31691 cat >>conftest.$ac_ext <<_ACEOF
31692 /* end confdefs.h. */
31693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31695 #define $ac_func innocuous_$ac_func
31697 /* System header to define __stub macros and hopefully few prototypes,
31698 which can conflict with char $ac_func (); below.
31699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31700 <limits.h> exists even on freestanding compilers. */
31702 #ifdef __STDC__
31703 # include <limits.h>
31704 #else
31705 # include <assert.h>
31706 #endif
31708 #undef $ac_func
31710 /* Override any gcc2 internal prototype to avoid an error. */
31711 #ifdef __cplusplus
31712 extern "C"
31714 #endif
31715 /* We use char because int might match the return type of a gcc2
31716 builtin and then its argument prototype would still apply. */
31717 char $ac_func ();
31718 /* The GNU C library defines this for functions which it implements
31719 to always fail with ENOSYS. Some functions are actually named
31720 something starting with __ and the normal name is an alias. */
31721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31722 choke me
31723 #else
31724 char (*f) () = $ac_func;
31725 #endif
31726 #ifdef __cplusplus
31728 #endif
31731 main ()
31733 return f != $ac_func;
31735 return 0;
31737 _ACEOF
31738 rm -f conftest.$ac_objext conftest$ac_exeext
31739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31740 (eval $ac_link) 2>conftest.er1
31741 ac_status=$?
31742 grep -v '^ *+' conftest.er1 >conftest.err
31743 rm -f conftest.er1
31744 cat conftest.err >&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); } &&
31747 { ac_try='test -z "$ac_c_werror_flag"
31748 || test ! -s conftest.err'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31751 ac_status=$?
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; } &&
31754 { ac_try='test -s conftest$ac_exeext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31757 ac_status=$?
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31760 eval "$as_ac_var=yes"
31761 else
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.$ac_ext >&5
31765 eval "$as_ac_var=no"
31767 rm -f conftest.err conftest.$ac_objext \
31768 conftest$ac_exeext conftest.$ac_ext
31770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31772 if test `eval echo '${'$as_ac_var'}'` = yes; then
31773 cat >>confdefs.h <<_ACEOF
31774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31775 _ACEOF
31778 done
31785 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31786 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31787 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31788 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31789 echo $ECHO_N "(cached) $ECHO_C" >&6
31790 else
31794 ac_ext=cc
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31800 cat >conftest.$ac_ext <<_ACEOF
31801 /* confdefs.h. */
31802 _ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806 #include <math.h>
31807 #ifdef HAVE_IEEEFP_H
31808 #include <ieeefp.h>
31809 #endif
31812 main ()
31814 isnan(0);
31816 return 0;
31818 _ACEOF
31819 rm -f conftest.$ac_objext
31820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31821 (eval $ac_compile) 2>conftest.er1
31822 ac_status=$?
31823 grep -v '^ *+' conftest.er1 >conftest.err
31824 rm -f conftest.er1
31825 cat conftest.err >&5
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); } &&
31828 { ac_try='test -z "$ac_cxx_werror_flag"
31829 || test ! -s conftest.err'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; } &&
31835 { ac_try='test -s conftest.$ac_objext'
31836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31837 (eval $ac_try) 2>&5
31838 ac_status=$?
31839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31840 (exit $ac_status); }; }; then
31841 glibcxx_cv_func_isnan_use=yes
31842 else
31843 echo "$as_me: failed program was:" >&5
31844 sed 's/^/| /' conftest.$ac_ext >&5
31846 glibcxx_cv_func_isnan_use=no
31848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31849 ac_ext=c
31850 ac_cpp='$CPP $CPPFLAGS'
31851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31860 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31862 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31864 for ac_func in isnan
31866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31867 echo "$as_me:$LINENO: checking for $ac_func" >&5
31868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31869 if eval "test \"\${$as_ac_var+set}\" = set"; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 else
31872 if test x$gcc_no_link = xyes; then
31873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31875 { (exit 1); exit 1; }; }
31877 cat >conftest.$ac_ext <<_ACEOF
31878 /* confdefs.h. */
31879 _ACEOF
31880 cat confdefs.h >>conftest.$ac_ext
31881 cat >>conftest.$ac_ext <<_ACEOF
31882 /* end confdefs.h. */
31883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31885 #define $ac_func innocuous_$ac_func
31887 /* System header to define __stub macros and hopefully few prototypes,
31888 which can conflict with char $ac_func (); below.
31889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31890 <limits.h> exists even on freestanding compilers. */
31892 #ifdef __STDC__
31893 # include <limits.h>
31894 #else
31895 # include <assert.h>
31896 #endif
31898 #undef $ac_func
31900 /* Override any gcc2 internal prototype to avoid an error. */
31901 #ifdef __cplusplus
31902 extern "C"
31904 #endif
31905 /* We use char because int might match the return type of a gcc2
31906 builtin and then its argument prototype would still apply. */
31907 char $ac_func ();
31908 /* The GNU C library defines this for functions which it implements
31909 to always fail with ENOSYS. Some functions are actually named
31910 something starting with __ and the normal name is an alias. */
31911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31912 choke me
31913 #else
31914 char (*f) () = $ac_func;
31915 #endif
31916 #ifdef __cplusplus
31918 #endif
31921 main ()
31923 return f != $ac_func;
31925 return 0;
31927 _ACEOF
31928 rm -f conftest.$ac_objext conftest$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31931 ac_status=$?
31932 grep -v '^ *+' conftest.er1 >conftest.err
31933 rm -f conftest.er1
31934 cat conftest.err >&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try='test -z "$ac_c_werror_flag"
31938 || test ! -s conftest.err'
31939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31940 (eval $ac_try) 2>&5
31941 ac_status=$?
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); }; } &&
31944 { ac_try='test -s conftest$ac_exeext'
31945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31946 (eval $ac_try) 2>&5
31947 ac_status=$?
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); }; }; then
31950 eval "$as_ac_var=yes"
31951 else
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.$ac_ext >&5
31955 eval "$as_ac_var=no"
31957 rm -f conftest.err conftest.$ac_objext \
31958 conftest$ac_exeext conftest.$ac_ext
31960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31962 if test `eval echo '${'$as_ac_var'}'` = yes; then
31963 cat >>confdefs.h <<_ACEOF
31964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31965 _ACEOF
31968 done
31970 else
31972 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31973 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31974 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31975 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31976 echo $ECHO_N "(cached) $ECHO_C" >&6
31977 else
31981 ac_ext=cc
31982 ac_cpp='$CXXCPP $CPPFLAGS'
31983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31987 cat >conftest.$ac_ext <<_ACEOF
31988 /* confdefs.h. */
31989 _ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 #include <math.h>
31994 #ifdef HAVE_IEEEFP_H
31995 #include <ieeefp.h>
31996 #endif
31999 main ()
32001 _isnan(0);
32003 return 0;
32005 _ACEOF
32006 rm -f conftest.$ac_objext
32007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32008 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isnan_use=yes
32029 else
32030 echo "$as_me: failed program was:" >&5
32031 sed 's/^/| /' conftest.$ac_ext >&5
32033 glibcxx_cv_func__isnan_use=no
32035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32036 ac_ext=c
32037 ac_cpp='$CPP $CPPFLAGS'
32038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32047 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32049 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32051 for ac_func in _isnan
32053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32054 echo "$as_me:$LINENO: checking for $ac_func" >&5
32055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32056 if eval "test \"\${$as_ac_var+set}\" = set"; then
32057 echo $ECHO_N "(cached) $ECHO_C" >&6
32058 else
32059 if test x$gcc_no_link = xyes; then
32060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32062 { (exit 1); exit 1; }; }
32064 cat >conftest.$ac_ext <<_ACEOF
32065 /* confdefs.h. */
32066 _ACEOF
32067 cat confdefs.h >>conftest.$ac_ext
32068 cat >>conftest.$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32072 #define $ac_func innocuous_$ac_func
32074 /* System header to define __stub macros and hopefully few prototypes,
32075 which can conflict with char $ac_func (); below.
32076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32077 <limits.h> exists even on freestanding compilers. */
32079 #ifdef __STDC__
32080 # include <limits.h>
32081 #else
32082 # include <assert.h>
32083 #endif
32085 #undef $ac_func
32087 /* Override any gcc2 internal prototype to avoid an error. */
32088 #ifdef __cplusplus
32089 extern "C"
32091 #endif
32092 /* We use char because int might match the return type of a gcc2
32093 builtin and then its argument prototype would still apply. */
32094 char $ac_func ();
32095 /* The GNU C library defines this for functions which it implements
32096 to always fail with ENOSYS. Some functions are actually named
32097 something starting with __ and the normal name is an alias. */
32098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32099 choke me
32100 #else
32101 char (*f) () = $ac_func;
32102 #endif
32103 #ifdef __cplusplus
32105 #endif
32108 main ()
32110 return f != $ac_func;
32112 return 0;
32114 _ACEOF
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32117 (eval $ac_link) 2>conftest.er1
32118 ac_status=$?
32119 grep -v '^ *+' conftest.er1 >conftest.err
32120 rm -f conftest.er1
32121 cat conftest.err >&5
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); } &&
32124 { ac_try='test -z "$ac_c_werror_flag"
32125 || test ! -s conftest.err'
32126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32127 (eval $ac_try) 2>&5
32128 ac_status=$?
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); }; } &&
32131 { ac_try='test -s conftest$ac_exeext'
32132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32133 (eval $ac_try) 2>&5
32134 ac_status=$?
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; }; then
32137 eval "$as_ac_var=yes"
32138 else
32139 echo "$as_me: failed program was:" >&5
32140 sed 's/^/| /' conftest.$ac_ext >&5
32142 eval "$as_ac_var=no"
32144 rm -f conftest.err conftest.$ac_objext \
32145 conftest$ac_exeext conftest.$ac_ext
32147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32149 if test `eval echo '${'$as_ac_var'}'` = yes; then
32150 cat >>confdefs.h <<_ACEOF
32151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32152 _ACEOF
32155 done
32162 echo "$as_me:$LINENO: checking for finite declaration" >&5
32163 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32164 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32165 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 else
32171 ac_ext=cc
32172 ac_cpp='$CXXCPP $CPPFLAGS'
32173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32177 cat >conftest.$ac_ext <<_ACEOF
32178 /* confdefs.h. */
32179 _ACEOF
32180 cat confdefs.h >>conftest.$ac_ext
32181 cat >>conftest.$ac_ext <<_ACEOF
32182 /* end confdefs.h. */
32183 #include <math.h>
32184 #ifdef HAVE_IEEEFP_H
32185 #include <ieeefp.h>
32186 #endif
32189 main ()
32191 finite(0);
32193 return 0;
32195 _ACEOF
32196 rm -f conftest.$ac_objext
32197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32198 (eval $ac_compile) 2>conftest.er1
32199 ac_status=$?
32200 grep -v '^ *+' conftest.er1 >conftest.err
32201 rm -f conftest.er1
32202 cat conftest.err >&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } &&
32205 { ac_try='test -z "$ac_cxx_werror_flag"
32206 || test ! -s conftest.err'
32207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208 (eval $ac_try) 2>&5
32209 ac_status=$?
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; } &&
32212 { ac_try='test -s conftest.$ac_objext'
32213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32214 (eval $ac_try) 2>&5
32215 ac_status=$?
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); }; }; then
32218 glibcxx_cv_func_finite_use=yes
32219 else
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.$ac_ext >&5
32223 glibcxx_cv_func_finite_use=no
32225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32226 ac_ext=c
32227 ac_cpp='$CPP $CPPFLAGS'
32228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32237 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32239 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32241 for ac_func in finite
32243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32244 echo "$as_me:$LINENO: checking for $ac_func" >&5
32245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32246 if eval "test \"\${$as_ac_var+set}\" = set"; then
32247 echo $ECHO_N "(cached) $ECHO_C" >&6
32248 else
32249 if test x$gcc_no_link = xyes; then
32250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32252 { (exit 1); exit 1; }; }
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32262 #define $ac_func innocuous_$ac_func
32264 /* System header to define __stub macros and hopefully few prototypes,
32265 which can conflict with char $ac_func (); below.
32266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32267 <limits.h> exists even on freestanding compilers. */
32269 #ifdef __STDC__
32270 # include <limits.h>
32271 #else
32272 # include <assert.h>
32273 #endif
32275 #undef $ac_func
32277 /* Override any gcc2 internal prototype to avoid an error. */
32278 #ifdef __cplusplus
32279 extern "C"
32281 #endif
32282 /* We use char because int might match the return type of a gcc2
32283 builtin and then its argument prototype would still apply. */
32284 char $ac_func ();
32285 /* The GNU C library defines this for functions which it implements
32286 to always fail with ENOSYS. Some functions are actually named
32287 something starting with __ and the normal name is an alias. */
32288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32289 choke me
32290 #else
32291 char (*f) () = $ac_func;
32292 #endif
32293 #ifdef __cplusplus
32295 #endif
32298 main ()
32300 return f != $ac_func;
32302 return 0;
32304 _ACEOF
32305 rm -f conftest.$ac_objext conftest$ac_exeext
32306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32307 (eval $ac_link) 2>conftest.er1
32308 ac_status=$?
32309 grep -v '^ *+' conftest.er1 >conftest.err
32310 rm -f conftest.er1
32311 cat conftest.err >&5
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); } &&
32314 { ac_try='test -z "$ac_c_werror_flag"
32315 || test ! -s conftest.err'
32316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32317 (eval $ac_try) 2>&5
32318 ac_status=$?
32319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32320 (exit $ac_status); }; } &&
32321 { ac_try='test -s conftest$ac_exeext'
32322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32323 (eval $ac_try) 2>&5
32324 ac_status=$?
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); }; }; then
32327 eval "$as_ac_var=yes"
32328 else
32329 echo "$as_me: failed program was:" >&5
32330 sed 's/^/| /' conftest.$ac_ext >&5
32332 eval "$as_ac_var=no"
32334 rm -f conftest.err conftest.$ac_objext \
32335 conftest$ac_exeext conftest.$ac_ext
32337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32339 if test `eval echo '${'$as_ac_var'}'` = yes; then
32340 cat >>confdefs.h <<_ACEOF
32341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32342 _ACEOF
32345 done
32347 else
32349 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32350 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32351 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32352 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32353 echo $ECHO_N "(cached) $ECHO_C" >&6
32354 else
32358 ac_ext=cc
32359 ac_cpp='$CXXCPP $CPPFLAGS'
32360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32364 cat >conftest.$ac_ext <<_ACEOF
32365 /* confdefs.h. */
32366 _ACEOF
32367 cat confdefs.h >>conftest.$ac_ext
32368 cat >>conftest.$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32370 #include <math.h>
32371 #ifdef HAVE_IEEEFP_H
32372 #include <ieeefp.h>
32373 #endif
32376 main ()
32378 _finite(0);
32380 return 0;
32382 _ACEOF
32383 rm -f conftest.$ac_objext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32385 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__finite_use=yes
32406 else
32407 echo "$as_me: failed program was:" >&5
32408 sed 's/^/| /' conftest.$ac_ext >&5
32410 glibcxx_cv_func__finite_use=no
32412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32413 ac_ext=c
32414 ac_cpp='$CPP $CPPFLAGS'
32415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32424 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32426 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32428 for ac_func in _finite
32430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32431 echo "$as_me:$LINENO: checking for $ac_func" >&5
32432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32433 if eval "test \"\${$as_ac_var+set}\" = set"; then
32434 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 else
32436 if test x$gcc_no_link = xyes; then
32437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32439 { (exit 1); exit 1; }; }
32441 cat >conftest.$ac_ext <<_ACEOF
32442 /* confdefs.h. */
32443 _ACEOF
32444 cat confdefs.h >>conftest.$ac_ext
32445 cat >>conftest.$ac_ext <<_ACEOF
32446 /* end confdefs.h. */
32447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32449 #define $ac_func innocuous_$ac_func
32451 /* System header to define __stub macros and hopefully few prototypes,
32452 which can conflict with char $ac_func (); below.
32453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32454 <limits.h> exists even on freestanding compilers. */
32456 #ifdef __STDC__
32457 # include <limits.h>
32458 #else
32459 # include <assert.h>
32460 #endif
32462 #undef $ac_func
32464 /* Override any gcc2 internal prototype to avoid an error. */
32465 #ifdef __cplusplus
32466 extern "C"
32468 #endif
32469 /* We use char because int might match the return type of a gcc2
32470 builtin and then its argument prototype would still apply. */
32471 char $ac_func ();
32472 /* The GNU C library defines this for functions which it implements
32473 to always fail with ENOSYS. Some functions are actually named
32474 something starting with __ and the normal name is an alias. */
32475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32476 choke me
32477 #else
32478 char (*f) () = $ac_func;
32479 #endif
32480 #ifdef __cplusplus
32482 #endif
32485 main ()
32487 return f != $ac_func;
32489 return 0;
32491 _ACEOF
32492 rm -f conftest.$ac_objext conftest$ac_exeext
32493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32494 (eval $ac_link) 2>conftest.er1
32495 ac_status=$?
32496 grep -v '^ *+' conftest.er1 >conftest.err
32497 rm -f conftest.er1
32498 cat conftest.err >&5
32499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32500 (exit $ac_status); } &&
32501 { ac_try='test -z "$ac_c_werror_flag"
32502 || test ! -s conftest.err'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32505 ac_status=$?
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; } &&
32508 { ac_try='test -s conftest$ac_exeext'
32509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32510 (eval $ac_try) 2>&5
32511 ac_status=$?
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); }; }; then
32514 eval "$as_ac_var=yes"
32515 else
32516 echo "$as_me: failed program was:" >&5
32517 sed 's/^/| /' conftest.$ac_ext >&5
32519 eval "$as_ac_var=no"
32521 rm -f conftest.err conftest.$ac_objext \
32522 conftest$ac_exeext conftest.$ac_ext
32524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32526 if test `eval echo '${'$as_ac_var'}'` = yes; then
32527 cat >>confdefs.h <<_ACEOF
32528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32529 _ACEOF
32532 done
32539 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32540 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32541 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32542 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32544 else
32548 ac_ext=cc
32549 ac_cpp='$CXXCPP $CPPFLAGS'
32550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32554 cat >conftest.$ac_ext <<_ACEOF
32555 /* confdefs.h. */
32556 _ACEOF
32557 cat confdefs.h >>conftest.$ac_ext
32558 cat >>conftest.$ac_ext <<_ACEOF
32559 /* end confdefs.h. */
32560 #include <math.h>
32562 main ()
32564 copysign(0, 0);
32566 return 0;
32568 _ACEOF
32569 rm -f conftest.$ac_objext
32570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32571 (eval $ac_compile) 2>conftest.er1
32572 ac_status=$?
32573 grep -v '^ *+' conftest.er1 >conftest.err
32574 rm -f conftest.er1
32575 cat conftest.err >&5
32576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577 (exit $ac_status); } &&
32578 { ac_try='test -z "$ac_cxx_werror_flag"
32579 || test ! -s conftest.err'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32582 ac_status=$?
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; } &&
32585 { ac_try='test -s conftest.$ac_objext'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32588 ac_status=$?
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; }; then
32591 glibcxx_cv_func_copysign_use=yes
32592 else
32593 echo "$as_me: failed program was:" >&5
32594 sed 's/^/| /' conftest.$ac_ext >&5
32596 glibcxx_cv_func_copysign_use=no
32598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32599 ac_ext=c
32600 ac_cpp='$CPP $CPPFLAGS'
32601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32610 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32612 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32614 for ac_func in copysign
32616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32617 echo "$as_me:$LINENO: checking for $ac_func" >&5
32618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32619 if eval "test \"\${$as_ac_var+set}\" = set"; then
32620 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 else
32622 if test x$gcc_no_link = xyes; then
32623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32625 { (exit 1); exit 1; }; }
32627 cat >conftest.$ac_ext <<_ACEOF
32628 /* confdefs.h. */
32629 _ACEOF
32630 cat confdefs.h >>conftest.$ac_ext
32631 cat >>conftest.$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32635 #define $ac_func innocuous_$ac_func
32637 /* System header to define __stub macros and hopefully few prototypes,
32638 which can conflict with char $ac_func (); below.
32639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32640 <limits.h> exists even on freestanding compilers. */
32642 #ifdef __STDC__
32643 # include <limits.h>
32644 #else
32645 # include <assert.h>
32646 #endif
32648 #undef $ac_func
32650 /* Override any gcc2 internal prototype to avoid an error. */
32651 #ifdef __cplusplus
32652 extern "C"
32654 #endif
32655 /* We use char because int might match the return type of a gcc2
32656 builtin and then its argument prototype would still apply. */
32657 char $ac_func ();
32658 /* The GNU C library defines this for functions which it implements
32659 to always fail with ENOSYS. Some functions are actually named
32660 something starting with __ and the normal name is an alias. */
32661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32662 choke me
32663 #else
32664 char (*f) () = $ac_func;
32665 #endif
32666 #ifdef __cplusplus
32668 #endif
32671 main ()
32673 return f != $ac_func;
32675 return 0;
32677 _ACEOF
32678 rm -f conftest.$ac_objext conftest$ac_exeext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32680 (eval $ac_link) 2>conftest.er1
32681 ac_status=$?
32682 grep -v '^ *+' conftest.er1 >conftest.err
32683 rm -f conftest.er1
32684 cat conftest.err >&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try='test -z "$ac_c_werror_flag"
32688 || test ! -s conftest.err'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32691 ac_status=$?
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; } &&
32694 { ac_try='test -s conftest$ac_exeext'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32697 ac_status=$?
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; }; then
32700 eval "$as_ac_var=yes"
32701 else
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.$ac_ext >&5
32705 eval "$as_ac_var=no"
32707 rm -f conftest.err conftest.$ac_objext \
32708 conftest$ac_exeext conftest.$ac_ext
32710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32712 if test `eval echo '${'$as_ac_var'}'` = yes; then
32713 cat >>confdefs.h <<_ACEOF
32714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32715 _ACEOF
32718 done
32720 else
32722 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32723 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32724 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32725 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32726 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 else
32731 ac_ext=cc
32732 ac_cpp='$CXXCPP $CPPFLAGS'
32733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32737 cat >conftest.$ac_ext <<_ACEOF
32738 /* confdefs.h. */
32739 _ACEOF
32740 cat confdefs.h >>conftest.$ac_ext
32741 cat >>conftest.$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32743 #include <math.h>
32745 main ()
32747 _copysign(0, 0);
32749 return 0;
32751 _ACEOF
32752 rm -f conftest.$ac_objext
32753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32754 (eval $ac_compile) 2>conftest.er1
32755 ac_status=$?
32756 grep -v '^ *+' conftest.er1 >conftest.err
32757 rm -f conftest.er1
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } &&
32761 { ac_try='test -z "$ac_cxx_werror_flag"
32762 || test ! -s conftest.err'
32763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32764 (eval $ac_try) 2>&5
32765 ac_status=$?
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); }; } &&
32768 { ac_try='test -s conftest.$ac_objext'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; }; then
32774 glibcxx_cv_func__copysign_use=yes
32775 else
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32779 glibcxx_cv_func__copysign_use=no
32781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32782 ac_ext=c
32783 ac_cpp='$CPP $CPPFLAGS'
32784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32793 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32795 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32797 for ac_func in _copysign
32799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32800 echo "$as_me:$LINENO: checking for $ac_func" >&5
32801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32802 if eval "test \"\${$as_ac_var+set}\" = set"; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 else
32805 if test x$gcc_no_link = xyes; then
32806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32808 { (exit 1); exit 1; }; }
32810 cat >conftest.$ac_ext <<_ACEOF
32811 /* confdefs.h. */
32812 _ACEOF
32813 cat confdefs.h >>conftest.$ac_ext
32814 cat >>conftest.$ac_ext <<_ACEOF
32815 /* end confdefs.h. */
32816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32818 #define $ac_func innocuous_$ac_func
32820 /* System header to define __stub macros and hopefully few prototypes,
32821 which can conflict with char $ac_func (); below.
32822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32823 <limits.h> exists even on freestanding compilers. */
32825 #ifdef __STDC__
32826 # include <limits.h>
32827 #else
32828 # include <assert.h>
32829 #endif
32831 #undef $ac_func
32833 /* Override any gcc2 internal prototype to avoid an error. */
32834 #ifdef __cplusplus
32835 extern "C"
32837 #endif
32838 /* We use char because int might match the return type of a gcc2
32839 builtin and then its argument prototype would still apply. */
32840 char $ac_func ();
32841 /* The GNU C library defines this for functions which it implements
32842 to always fail with ENOSYS. Some functions are actually named
32843 something starting with __ and the normal name is an alias. */
32844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32845 choke me
32846 #else
32847 char (*f) () = $ac_func;
32848 #endif
32849 #ifdef __cplusplus
32851 #endif
32854 main ()
32856 return f != $ac_func;
32858 return 0;
32860 _ACEOF
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32863 (eval $ac_link) 2>conftest.er1
32864 ac_status=$?
32865 grep -v '^ *+' conftest.er1 >conftest.err
32866 rm -f conftest.er1
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } &&
32870 { ac_try='test -z "$ac_c_werror_flag"
32871 || test ! -s conftest.err'
32872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32873 (eval $ac_try) 2>&5
32874 ac_status=$?
32875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32876 (exit $ac_status); }; } &&
32877 { ac_try='test -s conftest$ac_exeext'
32878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32879 (eval $ac_try) 2>&5
32880 ac_status=$?
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); }; }; then
32883 eval "$as_ac_var=yes"
32884 else
32885 echo "$as_me: failed program was:" >&5
32886 sed 's/^/| /' conftest.$ac_ext >&5
32888 eval "$as_ac_var=no"
32890 rm -f conftest.err conftest.$ac_objext \
32891 conftest$ac_exeext conftest.$ac_ext
32893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32895 if test `eval echo '${'$as_ac_var'}'` = yes; then
32896 cat >>confdefs.h <<_ACEOF
32897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32898 _ACEOF
32901 done
32908 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32909 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32910 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32911 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32912 echo $ECHO_N "(cached) $ECHO_C" >&6
32913 else
32917 ac_ext=cc
32918 ac_cpp='$CXXCPP $CPPFLAGS'
32919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32923 cat >conftest.$ac_ext <<_ACEOF
32924 /* confdefs.h. */
32925 _ACEOF
32926 cat confdefs.h >>conftest.$ac_ext
32927 cat >>conftest.$ac_ext <<_ACEOF
32928 /* end confdefs.h. */
32929 #include <math.h>
32931 main ()
32933 sincos(0, 0, 0);
32935 return 0;
32937 _ACEOF
32938 rm -f conftest.$ac_objext
32939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32940 (eval $ac_compile) 2>conftest.er1
32941 ac_status=$?
32942 grep -v '^ *+' conftest.er1 >conftest.err
32943 rm -f conftest.er1
32944 cat conftest.err >&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); } &&
32947 { ac_try='test -z "$ac_cxx_werror_flag"
32948 || test ! -s conftest.err'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32951 ac_status=$?
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; } &&
32954 { ac_try='test -s conftest.$ac_objext'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32957 ac_status=$?
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; }; then
32960 glibcxx_cv_func_sincos_use=yes
32961 else
32962 echo "$as_me: failed program was:" >&5
32963 sed 's/^/| /' conftest.$ac_ext >&5
32965 glibcxx_cv_func_sincos_use=no
32967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32968 ac_ext=c
32969 ac_cpp='$CPP $CPPFLAGS'
32970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32979 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32981 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32983 for ac_func in sincos
32985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32986 echo "$as_me:$LINENO: checking for $ac_func" >&5
32987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32988 if eval "test \"\${$as_ac_var+set}\" = set"; then
32989 echo $ECHO_N "(cached) $ECHO_C" >&6
32990 else
32991 if test x$gcc_no_link = xyes; then
32992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32994 { (exit 1); exit 1; }; }
32996 cat >conftest.$ac_ext <<_ACEOF
32997 /* confdefs.h. */
32998 _ACEOF
32999 cat confdefs.h >>conftest.$ac_ext
33000 cat >>conftest.$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33004 #define $ac_func innocuous_$ac_func
33006 /* System header to define __stub macros and hopefully few prototypes,
33007 which can conflict with char $ac_func (); below.
33008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33009 <limits.h> exists even on freestanding compilers. */
33011 #ifdef __STDC__
33012 # include <limits.h>
33013 #else
33014 # include <assert.h>
33015 #endif
33017 #undef $ac_func
33019 /* Override any gcc2 internal prototype to avoid an error. */
33020 #ifdef __cplusplus
33021 extern "C"
33023 #endif
33024 /* We use char because int might match the return type of a gcc2
33025 builtin and then its argument prototype would still apply. */
33026 char $ac_func ();
33027 /* The GNU C library defines this for functions which it implements
33028 to always fail with ENOSYS. Some functions are actually named
33029 something starting with __ and the normal name is an alias. */
33030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33031 choke me
33032 #else
33033 char (*f) () = $ac_func;
33034 #endif
33035 #ifdef __cplusplus
33037 #endif
33040 main ()
33042 return f != $ac_func;
33044 return 0;
33046 _ACEOF
33047 rm -f conftest.$ac_objext conftest$ac_exeext
33048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33049 (eval $ac_link) 2>conftest.er1
33050 ac_status=$?
33051 grep -v '^ *+' conftest.er1 >conftest.err
33052 rm -f conftest.er1
33053 cat conftest.err >&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } &&
33056 { ac_try='test -z "$ac_c_werror_flag"
33057 || test ! -s conftest.err'
33058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33059 (eval $ac_try) 2>&5
33060 ac_status=$?
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); }; } &&
33063 { ac_try='test -s conftest$ac_exeext'
33064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33065 (eval $ac_try) 2>&5
33066 ac_status=$?
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); }; }; then
33069 eval "$as_ac_var=yes"
33070 else
33071 echo "$as_me: failed program was:" >&5
33072 sed 's/^/| /' conftest.$ac_ext >&5
33074 eval "$as_ac_var=no"
33076 rm -f conftest.err conftest.$ac_objext \
33077 conftest$ac_exeext conftest.$ac_ext
33079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33081 if test `eval echo '${'$as_ac_var'}'` = yes; then
33082 cat >>confdefs.h <<_ACEOF
33083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33084 _ACEOF
33087 done
33089 else
33091 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33092 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33093 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33094 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 else
33100 ac_ext=cc
33101 ac_cpp='$CXXCPP $CPPFLAGS'
33102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 #include <math.h>
33114 main ()
33116 _sincos(0, 0, 0);
33118 return 0;
33120 _ACEOF
33121 rm -f conftest.$ac_objext
33122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33123 (eval $ac_compile) 2>conftest.er1
33124 ac_status=$?
33125 grep -v '^ *+' conftest.er1 >conftest.err
33126 rm -f conftest.er1
33127 cat conftest.err >&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } &&
33130 { ac_try='test -z "$ac_cxx_werror_flag"
33131 || test ! -s conftest.err'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33134 ac_status=$?
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; } &&
33137 { ac_try='test -s conftest.$ac_objext'
33138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33139 (eval $ac_try) 2>&5
33140 ac_status=$?
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); }; }; then
33143 glibcxx_cv_func__sincos_use=yes
33144 else
33145 echo "$as_me: failed program was:" >&5
33146 sed 's/^/| /' conftest.$ac_ext >&5
33148 glibcxx_cv_func__sincos_use=no
33150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33151 ac_ext=c
33152 ac_cpp='$CPP $CPPFLAGS'
33153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33162 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33164 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33166 for ac_func in _sincos
33168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33169 echo "$as_me:$LINENO: checking for $ac_func" >&5
33170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33171 if eval "test \"\${$as_ac_var+set}\" = set"; then
33172 echo $ECHO_N "(cached) $ECHO_C" >&6
33173 else
33174 if test x$gcc_no_link = xyes; then
33175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33177 { (exit 1); exit 1; }; }
33179 cat >conftest.$ac_ext <<_ACEOF
33180 /* confdefs.h. */
33181 _ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33187 #define $ac_func innocuous_$ac_func
33189 /* System header to define __stub macros and hopefully few prototypes,
33190 which can conflict with char $ac_func (); below.
33191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33192 <limits.h> exists even on freestanding compilers. */
33194 #ifdef __STDC__
33195 # include <limits.h>
33196 #else
33197 # include <assert.h>
33198 #endif
33200 #undef $ac_func
33202 /* Override any gcc2 internal prototype to avoid an error. */
33203 #ifdef __cplusplus
33204 extern "C"
33206 #endif
33207 /* We use char because int might match the return type of a gcc2
33208 builtin and then its argument prototype would still apply. */
33209 char $ac_func ();
33210 /* The GNU C library defines this for functions which it implements
33211 to always fail with ENOSYS. Some functions are actually named
33212 something starting with __ and the normal name is an alias. */
33213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33214 choke me
33215 #else
33216 char (*f) () = $ac_func;
33217 #endif
33218 #ifdef __cplusplus
33220 #endif
33223 main ()
33225 return f != $ac_func;
33227 return 0;
33229 _ACEOF
33230 rm -f conftest.$ac_objext conftest$ac_exeext
33231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33232 (eval $ac_link) 2>conftest.er1
33233 ac_status=$?
33234 grep -v '^ *+' conftest.er1 >conftest.err
33235 rm -f conftest.er1
33236 cat conftest.err >&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try='test -z "$ac_c_werror_flag"
33240 || test ! -s conftest.err'
33241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33242 (eval $ac_try) 2>&5
33243 ac_status=$?
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); }; } &&
33246 { ac_try='test -s conftest$ac_exeext'
33247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33248 (eval $ac_try) 2>&5
33249 ac_status=$?
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); }; }; then
33252 eval "$as_ac_var=yes"
33253 else
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33257 eval "$as_ac_var=no"
33259 rm -f conftest.err conftest.$ac_objext \
33260 conftest$ac_exeext conftest.$ac_ext
33262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33264 if test `eval echo '${'$as_ac_var'}'` = yes; then
33265 cat >>confdefs.h <<_ACEOF
33266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33267 _ACEOF
33270 done
33277 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33278 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33279 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33280 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33281 echo $ECHO_N "(cached) $ECHO_C" >&6
33282 else
33286 ac_ext=cc
33287 ac_cpp='$CXXCPP $CPPFLAGS'
33288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33292 cat >conftest.$ac_ext <<_ACEOF
33293 /* confdefs.h. */
33294 _ACEOF
33295 cat confdefs.h >>conftest.$ac_ext
33296 cat >>conftest.$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33298 #include <math.h>
33299 #ifdef HAVE_IEEEFP_H
33300 #include <ieeefp.h>
33301 #endif
33304 main ()
33306 fpclass(0);
33308 return 0;
33310 _ACEOF
33311 rm -f conftest.$ac_objext
33312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33313 (eval $ac_compile) 2>conftest.er1
33314 ac_status=$?
33315 grep -v '^ *+' conftest.er1 >conftest.err
33316 rm -f conftest.er1
33317 cat conftest.err >&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } &&
33320 { ac_try='test -z "$ac_cxx_werror_flag"
33321 || test ! -s conftest.err'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33324 ac_status=$?
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; } &&
33327 { ac_try='test -s conftest.$ac_objext'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33330 ac_status=$?
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; }; then
33333 glibcxx_cv_func_fpclass_use=yes
33334 else
33335 echo "$as_me: failed program was:" >&5
33336 sed 's/^/| /' conftest.$ac_ext >&5
33338 glibcxx_cv_func_fpclass_use=no
33340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33341 ac_ext=c
33342 ac_cpp='$CPP $CPPFLAGS'
33343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33352 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33354 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33356 for ac_func in fpclass
33358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33359 echo "$as_me:$LINENO: checking for $ac_func" >&5
33360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33361 if eval "test \"\${$as_ac_var+set}\" = set"; then
33362 echo $ECHO_N "(cached) $ECHO_C" >&6
33363 else
33364 if test x$gcc_no_link = xyes; then
33365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33367 { (exit 1); exit 1; }; }
33369 cat >conftest.$ac_ext <<_ACEOF
33370 /* confdefs.h. */
33371 _ACEOF
33372 cat confdefs.h >>conftest.$ac_ext
33373 cat >>conftest.$ac_ext <<_ACEOF
33374 /* end confdefs.h. */
33375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33377 #define $ac_func innocuous_$ac_func
33379 /* System header to define __stub macros and hopefully few prototypes,
33380 which can conflict with char $ac_func (); below.
33381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33382 <limits.h> exists even on freestanding compilers. */
33384 #ifdef __STDC__
33385 # include <limits.h>
33386 #else
33387 # include <assert.h>
33388 #endif
33390 #undef $ac_func
33392 /* Override any gcc2 internal prototype to avoid an error. */
33393 #ifdef __cplusplus
33394 extern "C"
33396 #endif
33397 /* We use char because int might match the return type of a gcc2
33398 builtin and then its argument prototype would still apply. */
33399 char $ac_func ();
33400 /* The GNU C library defines this for functions which it implements
33401 to always fail with ENOSYS. Some functions are actually named
33402 something starting with __ and the normal name is an alias. */
33403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33404 choke me
33405 #else
33406 char (*f) () = $ac_func;
33407 #endif
33408 #ifdef __cplusplus
33410 #endif
33413 main ()
33415 return f != $ac_func;
33417 return 0;
33419 _ACEOF
33420 rm -f conftest.$ac_objext conftest$ac_exeext
33421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33422 (eval $ac_link) 2>conftest.er1
33423 ac_status=$?
33424 grep -v '^ *+' conftest.er1 >conftest.err
33425 rm -f conftest.er1
33426 cat conftest.err >&5
33427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33428 (exit $ac_status); } &&
33429 { ac_try='test -z "$ac_c_werror_flag"
33430 || test ! -s conftest.err'
33431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33432 (eval $ac_try) 2>&5
33433 ac_status=$?
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); }; } &&
33436 { ac_try='test -s conftest$ac_exeext'
33437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33438 (eval $ac_try) 2>&5
33439 ac_status=$?
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); }; }; then
33442 eval "$as_ac_var=yes"
33443 else
33444 echo "$as_me: failed program was:" >&5
33445 sed 's/^/| /' conftest.$ac_ext >&5
33447 eval "$as_ac_var=no"
33449 rm -f conftest.err conftest.$ac_objext \
33450 conftest$ac_exeext conftest.$ac_ext
33452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33454 if test `eval echo '${'$as_ac_var'}'` = yes; then
33455 cat >>confdefs.h <<_ACEOF
33456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33457 _ACEOF
33460 done
33462 else
33464 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33465 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33466 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33467 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33469 else
33473 ac_ext=cc
33474 ac_cpp='$CXXCPP $CPPFLAGS'
33475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33479 cat >conftest.$ac_ext <<_ACEOF
33480 /* confdefs.h. */
33481 _ACEOF
33482 cat confdefs.h >>conftest.$ac_ext
33483 cat >>conftest.$ac_ext <<_ACEOF
33484 /* end confdefs.h. */
33485 #include <math.h>
33486 #ifdef HAVE_IEEEFP_H
33487 #include <ieeefp.h>
33488 #endif
33491 main ()
33493 _fpclass(0);
33495 return 0;
33497 _ACEOF
33498 rm -f conftest.$ac_objext
33499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33500 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fpclass_use=yes
33521 else
33522 echo "$as_me: failed program was:" >&5
33523 sed 's/^/| /' conftest.$ac_ext >&5
33525 glibcxx_cv_func__fpclass_use=no
33527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33528 ac_ext=c
33529 ac_cpp='$CPP $CPPFLAGS'
33530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33539 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33541 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33543 for ac_func in _fpclass
33545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33546 echo "$as_me:$LINENO: checking for $ac_func" >&5
33547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33548 if eval "test \"\${$as_ac_var+set}\" = set"; then
33549 echo $ECHO_N "(cached) $ECHO_C" >&6
33550 else
33551 if test x$gcc_no_link = xyes; then
33552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33554 { (exit 1); exit 1; }; }
33556 cat >conftest.$ac_ext <<_ACEOF
33557 /* confdefs.h. */
33558 _ACEOF
33559 cat confdefs.h >>conftest.$ac_ext
33560 cat >>conftest.$ac_ext <<_ACEOF
33561 /* end confdefs.h. */
33562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33564 #define $ac_func innocuous_$ac_func
33566 /* System header to define __stub macros and hopefully few prototypes,
33567 which can conflict with char $ac_func (); below.
33568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33569 <limits.h> exists even on freestanding compilers. */
33571 #ifdef __STDC__
33572 # include <limits.h>
33573 #else
33574 # include <assert.h>
33575 #endif
33577 #undef $ac_func
33579 /* Override any gcc2 internal prototype to avoid an error. */
33580 #ifdef __cplusplus
33581 extern "C"
33583 #endif
33584 /* We use char because int might match the return type of a gcc2
33585 builtin and then its argument prototype would still apply. */
33586 char $ac_func ();
33587 /* The GNU C library defines this for functions which it implements
33588 to always fail with ENOSYS. Some functions are actually named
33589 something starting with __ and the normal name is an alias. */
33590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33591 choke me
33592 #else
33593 char (*f) () = $ac_func;
33594 #endif
33595 #ifdef __cplusplus
33597 #endif
33600 main ()
33602 return f != $ac_func;
33604 return 0;
33606 _ACEOF
33607 rm -f conftest.$ac_objext conftest$ac_exeext
33608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33609 (eval $ac_link) 2>conftest.er1
33610 ac_status=$?
33611 grep -v '^ *+' conftest.er1 >conftest.err
33612 rm -f conftest.er1
33613 cat conftest.err >&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } &&
33616 { ac_try='test -z "$ac_c_werror_flag"
33617 || test ! -s conftest.err'
33618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33619 (eval $ac_try) 2>&5
33620 ac_status=$?
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); }; } &&
33623 { ac_try='test -s conftest$ac_exeext'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33626 ac_status=$?
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; }; then
33629 eval "$as_ac_var=yes"
33630 else
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.$ac_ext >&5
33634 eval "$as_ac_var=no"
33636 rm -f conftest.err conftest.$ac_objext \
33637 conftest$ac_exeext conftest.$ac_ext
33639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33641 if test `eval echo '${'$as_ac_var'}'` = yes; then
33642 cat >>confdefs.h <<_ACEOF
33643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33644 _ACEOF
33647 done
33654 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33655 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33656 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33657 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33658 echo $ECHO_N "(cached) $ECHO_C" >&6
33659 else
33663 ac_ext=cc
33664 ac_cpp='$CXXCPP $CPPFLAGS'
33665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33669 cat >conftest.$ac_ext <<_ACEOF
33670 /* confdefs.h. */
33671 _ACEOF
33672 cat confdefs.h >>conftest.$ac_ext
33673 cat >>conftest.$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33675 #include <math.h>
33676 #ifdef HAVE_IEEEFP_H
33677 #include <ieeefp.h>
33678 #endif
33681 main ()
33683 qfpclass(0);
33685 return 0;
33687 _ACEOF
33688 rm -f conftest.$ac_objext
33689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33690 (eval $ac_compile) 2>conftest.er1
33691 ac_status=$?
33692 grep -v '^ *+' conftest.er1 >conftest.err
33693 rm -f conftest.er1
33694 cat conftest.err >&5
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); } &&
33697 { ac_try='test -z "$ac_cxx_werror_flag"
33698 || test ! -s conftest.err'
33699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700 (eval $ac_try) 2>&5
33701 ac_status=$?
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; } &&
33704 { ac_try='test -s conftest.$ac_objext'
33705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33706 (eval $ac_try) 2>&5
33707 ac_status=$?
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); }; }; then
33710 glibcxx_cv_func_qfpclass_use=yes
33711 else
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.$ac_ext >&5
33715 glibcxx_cv_func_qfpclass_use=no
33717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33718 ac_ext=c
33719 ac_cpp='$CPP $CPPFLAGS'
33720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33729 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33731 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33733 for ac_func in qfpclass
33735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33736 echo "$as_me:$LINENO: checking for $ac_func" >&5
33737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33738 if eval "test \"\${$as_ac_var+set}\" = set"; then
33739 echo $ECHO_N "(cached) $ECHO_C" >&6
33740 else
33741 if test x$gcc_no_link = xyes; then
33742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33744 { (exit 1); exit 1; }; }
33746 cat >conftest.$ac_ext <<_ACEOF
33747 /* confdefs.h. */
33748 _ACEOF
33749 cat confdefs.h >>conftest.$ac_ext
33750 cat >>conftest.$ac_ext <<_ACEOF
33751 /* end confdefs.h. */
33752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33754 #define $ac_func innocuous_$ac_func
33756 /* System header to define __stub macros and hopefully few prototypes,
33757 which can conflict with char $ac_func (); below.
33758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33759 <limits.h> exists even on freestanding compilers. */
33761 #ifdef __STDC__
33762 # include <limits.h>
33763 #else
33764 # include <assert.h>
33765 #endif
33767 #undef $ac_func
33769 /* Override any gcc2 internal prototype to avoid an error. */
33770 #ifdef __cplusplus
33771 extern "C"
33773 #endif
33774 /* We use char because int might match the return type of a gcc2
33775 builtin and then its argument prototype would still apply. */
33776 char $ac_func ();
33777 /* The GNU C library defines this for functions which it implements
33778 to always fail with ENOSYS. Some functions are actually named
33779 something starting with __ and the normal name is an alias. */
33780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33781 choke me
33782 #else
33783 char (*f) () = $ac_func;
33784 #endif
33785 #ifdef __cplusplus
33787 #endif
33790 main ()
33792 return f != $ac_func;
33794 return 0;
33796 _ACEOF
33797 rm -f conftest.$ac_objext conftest$ac_exeext
33798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33799 (eval $ac_link) 2>conftest.er1
33800 ac_status=$?
33801 grep -v '^ *+' conftest.er1 >conftest.err
33802 rm -f conftest.er1
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } &&
33806 { ac_try='test -z "$ac_c_werror_flag"
33807 || test ! -s conftest.err'
33808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33809 (eval $ac_try) 2>&5
33810 ac_status=$?
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); }; } &&
33813 { ac_try='test -s conftest$ac_exeext'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33816 ac_status=$?
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; }; then
33819 eval "$as_ac_var=yes"
33820 else
33821 echo "$as_me: failed program was:" >&5
33822 sed 's/^/| /' conftest.$ac_ext >&5
33824 eval "$as_ac_var=no"
33826 rm -f conftest.err conftest.$ac_objext \
33827 conftest$ac_exeext conftest.$ac_ext
33829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33831 if test `eval echo '${'$as_ac_var'}'` = yes; then
33832 cat >>confdefs.h <<_ACEOF
33833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33834 _ACEOF
33837 done
33839 else
33841 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33842 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33843 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33844 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33845 echo $ECHO_N "(cached) $ECHO_C" >&6
33846 else
33850 ac_ext=cc
33851 ac_cpp='$CXXCPP $CPPFLAGS'
33852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33856 cat >conftest.$ac_ext <<_ACEOF
33857 /* confdefs.h. */
33858 _ACEOF
33859 cat confdefs.h >>conftest.$ac_ext
33860 cat >>conftest.$ac_ext <<_ACEOF
33861 /* end confdefs.h. */
33862 #include <math.h>
33863 #ifdef HAVE_IEEEFP_H
33864 #include <ieeefp.h>
33865 #endif
33868 main ()
33870 _qfpclass(0);
33872 return 0;
33874 _ACEOF
33875 rm -f conftest.$ac_objext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33877 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__qfpclass_use=yes
33898 else
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33902 glibcxx_cv_func__qfpclass_use=no
33904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33905 ac_ext=c
33906 ac_cpp='$CPP $CPPFLAGS'
33907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33916 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33918 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33920 for ac_func in _qfpclass
33922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33923 echo "$as_me:$LINENO: checking for $ac_func" >&5
33924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33925 if eval "test \"\${$as_ac_var+set}\" = set"; then
33926 echo $ECHO_N "(cached) $ECHO_C" >&6
33927 else
33928 if test x$gcc_no_link = xyes; then
33929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33931 { (exit 1); exit 1; }; }
33933 cat >conftest.$ac_ext <<_ACEOF
33934 /* confdefs.h. */
33935 _ACEOF
33936 cat confdefs.h >>conftest.$ac_ext
33937 cat >>conftest.$ac_ext <<_ACEOF
33938 /* end confdefs.h. */
33939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33941 #define $ac_func innocuous_$ac_func
33943 /* System header to define __stub macros and hopefully few prototypes,
33944 which can conflict with char $ac_func (); below.
33945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33946 <limits.h> exists even on freestanding compilers. */
33948 #ifdef __STDC__
33949 # include <limits.h>
33950 #else
33951 # include <assert.h>
33952 #endif
33954 #undef $ac_func
33956 /* Override any gcc2 internal prototype to avoid an error. */
33957 #ifdef __cplusplus
33958 extern "C"
33960 #endif
33961 /* We use char because int might match the return type of a gcc2
33962 builtin and then its argument prototype would still apply. */
33963 char $ac_func ();
33964 /* The GNU C library defines this for functions which it implements
33965 to always fail with ENOSYS. Some functions are actually named
33966 something starting with __ and the normal name is an alias. */
33967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33968 choke me
33969 #else
33970 char (*f) () = $ac_func;
33971 #endif
33972 #ifdef __cplusplus
33974 #endif
33977 main ()
33979 return f != $ac_func;
33981 return 0;
33983 _ACEOF
33984 rm -f conftest.$ac_objext conftest$ac_exeext
33985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33986 (eval $ac_link) 2>conftest.er1
33987 ac_status=$?
33988 grep -v '^ *+' conftest.er1 >conftest.err
33989 rm -f conftest.er1
33990 cat conftest.err >&5
33991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992 (exit $ac_status); } &&
33993 { ac_try='test -z "$ac_c_werror_flag"
33994 || test ! -s conftest.err'
33995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33996 (eval $ac_try) 2>&5
33997 ac_status=$?
33998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33999 (exit $ac_status); }; } &&
34000 { ac_try='test -s conftest$ac_exeext'
34001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34002 (eval $ac_try) 2>&5
34003 ac_status=$?
34004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005 (exit $ac_status); }; }; then
34006 eval "$as_ac_var=yes"
34007 else
34008 echo "$as_me: failed program was:" >&5
34009 sed 's/^/| /' conftest.$ac_ext >&5
34011 eval "$as_ac_var=no"
34013 rm -f conftest.err conftest.$ac_objext \
34014 conftest$ac_exeext conftest.$ac_ext
34016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34018 if test `eval echo '${'$as_ac_var'}'` = yes; then
34019 cat >>confdefs.h <<_ACEOF
34020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34021 _ACEOF
34024 done
34031 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34032 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34033 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34034 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34035 echo $ECHO_N "(cached) $ECHO_C" >&6
34036 else
34040 ac_ext=cc
34041 ac_cpp='$CXXCPP $CPPFLAGS'
34042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34046 cat >conftest.$ac_ext <<_ACEOF
34047 /* confdefs.h. */
34048 _ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052 #include <math.h>
34054 main ()
34056 hypot(0, 0);
34058 return 0;
34060 _ACEOF
34061 rm -f conftest.$ac_objext
34062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34063 (eval $ac_compile) 2>conftest.er1
34064 ac_status=$?
34065 grep -v '^ *+' conftest.er1 >conftest.err
34066 rm -f conftest.er1
34067 cat conftest.err >&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } &&
34070 { ac_try='test -z "$ac_cxx_werror_flag"
34071 || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try='test -s conftest.$ac_objext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34080 ac_status=$?
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 glibcxx_cv_func_hypot_use=yes
34084 else
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34088 glibcxx_cv_func_hypot_use=no
34090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34091 ac_ext=c
34092 ac_cpp='$CPP $CPPFLAGS'
34093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34102 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34104 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34106 for ac_func in hypot
34108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34109 echo "$as_me:$LINENO: checking for $ac_func" >&5
34110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34111 if eval "test \"\${$as_ac_var+set}\" = set"; then
34112 echo $ECHO_N "(cached) $ECHO_C" >&6
34113 else
34114 if test x$gcc_no_link = xyes; then
34115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34117 { (exit 1); exit 1; }; }
34119 cat >conftest.$ac_ext <<_ACEOF
34120 /* confdefs.h. */
34121 _ACEOF
34122 cat confdefs.h >>conftest.$ac_ext
34123 cat >>conftest.$ac_ext <<_ACEOF
34124 /* end confdefs.h. */
34125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34127 #define $ac_func innocuous_$ac_func
34129 /* System header to define __stub macros and hopefully few prototypes,
34130 which can conflict with char $ac_func (); below.
34131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34132 <limits.h> exists even on freestanding compilers. */
34134 #ifdef __STDC__
34135 # include <limits.h>
34136 #else
34137 # include <assert.h>
34138 #endif
34140 #undef $ac_func
34142 /* Override any gcc2 internal prototype to avoid an error. */
34143 #ifdef __cplusplus
34144 extern "C"
34146 #endif
34147 /* We use char because int might match the return type of a gcc2
34148 builtin and then its argument prototype would still apply. */
34149 char $ac_func ();
34150 /* The GNU C library defines this for functions which it implements
34151 to always fail with ENOSYS. Some functions are actually named
34152 something starting with __ and the normal name is an alias. */
34153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34154 choke me
34155 #else
34156 char (*f) () = $ac_func;
34157 #endif
34158 #ifdef __cplusplus
34160 #endif
34163 main ()
34165 return f != $ac_func;
34167 return 0;
34169 _ACEOF
34170 rm -f conftest.$ac_objext conftest$ac_exeext
34171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34172 (eval $ac_link) 2>conftest.er1
34173 ac_status=$?
34174 grep -v '^ *+' conftest.er1 >conftest.err
34175 rm -f conftest.er1
34176 cat conftest.err >&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); } &&
34179 { ac_try='test -z "$ac_c_werror_flag"
34180 || test ! -s conftest.err'
34181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34182 (eval $ac_try) 2>&5
34183 ac_status=$?
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); }; } &&
34186 { ac_try='test -s conftest$ac_exeext'
34187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34188 (eval $ac_try) 2>&5
34189 ac_status=$?
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); }; }; then
34192 eval "$as_ac_var=yes"
34193 else
34194 echo "$as_me: failed program was:" >&5
34195 sed 's/^/| /' conftest.$ac_ext >&5
34197 eval "$as_ac_var=no"
34199 rm -f conftest.err conftest.$ac_objext \
34200 conftest$ac_exeext conftest.$ac_ext
34202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34204 if test `eval echo '${'$as_ac_var'}'` = yes; then
34205 cat >>confdefs.h <<_ACEOF
34206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34207 _ACEOF
34210 done
34212 else
34214 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34215 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34216 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34217 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34218 echo $ECHO_N "(cached) $ECHO_C" >&6
34219 else
34223 ac_ext=cc
34224 ac_cpp='$CXXCPP $CPPFLAGS'
34225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34229 cat >conftest.$ac_ext <<_ACEOF
34230 /* confdefs.h. */
34231 _ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34235 #include <math.h>
34237 main ()
34239 _hypot(0, 0);
34241 return 0;
34243 _ACEOF
34244 rm -f conftest.$ac_objext
34245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34246 (eval $ac_compile) 2>conftest.er1
34247 ac_status=$?
34248 grep -v '^ *+' conftest.er1 >conftest.err
34249 rm -f conftest.er1
34250 cat conftest.err >&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } &&
34253 { ac_try='test -z "$ac_cxx_werror_flag"
34254 || test ! -s conftest.err'
34255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256 (eval $ac_try) 2>&5
34257 ac_status=$?
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); }; } &&
34260 { ac_try='test -s conftest.$ac_objext'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34263 ac_status=$?
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; }; then
34266 glibcxx_cv_func__hypot_use=yes
34267 else
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34271 glibcxx_cv_func__hypot_use=no
34273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34274 ac_ext=c
34275 ac_cpp='$CPP $CPPFLAGS'
34276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34285 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34287 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34289 for ac_func in _hypot
34291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34292 echo "$as_me:$LINENO: checking for $ac_func" >&5
34293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34294 if eval "test \"\${$as_ac_var+set}\" = set"; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34296 else
34297 if test x$gcc_no_link = xyes; then
34298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34300 { (exit 1); exit 1; }; }
34302 cat >conftest.$ac_ext <<_ACEOF
34303 /* confdefs.h. */
34304 _ACEOF
34305 cat confdefs.h >>conftest.$ac_ext
34306 cat >>conftest.$ac_ext <<_ACEOF
34307 /* end confdefs.h. */
34308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34310 #define $ac_func innocuous_$ac_func
34312 /* System header to define __stub macros and hopefully few prototypes,
34313 which can conflict with char $ac_func (); below.
34314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34315 <limits.h> exists even on freestanding compilers. */
34317 #ifdef __STDC__
34318 # include <limits.h>
34319 #else
34320 # include <assert.h>
34321 #endif
34323 #undef $ac_func
34325 /* Override any gcc2 internal prototype to avoid an error. */
34326 #ifdef __cplusplus
34327 extern "C"
34329 #endif
34330 /* We use char because int might match the return type of a gcc2
34331 builtin and then its argument prototype would still apply. */
34332 char $ac_func ();
34333 /* The GNU C library defines this for functions which it implements
34334 to always fail with ENOSYS. Some functions are actually named
34335 something starting with __ and the normal name is an alias. */
34336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34337 choke me
34338 #else
34339 char (*f) () = $ac_func;
34340 #endif
34341 #ifdef __cplusplus
34343 #endif
34346 main ()
34348 return f != $ac_func;
34350 return 0;
34352 _ACEOF
34353 rm -f conftest.$ac_objext conftest$ac_exeext
34354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34355 (eval $ac_link) 2>conftest.er1
34356 ac_status=$?
34357 grep -v '^ *+' conftest.er1 >conftest.err
34358 rm -f conftest.er1
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } &&
34362 { ac_try='test -z "$ac_c_werror_flag"
34363 || test ! -s conftest.err'
34364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365 (eval $ac_try) 2>&5
34366 ac_status=$?
34367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 (exit $ac_status); }; } &&
34369 { ac_try='test -s conftest$ac_exeext'
34370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371 (eval $ac_try) 2>&5
34372 ac_status=$?
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); }; }; then
34375 eval "$as_ac_var=yes"
34376 else
34377 echo "$as_me: failed program was:" >&5
34378 sed 's/^/| /' conftest.$ac_ext >&5
34380 eval "$as_ac_var=no"
34382 rm -f conftest.err conftest.$ac_objext \
34383 conftest$ac_exeext conftest.$ac_ext
34385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34387 if test `eval echo '${'$as_ac_var'}'` = yes; then
34388 cat >>confdefs.h <<_ACEOF
34389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34390 _ACEOF
34393 done
34400 echo "$as_me:$LINENO: checking for float trig functions" >&5
34401 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34402 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34403 echo $ECHO_N "(cached) $ECHO_C" >&6
34404 else
34408 ac_ext=cc
34409 ac_cpp='$CXXCPP $CPPFLAGS'
34410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34414 cat >conftest.$ac_ext <<_ACEOF
34415 /* confdefs.h. */
34416 _ACEOF
34417 cat confdefs.h >>conftest.$ac_ext
34418 cat >>conftest.$ac_ext <<_ACEOF
34419 /* end confdefs.h. */
34420 #include <math.h>
34422 main ()
34424 `for x in acosf asinf atanf \
34425 cosf sinf tanf \
34426 coshf sinhf tanhf; do echo "$x (0);"; done`
34428 return 0;
34430 _ACEOF
34431 rm -f conftest.$ac_objext
34432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34433 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_trig_use=yes
34454 else
34455 echo "$as_me: failed program was:" >&5
34456 sed 's/^/| /' conftest.$ac_ext >&5
34458 glibcxx_cv_func_float_trig_use=no
34460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34461 ac_ext=c
34462 ac_cpp='$CPP $CPPFLAGS'
34463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34470 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34471 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34481 for ac_func in acosf asinf atanf \
34482 cosf sinf tanf \
34483 coshf sinhf tanhf
34485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34486 echo "$as_me:$LINENO: checking for $ac_func" >&5
34487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34488 if eval "test \"\${$as_ac_var+set}\" = set"; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34490 else
34491 if test x$gcc_no_link = xyes; then
34492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34494 { (exit 1); exit 1; }; }
34496 cat >conftest.$ac_ext <<_ACEOF
34497 /* confdefs.h. */
34498 _ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34504 #define $ac_func innocuous_$ac_func
34506 /* System header to define __stub macros and hopefully few prototypes,
34507 which can conflict with char $ac_func (); below.
34508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34509 <limits.h> exists even on freestanding compilers. */
34511 #ifdef __STDC__
34512 # include <limits.h>
34513 #else
34514 # include <assert.h>
34515 #endif
34517 #undef $ac_func
34519 /* Override any gcc2 internal prototype to avoid an error. */
34520 #ifdef __cplusplus
34521 extern "C"
34523 #endif
34524 /* We use char because int might match the return type of a gcc2
34525 builtin and then its argument prototype would still apply. */
34526 char $ac_func ();
34527 /* The GNU C library defines this for functions which it implements
34528 to always fail with ENOSYS. Some functions are actually named
34529 something starting with __ and the normal name is an alias. */
34530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34531 choke me
34532 #else
34533 char (*f) () = $ac_func;
34534 #endif
34535 #ifdef __cplusplus
34537 #endif
34540 main ()
34542 return f != $ac_func;
34544 return 0;
34546 _ACEOF
34547 rm -f conftest.$ac_objext conftest$ac_exeext
34548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34549 (eval $ac_link) 2>conftest.er1
34550 ac_status=$?
34551 grep -v '^ *+' conftest.er1 >conftest.err
34552 rm -f conftest.er1
34553 cat conftest.err >&5
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); } &&
34556 { ac_try='test -z "$ac_c_werror_flag"
34557 || test ! -s conftest.err'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34560 ac_status=$?
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; } &&
34563 { ac_try='test -s conftest$ac_exeext'
34564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34565 (eval $ac_try) 2>&5
34566 ac_status=$?
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); }; }; then
34569 eval "$as_ac_var=yes"
34570 else
34571 echo "$as_me: failed program was:" >&5
34572 sed 's/^/| /' conftest.$ac_ext >&5
34574 eval "$as_ac_var=no"
34576 rm -f conftest.err conftest.$ac_objext \
34577 conftest$ac_exeext conftest.$ac_ext
34579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34581 if test `eval echo '${'$as_ac_var'}'` = yes; then
34582 cat >>confdefs.h <<_ACEOF
34583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34584 _ACEOF
34587 done
34592 echo "$as_me:$LINENO: checking for float round functions" >&5
34593 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34594 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34596 else
34600 ac_ext=cc
34601 ac_cpp='$CXXCPP $CPPFLAGS'
34602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34606 cat >conftest.$ac_ext <<_ACEOF
34607 /* confdefs.h. */
34608 _ACEOF
34609 cat confdefs.h >>conftest.$ac_ext
34610 cat >>conftest.$ac_ext <<_ACEOF
34611 /* end confdefs.h. */
34612 #include <math.h>
34614 main ()
34616 `for x in ceilf floorf; do echo "$x (0);"; done`
34618 return 0;
34620 _ACEOF
34621 rm -f conftest.$ac_objext
34622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34623 (eval $ac_compile) 2>conftest.er1
34624 ac_status=$?
34625 grep -v '^ *+' conftest.er1 >conftest.err
34626 rm -f conftest.er1
34627 cat conftest.err >&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } &&
34630 { ac_try='test -z "$ac_cxx_werror_flag"
34631 || test ! -s conftest.err'
34632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34633 (eval $ac_try) 2>&5
34634 ac_status=$?
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; } &&
34637 { ac_try='test -s conftest.$ac_objext'
34638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34639 (eval $ac_try) 2>&5
34640 ac_status=$?
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); }; }; then
34643 glibcxx_cv_func_float_round_use=yes
34644 else
34645 echo "$as_me: failed program was:" >&5
34646 sed 's/^/| /' conftest.$ac_ext >&5
34648 glibcxx_cv_func_float_round_use=no
34650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34651 ac_ext=c
34652 ac_cpp='$CPP $CPPFLAGS'
34653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34660 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34661 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34664 for ac_func in ceilf floorf
34666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34667 echo "$as_me:$LINENO: checking for $ac_func" >&5
34668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34669 if eval "test \"\${$as_ac_var+set}\" = set"; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34672 if test x$gcc_no_link = xyes; then
34673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34675 { (exit 1); exit 1; }; }
34677 cat >conftest.$ac_ext <<_ACEOF
34678 /* confdefs.h. */
34679 _ACEOF
34680 cat confdefs.h >>conftest.$ac_ext
34681 cat >>conftest.$ac_ext <<_ACEOF
34682 /* end confdefs.h. */
34683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34685 #define $ac_func innocuous_$ac_func
34687 /* System header to define __stub macros and hopefully few prototypes,
34688 which can conflict with char $ac_func (); below.
34689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34690 <limits.h> exists even on freestanding compilers. */
34692 #ifdef __STDC__
34693 # include <limits.h>
34694 #else
34695 # include <assert.h>
34696 #endif
34698 #undef $ac_func
34700 /* Override any gcc2 internal prototype to avoid an error. */
34701 #ifdef __cplusplus
34702 extern "C"
34704 #endif
34705 /* We use char because int might match the return type of a gcc2
34706 builtin and then its argument prototype would still apply. */
34707 char $ac_func ();
34708 /* The GNU C library defines this for functions which it implements
34709 to always fail with ENOSYS. Some functions are actually named
34710 something starting with __ and the normal name is an alias. */
34711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34712 choke me
34713 #else
34714 char (*f) () = $ac_func;
34715 #endif
34716 #ifdef __cplusplus
34718 #endif
34721 main ()
34723 return f != $ac_func;
34725 return 0;
34727 _ACEOF
34728 rm -f conftest.$ac_objext conftest$ac_exeext
34729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34730 (eval $ac_link) 2>conftest.er1
34731 ac_status=$?
34732 grep -v '^ *+' conftest.er1 >conftest.err
34733 rm -f conftest.er1
34734 cat conftest.err >&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); } &&
34737 { ac_try='test -z "$ac_c_werror_flag"
34738 || test ! -s conftest.err'
34739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34740 (eval $ac_try) 2>&5
34741 ac_status=$?
34742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34743 (exit $ac_status); }; } &&
34744 { ac_try='test -s conftest$ac_exeext'
34745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34746 (eval $ac_try) 2>&5
34747 ac_status=$?
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); }; }; then
34750 eval "$as_ac_var=yes"
34751 else
34752 echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.$ac_ext >&5
34755 eval "$as_ac_var=no"
34757 rm -f conftest.err conftest.$ac_objext \
34758 conftest$ac_exeext conftest.$ac_ext
34760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34762 if test `eval echo '${'$as_ac_var'}'` = yes; then
34763 cat >>confdefs.h <<_ACEOF
34764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34765 _ACEOF
34768 done
34774 echo "$as_me:$LINENO: checking for expf declaration" >&5
34775 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34776 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34777 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34778 echo $ECHO_N "(cached) $ECHO_C" >&6
34779 else
34783 ac_ext=cc
34784 ac_cpp='$CXXCPP $CPPFLAGS'
34785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34789 cat >conftest.$ac_ext <<_ACEOF
34790 /* confdefs.h. */
34791 _ACEOF
34792 cat confdefs.h >>conftest.$ac_ext
34793 cat >>conftest.$ac_ext <<_ACEOF
34794 /* end confdefs.h. */
34795 #include <math.h>
34796 #ifdef HAVE_IEEEFP_H
34797 #include <ieeefp.h>
34798 #endif
34801 main ()
34803 expf(0);
34805 return 0;
34807 _ACEOF
34808 rm -f conftest.$ac_objext
34809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34810 (eval $ac_compile) 2>conftest.er1
34811 ac_status=$?
34812 grep -v '^ *+' conftest.er1 >conftest.err
34813 rm -f conftest.er1
34814 cat conftest.err >&5
34815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816 (exit $ac_status); } &&
34817 { ac_try='test -z "$ac_cxx_werror_flag"
34818 || test ! -s conftest.err'
34819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34820 (eval $ac_try) 2>&5
34821 ac_status=$?
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); }; } &&
34824 { ac_try='test -s conftest.$ac_objext'
34825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34826 (eval $ac_try) 2>&5
34827 ac_status=$?
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); }; }; then
34830 glibcxx_cv_func_expf_use=yes
34831 else
34832 echo "$as_me: failed program was:" >&5
34833 sed 's/^/| /' conftest.$ac_ext >&5
34835 glibcxx_cv_func_expf_use=no
34837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34838 ac_ext=c
34839 ac_cpp='$CPP $CPPFLAGS'
34840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34849 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34851 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34853 for ac_func in expf
34855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34856 echo "$as_me:$LINENO: checking for $ac_func" >&5
34857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34858 if eval "test \"\${$as_ac_var+set}\" = set"; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
34860 else
34861 if test x$gcc_no_link = xyes; then
34862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34864 { (exit 1); exit 1; }; }
34866 cat >conftest.$ac_ext <<_ACEOF
34867 /* confdefs.h. */
34868 _ACEOF
34869 cat confdefs.h >>conftest.$ac_ext
34870 cat >>conftest.$ac_ext <<_ACEOF
34871 /* end confdefs.h. */
34872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34874 #define $ac_func innocuous_$ac_func
34876 /* System header to define __stub macros and hopefully few prototypes,
34877 which can conflict with char $ac_func (); below.
34878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34879 <limits.h> exists even on freestanding compilers. */
34881 #ifdef __STDC__
34882 # include <limits.h>
34883 #else
34884 # include <assert.h>
34885 #endif
34887 #undef $ac_func
34889 /* Override any gcc2 internal prototype to avoid an error. */
34890 #ifdef __cplusplus
34891 extern "C"
34893 #endif
34894 /* We use char because int might match the return type of a gcc2
34895 builtin and then its argument prototype would still apply. */
34896 char $ac_func ();
34897 /* The GNU C library defines this for functions which it implements
34898 to always fail with ENOSYS. Some functions are actually named
34899 something starting with __ and the normal name is an alias. */
34900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34901 choke me
34902 #else
34903 char (*f) () = $ac_func;
34904 #endif
34905 #ifdef __cplusplus
34907 #endif
34910 main ()
34912 return f != $ac_func;
34914 return 0;
34916 _ACEOF
34917 rm -f conftest.$ac_objext conftest$ac_exeext
34918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34919 (eval $ac_link) 2>conftest.er1
34920 ac_status=$?
34921 grep -v '^ *+' conftest.er1 >conftest.err
34922 rm -f conftest.er1
34923 cat conftest.err >&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } &&
34926 { ac_try='test -z "$ac_c_werror_flag"
34927 || test ! -s conftest.err'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; } &&
34933 { ac_try='test -s conftest$ac_exeext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34936 ac_status=$?
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34939 eval "$as_ac_var=yes"
34940 else
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.$ac_ext >&5
34944 eval "$as_ac_var=no"
34946 rm -f conftest.err conftest.$ac_objext \
34947 conftest$ac_exeext conftest.$ac_ext
34949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34951 if test `eval echo '${'$as_ac_var'}'` = yes; then
34952 cat >>confdefs.h <<_ACEOF
34953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34954 _ACEOF
34957 done
34959 else
34961 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34962 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34963 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34964 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34970 ac_ext=cc
34971 ac_cpp='$CXXCPP $CPPFLAGS'
34972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34976 cat >conftest.$ac_ext <<_ACEOF
34977 /* confdefs.h. */
34978 _ACEOF
34979 cat confdefs.h >>conftest.$ac_ext
34980 cat >>conftest.$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34982 #include <math.h>
34983 #ifdef HAVE_IEEEFP_H
34984 #include <ieeefp.h>
34985 #endif
34988 main ()
34990 _expf(0);
34992 return 0;
34994 _ACEOF
34995 rm -f conftest.$ac_objext
34996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34997 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__expf_use=yes
35018 else
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35022 glibcxx_cv_func__expf_use=no
35024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35025 ac_ext=c
35026 ac_cpp='$CPP $CPPFLAGS'
35027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35036 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35038 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35040 for ac_func in _expf
35042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35043 echo "$as_me:$LINENO: checking for $ac_func" >&5
35044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35045 if eval "test \"\${$as_ac_var+set}\" = set"; then
35046 echo $ECHO_N "(cached) $ECHO_C" >&6
35047 else
35048 if test x$gcc_no_link = xyes; then
35049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35051 { (exit 1); exit 1; }; }
35053 cat >conftest.$ac_ext <<_ACEOF
35054 /* confdefs.h. */
35055 _ACEOF
35056 cat confdefs.h >>conftest.$ac_ext
35057 cat >>conftest.$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35061 #define $ac_func innocuous_$ac_func
35063 /* System header to define __stub macros and hopefully few prototypes,
35064 which can conflict with char $ac_func (); below.
35065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35066 <limits.h> exists even on freestanding compilers. */
35068 #ifdef __STDC__
35069 # include <limits.h>
35070 #else
35071 # include <assert.h>
35072 #endif
35074 #undef $ac_func
35076 /* Override any gcc2 internal prototype to avoid an error. */
35077 #ifdef __cplusplus
35078 extern "C"
35080 #endif
35081 /* We use char because int might match the return type of a gcc2
35082 builtin and then its argument prototype would still apply. */
35083 char $ac_func ();
35084 /* The GNU C library defines this for functions which it implements
35085 to always fail with ENOSYS. Some functions are actually named
35086 something starting with __ and the normal name is an alias. */
35087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35088 choke me
35089 #else
35090 char (*f) () = $ac_func;
35091 #endif
35092 #ifdef __cplusplus
35094 #endif
35097 main ()
35099 return f != $ac_func;
35101 return 0;
35103 _ACEOF
35104 rm -f conftest.$ac_objext conftest$ac_exeext
35105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35106 (eval $ac_link) 2>conftest.er1
35107 ac_status=$?
35108 grep -v '^ *+' conftest.er1 >conftest.err
35109 rm -f conftest.er1
35110 cat conftest.err >&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } &&
35113 { ac_try='test -z "$ac_c_werror_flag"
35114 || test ! -s conftest.err'
35115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35116 (eval $ac_try) 2>&5
35117 ac_status=$?
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); }; } &&
35120 { ac_try='test -s conftest$ac_exeext'
35121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35122 (eval $ac_try) 2>&5
35123 ac_status=$?
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); }; }; then
35126 eval "$as_ac_var=yes"
35127 else
35128 echo "$as_me: failed program was:" >&5
35129 sed 's/^/| /' conftest.$ac_ext >&5
35131 eval "$as_ac_var=no"
35133 rm -f conftest.err conftest.$ac_objext \
35134 conftest$ac_exeext conftest.$ac_ext
35136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35138 if test `eval echo '${'$as_ac_var'}'` = yes; then
35139 cat >>confdefs.h <<_ACEOF
35140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35141 _ACEOF
35144 done
35151 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35152 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35153 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35154 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35155 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 else
35160 ac_ext=cc
35161 ac_cpp='$CXXCPP $CPPFLAGS'
35162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35166 cat >conftest.$ac_ext <<_ACEOF
35167 /* confdefs.h. */
35168 _ACEOF
35169 cat confdefs.h >>conftest.$ac_ext
35170 cat >>conftest.$ac_ext <<_ACEOF
35171 /* end confdefs.h. */
35172 #include <math.h>
35173 #ifdef HAVE_IEEEFP_H
35174 #include <ieeefp.h>
35175 #endif
35178 main ()
35180 isnanf(0);
35182 return 0;
35184 _ACEOF
35185 rm -f conftest.$ac_objext
35186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35187 (eval $ac_compile) 2>conftest.er1
35188 ac_status=$?
35189 grep -v '^ *+' conftest.er1 >conftest.err
35190 rm -f conftest.er1
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } &&
35194 { ac_try='test -z "$ac_cxx_werror_flag"
35195 || test ! -s conftest.err'
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35198 ac_status=$?
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; } &&
35201 { ac_try='test -s conftest.$ac_objext'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; }; then
35207 glibcxx_cv_func_isnanf_use=yes
35208 else
35209 echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35212 glibcxx_cv_func_isnanf_use=no
35214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35215 ac_ext=c
35216 ac_cpp='$CPP $CPPFLAGS'
35217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35226 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35228 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35230 for ac_func in isnanf
35232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35233 echo "$as_me:$LINENO: checking for $ac_func" >&5
35234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35235 if eval "test \"\${$as_ac_var+set}\" = set"; then
35236 echo $ECHO_N "(cached) $ECHO_C" >&6
35237 else
35238 if test x$gcc_no_link = xyes; then
35239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35241 { (exit 1); exit 1; }; }
35243 cat >conftest.$ac_ext <<_ACEOF
35244 /* confdefs.h. */
35245 _ACEOF
35246 cat confdefs.h >>conftest.$ac_ext
35247 cat >>conftest.$ac_ext <<_ACEOF
35248 /* end confdefs.h. */
35249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35251 #define $ac_func innocuous_$ac_func
35253 /* System header to define __stub macros and hopefully few prototypes,
35254 which can conflict with char $ac_func (); below.
35255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35256 <limits.h> exists even on freestanding compilers. */
35258 #ifdef __STDC__
35259 # include <limits.h>
35260 #else
35261 # include <assert.h>
35262 #endif
35264 #undef $ac_func
35266 /* Override any gcc2 internal prototype to avoid an error. */
35267 #ifdef __cplusplus
35268 extern "C"
35270 #endif
35271 /* We use char because int might match the return type of a gcc2
35272 builtin and then its argument prototype would still apply. */
35273 char $ac_func ();
35274 /* The GNU C library defines this for functions which it implements
35275 to always fail with ENOSYS. Some functions are actually named
35276 something starting with __ and the normal name is an alias. */
35277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35278 choke me
35279 #else
35280 char (*f) () = $ac_func;
35281 #endif
35282 #ifdef __cplusplus
35284 #endif
35287 main ()
35289 return f != $ac_func;
35291 return 0;
35293 _ACEOF
35294 rm -f conftest.$ac_objext conftest$ac_exeext
35295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35296 (eval $ac_link) 2>conftest.er1
35297 ac_status=$?
35298 grep -v '^ *+' conftest.er1 >conftest.err
35299 rm -f conftest.er1
35300 cat conftest.err >&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); } &&
35303 { ac_try='test -z "$ac_c_werror_flag"
35304 || test ! -s conftest.err'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35307 ac_status=$?
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; } &&
35310 { ac_try='test -s conftest$ac_exeext'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35313 ac_status=$?
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; }; then
35316 eval "$as_ac_var=yes"
35317 else
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35321 eval "$as_ac_var=no"
35323 rm -f conftest.err conftest.$ac_objext \
35324 conftest$ac_exeext conftest.$ac_ext
35326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35328 if test `eval echo '${'$as_ac_var'}'` = yes; then
35329 cat >>confdefs.h <<_ACEOF
35330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35331 _ACEOF
35334 done
35336 else
35338 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35339 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35340 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35341 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35342 echo $ECHO_N "(cached) $ECHO_C" >&6
35343 else
35347 ac_ext=cc
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35353 cat >conftest.$ac_ext <<_ACEOF
35354 /* confdefs.h. */
35355 _ACEOF
35356 cat confdefs.h >>conftest.$ac_ext
35357 cat >>conftest.$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 #include <math.h>
35360 #ifdef HAVE_IEEEFP_H
35361 #include <ieeefp.h>
35362 #endif
35365 main ()
35367 _isnanf(0);
35369 return 0;
35371 _ACEOF
35372 rm -f conftest.$ac_objext
35373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35374 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isnanf_use=yes
35395 else
35396 echo "$as_me: failed program was:" >&5
35397 sed 's/^/| /' conftest.$ac_ext >&5
35399 glibcxx_cv_func__isnanf_use=no
35401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35402 ac_ext=c
35403 ac_cpp='$CPP $CPPFLAGS'
35404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35413 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35415 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35417 for ac_func in _isnanf
35419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35420 echo "$as_me:$LINENO: checking for $ac_func" >&5
35421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35422 if eval "test \"\${$as_ac_var+set}\" = set"; then
35423 echo $ECHO_N "(cached) $ECHO_C" >&6
35424 else
35425 if test x$gcc_no_link = xyes; then
35426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35428 { (exit 1); exit 1; }; }
35430 cat >conftest.$ac_ext <<_ACEOF
35431 /* confdefs.h. */
35432 _ACEOF
35433 cat confdefs.h >>conftest.$ac_ext
35434 cat >>conftest.$ac_ext <<_ACEOF
35435 /* end confdefs.h. */
35436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35438 #define $ac_func innocuous_$ac_func
35440 /* System header to define __stub macros and hopefully few prototypes,
35441 which can conflict with char $ac_func (); below.
35442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35443 <limits.h> exists even on freestanding compilers. */
35445 #ifdef __STDC__
35446 # include <limits.h>
35447 #else
35448 # include <assert.h>
35449 #endif
35451 #undef $ac_func
35453 /* Override any gcc2 internal prototype to avoid an error. */
35454 #ifdef __cplusplus
35455 extern "C"
35457 #endif
35458 /* We use char because int might match the return type of a gcc2
35459 builtin and then its argument prototype would still apply. */
35460 char $ac_func ();
35461 /* The GNU C library defines this for functions which it implements
35462 to always fail with ENOSYS. Some functions are actually named
35463 something starting with __ and the normal name is an alias. */
35464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35465 choke me
35466 #else
35467 char (*f) () = $ac_func;
35468 #endif
35469 #ifdef __cplusplus
35471 #endif
35474 main ()
35476 return f != $ac_func;
35478 return 0;
35480 _ACEOF
35481 rm -f conftest.$ac_objext conftest$ac_exeext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35483 (eval $ac_link) 2>conftest.er1
35484 ac_status=$?
35485 grep -v '^ *+' conftest.er1 >conftest.err
35486 rm -f conftest.er1
35487 cat conftest.err >&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } &&
35490 { ac_try='test -z "$ac_c_werror_flag"
35491 || test ! -s conftest.err'
35492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35493 (eval $ac_try) 2>&5
35494 ac_status=$?
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); }; } &&
35497 { ac_try='test -s conftest$ac_exeext'
35498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35499 (eval $ac_try) 2>&5
35500 ac_status=$?
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); }; }; then
35503 eval "$as_ac_var=yes"
35504 else
35505 echo "$as_me: failed program was:" >&5
35506 sed 's/^/| /' conftest.$ac_ext >&5
35508 eval "$as_ac_var=no"
35510 rm -f conftest.err conftest.$ac_objext \
35511 conftest$ac_exeext conftest.$ac_ext
35513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35515 if test `eval echo '${'$as_ac_var'}'` = yes; then
35516 cat >>confdefs.h <<_ACEOF
35517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35518 _ACEOF
35521 done
35528 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35529 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35530 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35531 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35532 echo $ECHO_N "(cached) $ECHO_C" >&6
35533 else
35537 ac_ext=cc
35538 ac_cpp='$CXXCPP $CPPFLAGS'
35539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35543 cat >conftest.$ac_ext <<_ACEOF
35544 /* confdefs.h. */
35545 _ACEOF
35546 cat confdefs.h >>conftest.$ac_ext
35547 cat >>conftest.$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35549 #include <math.h>
35550 #ifdef HAVE_IEEEFP_H
35551 #include <ieeefp.h>
35552 #endif
35555 main ()
35557 isinff(0);
35559 return 0;
35561 _ACEOF
35562 rm -f conftest.$ac_objext
35563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35564 (eval $ac_compile) 2>conftest.er1
35565 ac_status=$?
35566 grep -v '^ *+' conftest.er1 >conftest.err
35567 rm -f conftest.er1
35568 cat conftest.err >&5
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); } &&
35571 { ac_try='test -z "$ac_cxx_werror_flag"
35572 || test ! -s conftest.err'
35573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35574 (eval $ac_try) 2>&5
35575 ac_status=$?
35576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577 (exit $ac_status); }; } &&
35578 { ac_try='test -s conftest.$ac_objext'
35579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35580 (eval $ac_try) 2>&5
35581 ac_status=$?
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); }; }; then
35584 glibcxx_cv_func_isinff_use=yes
35585 else
35586 echo "$as_me: failed program was:" >&5
35587 sed 's/^/| /' conftest.$ac_ext >&5
35589 glibcxx_cv_func_isinff_use=no
35591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35592 ac_ext=c
35593 ac_cpp='$CPP $CPPFLAGS'
35594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35602 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35603 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35605 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35607 for ac_func in isinff
35609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35610 echo "$as_me:$LINENO: checking for $ac_func" >&5
35611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35612 if eval "test \"\${$as_ac_var+set}\" = set"; then
35613 echo $ECHO_N "(cached) $ECHO_C" >&6
35614 else
35615 if test x$gcc_no_link = xyes; then
35616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35618 { (exit 1); exit 1; }; }
35620 cat >conftest.$ac_ext <<_ACEOF
35621 /* confdefs.h. */
35622 _ACEOF
35623 cat confdefs.h >>conftest.$ac_ext
35624 cat >>conftest.$ac_ext <<_ACEOF
35625 /* end confdefs.h. */
35626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35628 #define $ac_func innocuous_$ac_func
35630 /* System header to define __stub macros and hopefully few prototypes,
35631 which can conflict with char $ac_func (); below.
35632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35633 <limits.h> exists even on freestanding compilers. */
35635 #ifdef __STDC__
35636 # include <limits.h>
35637 #else
35638 # include <assert.h>
35639 #endif
35641 #undef $ac_func
35643 /* Override any gcc2 internal prototype to avoid an error. */
35644 #ifdef __cplusplus
35645 extern "C"
35647 #endif
35648 /* We use char because int might match the return type of a gcc2
35649 builtin and then its argument prototype would still apply. */
35650 char $ac_func ();
35651 /* The GNU C library defines this for functions which it implements
35652 to always fail with ENOSYS. Some functions are actually named
35653 something starting with __ and the normal name is an alias. */
35654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35655 choke me
35656 #else
35657 char (*f) () = $ac_func;
35658 #endif
35659 #ifdef __cplusplus
35661 #endif
35664 main ()
35666 return f != $ac_func;
35668 return 0;
35670 _ACEOF
35671 rm -f conftest.$ac_objext conftest$ac_exeext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35673 (eval $ac_link) 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try='test -z "$ac_c_werror_flag"
35681 || test ! -s conftest.err'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35684 ac_status=$?
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; } &&
35687 { ac_try='test -s conftest$ac_exeext'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35690 ac_status=$?
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; }; then
35693 eval "$as_ac_var=yes"
35694 else
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35698 eval "$as_ac_var=no"
35700 rm -f conftest.err conftest.$ac_objext \
35701 conftest$ac_exeext conftest.$ac_ext
35703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35705 if test `eval echo '${'$as_ac_var'}'` = yes; then
35706 cat >>confdefs.h <<_ACEOF
35707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35708 _ACEOF
35711 done
35713 else
35715 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35716 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35717 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35718 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35719 echo $ECHO_N "(cached) $ECHO_C" >&6
35720 else
35724 ac_ext=cc
35725 ac_cpp='$CXXCPP $CPPFLAGS'
35726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35730 cat >conftest.$ac_ext <<_ACEOF
35731 /* confdefs.h. */
35732 _ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736 #include <math.h>
35737 #ifdef HAVE_IEEEFP_H
35738 #include <ieeefp.h>
35739 #endif
35742 main ()
35744 _isinff(0);
35746 return 0;
35748 _ACEOF
35749 rm -f conftest.$ac_objext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35751 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isinff_use=yes
35772 else
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35776 glibcxx_cv_func__isinff_use=no
35778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35779 ac_ext=c
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35789 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35790 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35792 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35794 for ac_func in _isinff
35796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35797 echo "$as_me:$LINENO: checking for $ac_func" >&5
35798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35799 if eval "test \"\${$as_ac_var+set}\" = set"; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35801 else
35802 if test x$gcc_no_link = xyes; then
35803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35805 { (exit 1); exit 1; }; }
35807 cat >conftest.$ac_ext <<_ACEOF
35808 /* confdefs.h. */
35809 _ACEOF
35810 cat confdefs.h >>conftest.$ac_ext
35811 cat >>conftest.$ac_ext <<_ACEOF
35812 /* end confdefs.h. */
35813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35815 #define $ac_func innocuous_$ac_func
35817 /* System header to define __stub macros and hopefully few prototypes,
35818 which can conflict with char $ac_func (); below.
35819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35820 <limits.h> exists even on freestanding compilers. */
35822 #ifdef __STDC__
35823 # include <limits.h>
35824 #else
35825 # include <assert.h>
35826 #endif
35828 #undef $ac_func
35830 /* Override any gcc2 internal prototype to avoid an error. */
35831 #ifdef __cplusplus
35832 extern "C"
35834 #endif
35835 /* We use char because int might match the return type of a gcc2
35836 builtin and then its argument prototype would still apply. */
35837 char $ac_func ();
35838 /* The GNU C library defines this for functions which it implements
35839 to always fail with ENOSYS. Some functions are actually named
35840 something starting with __ and the normal name is an alias. */
35841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35842 choke me
35843 #else
35844 char (*f) () = $ac_func;
35845 #endif
35846 #ifdef __cplusplus
35848 #endif
35851 main ()
35853 return f != $ac_func;
35855 return 0;
35857 _ACEOF
35858 rm -f conftest.$ac_objext conftest$ac_exeext
35859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35860 (eval $ac_link) 2>conftest.er1
35861 ac_status=$?
35862 grep -v '^ *+' conftest.er1 >conftest.err
35863 rm -f conftest.er1
35864 cat conftest.err >&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); } &&
35867 { ac_try='test -z "$ac_c_werror_flag"
35868 || test ! -s conftest.err'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35871 ac_status=$?
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; } &&
35874 { ac_try='test -s conftest$ac_exeext'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35877 ac_status=$?
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; }; then
35880 eval "$as_ac_var=yes"
35881 else
35882 echo "$as_me: failed program was:" >&5
35883 sed 's/^/| /' conftest.$ac_ext >&5
35885 eval "$as_ac_var=no"
35887 rm -f conftest.err conftest.$ac_objext \
35888 conftest$ac_exeext conftest.$ac_ext
35890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35892 if test `eval echo '${'$as_ac_var'}'` = yes; then
35893 cat >>confdefs.h <<_ACEOF
35894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35895 _ACEOF
35898 done
35905 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35906 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35907 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35908 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35909 echo $ECHO_N "(cached) $ECHO_C" >&6
35910 else
35914 ac_ext=cc
35915 ac_cpp='$CXXCPP $CPPFLAGS'
35916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35920 cat >conftest.$ac_ext <<_ACEOF
35921 /* confdefs.h. */
35922 _ACEOF
35923 cat confdefs.h >>conftest.$ac_ext
35924 cat >>conftest.$ac_ext <<_ACEOF
35925 /* end confdefs.h. */
35926 #include <math.h>
35928 main ()
35930 atan2f(0, 0);
35932 return 0;
35934 _ACEOF
35935 rm -f conftest.$ac_objext
35936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35937 (eval $ac_compile) 2>conftest.er1
35938 ac_status=$?
35939 grep -v '^ *+' conftest.er1 >conftest.err
35940 rm -f conftest.er1
35941 cat conftest.err >&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } &&
35944 { ac_try='test -z "$ac_cxx_werror_flag"
35945 || test ! -s conftest.err'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35948 ac_status=$?
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; } &&
35951 { ac_try='test -s conftest.$ac_objext'
35952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35953 (eval $ac_try) 2>&5
35954 ac_status=$?
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); }; }; then
35957 glibcxx_cv_func_atan2f_use=yes
35958 else
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.$ac_ext >&5
35962 glibcxx_cv_func_atan2f_use=no
35964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35965 ac_ext=c
35966 ac_cpp='$CPP $CPPFLAGS'
35967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35976 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35978 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35980 for ac_func in atan2f
35982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35983 echo "$as_me:$LINENO: checking for $ac_func" >&5
35984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35985 if eval "test \"\${$as_ac_var+set}\" = set"; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35987 else
35988 if test x$gcc_no_link = xyes; then
35989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35991 { (exit 1); exit 1; }; }
35993 cat >conftest.$ac_ext <<_ACEOF
35994 /* confdefs.h. */
35995 _ACEOF
35996 cat confdefs.h >>conftest.$ac_ext
35997 cat >>conftest.$ac_ext <<_ACEOF
35998 /* end confdefs.h. */
35999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36001 #define $ac_func innocuous_$ac_func
36003 /* System header to define __stub macros and hopefully few prototypes,
36004 which can conflict with char $ac_func (); below.
36005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36006 <limits.h> exists even on freestanding compilers. */
36008 #ifdef __STDC__
36009 # include <limits.h>
36010 #else
36011 # include <assert.h>
36012 #endif
36014 #undef $ac_func
36016 /* Override any gcc2 internal prototype to avoid an error. */
36017 #ifdef __cplusplus
36018 extern "C"
36020 #endif
36021 /* We use char because int might match the return type of a gcc2
36022 builtin and then its argument prototype would still apply. */
36023 char $ac_func ();
36024 /* The GNU C library defines this for functions which it implements
36025 to always fail with ENOSYS. Some functions are actually named
36026 something starting with __ and the normal name is an alias. */
36027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36028 choke me
36029 #else
36030 char (*f) () = $ac_func;
36031 #endif
36032 #ifdef __cplusplus
36034 #endif
36037 main ()
36039 return f != $ac_func;
36041 return 0;
36043 _ACEOF
36044 rm -f conftest.$ac_objext conftest$ac_exeext
36045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36046 (eval $ac_link) 2>conftest.er1
36047 ac_status=$?
36048 grep -v '^ *+' conftest.er1 >conftest.err
36049 rm -f conftest.er1
36050 cat conftest.err >&5
36051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052 (exit $ac_status); } &&
36053 { ac_try='test -z "$ac_c_werror_flag"
36054 || test ! -s conftest.err'
36055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36056 (eval $ac_try) 2>&5
36057 ac_status=$?
36058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36059 (exit $ac_status); }; } &&
36060 { ac_try='test -s conftest$ac_exeext'
36061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36062 (eval $ac_try) 2>&5
36063 ac_status=$?
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); }; }; then
36066 eval "$as_ac_var=yes"
36067 else
36068 echo "$as_me: failed program was:" >&5
36069 sed 's/^/| /' conftest.$ac_ext >&5
36071 eval "$as_ac_var=no"
36073 rm -f conftest.err conftest.$ac_objext \
36074 conftest$ac_exeext conftest.$ac_ext
36076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36078 if test `eval echo '${'$as_ac_var'}'` = yes; then
36079 cat >>confdefs.h <<_ACEOF
36080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36081 _ACEOF
36084 done
36086 else
36088 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36089 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36090 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36091 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36092 echo $ECHO_N "(cached) $ECHO_C" >&6
36093 else
36097 ac_ext=cc
36098 ac_cpp='$CXXCPP $CPPFLAGS'
36099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36103 cat >conftest.$ac_ext <<_ACEOF
36104 /* confdefs.h. */
36105 _ACEOF
36106 cat confdefs.h >>conftest.$ac_ext
36107 cat >>conftest.$ac_ext <<_ACEOF
36108 /* end confdefs.h. */
36109 #include <math.h>
36111 main ()
36113 _atan2f(0, 0);
36115 return 0;
36117 _ACEOF
36118 rm -f conftest.$ac_objext
36119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36120 (eval $ac_compile) 2>conftest.er1
36121 ac_status=$?
36122 grep -v '^ *+' conftest.er1 >conftest.err
36123 rm -f conftest.er1
36124 cat conftest.err >&5
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); } &&
36127 { ac_try='test -z "$ac_cxx_werror_flag"
36128 || test ! -s conftest.err'
36129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36130 (eval $ac_try) 2>&5
36131 ac_status=$?
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); }; } &&
36134 { ac_try='test -s conftest.$ac_objext'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36137 ac_status=$?
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; }; then
36140 glibcxx_cv_func__atan2f_use=yes
36141 else
36142 echo "$as_me: failed program was:" >&5
36143 sed 's/^/| /' conftest.$ac_ext >&5
36145 glibcxx_cv_func__atan2f_use=no
36147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36148 ac_ext=c
36149 ac_cpp='$CPP $CPPFLAGS'
36150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36159 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36161 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36163 for ac_func in _atan2f
36165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36166 echo "$as_me:$LINENO: checking for $ac_func" >&5
36167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36168 if eval "test \"\${$as_ac_var+set}\" = set"; then
36169 echo $ECHO_N "(cached) $ECHO_C" >&6
36170 else
36171 if test x$gcc_no_link = xyes; then
36172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36174 { (exit 1); exit 1; }; }
36176 cat >conftest.$ac_ext <<_ACEOF
36177 /* confdefs.h. */
36178 _ACEOF
36179 cat confdefs.h >>conftest.$ac_ext
36180 cat >>conftest.$ac_ext <<_ACEOF
36181 /* end confdefs.h. */
36182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36184 #define $ac_func innocuous_$ac_func
36186 /* System header to define __stub macros and hopefully few prototypes,
36187 which can conflict with char $ac_func (); below.
36188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36189 <limits.h> exists even on freestanding compilers. */
36191 #ifdef __STDC__
36192 # include <limits.h>
36193 #else
36194 # include <assert.h>
36195 #endif
36197 #undef $ac_func
36199 /* Override any gcc2 internal prototype to avoid an error. */
36200 #ifdef __cplusplus
36201 extern "C"
36203 #endif
36204 /* We use char because int might match the return type of a gcc2
36205 builtin and then its argument prototype would still apply. */
36206 char $ac_func ();
36207 /* The GNU C library defines this for functions which it implements
36208 to always fail with ENOSYS. Some functions are actually named
36209 something starting with __ and the normal name is an alias. */
36210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36211 choke me
36212 #else
36213 char (*f) () = $ac_func;
36214 #endif
36215 #ifdef __cplusplus
36217 #endif
36220 main ()
36222 return f != $ac_func;
36224 return 0;
36226 _ACEOF
36227 rm -f conftest.$ac_objext conftest$ac_exeext
36228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36229 (eval $ac_link) 2>conftest.er1
36230 ac_status=$?
36231 grep -v '^ *+' conftest.er1 >conftest.err
36232 rm -f conftest.er1
36233 cat conftest.err >&5
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); } &&
36236 { ac_try='test -z "$ac_c_werror_flag"
36237 || test ! -s conftest.err'
36238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36239 (eval $ac_try) 2>&5
36240 ac_status=$?
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); }; } &&
36243 { ac_try='test -s conftest$ac_exeext'
36244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245 (eval $ac_try) 2>&5
36246 ac_status=$?
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; }; then
36249 eval "$as_ac_var=yes"
36250 else
36251 echo "$as_me: failed program was:" >&5
36252 sed 's/^/| /' conftest.$ac_ext >&5
36254 eval "$as_ac_var=no"
36256 rm -f conftest.err conftest.$ac_objext \
36257 conftest$ac_exeext conftest.$ac_ext
36259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36261 if test `eval echo '${'$as_ac_var'}'` = yes; then
36262 cat >>confdefs.h <<_ACEOF
36263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36264 _ACEOF
36267 done
36274 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36275 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36276 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36277 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36283 ac_ext=cc
36284 ac_cpp='$CXXCPP $CPPFLAGS'
36285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36289 cat >conftest.$ac_ext <<_ACEOF
36290 /* confdefs.h. */
36291 _ACEOF
36292 cat confdefs.h >>conftest.$ac_ext
36293 cat >>conftest.$ac_ext <<_ACEOF
36294 /* end confdefs.h. */
36295 #include <math.h>
36296 #ifdef HAVE_IEEEFP_H
36297 #include <ieeefp.h>
36298 #endif
36301 main ()
36303 fabsf(0);
36305 return 0;
36307 _ACEOF
36308 rm -f conftest.$ac_objext
36309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36310 (eval $ac_compile) 2>conftest.er1
36311 ac_status=$?
36312 grep -v '^ *+' conftest.er1 >conftest.err
36313 rm -f conftest.er1
36314 cat conftest.err >&5
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); } &&
36317 { ac_try='test -z "$ac_cxx_werror_flag"
36318 || test ! -s conftest.err'
36319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36320 (eval $ac_try) 2>&5
36321 ac_status=$?
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); }; } &&
36324 { ac_try='test -s conftest.$ac_objext'
36325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36326 (eval $ac_try) 2>&5
36327 ac_status=$?
36328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36329 (exit $ac_status); }; }; then
36330 glibcxx_cv_func_fabsf_use=yes
36331 else
36332 echo "$as_me: failed program was:" >&5
36333 sed 's/^/| /' conftest.$ac_ext >&5
36335 glibcxx_cv_func_fabsf_use=no
36337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36338 ac_ext=c
36339 ac_cpp='$CPP $CPPFLAGS'
36340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36349 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36351 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36353 for ac_func in fabsf
36355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36356 echo "$as_me:$LINENO: checking for $ac_func" >&5
36357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36358 if eval "test \"\${$as_ac_var+set}\" = set"; then
36359 echo $ECHO_N "(cached) $ECHO_C" >&6
36360 else
36361 if test x$gcc_no_link = xyes; then
36362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36364 { (exit 1); exit 1; }; }
36366 cat >conftest.$ac_ext <<_ACEOF
36367 /* confdefs.h. */
36368 _ACEOF
36369 cat confdefs.h >>conftest.$ac_ext
36370 cat >>conftest.$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36374 #define $ac_func innocuous_$ac_func
36376 /* System header to define __stub macros and hopefully few prototypes,
36377 which can conflict with char $ac_func (); below.
36378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36379 <limits.h> exists even on freestanding compilers. */
36381 #ifdef __STDC__
36382 # include <limits.h>
36383 #else
36384 # include <assert.h>
36385 #endif
36387 #undef $ac_func
36389 /* Override any gcc2 internal prototype to avoid an error. */
36390 #ifdef __cplusplus
36391 extern "C"
36393 #endif
36394 /* We use char because int might match the return type of a gcc2
36395 builtin and then its argument prototype would still apply. */
36396 char $ac_func ();
36397 /* The GNU C library defines this for functions which it implements
36398 to always fail with ENOSYS. Some functions are actually named
36399 something starting with __ and the normal name is an alias. */
36400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36401 choke me
36402 #else
36403 char (*f) () = $ac_func;
36404 #endif
36405 #ifdef __cplusplus
36407 #endif
36410 main ()
36412 return f != $ac_func;
36414 return 0;
36416 _ACEOF
36417 rm -f conftest.$ac_objext conftest$ac_exeext
36418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36419 (eval $ac_link) 2>conftest.er1
36420 ac_status=$?
36421 grep -v '^ *+' conftest.er1 >conftest.err
36422 rm -f conftest.er1
36423 cat conftest.err >&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); } &&
36426 { ac_try='test -z "$ac_c_werror_flag"
36427 || test ! -s conftest.err'
36428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36429 (eval $ac_try) 2>&5
36430 ac_status=$?
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); }; } &&
36433 { ac_try='test -s conftest$ac_exeext'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36436 ac_status=$?
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; }; then
36439 eval "$as_ac_var=yes"
36440 else
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36444 eval "$as_ac_var=no"
36446 rm -f conftest.err conftest.$ac_objext \
36447 conftest$ac_exeext conftest.$ac_ext
36449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36451 if test `eval echo '${'$as_ac_var'}'` = yes; then
36452 cat >>confdefs.h <<_ACEOF
36453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36454 _ACEOF
36457 done
36459 else
36461 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36462 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36463 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36464 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36465 echo $ECHO_N "(cached) $ECHO_C" >&6
36466 else
36470 ac_ext=cc
36471 ac_cpp='$CXXCPP $CPPFLAGS'
36472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36476 cat >conftest.$ac_ext <<_ACEOF
36477 /* confdefs.h. */
36478 _ACEOF
36479 cat confdefs.h >>conftest.$ac_ext
36480 cat >>conftest.$ac_ext <<_ACEOF
36481 /* end confdefs.h. */
36482 #include <math.h>
36483 #ifdef HAVE_IEEEFP_H
36484 #include <ieeefp.h>
36485 #endif
36488 main ()
36490 _fabsf(0);
36492 return 0;
36494 _ACEOF
36495 rm -f conftest.$ac_objext
36496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36497 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fabsf_use=yes
36518 else
36519 echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36522 glibcxx_cv_func__fabsf_use=no
36524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36525 ac_ext=c
36526 ac_cpp='$CPP $CPPFLAGS'
36527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36536 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36538 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36540 for ac_func in _fabsf
36542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36543 echo "$as_me:$LINENO: checking for $ac_func" >&5
36544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36545 if eval "test \"\${$as_ac_var+set}\" = set"; then
36546 echo $ECHO_N "(cached) $ECHO_C" >&6
36547 else
36548 if test x$gcc_no_link = xyes; then
36549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36551 { (exit 1); exit 1; }; }
36553 cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36561 #define $ac_func innocuous_$ac_func
36563 /* System header to define __stub macros and hopefully few prototypes,
36564 which can conflict with char $ac_func (); below.
36565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36566 <limits.h> exists even on freestanding compilers. */
36568 #ifdef __STDC__
36569 # include <limits.h>
36570 #else
36571 # include <assert.h>
36572 #endif
36574 #undef $ac_func
36576 /* Override any gcc2 internal prototype to avoid an error. */
36577 #ifdef __cplusplus
36578 extern "C"
36580 #endif
36581 /* We use char because int might match the return type of a gcc2
36582 builtin and then its argument prototype would still apply. */
36583 char $ac_func ();
36584 /* The GNU C library defines this for functions which it implements
36585 to always fail with ENOSYS. Some functions are actually named
36586 something starting with __ and the normal name is an alias. */
36587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36588 choke me
36589 #else
36590 char (*f) () = $ac_func;
36591 #endif
36592 #ifdef __cplusplus
36594 #endif
36597 main ()
36599 return f != $ac_func;
36601 return 0;
36603 _ACEOF
36604 rm -f conftest.$ac_objext conftest$ac_exeext
36605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36606 (eval $ac_link) 2>conftest.er1
36607 ac_status=$?
36608 grep -v '^ *+' conftest.er1 >conftest.err
36609 rm -f conftest.er1
36610 cat conftest.err >&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); } &&
36613 { ac_try='test -z "$ac_c_werror_flag"
36614 || test ! -s conftest.err'
36615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36616 (eval $ac_try) 2>&5
36617 ac_status=$?
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); }; } &&
36620 { ac_try='test -s conftest$ac_exeext'
36621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36622 (eval $ac_try) 2>&5
36623 ac_status=$?
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; }; then
36626 eval "$as_ac_var=yes"
36627 else
36628 echo "$as_me: failed program was:" >&5
36629 sed 's/^/| /' conftest.$ac_ext >&5
36631 eval "$as_ac_var=no"
36633 rm -f conftest.err conftest.$ac_objext \
36634 conftest$ac_exeext conftest.$ac_ext
36636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36638 if test `eval echo '${'$as_ac_var'}'` = yes; then
36639 cat >>confdefs.h <<_ACEOF
36640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36641 _ACEOF
36644 done
36651 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36652 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36653 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36654 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36655 echo $ECHO_N "(cached) $ECHO_C" >&6
36656 else
36660 ac_ext=cc
36661 ac_cpp='$CXXCPP $CPPFLAGS'
36662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36666 cat >conftest.$ac_ext <<_ACEOF
36667 /* confdefs.h. */
36668 _ACEOF
36669 cat confdefs.h >>conftest.$ac_ext
36670 cat >>conftest.$ac_ext <<_ACEOF
36671 /* end confdefs.h. */
36672 #include <math.h>
36674 main ()
36676 fmodf(0, 0);
36678 return 0;
36680 _ACEOF
36681 rm -f conftest.$ac_objext
36682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36683 (eval $ac_compile) 2>conftest.er1
36684 ac_status=$?
36685 grep -v '^ *+' conftest.er1 >conftest.err
36686 rm -f conftest.er1
36687 cat conftest.err >&5
36688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36689 (exit $ac_status); } &&
36690 { ac_try='test -z "$ac_cxx_werror_flag"
36691 || test ! -s conftest.err'
36692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36693 (eval $ac_try) 2>&5
36694 ac_status=$?
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); }; } &&
36697 { ac_try='test -s conftest.$ac_objext'
36698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36699 (eval $ac_try) 2>&5
36700 ac_status=$?
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); }; }; then
36703 glibcxx_cv_func_fmodf_use=yes
36704 else
36705 echo "$as_me: failed program was:" >&5
36706 sed 's/^/| /' conftest.$ac_ext >&5
36708 glibcxx_cv_func_fmodf_use=no
36710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36711 ac_ext=c
36712 ac_cpp='$CPP $CPPFLAGS'
36713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36722 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36724 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36726 for ac_func in fmodf
36728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36729 echo "$as_me:$LINENO: checking for $ac_func" >&5
36730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36731 if eval "test \"\${$as_ac_var+set}\" = set"; then
36732 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 else
36734 if test x$gcc_no_link = xyes; then
36735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36737 { (exit 1); exit 1; }; }
36739 cat >conftest.$ac_ext <<_ACEOF
36740 /* confdefs.h. */
36741 _ACEOF
36742 cat confdefs.h >>conftest.$ac_ext
36743 cat >>conftest.$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36747 #define $ac_func innocuous_$ac_func
36749 /* System header to define __stub macros and hopefully few prototypes,
36750 which can conflict with char $ac_func (); below.
36751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36752 <limits.h> exists even on freestanding compilers. */
36754 #ifdef __STDC__
36755 # include <limits.h>
36756 #else
36757 # include <assert.h>
36758 #endif
36760 #undef $ac_func
36762 /* Override any gcc2 internal prototype to avoid an error. */
36763 #ifdef __cplusplus
36764 extern "C"
36766 #endif
36767 /* We use char because int might match the return type of a gcc2
36768 builtin and then its argument prototype would still apply. */
36769 char $ac_func ();
36770 /* The GNU C library defines this for functions which it implements
36771 to always fail with ENOSYS. Some functions are actually named
36772 something starting with __ and the normal name is an alias. */
36773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36774 choke me
36775 #else
36776 char (*f) () = $ac_func;
36777 #endif
36778 #ifdef __cplusplus
36780 #endif
36783 main ()
36785 return f != $ac_func;
36787 return 0;
36789 _ACEOF
36790 rm -f conftest.$ac_objext conftest$ac_exeext
36791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36792 (eval $ac_link) 2>conftest.er1
36793 ac_status=$?
36794 grep -v '^ *+' conftest.er1 >conftest.err
36795 rm -f conftest.er1
36796 cat conftest.err >&5
36797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798 (exit $ac_status); } &&
36799 { ac_try='test -z "$ac_c_werror_flag"
36800 || test ! -s conftest.err'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; } &&
36806 { ac_try='test -s conftest$ac_exeext'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36809 ac_status=$?
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; }; then
36812 eval "$as_ac_var=yes"
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36817 eval "$as_ac_var=no"
36819 rm -f conftest.err conftest.$ac_objext \
36820 conftest$ac_exeext conftest.$ac_ext
36822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36824 if test `eval echo '${'$as_ac_var'}'` = yes; then
36825 cat >>confdefs.h <<_ACEOF
36826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36827 _ACEOF
36830 done
36832 else
36834 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36835 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36836 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36837 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36839 else
36843 ac_ext=cc
36844 ac_cpp='$CXXCPP $CPPFLAGS'
36845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36849 cat >conftest.$ac_ext <<_ACEOF
36850 /* confdefs.h. */
36851 _ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855 #include <math.h>
36857 main ()
36859 _fmodf(0, 0);
36861 return 0;
36863 _ACEOF
36864 rm -f conftest.$ac_objext
36865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36866 (eval $ac_compile) 2>conftest.er1
36867 ac_status=$?
36868 grep -v '^ *+' conftest.er1 >conftest.err
36869 rm -f conftest.er1
36870 cat conftest.err >&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); } &&
36873 { ac_try='test -z "$ac_cxx_werror_flag"
36874 || test ! -s conftest.err'
36875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36876 (eval $ac_try) 2>&5
36877 ac_status=$?
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); }; } &&
36880 { ac_try='test -s conftest.$ac_objext'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36883 ac_status=$?
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; }; then
36886 glibcxx_cv_func__fmodf_use=yes
36887 else
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.$ac_ext >&5
36891 glibcxx_cv_func__fmodf_use=no
36893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36894 ac_ext=c
36895 ac_cpp='$CPP $CPPFLAGS'
36896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36905 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36907 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36909 for ac_func in _fmodf
36911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36912 echo "$as_me:$LINENO: checking for $ac_func" >&5
36913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36914 if eval "test \"\${$as_ac_var+set}\" = set"; then
36915 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 else
36917 if test x$gcc_no_link = xyes; then
36918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36920 { (exit 1); exit 1; }; }
36922 cat >conftest.$ac_ext <<_ACEOF
36923 /* confdefs.h. */
36924 _ACEOF
36925 cat confdefs.h >>conftest.$ac_ext
36926 cat >>conftest.$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36930 #define $ac_func innocuous_$ac_func
36932 /* System header to define __stub macros and hopefully few prototypes,
36933 which can conflict with char $ac_func (); below.
36934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36935 <limits.h> exists even on freestanding compilers. */
36937 #ifdef __STDC__
36938 # include <limits.h>
36939 #else
36940 # include <assert.h>
36941 #endif
36943 #undef $ac_func
36945 /* Override any gcc2 internal prototype to avoid an error. */
36946 #ifdef __cplusplus
36947 extern "C"
36949 #endif
36950 /* We use char because int might match the return type of a gcc2
36951 builtin and then its argument prototype would still apply. */
36952 char $ac_func ();
36953 /* The GNU C library defines this for functions which it implements
36954 to always fail with ENOSYS. Some functions are actually named
36955 something starting with __ and the normal name is an alias. */
36956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36957 choke me
36958 #else
36959 char (*f) () = $ac_func;
36960 #endif
36961 #ifdef __cplusplus
36963 #endif
36966 main ()
36968 return f != $ac_func;
36970 return 0;
36972 _ACEOF
36973 rm -f conftest.$ac_objext conftest$ac_exeext
36974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36975 (eval $ac_link) 2>conftest.er1
36976 ac_status=$?
36977 grep -v '^ *+' conftest.er1 >conftest.err
36978 rm -f conftest.er1
36979 cat conftest.err >&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); } &&
36982 { ac_try='test -z "$ac_c_werror_flag"
36983 || test ! -s conftest.err'
36984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36985 (eval $ac_try) 2>&5
36986 ac_status=$?
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); }; } &&
36989 { ac_try='test -s conftest$ac_exeext'
36990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36991 (eval $ac_try) 2>&5
36992 ac_status=$?
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); }; }; then
36995 eval "$as_ac_var=yes"
36996 else
36997 echo "$as_me: failed program was:" >&5
36998 sed 's/^/| /' conftest.$ac_ext >&5
37000 eval "$as_ac_var=no"
37002 rm -f conftest.err conftest.$ac_objext \
37003 conftest$ac_exeext conftest.$ac_ext
37005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37007 if test `eval echo '${'$as_ac_var'}'` = yes; then
37008 cat >>confdefs.h <<_ACEOF
37009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37010 _ACEOF
37013 done
37020 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37021 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37022 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37023 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37024 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 else
37029 ac_ext=cc
37030 ac_cpp='$CXXCPP $CPPFLAGS'
37031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37035 cat >conftest.$ac_ext <<_ACEOF
37036 /* confdefs.h. */
37037 _ACEOF
37038 cat confdefs.h >>conftest.$ac_ext
37039 cat >>conftest.$ac_ext <<_ACEOF
37040 /* end confdefs.h. */
37041 #include <math.h>
37043 main ()
37045 frexpf(0, 0);
37047 return 0;
37049 _ACEOF
37050 rm -f conftest.$ac_objext
37051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37052 (eval $ac_compile) 2>conftest.er1
37053 ac_status=$?
37054 grep -v '^ *+' conftest.er1 >conftest.err
37055 rm -f conftest.er1
37056 cat conftest.err >&5
37057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058 (exit $ac_status); } &&
37059 { ac_try='test -z "$ac_cxx_werror_flag"
37060 || test ! -s conftest.err'
37061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37062 (eval $ac_try) 2>&5
37063 ac_status=$?
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; } &&
37066 { ac_try='test -s conftest.$ac_objext'
37067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37068 (eval $ac_try) 2>&5
37069 ac_status=$?
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); }; }; then
37072 glibcxx_cv_func_frexpf_use=yes
37073 else
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.$ac_ext >&5
37077 glibcxx_cv_func_frexpf_use=no
37079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37080 ac_ext=c
37081 ac_cpp='$CPP $CPPFLAGS'
37082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37091 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37093 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37095 for ac_func in frexpf
37097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37098 echo "$as_me:$LINENO: checking for $ac_func" >&5
37099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37100 if eval "test \"\${$as_ac_var+set}\" = set"; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37102 else
37103 if test x$gcc_no_link = xyes; then
37104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37106 { (exit 1); exit 1; }; }
37108 cat >conftest.$ac_ext <<_ACEOF
37109 /* confdefs.h. */
37110 _ACEOF
37111 cat confdefs.h >>conftest.$ac_ext
37112 cat >>conftest.$ac_ext <<_ACEOF
37113 /* end confdefs.h. */
37114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37116 #define $ac_func innocuous_$ac_func
37118 /* System header to define __stub macros and hopefully few prototypes,
37119 which can conflict with char $ac_func (); below.
37120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37121 <limits.h> exists even on freestanding compilers. */
37123 #ifdef __STDC__
37124 # include <limits.h>
37125 #else
37126 # include <assert.h>
37127 #endif
37129 #undef $ac_func
37131 /* Override any gcc2 internal prototype to avoid an error. */
37132 #ifdef __cplusplus
37133 extern "C"
37135 #endif
37136 /* We use char because int might match the return type of a gcc2
37137 builtin and then its argument prototype would still apply. */
37138 char $ac_func ();
37139 /* The GNU C library defines this for functions which it implements
37140 to always fail with ENOSYS. Some functions are actually named
37141 something starting with __ and the normal name is an alias. */
37142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37143 choke me
37144 #else
37145 char (*f) () = $ac_func;
37146 #endif
37147 #ifdef __cplusplus
37149 #endif
37152 main ()
37154 return f != $ac_func;
37156 return 0;
37158 _ACEOF
37159 rm -f conftest.$ac_objext conftest$ac_exeext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37161 (eval $ac_link) 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try='test -z "$ac_c_werror_flag"
37169 || test ! -s conftest.err'
37170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37171 (eval $ac_try) 2>&5
37172 ac_status=$?
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); }; } &&
37175 { ac_try='test -s conftest$ac_exeext'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37178 ac_status=$?
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; }; then
37181 eval "$as_ac_var=yes"
37182 else
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37186 eval "$as_ac_var=no"
37188 rm -f conftest.err conftest.$ac_objext \
37189 conftest$ac_exeext conftest.$ac_ext
37191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37193 if test `eval echo '${'$as_ac_var'}'` = yes; then
37194 cat >>confdefs.h <<_ACEOF
37195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37196 _ACEOF
37199 done
37201 else
37203 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37204 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37205 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37206 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37207 echo $ECHO_N "(cached) $ECHO_C" >&6
37208 else
37212 ac_ext=cc
37213 ac_cpp='$CXXCPP $CPPFLAGS'
37214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37218 cat >conftest.$ac_ext <<_ACEOF
37219 /* confdefs.h. */
37220 _ACEOF
37221 cat confdefs.h >>conftest.$ac_ext
37222 cat >>conftest.$ac_ext <<_ACEOF
37223 /* end confdefs.h. */
37224 #include <math.h>
37226 main ()
37228 _frexpf(0, 0);
37230 return 0;
37232 _ACEOF
37233 rm -f conftest.$ac_objext
37234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37235 (eval $ac_compile) 2>conftest.er1
37236 ac_status=$?
37237 grep -v '^ *+' conftest.er1 >conftest.err
37238 rm -f conftest.er1
37239 cat conftest.err >&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } &&
37242 { ac_try='test -z "$ac_cxx_werror_flag"
37243 || test ! -s conftest.err'
37244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37245 (eval $ac_try) 2>&5
37246 ac_status=$?
37247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37248 (exit $ac_status); }; } &&
37249 { ac_try='test -s conftest.$ac_objext'
37250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37251 (eval $ac_try) 2>&5
37252 ac_status=$?
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); }; }; then
37255 glibcxx_cv_func__frexpf_use=yes
37256 else
37257 echo "$as_me: failed program was:" >&5
37258 sed 's/^/| /' conftest.$ac_ext >&5
37260 glibcxx_cv_func__frexpf_use=no
37262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37263 ac_ext=c
37264 ac_cpp='$CPP $CPPFLAGS'
37265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37273 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37274 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37276 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37278 for ac_func in _frexpf
37280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37281 echo "$as_me:$LINENO: checking for $ac_func" >&5
37282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37283 if eval "test \"\${$as_ac_var+set}\" = set"; then
37284 echo $ECHO_N "(cached) $ECHO_C" >&6
37285 else
37286 if test x$gcc_no_link = xyes; then
37287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37289 { (exit 1); exit 1; }; }
37291 cat >conftest.$ac_ext <<_ACEOF
37292 /* confdefs.h. */
37293 _ACEOF
37294 cat confdefs.h >>conftest.$ac_ext
37295 cat >>conftest.$ac_ext <<_ACEOF
37296 /* end confdefs.h. */
37297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37299 #define $ac_func innocuous_$ac_func
37301 /* System header to define __stub macros and hopefully few prototypes,
37302 which can conflict with char $ac_func (); below.
37303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37304 <limits.h> exists even on freestanding compilers. */
37306 #ifdef __STDC__
37307 # include <limits.h>
37308 #else
37309 # include <assert.h>
37310 #endif
37312 #undef $ac_func
37314 /* Override any gcc2 internal prototype to avoid an error. */
37315 #ifdef __cplusplus
37316 extern "C"
37318 #endif
37319 /* We use char because int might match the return type of a gcc2
37320 builtin and then its argument prototype would still apply. */
37321 char $ac_func ();
37322 /* The GNU C library defines this for functions which it implements
37323 to always fail with ENOSYS. Some functions are actually named
37324 something starting with __ and the normal name is an alias. */
37325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37326 choke me
37327 #else
37328 char (*f) () = $ac_func;
37329 #endif
37330 #ifdef __cplusplus
37332 #endif
37335 main ()
37337 return f != $ac_func;
37339 return 0;
37341 _ACEOF
37342 rm -f conftest.$ac_objext conftest$ac_exeext
37343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37344 (eval $ac_link) 2>conftest.er1
37345 ac_status=$?
37346 grep -v '^ *+' conftest.er1 >conftest.err
37347 rm -f conftest.er1
37348 cat conftest.err >&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); } &&
37351 { ac_try='test -z "$ac_c_werror_flag"
37352 || test ! -s conftest.err'
37353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37354 (eval $ac_try) 2>&5
37355 ac_status=$?
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); }; } &&
37358 { ac_try='test -s conftest$ac_exeext'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; }; then
37364 eval "$as_ac_var=yes"
37365 else
37366 echo "$as_me: failed program was:" >&5
37367 sed 's/^/| /' conftest.$ac_ext >&5
37369 eval "$as_ac_var=no"
37371 rm -f conftest.err conftest.$ac_objext \
37372 conftest$ac_exeext conftest.$ac_ext
37374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37376 if test `eval echo '${'$as_ac_var'}'` = yes; then
37377 cat >>confdefs.h <<_ACEOF
37378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37379 _ACEOF
37382 done
37389 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37390 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37391 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37392 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37398 ac_ext=cc
37399 ac_cpp='$CXXCPP $CPPFLAGS'
37400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37404 cat >conftest.$ac_ext <<_ACEOF
37405 /* confdefs.h. */
37406 _ACEOF
37407 cat confdefs.h >>conftest.$ac_ext
37408 cat >>conftest.$ac_ext <<_ACEOF
37409 /* end confdefs.h. */
37410 #include <math.h>
37412 main ()
37414 hypotf(0, 0);
37416 return 0;
37418 _ACEOF
37419 rm -f conftest.$ac_objext
37420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37421 (eval $ac_compile) 2>conftest.er1
37422 ac_status=$?
37423 grep -v '^ *+' conftest.er1 >conftest.err
37424 rm -f conftest.er1
37425 cat conftest.err >&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); } &&
37428 { ac_try='test -z "$ac_cxx_werror_flag"
37429 || test ! -s conftest.err'
37430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431 (eval $ac_try) 2>&5
37432 ac_status=$?
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); }; } &&
37435 { ac_try='test -s conftest.$ac_objext'
37436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37437 (eval $ac_try) 2>&5
37438 ac_status=$?
37439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37440 (exit $ac_status); }; }; then
37441 glibcxx_cv_func_hypotf_use=yes
37442 else
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37446 glibcxx_cv_func_hypotf_use=no
37448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37449 ac_ext=c
37450 ac_cpp='$CPP $CPPFLAGS'
37451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37460 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37462 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37464 for ac_func in hypotf
37466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37467 echo "$as_me:$LINENO: checking for $ac_func" >&5
37468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37469 if eval "test \"\${$as_ac_var+set}\" = set"; then
37470 echo $ECHO_N "(cached) $ECHO_C" >&6
37471 else
37472 if test x$gcc_no_link = xyes; then
37473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37475 { (exit 1); exit 1; }; }
37477 cat >conftest.$ac_ext <<_ACEOF
37478 /* confdefs.h. */
37479 _ACEOF
37480 cat confdefs.h >>conftest.$ac_ext
37481 cat >>conftest.$ac_ext <<_ACEOF
37482 /* end confdefs.h. */
37483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37485 #define $ac_func innocuous_$ac_func
37487 /* System header to define __stub macros and hopefully few prototypes,
37488 which can conflict with char $ac_func (); below.
37489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37490 <limits.h> exists even on freestanding compilers. */
37492 #ifdef __STDC__
37493 # include <limits.h>
37494 #else
37495 # include <assert.h>
37496 #endif
37498 #undef $ac_func
37500 /* Override any gcc2 internal prototype to avoid an error. */
37501 #ifdef __cplusplus
37502 extern "C"
37504 #endif
37505 /* We use char because int might match the return type of a gcc2
37506 builtin and then its argument prototype would still apply. */
37507 char $ac_func ();
37508 /* The GNU C library defines this for functions which it implements
37509 to always fail with ENOSYS. Some functions are actually named
37510 something starting with __ and the normal name is an alias. */
37511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37512 choke me
37513 #else
37514 char (*f) () = $ac_func;
37515 #endif
37516 #ifdef __cplusplus
37518 #endif
37521 main ()
37523 return f != $ac_func;
37525 return 0;
37527 _ACEOF
37528 rm -f conftest.$ac_objext conftest$ac_exeext
37529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37530 (eval $ac_link) 2>conftest.er1
37531 ac_status=$?
37532 grep -v '^ *+' conftest.er1 >conftest.err
37533 rm -f conftest.er1
37534 cat conftest.err >&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } &&
37537 { ac_try='test -z "$ac_c_werror_flag"
37538 || test ! -s conftest.err'
37539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37540 (eval $ac_try) 2>&5
37541 ac_status=$?
37542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543 (exit $ac_status); }; } &&
37544 { ac_try='test -s conftest$ac_exeext'
37545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37546 (eval $ac_try) 2>&5
37547 ac_status=$?
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); }; }; then
37550 eval "$as_ac_var=yes"
37551 else
37552 echo "$as_me: failed program was:" >&5
37553 sed 's/^/| /' conftest.$ac_ext >&5
37555 eval "$as_ac_var=no"
37557 rm -f conftest.err conftest.$ac_objext \
37558 conftest$ac_exeext conftest.$ac_ext
37560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37562 if test `eval echo '${'$as_ac_var'}'` = yes; then
37563 cat >>confdefs.h <<_ACEOF
37564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37565 _ACEOF
37568 done
37570 else
37572 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37573 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37574 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37575 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37577 else
37581 ac_ext=cc
37582 ac_cpp='$CXXCPP $CPPFLAGS'
37583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37587 cat >conftest.$ac_ext <<_ACEOF
37588 /* confdefs.h. */
37589 _ACEOF
37590 cat confdefs.h >>conftest.$ac_ext
37591 cat >>conftest.$ac_ext <<_ACEOF
37592 /* end confdefs.h. */
37593 #include <math.h>
37595 main ()
37597 _hypotf(0, 0);
37599 return 0;
37601 _ACEOF
37602 rm -f conftest.$ac_objext
37603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37604 (eval $ac_compile) 2>conftest.er1
37605 ac_status=$?
37606 grep -v '^ *+' conftest.er1 >conftest.err
37607 rm -f conftest.er1
37608 cat conftest.err >&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); } &&
37611 { ac_try='test -z "$ac_cxx_werror_flag"
37612 || test ! -s conftest.err'
37613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37614 (eval $ac_try) 2>&5
37615 ac_status=$?
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); }; } &&
37618 { ac_try='test -s conftest.$ac_objext'
37619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37620 (eval $ac_try) 2>&5
37621 ac_status=$?
37622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623 (exit $ac_status); }; }; then
37624 glibcxx_cv_func__hypotf_use=yes
37625 else
37626 echo "$as_me: failed program was:" >&5
37627 sed 's/^/| /' conftest.$ac_ext >&5
37629 glibcxx_cv_func__hypotf_use=no
37631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37632 ac_ext=c
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37643 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37645 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37647 for ac_func in _hypotf
37649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37650 echo "$as_me:$LINENO: checking for $ac_func" >&5
37651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37652 if eval "test \"\${$as_ac_var+set}\" = set"; then
37653 echo $ECHO_N "(cached) $ECHO_C" >&6
37654 else
37655 if test x$gcc_no_link = xyes; then
37656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37658 { (exit 1); exit 1; }; }
37660 cat >conftest.$ac_ext <<_ACEOF
37661 /* confdefs.h. */
37662 _ACEOF
37663 cat confdefs.h >>conftest.$ac_ext
37664 cat >>conftest.$ac_ext <<_ACEOF
37665 /* end confdefs.h. */
37666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37668 #define $ac_func innocuous_$ac_func
37670 /* System header to define __stub macros and hopefully few prototypes,
37671 which can conflict with char $ac_func (); below.
37672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37673 <limits.h> exists even on freestanding compilers. */
37675 #ifdef __STDC__
37676 # include <limits.h>
37677 #else
37678 # include <assert.h>
37679 #endif
37681 #undef $ac_func
37683 /* Override any gcc2 internal prototype to avoid an error. */
37684 #ifdef __cplusplus
37685 extern "C"
37687 #endif
37688 /* We use char because int might match the return type of a gcc2
37689 builtin and then its argument prototype would still apply. */
37690 char $ac_func ();
37691 /* The GNU C library defines this for functions which it implements
37692 to always fail with ENOSYS. Some functions are actually named
37693 something starting with __ and the normal name is an alias. */
37694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37695 choke me
37696 #else
37697 char (*f) () = $ac_func;
37698 #endif
37699 #ifdef __cplusplus
37701 #endif
37704 main ()
37706 return f != $ac_func;
37708 return 0;
37710 _ACEOF
37711 rm -f conftest.$ac_objext conftest$ac_exeext
37712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37713 (eval $ac_link) 2>conftest.er1
37714 ac_status=$?
37715 grep -v '^ *+' conftest.er1 >conftest.err
37716 rm -f conftest.er1
37717 cat conftest.err >&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } &&
37720 { ac_try='test -z "$ac_c_werror_flag"
37721 || test ! -s conftest.err'
37722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37723 (eval $ac_try) 2>&5
37724 ac_status=$?
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); }; } &&
37727 { ac_try='test -s conftest$ac_exeext'
37728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37729 (eval $ac_try) 2>&5
37730 ac_status=$?
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); }; }; then
37733 eval "$as_ac_var=yes"
37734 else
37735 echo "$as_me: failed program was:" >&5
37736 sed 's/^/| /' conftest.$ac_ext >&5
37738 eval "$as_ac_var=no"
37740 rm -f conftest.err conftest.$ac_objext \
37741 conftest$ac_exeext conftest.$ac_ext
37743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37745 if test `eval echo '${'$as_ac_var'}'` = yes; then
37746 cat >>confdefs.h <<_ACEOF
37747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37748 _ACEOF
37751 done
37758 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37759 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37760 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37761 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37762 echo $ECHO_N "(cached) $ECHO_C" >&6
37763 else
37767 ac_ext=cc
37768 ac_cpp='$CXXCPP $CPPFLAGS'
37769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37773 cat >conftest.$ac_ext <<_ACEOF
37774 /* confdefs.h. */
37775 _ACEOF
37776 cat confdefs.h >>conftest.$ac_ext
37777 cat >>conftest.$ac_ext <<_ACEOF
37778 /* end confdefs.h. */
37779 #include <math.h>
37781 main ()
37783 ldexpf(0, 0);
37785 return 0;
37787 _ACEOF
37788 rm -f conftest.$ac_objext
37789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37790 (eval $ac_compile) 2>conftest.er1
37791 ac_status=$?
37792 grep -v '^ *+' conftest.er1 >conftest.err
37793 rm -f conftest.er1
37794 cat conftest.err >&5
37795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796 (exit $ac_status); } &&
37797 { ac_try='test -z "$ac_cxx_werror_flag"
37798 || test ! -s conftest.err'
37799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37800 (eval $ac_try) 2>&5
37801 ac_status=$?
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); }; } &&
37804 { ac_try='test -s conftest.$ac_objext'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37807 ac_status=$?
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; }; then
37810 glibcxx_cv_func_ldexpf_use=yes
37811 else
37812 echo "$as_me: failed program was:" >&5
37813 sed 's/^/| /' conftest.$ac_ext >&5
37815 glibcxx_cv_func_ldexpf_use=no
37817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37818 ac_ext=c
37819 ac_cpp='$CPP $CPPFLAGS'
37820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37829 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37831 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37833 for ac_func in ldexpf
37835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37836 echo "$as_me:$LINENO: checking for $ac_func" >&5
37837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37838 if eval "test \"\${$as_ac_var+set}\" = set"; then
37839 echo $ECHO_N "(cached) $ECHO_C" >&6
37840 else
37841 if test x$gcc_no_link = xyes; then
37842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37844 { (exit 1); exit 1; }; }
37846 cat >conftest.$ac_ext <<_ACEOF
37847 /* confdefs.h. */
37848 _ACEOF
37849 cat confdefs.h >>conftest.$ac_ext
37850 cat >>conftest.$ac_ext <<_ACEOF
37851 /* end confdefs.h. */
37852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37854 #define $ac_func innocuous_$ac_func
37856 /* System header to define __stub macros and hopefully few prototypes,
37857 which can conflict with char $ac_func (); below.
37858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37859 <limits.h> exists even on freestanding compilers. */
37861 #ifdef __STDC__
37862 # include <limits.h>
37863 #else
37864 # include <assert.h>
37865 #endif
37867 #undef $ac_func
37869 /* Override any gcc2 internal prototype to avoid an error. */
37870 #ifdef __cplusplus
37871 extern "C"
37873 #endif
37874 /* We use char because int might match the return type of a gcc2
37875 builtin and then its argument prototype would still apply. */
37876 char $ac_func ();
37877 /* The GNU C library defines this for functions which it implements
37878 to always fail with ENOSYS. Some functions are actually named
37879 something starting with __ and the normal name is an alias. */
37880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37881 choke me
37882 #else
37883 char (*f) () = $ac_func;
37884 #endif
37885 #ifdef __cplusplus
37887 #endif
37890 main ()
37892 return f != $ac_func;
37894 return 0;
37896 _ACEOF
37897 rm -f conftest.$ac_objext conftest$ac_exeext
37898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37899 (eval $ac_link) 2>conftest.er1
37900 ac_status=$?
37901 grep -v '^ *+' conftest.er1 >conftest.err
37902 rm -f conftest.er1
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } &&
37906 { ac_try='test -z "$ac_c_werror_flag"
37907 || test ! -s conftest.err'
37908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37909 (eval $ac_try) 2>&5
37910 ac_status=$?
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); }; } &&
37913 { ac_try='test -s conftest$ac_exeext'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37916 ac_status=$?
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; }; then
37919 eval "$as_ac_var=yes"
37920 else
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37924 eval "$as_ac_var=no"
37926 rm -f conftest.err conftest.$ac_objext \
37927 conftest$ac_exeext conftest.$ac_ext
37929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37931 if test `eval echo '${'$as_ac_var'}'` = yes; then
37932 cat >>confdefs.h <<_ACEOF
37933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37934 _ACEOF
37937 done
37939 else
37941 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37942 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37943 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37944 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37945 echo $ECHO_N "(cached) $ECHO_C" >&6
37946 else
37950 ac_ext=cc
37951 ac_cpp='$CXXCPP $CPPFLAGS'
37952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37956 cat >conftest.$ac_ext <<_ACEOF
37957 /* confdefs.h. */
37958 _ACEOF
37959 cat confdefs.h >>conftest.$ac_ext
37960 cat >>conftest.$ac_ext <<_ACEOF
37961 /* end confdefs.h. */
37962 #include <math.h>
37964 main ()
37966 _ldexpf(0, 0);
37968 return 0;
37970 _ACEOF
37971 rm -f conftest.$ac_objext
37972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37973 (eval $ac_compile) 2>conftest.er1
37974 ac_status=$?
37975 grep -v '^ *+' conftest.er1 >conftest.err
37976 rm -f conftest.er1
37977 cat conftest.err >&5
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); } &&
37980 { ac_try='test -z "$ac_cxx_werror_flag"
37981 || test ! -s conftest.err'
37982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37983 (eval $ac_try) 2>&5
37984 ac_status=$?
37985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986 (exit $ac_status); }; } &&
37987 { ac_try='test -s conftest.$ac_objext'
37988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37989 (eval $ac_try) 2>&5
37990 ac_status=$?
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); }; }; then
37993 glibcxx_cv_func__ldexpf_use=yes
37994 else
37995 echo "$as_me: failed program was:" >&5
37996 sed 's/^/| /' conftest.$ac_ext >&5
37998 glibcxx_cv_func__ldexpf_use=no
38000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38001 ac_ext=c
38002 ac_cpp='$CPP $CPPFLAGS'
38003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38012 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38014 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38016 for ac_func in _ldexpf
38018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38019 echo "$as_me:$LINENO: checking for $ac_func" >&5
38020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38021 if eval "test \"\${$as_ac_var+set}\" = set"; then
38022 echo $ECHO_N "(cached) $ECHO_C" >&6
38023 else
38024 if test x$gcc_no_link = xyes; then
38025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38027 { (exit 1); exit 1; }; }
38029 cat >conftest.$ac_ext <<_ACEOF
38030 /* confdefs.h. */
38031 _ACEOF
38032 cat confdefs.h >>conftest.$ac_ext
38033 cat >>conftest.$ac_ext <<_ACEOF
38034 /* end confdefs.h. */
38035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38037 #define $ac_func innocuous_$ac_func
38039 /* System header to define __stub macros and hopefully few prototypes,
38040 which can conflict with char $ac_func (); below.
38041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38042 <limits.h> exists even on freestanding compilers. */
38044 #ifdef __STDC__
38045 # include <limits.h>
38046 #else
38047 # include <assert.h>
38048 #endif
38050 #undef $ac_func
38052 /* Override any gcc2 internal prototype to avoid an error. */
38053 #ifdef __cplusplus
38054 extern "C"
38056 #endif
38057 /* We use char because int might match the return type of a gcc2
38058 builtin and then its argument prototype would still apply. */
38059 char $ac_func ();
38060 /* The GNU C library defines this for functions which it implements
38061 to always fail with ENOSYS. Some functions are actually named
38062 something starting with __ and the normal name is an alias. */
38063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38064 choke me
38065 #else
38066 char (*f) () = $ac_func;
38067 #endif
38068 #ifdef __cplusplus
38070 #endif
38073 main ()
38075 return f != $ac_func;
38077 return 0;
38079 _ACEOF
38080 rm -f conftest.$ac_objext conftest$ac_exeext
38081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38082 (eval $ac_link) 2>conftest.er1
38083 ac_status=$?
38084 grep -v '^ *+' conftest.er1 >conftest.err
38085 rm -f conftest.er1
38086 cat conftest.err >&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); } &&
38089 { ac_try='test -z "$ac_c_werror_flag"
38090 || test ! -s conftest.err'
38091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38092 (eval $ac_try) 2>&5
38093 ac_status=$?
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); }; } &&
38096 { ac_try='test -s conftest$ac_exeext'
38097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38098 (eval $ac_try) 2>&5
38099 ac_status=$?
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); }; }; then
38102 eval "$as_ac_var=yes"
38103 else
38104 echo "$as_me: failed program was:" >&5
38105 sed 's/^/| /' conftest.$ac_ext >&5
38107 eval "$as_ac_var=no"
38109 rm -f conftest.err conftest.$ac_objext \
38110 conftest$ac_exeext conftest.$ac_ext
38112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38114 if test `eval echo '${'$as_ac_var'}'` = yes; then
38115 cat >>confdefs.h <<_ACEOF
38116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38117 _ACEOF
38120 done
38127 echo "$as_me:$LINENO: checking for logf declaration" >&5
38128 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38129 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38130 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 else
38136 ac_ext=cc
38137 ac_cpp='$CXXCPP $CPPFLAGS'
38138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38142 cat >conftest.$ac_ext <<_ACEOF
38143 /* confdefs.h. */
38144 _ACEOF
38145 cat confdefs.h >>conftest.$ac_ext
38146 cat >>conftest.$ac_ext <<_ACEOF
38147 /* end confdefs.h. */
38148 #include <math.h>
38149 #ifdef HAVE_IEEEFP_H
38150 #include <ieeefp.h>
38151 #endif
38154 main ()
38156 logf(0);
38158 return 0;
38160 _ACEOF
38161 rm -f conftest.$ac_objext
38162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38163 (eval $ac_compile) 2>conftest.er1
38164 ac_status=$?
38165 grep -v '^ *+' conftest.er1 >conftest.err
38166 rm -f conftest.er1
38167 cat conftest.err >&5
38168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169 (exit $ac_status); } &&
38170 { ac_try='test -z "$ac_cxx_werror_flag"
38171 || test ! -s conftest.err'
38172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38173 (eval $ac_try) 2>&5
38174 ac_status=$?
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); }; } &&
38177 { ac_try='test -s conftest.$ac_objext'
38178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179 (eval $ac_try) 2>&5
38180 ac_status=$?
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); }; }; then
38183 glibcxx_cv_func_logf_use=yes
38184 else
38185 echo "$as_me: failed program was:" >&5
38186 sed 's/^/| /' conftest.$ac_ext >&5
38188 glibcxx_cv_func_logf_use=no
38190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38191 ac_ext=c
38192 ac_cpp='$CPP $CPPFLAGS'
38193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38202 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38204 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38206 for ac_func in logf
38208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38209 echo "$as_me:$LINENO: checking for $ac_func" >&5
38210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38211 if eval "test \"\${$as_ac_var+set}\" = set"; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38213 else
38214 if test x$gcc_no_link = xyes; then
38215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38217 { (exit 1); exit 1; }; }
38219 cat >conftest.$ac_ext <<_ACEOF
38220 /* confdefs.h. */
38221 _ACEOF
38222 cat confdefs.h >>conftest.$ac_ext
38223 cat >>conftest.$ac_ext <<_ACEOF
38224 /* end confdefs.h. */
38225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38227 #define $ac_func innocuous_$ac_func
38229 /* System header to define __stub macros and hopefully few prototypes,
38230 which can conflict with char $ac_func (); below.
38231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38232 <limits.h> exists even on freestanding compilers. */
38234 #ifdef __STDC__
38235 # include <limits.h>
38236 #else
38237 # include <assert.h>
38238 #endif
38240 #undef $ac_func
38242 /* Override any gcc2 internal prototype to avoid an error. */
38243 #ifdef __cplusplus
38244 extern "C"
38246 #endif
38247 /* We use char because int might match the return type of a gcc2
38248 builtin and then its argument prototype would still apply. */
38249 char $ac_func ();
38250 /* The GNU C library defines this for functions which it implements
38251 to always fail with ENOSYS. Some functions are actually named
38252 something starting with __ and the normal name is an alias. */
38253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38254 choke me
38255 #else
38256 char (*f) () = $ac_func;
38257 #endif
38258 #ifdef __cplusplus
38260 #endif
38263 main ()
38265 return f != $ac_func;
38267 return 0;
38269 _ACEOF
38270 rm -f conftest.$ac_objext conftest$ac_exeext
38271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38272 (eval $ac_link) 2>conftest.er1
38273 ac_status=$?
38274 grep -v '^ *+' conftest.er1 >conftest.err
38275 rm -f conftest.er1
38276 cat conftest.err >&5
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); } &&
38279 { ac_try='test -z "$ac_c_werror_flag"
38280 || test ! -s conftest.err'
38281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38282 (eval $ac_try) 2>&5
38283 ac_status=$?
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); }; } &&
38286 { ac_try='test -s conftest$ac_exeext'
38287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38288 (eval $ac_try) 2>&5
38289 ac_status=$?
38290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291 (exit $ac_status); }; }; then
38292 eval "$as_ac_var=yes"
38293 else
38294 echo "$as_me: failed program was:" >&5
38295 sed 's/^/| /' conftest.$ac_ext >&5
38297 eval "$as_ac_var=no"
38299 rm -f conftest.err conftest.$ac_objext \
38300 conftest$ac_exeext conftest.$ac_ext
38302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38304 if test `eval echo '${'$as_ac_var'}'` = yes; then
38305 cat >>confdefs.h <<_ACEOF
38306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38307 _ACEOF
38310 done
38312 else
38314 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38315 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38316 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38317 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38318 echo $ECHO_N "(cached) $ECHO_C" >&6
38319 else
38323 ac_ext=cc
38324 ac_cpp='$CXXCPP $CPPFLAGS'
38325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38329 cat >conftest.$ac_ext <<_ACEOF
38330 /* confdefs.h. */
38331 _ACEOF
38332 cat confdefs.h >>conftest.$ac_ext
38333 cat >>conftest.$ac_ext <<_ACEOF
38334 /* end confdefs.h. */
38335 #include <math.h>
38336 #ifdef HAVE_IEEEFP_H
38337 #include <ieeefp.h>
38338 #endif
38341 main ()
38343 _logf(0);
38345 return 0;
38347 _ACEOF
38348 rm -f conftest.$ac_objext
38349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38350 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__logf_use=yes
38371 else
38372 echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.$ac_ext >&5
38375 glibcxx_cv_func__logf_use=no
38377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38378 ac_ext=c
38379 ac_cpp='$CPP $CPPFLAGS'
38380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38389 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38391 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38393 for ac_func in _logf
38395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38396 echo "$as_me:$LINENO: checking for $ac_func" >&5
38397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38398 if eval "test \"\${$as_ac_var+set}\" = set"; then
38399 echo $ECHO_N "(cached) $ECHO_C" >&6
38400 else
38401 if test x$gcc_no_link = xyes; then
38402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38404 { (exit 1); exit 1; }; }
38406 cat >conftest.$ac_ext <<_ACEOF
38407 /* confdefs.h. */
38408 _ACEOF
38409 cat confdefs.h >>conftest.$ac_ext
38410 cat >>conftest.$ac_ext <<_ACEOF
38411 /* end confdefs.h. */
38412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38414 #define $ac_func innocuous_$ac_func
38416 /* System header to define __stub macros and hopefully few prototypes,
38417 which can conflict with char $ac_func (); below.
38418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38419 <limits.h> exists even on freestanding compilers. */
38421 #ifdef __STDC__
38422 # include <limits.h>
38423 #else
38424 # include <assert.h>
38425 #endif
38427 #undef $ac_func
38429 /* Override any gcc2 internal prototype to avoid an error. */
38430 #ifdef __cplusplus
38431 extern "C"
38433 #endif
38434 /* We use char because int might match the return type of a gcc2
38435 builtin and then its argument prototype would still apply. */
38436 char $ac_func ();
38437 /* The GNU C library defines this for functions which it implements
38438 to always fail with ENOSYS. Some functions are actually named
38439 something starting with __ and the normal name is an alias. */
38440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38441 choke me
38442 #else
38443 char (*f) () = $ac_func;
38444 #endif
38445 #ifdef __cplusplus
38447 #endif
38450 main ()
38452 return f != $ac_func;
38454 return 0;
38456 _ACEOF
38457 rm -f conftest.$ac_objext conftest$ac_exeext
38458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38459 (eval $ac_link) 2>conftest.er1
38460 ac_status=$?
38461 grep -v '^ *+' conftest.er1 >conftest.err
38462 rm -f conftest.er1
38463 cat conftest.err >&5
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); } &&
38466 { ac_try='test -z "$ac_c_werror_flag"
38467 || test ! -s conftest.err'
38468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38469 (eval $ac_try) 2>&5
38470 ac_status=$?
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); }; } &&
38473 { ac_try='test -s conftest$ac_exeext'
38474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38475 (eval $ac_try) 2>&5
38476 ac_status=$?
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); }; }; then
38479 eval "$as_ac_var=yes"
38480 else
38481 echo "$as_me: failed program was:" >&5
38482 sed 's/^/| /' conftest.$ac_ext >&5
38484 eval "$as_ac_var=no"
38486 rm -f conftest.err conftest.$ac_objext \
38487 conftest$ac_exeext conftest.$ac_ext
38489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38491 if test `eval echo '${'$as_ac_var'}'` = yes; then
38492 cat >>confdefs.h <<_ACEOF
38493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38494 _ACEOF
38497 done
38504 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38505 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38507 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38509 else
38513 ac_ext=cc
38514 ac_cpp='$CXXCPP $CPPFLAGS'
38515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38519 cat >conftest.$ac_ext <<_ACEOF
38520 /* confdefs.h. */
38521 _ACEOF
38522 cat confdefs.h >>conftest.$ac_ext
38523 cat >>conftest.$ac_ext <<_ACEOF
38524 /* end confdefs.h. */
38525 #include <math.h>
38526 #ifdef HAVE_IEEEFP_H
38527 #include <ieeefp.h>
38528 #endif
38531 main ()
38533 log10f(0);
38535 return 0;
38537 _ACEOF
38538 rm -f conftest.$ac_objext
38539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38540 (eval $ac_compile) 2>conftest.er1
38541 ac_status=$?
38542 grep -v '^ *+' conftest.er1 >conftest.err
38543 rm -f conftest.er1
38544 cat conftest.err >&5
38545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546 (exit $ac_status); } &&
38547 { ac_try='test -z "$ac_cxx_werror_flag"
38548 || test ! -s conftest.err'
38549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550 (eval $ac_try) 2>&5
38551 ac_status=$?
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); }; } &&
38554 { ac_try='test -s conftest.$ac_objext'
38555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38556 (eval $ac_try) 2>&5
38557 ac_status=$?
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); }; }; then
38560 glibcxx_cv_func_log10f_use=yes
38561 else
38562 echo "$as_me: failed program was:" >&5
38563 sed 's/^/| /' conftest.$ac_ext >&5
38565 glibcxx_cv_func_log10f_use=no
38567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38568 ac_ext=c
38569 ac_cpp='$CPP $CPPFLAGS'
38570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38579 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38581 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38583 for ac_func in log10f
38585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38586 echo "$as_me:$LINENO: checking for $ac_func" >&5
38587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38588 if eval "test \"\${$as_ac_var+set}\" = set"; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38590 else
38591 if test x$gcc_no_link = xyes; then
38592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38594 { (exit 1); exit 1; }; }
38596 cat >conftest.$ac_ext <<_ACEOF
38597 /* confdefs.h. */
38598 _ACEOF
38599 cat confdefs.h >>conftest.$ac_ext
38600 cat >>conftest.$ac_ext <<_ACEOF
38601 /* end confdefs.h. */
38602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38604 #define $ac_func innocuous_$ac_func
38606 /* System header to define __stub macros and hopefully few prototypes,
38607 which can conflict with char $ac_func (); below.
38608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38609 <limits.h> exists even on freestanding compilers. */
38611 #ifdef __STDC__
38612 # include <limits.h>
38613 #else
38614 # include <assert.h>
38615 #endif
38617 #undef $ac_func
38619 /* Override any gcc2 internal prototype to avoid an error. */
38620 #ifdef __cplusplus
38621 extern "C"
38623 #endif
38624 /* We use char because int might match the return type of a gcc2
38625 builtin and then its argument prototype would still apply. */
38626 char $ac_func ();
38627 /* The GNU C library defines this for functions which it implements
38628 to always fail with ENOSYS. Some functions are actually named
38629 something starting with __ and the normal name is an alias. */
38630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38631 choke me
38632 #else
38633 char (*f) () = $ac_func;
38634 #endif
38635 #ifdef __cplusplus
38637 #endif
38640 main ()
38642 return f != $ac_func;
38644 return 0;
38646 _ACEOF
38647 rm -f conftest.$ac_objext conftest$ac_exeext
38648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38649 (eval $ac_link) 2>conftest.er1
38650 ac_status=$?
38651 grep -v '^ *+' conftest.er1 >conftest.err
38652 rm -f conftest.er1
38653 cat conftest.err >&5
38654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655 (exit $ac_status); } &&
38656 { ac_try='test -z "$ac_c_werror_flag"
38657 || test ! -s conftest.err'
38658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38659 (eval $ac_try) 2>&5
38660 ac_status=$?
38661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38662 (exit $ac_status); }; } &&
38663 { ac_try='test -s conftest$ac_exeext'
38664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38665 (eval $ac_try) 2>&5
38666 ac_status=$?
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); }; }; then
38669 eval "$as_ac_var=yes"
38670 else
38671 echo "$as_me: failed program was:" >&5
38672 sed 's/^/| /' conftest.$ac_ext >&5
38674 eval "$as_ac_var=no"
38676 rm -f conftest.err conftest.$ac_objext \
38677 conftest$ac_exeext conftest.$ac_ext
38679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38681 if test `eval echo '${'$as_ac_var'}'` = yes; then
38682 cat >>confdefs.h <<_ACEOF
38683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38684 _ACEOF
38687 done
38689 else
38691 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38692 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38693 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38694 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38700 ac_ext=cc
38701 ac_cpp='$CXXCPP $CPPFLAGS'
38702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38706 cat >conftest.$ac_ext <<_ACEOF
38707 /* confdefs.h. */
38708 _ACEOF
38709 cat confdefs.h >>conftest.$ac_ext
38710 cat >>conftest.$ac_ext <<_ACEOF
38711 /* end confdefs.h. */
38712 #include <math.h>
38713 #ifdef HAVE_IEEEFP_H
38714 #include <ieeefp.h>
38715 #endif
38718 main ()
38720 _log10f(0);
38722 return 0;
38724 _ACEOF
38725 rm -f conftest.$ac_objext
38726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38727 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__log10f_use=yes
38748 else
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38752 glibcxx_cv_func__log10f_use=no
38754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38755 ac_ext=c
38756 ac_cpp='$CPP $CPPFLAGS'
38757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38766 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38768 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38770 for ac_func in _log10f
38772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38773 echo "$as_me:$LINENO: checking for $ac_func" >&5
38774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38775 if eval "test \"\${$as_ac_var+set}\" = set"; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38777 else
38778 if test x$gcc_no_link = xyes; then
38779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38781 { (exit 1); exit 1; }; }
38783 cat >conftest.$ac_ext <<_ACEOF
38784 /* confdefs.h. */
38785 _ACEOF
38786 cat confdefs.h >>conftest.$ac_ext
38787 cat >>conftest.$ac_ext <<_ACEOF
38788 /* end confdefs.h. */
38789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38791 #define $ac_func innocuous_$ac_func
38793 /* System header to define __stub macros and hopefully few prototypes,
38794 which can conflict with char $ac_func (); below.
38795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38796 <limits.h> exists even on freestanding compilers. */
38798 #ifdef __STDC__
38799 # include <limits.h>
38800 #else
38801 # include <assert.h>
38802 #endif
38804 #undef $ac_func
38806 /* Override any gcc2 internal prototype to avoid an error. */
38807 #ifdef __cplusplus
38808 extern "C"
38810 #endif
38811 /* We use char because int might match the return type of a gcc2
38812 builtin and then its argument prototype would still apply. */
38813 char $ac_func ();
38814 /* The GNU C library defines this for functions which it implements
38815 to always fail with ENOSYS. Some functions are actually named
38816 something starting with __ and the normal name is an alias. */
38817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38818 choke me
38819 #else
38820 char (*f) () = $ac_func;
38821 #endif
38822 #ifdef __cplusplus
38824 #endif
38827 main ()
38829 return f != $ac_func;
38831 return 0;
38833 _ACEOF
38834 rm -f conftest.$ac_objext conftest$ac_exeext
38835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38836 (eval $ac_link) 2>conftest.er1
38837 ac_status=$?
38838 grep -v '^ *+' conftest.er1 >conftest.err
38839 rm -f conftest.er1
38840 cat conftest.err >&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); } &&
38843 { ac_try='test -z "$ac_c_werror_flag"
38844 || test ! -s conftest.err'
38845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38846 (eval $ac_try) 2>&5
38847 ac_status=$?
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); }; } &&
38850 { ac_try='test -s conftest$ac_exeext'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38853 ac_status=$?
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; }; then
38856 eval "$as_ac_var=yes"
38857 else
38858 echo "$as_me: failed program was:" >&5
38859 sed 's/^/| /' conftest.$ac_ext >&5
38861 eval "$as_ac_var=no"
38863 rm -f conftest.err conftest.$ac_objext \
38864 conftest$ac_exeext conftest.$ac_ext
38866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38868 if test `eval echo '${'$as_ac_var'}'` = yes; then
38869 cat >>confdefs.h <<_ACEOF
38870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38871 _ACEOF
38874 done
38881 echo "$as_me:$LINENO: checking for modff declaration" >&5
38882 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38883 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38884 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38885 echo $ECHO_N "(cached) $ECHO_C" >&6
38886 else
38890 ac_ext=cc
38891 ac_cpp='$CXXCPP $CPPFLAGS'
38892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38896 cat >conftest.$ac_ext <<_ACEOF
38897 /* confdefs.h. */
38898 _ACEOF
38899 cat confdefs.h >>conftest.$ac_ext
38900 cat >>conftest.$ac_ext <<_ACEOF
38901 /* end confdefs.h. */
38902 #include <math.h>
38904 main ()
38906 modff(0, 0);
38908 return 0;
38910 _ACEOF
38911 rm -f conftest.$ac_objext
38912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38913 (eval $ac_compile) 2>conftest.er1
38914 ac_status=$?
38915 grep -v '^ *+' conftest.er1 >conftest.err
38916 rm -f conftest.er1
38917 cat conftest.err >&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } &&
38920 { ac_try='test -z "$ac_cxx_werror_flag"
38921 || test ! -s conftest.err'
38922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38923 (eval $ac_try) 2>&5
38924 ac_status=$?
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); }; } &&
38927 { ac_try='test -s conftest.$ac_objext'
38928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38929 (eval $ac_try) 2>&5
38930 ac_status=$?
38931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38932 (exit $ac_status); }; }; then
38933 glibcxx_cv_func_modff_use=yes
38934 else
38935 echo "$as_me: failed program was:" >&5
38936 sed 's/^/| /' conftest.$ac_ext >&5
38938 glibcxx_cv_func_modff_use=no
38940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38941 ac_ext=c
38942 ac_cpp='$CPP $CPPFLAGS'
38943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38952 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38954 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38956 for ac_func in modff
38958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38959 echo "$as_me:$LINENO: checking for $ac_func" >&5
38960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38961 if eval "test \"\${$as_ac_var+set}\" = set"; then
38962 echo $ECHO_N "(cached) $ECHO_C" >&6
38963 else
38964 if test x$gcc_no_link = xyes; then
38965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38967 { (exit 1); exit 1; }; }
38969 cat >conftest.$ac_ext <<_ACEOF
38970 /* confdefs.h. */
38971 _ACEOF
38972 cat confdefs.h >>conftest.$ac_ext
38973 cat >>conftest.$ac_ext <<_ACEOF
38974 /* end confdefs.h. */
38975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38977 #define $ac_func innocuous_$ac_func
38979 /* System header to define __stub macros and hopefully few prototypes,
38980 which can conflict with char $ac_func (); below.
38981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38982 <limits.h> exists even on freestanding compilers. */
38984 #ifdef __STDC__
38985 # include <limits.h>
38986 #else
38987 # include <assert.h>
38988 #endif
38990 #undef $ac_func
38992 /* Override any gcc2 internal prototype to avoid an error. */
38993 #ifdef __cplusplus
38994 extern "C"
38996 #endif
38997 /* We use char because int might match the return type of a gcc2
38998 builtin and then its argument prototype would still apply. */
38999 char $ac_func ();
39000 /* The GNU C library defines this for functions which it implements
39001 to always fail with ENOSYS. Some functions are actually named
39002 something starting with __ and the normal name is an alias. */
39003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39004 choke me
39005 #else
39006 char (*f) () = $ac_func;
39007 #endif
39008 #ifdef __cplusplus
39010 #endif
39013 main ()
39015 return f != $ac_func;
39017 return 0;
39019 _ACEOF
39020 rm -f conftest.$ac_objext conftest$ac_exeext
39021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39022 (eval $ac_link) 2>conftest.er1
39023 ac_status=$?
39024 grep -v '^ *+' conftest.er1 >conftest.err
39025 rm -f conftest.er1
39026 cat conftest.err >&5
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); } &&
39029 { ac_try='test -z "$ac_c_werror_flag"
39030 || test ! -s conftest.err'
39031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39032 (eval $ac_try) 2>&5
39033 ac_status=$?
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); }; } &&
39036 { ac_try='test -s conftest$ac_exeext'
39037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39038 (eval $ac_try) 2>&5
39039 ac_status=$?
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); }; }; then
39042 eval "$as_ac_var=yes"
39043 else
39044 echo "$as_me: failed program was:" >&5
39045 sed 's/^/| /' conftest.$ac_ext >&5
39047 eval "$as_ac_var=no"
39049 rm -f conftest.err conftest.$ac_objext \
39050 conftest$ac_exeext conftest.$ac_ext
39052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39054 if test `eval echo '${'$as_ac_var'}'` = yes; then
39055 cat >>confdefs.h <<_ACEOF
39056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39057 _ACEOF
39060 done
39062 else
39064 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39065 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39066 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39067 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39068 echo $ECHO_N "(cached) $ECHO_C" >&6
39069 else
39073 ac_ext=cc
39074 ac_cpp='$CXXCPP $CPPFLAGS'
39075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39079 cat >conftest.$ac_ext <<_ACEOF
39080 /* confdefs.h. */
39081 _ACEOF
39082 cat confdefs.h >>conftest.$ac_ext
39083 cat >>conftest.$ac_ext <<_ACEOF
39084 /* end confdefs.h. */
39085 #include <math.h>
39087 main ()
39089 _modff(0, 0);
39091 return 0;
39093 _ACEOF
39094 rm -f conftest.$ac_objext
39095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39096 (eval $ac_compile) 2>conftest.er1
39097 ac_status=$?
39098 grep -v '^ *+' conftest.er1 >conftest.err
39099 rm -f conftest.er1
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } &&
39103 { ac_try='test -z "$ac_cxx_werror_flag"
39104 || test ! -s conftest.err'
39105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39106 (eval $ac_try) 2>&5
39107 ac_status=$?
39108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109 (exit $ac_status); }; } &&
39110 { ac_try='test -s conftest.$ac_objext'
39111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39112 (eval $ac_try) 2>&5
39113 ac_status=$?
39114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39115 (exit $ac_status); }; }; then
39116 glibcxx_cv_func__modff_use=yes
39117 else
39118 echo "$as_me: failed program was:" >&5
39119 sed 's/^/| /' conftest.$ac_ext >&5
39121 glibcxx_cv_func__modff_use=no
39123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39124 ac_ext=c
39125 ac_cpp='$CPP $CPPFLAGS'
39126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39135 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39137 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39139 for ac_func in _modff
39141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39142 echo "$as_me:$LINENO: checking for $ac_func" >&5
39143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39144 if eval "test \"\${$as_ac_var+set}\" = set"; then
39145 echo $ECHO_N "(cached) $ECHO_C" >&6
39146 else
39147 if test x$gcc_no_link = xyes; then
39148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39150 { (exit 1); exit 1; }; }
39152 cat >conftest.$ac_ext <<_ACEOF
39153 /* confdefs.h. */
39154 _ACEOF
39155 cat confdefs.h >>conftest.$ac_ext
39156 cat >>conftest.$ac_ext <<_ACEOF
39157 /* end confdefs.h. */
39158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39160 #define $ac_func innocuous_$ac_func
39162 /* System header to define __stub macros and hopefully few prototypes,
39163 which can conflict with char $ac_func (); below.
39164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39165 <limits.h> exists even on freestanding compilers. */
39167 #ifdef __STDC__
39168 # include <limits.h>
39169 #else
39170 # include <assert.h>
39171 #endif
39173 #undef $ac_func
39175 /* Override any gcc2 internal prototype to avoid an error. */
39176 #ifdef __cplusplus
39177 extern "C"
39179 #endif
39180 /* We use char because int might match the return type of a gcc2
39181 builtin and then its argument prototype would still apply. */
39182 char $ac_func ();
39183 /* The GNU C library defines this for functions which it implements
39184 to always fail with ENOSYS. Some functions are actually named
39185 something starting with __ and the normal name is an alias. */
39186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39187 choke me
39188 #else
39189 char (*f) () = $ac_func;
39190 #endif
39191 #ifdef __cplusplus
39193 #endif
39196 main ()
39198 return f != $ac_func;
39200 return 0;
39202 _ACEOF
39203 rm -f conftest.$ac_objext conftest$ac_exeext
39204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39205 (eval $ac_link) 2>conftest.er1
39206 ac_status=$?
39207 grep -v '^ *+' conftest.er1 >conftest.err
39208 rm -f conftest.er1
39209 cat conftest.err >&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); } &&
39212 { ac_try='test -z "$ac_c_werror_flag"
39213 || test ! -s conftest.err'
39214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39215 (eval $ac_try) 2>&5
39216 ac_status=$?
39217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39218 (exit $ac_status); }; } &&
39219 { ac_try='test -s conftest$ac_exeext'
39220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39221 (eval $ac_try) 2>&5
39222 ac_status=$?
39223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39224 (exit $ac_status); }; }; then
39225 eval "$as_ac_var=yes"
39226 else
39227 echo "$as_me: failed program was:" >&5
39228 sed 's/^/| /' conftest.$ac_ext >&5
39230 eval "$as_ac_var=no"
39232 rm -f conftest.err conftest.$ac_objext \
39233 conftest$ac_exeext conftest.$ac_ext
39235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39237 if test `eval echo '${'$as_ac_var'}'` = yes; then
39238 cat >>confdefs.h <<_ACEOF
39239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39240 _ACEOF
39243 done
39250 echo "$as_me:$LINENO: checking for powf declaration" >&5
39251 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39252 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39253 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39254 echo $ECHO_N "(cached) $ECHO_C" >&6
39255 else
39259 ac_ext=cc
39260 ac_cpp='$CXXCPP $CPPFLAGS'
39261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39265 cat >conftest.$ac_ext <<_ACEOF
39266 /* confdefs.h. */
39267 _ACEOF
39268 cat confdefs.h >>conftest.$ac_ext
39269 cat >>conftest.$ac_ext <<_ACEOF
39270 /* end confdefs.h. */
39271 #include <math.h>
39273 main ()
39275 powf(0, 0);
39277 return 0;
39279 _ACEOF
39280 rm -f conftest.$ac_objext
39281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39282 (eval $ac_compile) 2>conftest.er1
39283 ac_status=$?
39284 grep -v '^ *+' conftest.er1 >conftest.err
39285 rm -f conftest.er1
39286 cat conftest.err >&5
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); } &&
39289 { ac_try='test -z "$ac_cxx_werror_flag"
39290 || test ! -s conftest.err'
39291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292 (eval $ac_try) 2>&5
39293 ac_status=$?
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); }; } &&
39296 { ac_try='test -s conftest.$ac_objext'
39297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39298 (eval $ac_try) 2>&5
39299 ac_status=$?
39300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39301 (exit $ac_status); }; }; then
39302 glibcxx_cv_func_powf_use=yes
39303 else
39304 echo "$as_me: failed program was:" >&5
39305 sed 's/^/| /' conftest.$ac_ext >&5
39307 glibcxx_cv_func_powf_use=no
39309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39310 ac_ext=c
39311 ac_cpp='$CPP $CPPFLAGS'
39312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39321 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39323 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39325 for ac_func in powf
39327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39328 echo "$as_me:$LINENO: checking for $ac_func" >&5
39329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39330 if eval "test \"\${$as_ac_var+set}\" = set"; then
39331 echo $ECHO_N "(cached) $ECHO_C" >&6
39332 else
39333 if test x$gcc_no_link = xyes; then
39334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39336 { (exit 1); exit 1; }; }
39338 cat >conftest.$ac_ext <<_ACEOF
39339 /* confdefs.h. */
39340 _ACEOF
39341 cat confdefs.h >>conftest.$ac_ext
39342 cat >>conftest.$ac_ext <<_ACEOF
39343 /* end confdefs.h. */
39344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39346 #define $ac_func innocuous_$ac_func
39348 /* System header to define __stub macros and hopefully few prototypes,
39349 which can conflict with char $ac_func (); below.
39350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39351 <limits.h> exists even on freestanding compilers. */
39353 #ifdef __STDC__
39354 # include <limits.h>
39355 #else
39356 # include <assert.h>
39357 #endif
39359 #undef $ac_func
39361 /* Override any gcc2 internal prototype to avoid an error. */
39362 #ifdef __cplusplus
39363 extern "C"
39365 #endif
39366 /* We use char because int might match the return type of a gcc2
39367 builtin and then its argument prototype would still apply. */
39368 char $ac_func ();
39369 /* The GNU C library defines this for functions which it implements
39370 to always fail with ENOSYS. Some functions are actually named
39371 something starting with __ and the normal name is an alias. */
39372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39373 choke me
39374 #else
39375 char (*f) () = $ac_func;
39376 #endif
39377 #ifdef __cplusplus
39379 #endif
39382 main ()
39384 return f != $ac_func;
39386 return 0;
39388 _ACEOF
39389 rm -f conftest.$ac_objext conftest$ac_exeext
39390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39391 (eval $ac_link) 2>conftest.er1
39392 ac_status=$?
39393 grep -v '^ *+' conftest.er1 >conftest.err
39394 rm -f conftest.er1
39395 cat conftest.err >&5
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); } &&
39398 { ac_try='test -z "$ac_c_werror_flag"
39399 || test ! -s conftest.err'
39400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39401 (eval $ac_try) 2>&5
39402 ac_status=$?
39403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39404 (exit $ac_status); }; } &&
39405 { ac_try='test -s conftest$ac_exeext'
39406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39407 (eval $ac_try) 2>&5
39408 ac_status=$?
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); }; }; then
39411 eval "$as_ac_var=yes"
39412 else
39413 echo "$as_me: failed program was:" >&5
39414 sed 's/^/| /' conftest.$ac_ext >&5
39416 eval "$as_ac_var=no"
39418 rm -f conftest.err conftest.$ac_objext \
39419 conftest$ac_exeext conftest.$ac_ext
39421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39423 if test `eval echo '${'$as_ac_var'}'` = yes; then
39424 cat >>confdefs.h <<_ACEOF
39425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39426 _ACEOF
39429 done
39431 else
39433 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39434 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39435 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39436 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39437 echo $ECHO_N "(cached) $ECHO_C" >&6
39438 else
39442 ac_ext=cc
39443 ac_cpp='$CXXCPP $CPPFLAGS'
39444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39448 cat >conftest.$ac_ext <<_ACEOF
39449 /* confdefs.h. */
39450 _ACEOF
39451 cat confdefs.h >>conftest.$ac_ext
39452 cat >>conftest.$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39454 #include <math.h>
39456 main ()
39458 _powf(0, 0);
39460 return 0;
39462 _ACEOF
39463 rm -f conftest.$ac_objext
39464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39465 (eval $ac_compile) 2>conftest.er1
39466 ac_status=$?
39467 grep -v '^ *+' conftest.er1 >conftest.err
39468 rm -f conftest.er1
39469 cat conftest.err >&5
39470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39471 (exit $ac_status); } &&
39472 { ac_try='test -z "$ac_cxx_werror_flag"
39473 || test ! -s conftest.err'
39474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39475 (eval $ac_try) 2>&5
39476 ac_status=$?
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); }; } &&
39479 { ac_try='test -s conftest.$ac_objext'
39480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39481 (eval $ac_try) 2>&5
39482 ac_status=$?
39483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39484 (exit $ac_status); }; }; then
39485 glibcxx_cv_func__powf_use=yes
39486 else
39487 echo "$as_me: failed program was:" >&5
39488 sed 's/^/| /' conftest.$ac_ext >&5
39490 glibcxx_cv_func__powf_use=no
39492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39493 ac_ext=c
39494 ac_cpp='$CPP $CPPFLAGS'
39495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39503 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39504 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39506 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39508 for ac_func in _powf
39510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39511 echo "$as_me:$LINENO: checking for $ac_func" >&5
39512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39513 if eval "test \"\${$as_ac_var+set}\" = set"; then
39514 echo $ECHO_N "(cached) $ECHO_C" >&6
39515 else
39516 if test x$gcc_no_link = xyes; then
39517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39519 { (exit 1); exit 1; }; }
39521 cat >conftest.$ac_ext <<_ACEOF
39522 /* confdefs.h. */
39523 _ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39529 #define $ac_func innocuous_$ac_func
39531 /* System header to define __stub macros and hopefully few prototypes,
39532 which can conflict with char $ac_func (); below.
39533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39534 <limits.h> exists even on freestanding compilers. */
39536 #ifdef __STDC__
39537 # include <limits.h>
39538 #else
39539 # include <assert.h>
39540 #endif
39542 #undef $ac_func
39544 /* Override any gcc2 internal prototype to avoid an error. */
39545 #ifdef __cplusplus
39546 extern "C"
39548 #endif
39549 /* We use char because int might match the return type of a gcc2
39550 builtin and then its argument prototype would still apply. */
39551 char $ac_func ();
39552 /* The GNU C library defines this for functions which it implements
39553 to always fail with ENOSYS. Some functions are actually named
39554 something starting with __ and the normal name is an alias. */
39555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39556 choke me
39557 #else
39558 char (*f) () = $ac_func;
39559 #endif
39560 #ifdef __cplusplus
39562 #endif
39565 main ()
39567 return f != $ac_func;
39569 return 0;
39571 _ACEOF
39572 rm -f conftest.$ac_objext conftest$ac_exeext
39573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39574 (eval $ac_link) 2>conftest.er1
39575 ac_status=$?
39576 grep -v '^ *+' conftest.er1 >conftest.err
39577 rm -f conftest.er1
39578 cat conftest.err >&5
39579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39580 (exit $ac_status); } &&
39581 { ac_try='test -z "$ac_c_werror_flag"
39582 || test ! -s conftest.err'
39583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39584 (eval $ac_try) 2>&5
39585 ac_status=$?
39586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39587 (exit $ac_status); }; } &&
39588 { ac_try='test -s conftest$ac_exeext'
39589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39590 (eval $ac_try) 2>&5
39591 ac_status=$?
39592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); }; }; then
39594 eval "$as_ac_var=yes"
39595 else
39596 echo "$as_me: failed program was:" >&5
39597 sed 's/^/| /' conftest.$ac_ext >&5
39599 eval "$as_ac_var=no"
39601 rm -f conftest.err conftest.$ac_objext \
39602 conftest$ac_exeext conftest.$ac_ext
39604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39606 if test `eval echo '${'$as_ac_var'}'` = yes; then
39607 cat >>confdefs.h <<_ACEOF
39608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39609 _ACEOF
39612 done
39619 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39620 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39621 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39622 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39623 echo $ECHO_N "(cached) $ECHO_C" >&6
39624 else
39628 ac_ext=cc
39629 ac_cpp='$CXXCPP $CPPFLAGS'
39630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39634 cat >conftest.$ac_ext <<_ACEOF
39635 /* confdefs.h. */
39636 _ACEOF
39637 cat confdefs.h >>conftest.$ac_ext
39638 cat >>conftest.$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640 #include <math.h>
39641 #ifdef HAVE_IEEEFP_H
39642 #include <ieeefp.h>
39643 #endif
39646 main ()
39648 sqrtf(0);
39650 return 0;
39652 _ACEOF
39653 rm -f conftest.$ac_objext
39654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39655 (eval $ac_compile) 2>conftest.er1
39656 ac_status=$?
39657 grep -v '^ *+' conftest.er1 >conftest.err
39658 rm -f conftest.er1
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } &&
39662 { ac_try='test -z "$ac_cxx_werror_flag"
39663 || test ! -s conftest.err'
39664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665 (eval $ac_try) 2>&5
39666 ac_status=$?
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); }; } &&
39669 { ac_try='test -s conftest.$ac_objext'
39670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39671 (eval $ac_try) 2>&5
39672 ac_status=$?
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); }; }; then
39675 glibcxx_cv_func_sqrtf_use=yes
39676 else
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.$ac_ext >&5
39680 glibcxx_cv_func_sqrtf_use=no
39682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39683 ac_ext=c
39684 ac_cpp='$CPP $CPPFLAGS'
39685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39694 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39696 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39698 for ac_func in sqrtf
39700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39701 echo "$as_me:$LINENO: checking for $ac_func" >&5
39702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39703 if eval "test \"\${$as_ac_var+set}\" = set"; then
39704 echo $ECHO_N "(cached) $ECHO_C" >&6
39705 else
39706 if test x$gcc_no_link = xyes; then
39707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39709 { (exit 1); exit 1; }; }
39711 cat >conftest.$ac_ext <<_ACEOF
39712 /* confdefs.h. */
39713 _ACEOF
39714 cat confdefs.h >>conftest.$ac_ext
39715 cat >>conftest.$ac_ext <<_ACEOF
39716 /* end confdefs.h. */
39717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39719 #define $ac_func innocuous_$ac_func
39721 /* System header to define __stub macros and hopefully few prototypes,
39722 which can conflict with char $ac_func (); below.
39723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39724 <limits.h> exists even on freestanding compilers. */
39726 #ifdef __STDC__
39727 # include <limits.h>
39728 #else
39729 # include <assert.h>
39730 #endif
39732 #undef $ac_func
39734 /* Override any gcc2 internal prototype to avoid an error. */
39735 #ifdef __cplusplus
39736 extern "C"
39738 #endif
39739 /* We use char because int might match the return type of a gcc2
39740 builtin and then its argument prototype would still apply. */
39741 char $ac_func ();
39742 /* The GNU C library defines this for functions which it implements
39743 to always fail with ENOSYS. Some functions are actually named
39744 something starting with __ and the normal name is an alias. */
39745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39746 choke me
39747 #else
39748 char (*f) () = $ac_func;
39749 #endif
39750 #ifdef __cplusplus
39752 #endif
39755 main ()
39757 return f != $ac_func;
39759 return 0;
39761 _ACEOF
39762 rm -f conftest.$ac_objext conftest$ac_exeext
39763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39764 (eval $ac_link) 2>conftest.er1
39765 ac_status=$?
39766 grep -v '^ *+' conftest.er1 >conftest.err
39767 rm -f conftest.er1
39768 cat conftest.err >&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); } &&
39771 { ac_try='test -z "$ac_c_werror_flag"
39772 || test ! -s conftest.err'
39773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39774 (eval $ac_try) 2>&5
39775 ac_status=$?
39776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39777 (exit $ac_status); }; } &&
39778 { ac_try='test -s conftest$ac_exeext'
39779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39780 (eval $ac_try) 2>&5
39781 ac_status=$?
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); }; }; then
39784 eval "$as_ac_var=yes"
39785 else
39786 echo "$as_me: failed program was:" >&5
39787 sed 's/^/| /' conftest.$ac_ext >&5
39789 eval "$as_ac_var=no"
39791 rm -f conftest.err conftest.$ac_objext \
39792 conftest$ac_exeext conftest.$ac_ext
39794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39796 if test `eval echo '${'$as_ac_var'}'` = yes; then
39797 cat >>confdefs.h <<_ACEOF
39798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39799 _ACEOF
39802 done
39804 else
39806 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39807 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39808 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39809 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39811 else
39815 ac_ext=cc
39816 ac_cpp='$CXXCPP $CPPFLAGS'
39817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39821 cat >conftest.$ac_ext <<_ACEOF
39822 /* confdefs.h. */
39823 _ACEOF
39824 cat confdefs.h >>conftest.$ac_ext
39825 cat >>conftest.$ac_ext <<_ACEOF
39826 /* end confdefs.h. */
39827 #include <math.h>
39828 #ifdef HAVE_IEEEFP_H
39829 #include <ieeefp.h>
39830 #endif
39833 main ()
39835 _sqrtf(0);
39837 return 0;
39839 _ACEOF
39840 rm -f conftest.$ac_objext
39841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39842 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sqrtf_use=yes
39863 else
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.$ac_ext >&5
39867 glibcxx_cv_func__sqrtf_use=no
39869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39870 ac_ext=c
39871 ac_cpp='$CPP $CPPFLAGS'
39872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39881 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39883 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39885 for ac_func in _sqrtf
39887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39888 echo "$as_me:$LINENO: checking for $ac_func" >&5
39889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39890 if eval "test \"\${$as_ac_var+set}\" = set"; then
39891 echo $ECHO_N "(cached) $ECHO_C" >&6
39892 else
39893 if test x$gcc_no_link = xyes; then
39894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39896 { (exit 1); exit 1; }; }
39898 cat >conftest.$ac_ext <<_ACEOF
39899 /* confdefs.h. */
39900 _ACEOF
39901 cat confdefs.h >>conftest.$ac_ext
39902 cat >>conftest.$ac_ext <<_ACEOF
39903 /* end confdefs.h. */
39904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39906 #define $ac_func innocuous_$ac_func
39908 /* System header to define __stub macros and hopefully few prototypes,
39909 which can conflict with char $ac_func (); below.
39910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39911 <limits.h> exists even on freestanding compilers. */
39913 #ifdef __STDC__
39914 # include <limits.h>
39915 #else
39916 # include <assert.h>
39917 #endif
39919 #undef $ac_func
39921 /* Override any gcc2 internal prototype to avoid an error. */
39922 #ifdef __cplusplus
39923 extern "C"
39925 #endif
39926 /* We use char because int might match the return type of a gcc2
39927 builtin and then its argument prototype would still apply. */
39928 char $ac_func ();
39929 /* The GNU C library defines this for functions which it implements
39930 to always fail with ENOSYS. Some functions are actually named
39931 something starting with __ and the normal name is an alias. */
39932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39933 choke me
39934 #else
39935 char (*f) () = $ac_func;
39936 #endif
39937 #ifdef __cplusplus
39939 #endif
39942 main ()
39944 return f != $ac_func;
39946 return 0;
39948 _ACEOF
39949 rm -f conftest.$ac_objext conftest$ac_exeext
39950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39951 (eval $ac_link) 2>conftest.er1
39952 ac_status=$?
39953 grep -v '^ *+' conftest.er1 >conftest.err
39954 rm -f conftest.er1
39955 cat conftest.err >&5
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); } &&
39958 { ac_try='test -z "$ac_c_werror_flag"
39959 || test ! -s conftest.err'
39960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39961 (eval $ac_try) 2>&5
39962 ac_status=$?
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); }; } &&
39965 { ac_try='test -s conftest$ac_exeext'
39966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39967 (eval $ac_try) 2>&5
39968 ac_status=$?
39969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970 (exit $ac_status); }; }; then
39971 eval "$as_ac_var=yes"
39972 else
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.$ac_ext >&5
39976 eval "$as_ac_var=no"
39978 rm -f conftest.err conftest.$ac_objext \
39979 conftest$ac_exeext conftest.$ac_ext
39981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39983 if test `eval echo '${'$as_ac_var'}'` = yes; then
39984 cat >>confdefs.h <<_ACEOF
39985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39986 _ACEOF
39989 done
39996 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
39997 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
39998 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39999 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40000 echo $ECHO_N "(cached) $ECHO_C" >&6
40001 else
40005 ac_ext=cc
40006 ac_cpp='$CXXCPP $CPPFLAGS'
40007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40011 cat >conftest.$ac_ext <<_ACEOF
40012 /* confdefs.h. */
40013 _ACEOF
40014 cat confdefs.h >>conftest.$ac_ext
40015 cat >>conftest.$ac_ext <<_ACEOF
40016 /* end confdefs.h. */
40017 #include <math.h>
40019 main ()
40021 sincosf(0, 0, 0);
40023 return 0;
40025 _ACEOF
40026 rm -f conftest.$ac_objext
40027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40028 (eval $ac_compile) 2>conftest.er1
40029 ac_status=$?
40030 grep -v '^ *+' conftest.er1 >conftest.err
40031 rm -f conftest.er1
40032 cat conftest.err >&5
40033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40034 (exit $ac_status); } &&
40035 { ac_try='test -z "$ac_cxx_werror_flag"
40036 || test ! -s conftest.err'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40039 ac_status=$?
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; } &&
40042 { ac_try='test -s conftest.$ac_objext'
40043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40044 (eval $ac_try) 2>&5
40045 ac_status=$?
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); }; }; then
40048 glibcxx_cv_func_sincosf_use=yes
40049 else
40050 echo "$as_me: failed program was:" >&5
40051 sed 's/^/| /' conftest.$ac_ext >&5
40053 glibcxx_cv_func_sincosf_use=no
40055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40056 ac_ext=c
40057 ac_cpp='$CPP $CPPFLAGS'
40058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40067 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40069 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40071 for ac_func in sincosf
40073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40074 echo "$as_me:$LINENO: checking for $ac_func" >&5
40075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40076 if eval "test \"\${$as_ac_var+set}\" = set"; then
40077 echo $ECHO_N "(cached) $ECHO_C" >&6
40078 else
40079 if test x$gcc_no_link = xyes; then
40080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40082 { (exit 1); exit 1; }; }
40084 cat >conftest.$ac_ext <<_ACEOF
40085 /* confdefs.h. */
40086 _ACEOF
40087 cat confdefs.h >>conftest.$ac_ext
40088 cat >>conftest.$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40092 #define $ac_func innocuous_$ac_func
40094 /* System header to define __stub macros and hopefully few prototypes,
40095 which can conflict with char $ac_func (); below.
40096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40097 <limits.h> exists even on freestanding compilers. */
40099 #ifdef __STDC__
40100 # include <limits.h>
40101 #else
40102 # include <assert.h>
40103 #endif
40105 #undef $ac_func
40107 /* Override any gcc2 internal prototype to avoid an error. */
40108 #ifdef __cplusplus
40109 extern "C"
40111 #endif
40112 /* We use char because int might match the return type of a gcc2
40113 builtin and then its argument prototype would still apply. */
40114 char $ac_func ();
40115 /* The GNU C library defines this for functions which it implements
40116 to always fail with ENOSYS. Some functions are actually named
40117 something starting with __ and the normal name is an alias. */
40118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40119 choke me
40120 #else
40121 char (*f) () = $ac_func;
40122 #endif
40123 #ifdef __cplusplus
40125 #endif
40128 main ()
40130 return f != $ac_func;
40132 return 0;
40134 _ACEOF
40135 rm -f conftest.$ac_objext conftest$ac_exeext
40136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40137 (eval $ac_link) 2>conftest.er1
40138 ac_status=$?
40139 grep -v '^ *+' conftest.er1 >conftest.err
40140 rm -f conftest.er1
40141 cat conftest.err >&5
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); } &&
40144 { ac_try='test -z "$ac_c_werror_flag"
40145 || test ! -s conftest.err'
40146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40147 (eval $ac_try) 2>&5
40148 ac_status=$?
40149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40150 (exit $ac_status); }; } &&
40151 { ac_try='test -s conftest$ac_exeext'
40152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40153 (eval $ac_try) 2>&5
40154 ac_status=$?
40155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40156 (exit $ac_status); }; }; then
40157 eval "$as_ac_var=yes"
40158 else
40159 echo "$as_me: failed program was:" >&5
40160 sed 's/^/| /' conftest.$ac_ext >&5
40162 eval "$as_ac_var=no"
40164 rm -f conftest.err conftest.$ac_objext \
40165 conftest$ac_exeext conftest.$ac_ext
40167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40169 if test `eval echo '${'$as_ac_var'}'` = yes; then
40170 cat >>confdefs.h <<_ACEOF
40171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40172 _ACEOF
40175 done
40177 else
40179 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40180 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40181 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40182 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40183 echo $ECHO_N "(cached) $ECHO_C" >&6
40184 else
40188 ac_ext=cc
40189 ac_cpp='$CXXCPP $CPPFLAGS'
40190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40194 cat >conftest.$ac_ext <<_ACEOF
40195 /* confdefs.h. */
40196 _ACEOF
40197 cat confdefs.h >>conftest.$ac_ext
40198 cat >>conftest.$ac_ext <<_ACEOF
40199 /* end confdefs.h. */
40200 #include <math.h>
40202 main ()
40204 _sincosf(0, 0, 0);
40206 return 0;
40208 _ACEOF
40209 rm -f conftest.$ac_objext
40210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40211 (eval $ac_compile) 2>conftest.er1
40212 ac_status=$?
40213 grep -v '^ *+' conftest.er1 >conftest.err
40214 rm -f conftest.er1
40215 cat conftest.err >&5
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); } &&
40218 { ac_try='test -z "$ac_cxx_werror_flag"
40219 || test ! -s conftest.err'
40220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40221 (eval $ac_try) 2>&5
40222 ac_status=$?
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); }; } &&
40225 { ac_try='test -s conftest.$ac_objext'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40228 ac_status=$?
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; }; then
40231 glibcxx_cv_func__sincosf_use=yes
40232 else
40233 echo "$as_me: failed program was:" >&5
40234 sed 's/^/| /' conftest.$ac_ext >&5
40236 glibcxx_cv_func__sincosf_use=no
40238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40239 ac_ext=c
40240 ac_cpp='$CPP $CPPFLAGS'
40241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40250 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40252 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40254 for ac_func in _sincosf
40256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40257 echo "$as_me:$LINENO: checking for $ac_func" >&5
40258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40259 if eval "test \"\${$as_ac_var+set}\" = set"; then
40260 echo $ECHO_N "(cached) $ECHO_C" >&6
40261 else
40262 if test x$gcc_no_link = xyes; then
40263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40265 { (exit 1); exit 1; }; }
40267 cat >conftest.$ac_ext <<_ACEOF
40268 /* confdefs.h. */
40269 _ACEOF
40270 cat confdefs.h >>conftest.$ac_ext
40271 cat >>conftest.$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40275 #define $ac_func innocuous_$ac_func
40277 /* System header to define __stub macros and hopefully few prototypes,
40278 which can conflict with char $ac_func (); below.
40279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40280 <limits.h> exists even on freestanding compilers. */
40282 #ifdef __STDC__
40283 # include <limits.h>
40284 #else
40285 # include <assert.h>
40286 #endif
40288 #undef $ac_func
40290 /* Override any gcc2 internal prototype to avoid an error. */
40291 #ifdef __cplusplus
40292 extern "C"
40294 #endif
40295 /* We use char because int might match the return type of a gcc2
40296 builtin and then its argument prototype would still apply. */
40297 char $ac_func ();
40298 /* The GNU C library defines this for functions which it implements
40299 to always fail with ENOSYS. Some functions are actually named
40300 something starting with __ and the normal name is an alias. */
40301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40302 choke me
40303 #else
40304 char (*f) () = $ac_func;
40305 #endif
40306 #ifdef __cplusplus
40308 #endif
40311 main ()
40313 return f != $ac_func;
40315 return 0;
40317 _ACEOF
40318 rm -f conftest.$ac_objext conftest$ac_exeext
40319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40320 (eval $ac_link) 2>conftest.er1
40321 ac_status=$?
40322 grep -v '^ *+' conftest.er1 >conftest.err
40323 rm -f conftest.er1
40324 cat conftest.err >&5
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); } &&
40327 { ac_try='test -z "$ac_c_werror_flag"
40328 || test ! -s conftest.err'
40329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40330 (eval $ac_try) 2>&5
40331 ac_status=$?
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); }; } &&
40334 { ac_try='test -s conftest$ac_exeext'
40335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40336 (eval $ac_try) 2>&5
40337 ac_status=$?
40338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339 (exit $ac_status); }; }; then
40340 eval "$as_ac_var=yes"
40341 else
40342 echo "$as_me: failed program was:" >&5
40343 sed 's/^/| /' conftest.$ac_ext >&5
40345 eval "$as_ac_var=no"
40347 rm -f conftest.err conftest.$ac_objext \
40348 conftest$ac_exeext conftest.$ac_ext
40350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40352 if test `eval echo '${'$as_ac_var'}'` = yes; then
40353 cat >>confdefs.h <<_ACEOF
40354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40355 _ACEOF
40358 done
40365 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40366 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40367 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40368 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40369 echo $ECHO_N "(cached) $ECHO_C" >&6
40370 else
40374 ac_ext=cc
40375 ac_cpp='$CXXCPP $CPPFLAGS'
40376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40380 cat >conftest.$ac_ext <<_ACEOF
40381 /* confdefs.h. */
40382 _ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386 #include <math.h>
40387 #ifdef HAVE_IEEEFP_H
40388 #include <ieeefp.h>
40389 #endif
40392 main ()
40394 finitef(0);
40396 return 0;
40398 _ACEOF
40399 rm -f conftest.$ac_objext
40400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40401 (eval $ac_compile) 2>conftest.er1
40402 ac_status=$?
40403 grep -v '^ *+' conftest.er1 >conftest.err
40404 rm -f conftest.er1
40405 cat conftest.err >&5
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); } &&
40408 { ac_try='test -z "$ac_cxx_werror_flag"
40409 || test ! -s conftest.err'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40412 ac_status=$?
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; } &&
40415 { ac_try='test -s conftest.$ac_objext'
40416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40417 (eval $ac_try) 2>&5
40418 ac_status=$?
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); }; }; then
40421 glibcxx_cv_func_finitef_use=yes
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40426 glibcxx_cv_func_finitef_use=no
40428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40429 ac_ext=c
40430 ac_cpp='$CPP $CPPFLAGS'
40431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40440 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40442 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40444 for ac_func in finitef
40446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40447 echo "$as_me:$LINENO: checking for $ac_func" >&5
40448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40449 if eval "test \"\${$as_ac_var+set}\" = set"; then
40450 echo $ECHO_N "(cached) $ECHO_C" >&6
40451 else
40452 if test x$gcc_no_link = xyes; then
40453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40455 { (exit 1); exit 1; }; }
40457 cat >conftest.$ac_ext <<_ACEOF
40458 /* confdefs.h. */
40459 _ACEOF
40460 cat confdefs.h >>conftest.$ac_ext
40461 cat >>conftest.$ac_ext <<_ACEOF
40462 /* end confdefs.h. */
40463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40465 #define $ac_func innocuous_$ac_func
40467 /* System header to define __stub macros and hopefully few prototypes,
40468 which can conflict with char $ac_func (); below.
40469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40470 <limits.h> exists even on freestanding compilers. */
40472 #ifdef __STDC__
40473 # include <limits.h>
40474 #else
40475 # include <assert.h>
40476 #endif
40478 #undef $ac_func
40480 /* Override any gcc2 internal prototype to avoid an error. */
40481 #ifdef __cplusplus
40482 extern "C"
40484 #endif
40485 /* We use char because int might match the return type of a gcc2
40486 builtin and then its argument prototype would still apply. */
40487 char $ac_func ();
40488 /* The GNU C library defines this for functions which it implements
40489 to always fail with ENOSYS. Some functions are actually named
40490 something starting with __ and the normal name is an alias. */
40491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40492 choke me
40493 #else
40494 char (*f) () = $ac_func;
40495 #endif
40496 #ifdef __cplusplus
40498 #endif
40501 main ()
40503 return f != $ac_func;
40505 return 0;
40507 _ACEOF
40508 rm -f conftest.$ac_objext conftest$ac_exeext
40509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40510 (eval $ac_link) 2>conftest.er1
40511 ac_status=$?
40512 grep -v '^ *+' conftest.er1 >conftest.err
40513 rm -f conftest.er1
40514 cat conftest.err >&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); } &&
40517 { ac_try='test -z "$ac_c_werror_flag"
40518 || test ! -s conftest.err'
40519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40520 (eval $ac_try) 2>&5
40521 ac_status=$?
40522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40523 (exit $ac_status); }; } &&
40524 { ac_try='test -s conftest$ac_exeext'
40525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40526 (eval $ac_try) 2>&5
40527 ac_status=$?
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); }; }; then
40530 eval "$as_ac_var=yes"
40531 else
40532 echo "$as_me: failed program was:" >&5
40533 sed 's/^/| /' conftest.$ac_ext >&5
40535 eval "$as_ac_var=no"
40537 rm -f conftest.err conftest.$ac_objext \
40538 conftest$ac_exeext conftest.$ac_ext
40540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40542 if test `eval echo '${'$as_ac_var'}'` = yes; then
40543 cat >>confdefs.h <<_ACEOF
40544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40545 _ACEOF
40548 done
40550 else
40552 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40553 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40554 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40555 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40556 echo $ECHO_N "(cached) $ECHO_C" >&6
40557 else
40561 ac_ext=cc
40562 ac_cpp='$CXXCPP $CPPFLAGS'
40563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40567 cat >conftest.$ac_ext <<_ACEOF
40568 /* confdefs.h. */
40569 _ACEOF
40570 cat confdefs.h >>conftest.$ac_ext
40571 cat >>conftest.$ac_ext <<_ACEOF
40572 /* end confdefs.h. */
40573 #include <math.h>
40574 #ifdef HAVE_IEEEFP_H
40575 #include <ieeefp.h>
40576 #endif
40579 main ()
40581 _finitef(0);
40583 return 0;
40585 _ACEOF
40586 rm -f conftest.$ac_objext
40587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40588 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__finitef_use=yes
40609 else
40610 echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40613 glibcxx_cv_func__finitef_use=no
40615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40616 ac_ext=c
40617 ac_cpp='$CPP $CPPFLAGS'
40618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40627 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40629 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40631 for ac_func in _finitef
40633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40634 echo "$as_me:$LINENO: checking for $ac_func" >&5
40635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40636 if eval "test \"\${$as_ac_var+set}\" = set"; then
40637 echo $ECHO_N "(cached) $ECHO_C" >&6
40638 else
40639 if test x$gcc_no_link = xyes; then
40640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40642 { (exit 1); exit 1; }; }
40644 cat >conftest.$ac_ext <<_ACEOF
40645 /* confdefs.h. */
40646 _ACEOF
40647 cat confdefs.h >>conftest.$ac_ext
40648 cat >>conftest.$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40652 #define $ac_func innocuous_$ac_func
40654 /* System header to define __stub macros and hopefully few prototypes,
40655 which can conflict with char $ac_func (); below.
40656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40657 <limits.h> exists even on freestanding compilers. */
40659 #ifdef __STDC__
40660 # include <limits.h>
40661 #else
40662 # include <assert.h>
40663 #endif
40665 #undef $ac_func
40667 /* Override any gcc2 internal prototype to avoid an error. */
40668 #ifdef __cplusplus
40669 extern "C"
40671 #endif
40672 /* We use char because int might match the return type of a gcc2
40673 builtin and then its argument prototype would still apply. */
40674 char $ac_func ();
40675 /* The GNU C library defines this for functions which it implements
40676 to always fail with ENOSYS. Some functions are actually named
40677 something starting with __ and the normal name is an alias. */
40678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40679 choke me
40680 #else
40681 char (*f) () = $ac_func;
40682 #endif
40683 #ifdef __cplusplus
40685 #endif
40688 main ()
40690 return f != $ac_func;
40692 return 0;
40694 _ACEOF
40695 rm -f conftest.$ac_objext conftest$ac_exeext
40696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40697 (eval $ac_link) 2>conftest.er1
40698 ac_status=$?
40699 grep -v '^ *+' conftest.er1 >conftest.err
40700 rm -f conftest.er1
40701 cat conftest.err >&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); } &&
40704 { ac_try='test -z "$ac_c_werror_flag"
40705 || test ! -s conftest.err'
40706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40707 (eval $ac_try) 2>&5
40708 ac_status=$?
40709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40710 (exit $ac_status); }; } &&
40711 { ac_try='test -s conftest$ac_exeext'
40712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40713 (eval $ac_try) 2>&5
40714 ac_status=$?
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); }; }; then
40717 eval "$as_ac_var=yes"
40718 else
40719 echo "$as_me: failed program was:" >&5
40720 sed 's/^/| /' conftest.$ac_ext >&5
40722 eval "$as_ac_var=no"
40724 rm -f conftest.err conftest.$ac_objext \
40725 conftest$ac_exeext conftest.$ac_ext
40727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40729 if test `eval echo '${'$as_ac_var'}'` = yes; then
40730 cat >>confdefs.h <<_ACEOF
40731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40732 _ACEOF
40735 done
40742 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40743 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40744 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40745 echo $ECHO_N "(cached) $ECHO_C" >&6
40746 else
40750 ac_ext=cc
40751 ac_cpp='$CXXCPP $CPPFLAGS'
40752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40756 cat >conftest.$ac_ext <<_ACEOF
40757 /* confdefs.h. */
40758 _ACEOF
40759 cat confdefs.h >>conftest.$ac_ext
40760 cat >>conftest.$ac_ext <<_ACEOF
40761 /* end confdefs.h. */
40762 #include <math.h>
40764 main ()
40766 `for x in acosl asinl atanl \
40767 cosl sinl tanl \
40768 coshl sinhl tanhl; do echo "$x (0);"; done`
40770 return 0;
40772 _ACEOF
40773 rm -f conftest.$ac_objext
40774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40775 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_long_double_trig_use=yes
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40800 glibcxx_cv_func_long_double_trig_use=no
40802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40803 ac_ext=c
40804 ac_cpp='$CPP $CPPFLAGS'
40805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40812 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40813 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40823 for ac_func in acosl asinl atanl \
40824 cosl sinl tanl \
40825 coshl sinhl tanhl
40827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40828 echo "$as_me:$LINENO: checking for $ac_func" >&5
40829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40830 if eval "test \"\${$as_ac_var+set}\" = set"; then
40831 echo $ECHO_N "(cached) $ECHO_C" >&6
40832 else
40833 if test x$gcc_no_link = xyes; then
40834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40836 { (exit 1); exit 1; }; }
40838 cat >conftest.$ac_ext <<_ACEOF
40839 /* confdefs.h. */
40840 _ACEOF
40841 cat confdefs.h >>conftest.$ac_ext
40842 cat >>conftest.$ac_ext <<_ACEOF
40843 /* end confdefs.h. */
40844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40846 #define $ac_func innocuous_$ac_func
40848 /* System header to define __stub macros and hopefully few prototypes,
40849 which can conflict with char $ac_func (); below.
40850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40851 <limits.h> exists even on freestanding compilers. */
40853 #ifdef __STDC__
40854 # include <limits.h>
40855 #else
40856 # include <assert.h>
40857 #endif
40859 #undef $ac_func
40861 /* Override any gcc2 internal prototype to avoid an error. */
40862 #ifdef __cplusplus
40863 extern "C"
40865 #endif
40866 /* We use char because int might match the return type of a gcc2
40867 builtin and then its argument prototype would still apply. */
40868 char $ac_func ();
40869 /* The GNU C library defines this for functions which it implements
40870 to always fail with ENOSYS. Some functions are actually named
40871 something starting with __ and the normal name is an alias. */
40872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40873 choke me
40874 #else
40875 char (*f) () = $ac_func;
40876 #endif
40877 #ifdef __cplusplus
40879 #endif
40882 main ()
40884 return f != $ac_func;
40886 return 0;
40888 _ACEOF
40889 rm -f conftest.$ac_objext conftest$ac_exeext
40890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40891 (eval $ac_link) 2>conftest.er1
40892 ac_status=$?
40893 grep -v '^ *+' conftest.er1 >conftest.err
40894 rm -f conftest.er1
40895 cat conftest.err >&5
40896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40897 (exit $ac_status); } &&
40898 { ac_try='test -z "$ac_c_werror_flag"
40899 || test ! -s conftest.err'
40900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40901 (eval $ac_try) 2>&5
40902 ac_status=$?
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); }; } &&
40905 { ac_try='test -s conftest$ac_exeext'
40906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40907 (eval $ac_try) 2>&5
40908 ac_status=$?
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); }; }; then
40911 eval "$as_ac_var=yes"
40912 else
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40916 eval "$as_ac_var=no"
40918 rm -f conftest.err conftest.$ac_objext \
40919 conftest$ac_exeext conftest.$ac_ext
40921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40923 if test `eval echo '${'$as_ac_var'}'` = yes; then
40924 cat >>confdefs.h <<_ACEOF
40925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40926 _ACEOF
40929 done
40934 echo "$as_me:$LINENO: checking for long double round functions" >&5
40935 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40936 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40938 else
40942 ac_ext=cc
40943 ac_cpp='$CXXCPP $CPPFLAGS'
40944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40948 cat >conftest.$ac_ext <<_ACEOF
40949 /* confdefs.h. */
40950 _ACEOF
40951 cat confdefs.h >>conftest.$ac_ext
40952 cat >>conftest.$ac_ext <<_ACEOF
40953 /* end confdefs.h. */
40954 #include <math.h>
40956 main ()
40958 `for x in ceill floorl; do echo "$x (0);"; done`
40960 return 0;
40962 _ACEOF
40963 rm -f conftest.$ac_objext
40964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40965 (eval $ac_compile) 2>conftest.er1
40966 ac_status=$?
40967 grep -v '^ *+' conftest.er1 >conftest.err
40968 rm -f conftest.er1
40969 cat conftest.err >&5
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); } &&
40972 { ac_try='test -z "$ac_cxx_werror_flag"
40973 || test ! -s conftest.err'
40974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40975 (eval $ac_try) 2>&5
40976 ac_status=$?
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); }; } &&
40979 { ac_try='test -s conftest.$ac_objext'
40980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40981 (eval $ac_try) 2>&5
40982 ac_status=$?
40983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40984 (exit $ac_status); }; }; then
40985 glibcxx_cv_func_long_double_round_use=yes
40986 else
40987 echo "$as_me: failed program was:" >&5
40988 sed 's/^/| /' conftest.$ac_ext >&5
40990 glibcxx_cv_func_long_double_round_use=no
40992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40993 ac_ext=c
40994 ac_cpp='$CPP $CPPFLAGS'
40995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41002 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41003 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41006 for ac_func in ceill floorl
41008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41009 echo "$as_me:$LINENO: checking for $ac_func" >&5
41010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41011 if eval "test \"\${$as_ac_var+set}\" = set"; then
41012 echo $ECHO_N "(cached) $ECHO_C" >&6
41013 else
41014 if test x$gcc_no_link = xyes; then
41015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41017 { (exit 1); exit 1; }; }
41019 cat >conftest.$ac_ext <<_ACEOF
41020 /* confdefs.h. */
41021 _ACEOF
41022 cat confdefs.h >>conftest.$ac_ext
41023 cat >>conftest.$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41027 #define $ac_func innocuous_$ac_func
41029 /* System header to define __stub macros and hopefully few prototypes,
41030 which can conflict with char $ac_func (); below.
41031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41032 <limits.h> exists even on freestanding compilers. */
41034 #ifdef __STDC__
41035 # include <limits.h>
41036 #else
41037 # include <assert.h>
41038 #endif
41040 #undef $ac_func
41042 /* Override any gcc2 internal prototype to avoid an error. */
41043 #ifdef __cplusplus
41044 extern "C"
41046 #endif
41047 /* We use char because int might match the return type of a gcc2
41048 builtin and then its argument prototype would still apply. */
41049 char $ac_func ();
41050 /* The GNU C library defines this for functions which it implements
41051 to always fail with ENOSYS. Some functions are actually named
41052 something starting with __ and the normal name is an alias. */
41053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41054 choke me
41055 #else
41056 char (*f) () = $ac_func;
41057 #endif
41058 #ifdef __cplusplus
41060 #endif
41063 main ()
41065 return f != $ac_func;
41067 return 0;
41069 _ACEOF
41070 rm -f conftest.$ac_objext conftest$ac_exeext
41071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41072 (eval $ac_link) 2>conftest.er1
41073 ac_status=$?
41074 grep -v '^ *+' conftest.er1 >conftest.err
41075 rm -f conftest.er1
41076 cat conftest.err >&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); } &&
41079 { ac_try='test -z "$ac_c_werror_flag"
41080 || test ! -s conftest.err'
41081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41082 (eval $ac_try) 2>&5
41083 ac_status=$?
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); }; } &&
41086 { ac_try='test -s conftest$ac_exeext'
41087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41088 (eval $ac_try) 2>&5
41089 ac_status=$?
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); }; }; then
41092 eval "$as_ac_var=yes"
41093 else
41094 echo "$as_me: failed program was:" >&5
41095 sed 's/^/| /' conftest.$ac_ext >&5
41097 eval "$as_ac_var=no"
41099 rm -f conftest.err conftest.$ac_objext \
41100 conftest$ac_exeext conftest.$ac_ext
41102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41104 if test `eval echo '${'$as_ac_var'}'` = yes; then
41105 cat >>confdefs.h <<_ACEOF
41106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41107 _ACEOF
41110 done
41116 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41117 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41118 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41119 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41120 echo $ECHO_N "(cached) $ECHO_C" >&6
41121 else
41125 ac_ext=cc
41126 ac_cpp='$CXXCPP $CPPFLAGS'
41127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41131 cat >conftest.$ac_ext <<_ACEOF
41132 /* confdefs.h. */
41133 _ACEOF
41134 cat confdefs.h >>conftest.$ac_ext
41135 cat >>conftest.$ac_ext <<_ACEOF
41136 /* end confdefs.h. */
41137 #include <math.h>
41138 #ifdef HAVE_IEEEFP_H
41139 #include <ieeefp.h>
41140 #endif
41143 main ()
41145 isnanl(0);
41147 return 0;
41149 _ACEOF
41150 rm -f conftest.$ac_objext
41151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41152 (eval $ac_compile) 2>conftest.er1
41153 ac_status=$?
41154 grep -v '^ *+' conftest.er1 >conftest.err
41155 rm -f conftest.er1
41156 cat conftest.err >&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); } &&
41159 { ac_try='test -z "$ac_cxx_werror_flag"
41160 || test ! -s conftest.err'
41161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41162 (eval $ac_try) 2>&5
41163 ac_status=$?
41164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41165 (exit $ac_status); }; } &&
41166 { ac_try='test -s conftest.$ac_objext'
41167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41168 (eval $ac_try) 2>&5
41169 ac_status=$?
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); }; }; then
41172 glibcxx_cv_func_isnanl_use=yes
41173 else
41174 echo "$as_me: failed program was:" >&5
41175 sed 's/^/| /' conftest.$ac_ext >&5
41177 glibcxx_cv_func_isnanl_use=no
41179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41180 ac_ext=c
41181 ac_cpp='$CPP $CPPFLAGS'
41182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41191 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41193 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41195 for ac_func in isnanl
41197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41198 echo "$as_me:$LINENO: checking for $ac_func" >&5
41199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41200 if eval "test \"\${$as_ac_var+set}\" = set"; then
41201 echo $ECHO_N "(cached) $ECHO_C" >&6
41202 else
41203 if test x$gcc_no_link = xyes; then
41204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41206 { (exit 1); exit 1; }; }
41208 cat >conftest.$ac_ext <<_ACEOF
41209 /* confdefs.h. */
41210 _ACEOF
41211 cat confdefs.h >>conftest.$ac_ext
41212 cat >>conftest.$ac_ext <<_ACEOF
41213 /* end confdefs.h. */
41214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41216 #define $ac_func innocuous_$ac_func
41218 /* System header to define __stub macros and hopefully few prototypes,
41219 which can conflict with char $ac_func (); below.
41220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41221 <limits.h> exists even on freestanding compilers. */
41223 #ifdef __STDC__
41224 # include <limits.h>
41225 #else
41226 # include <assert.h>
41227 #endif
41229 #undef $ac_func
41231 /* Override any gcc2 internal prototype to avoid an error. */
41232 #ifdef __cplusplus
41233 extern "C"
41235 #endif
41236 /* We use char because int might match the return type of a gcc2
41237 builtin and then its argument prototype would still apply. */
41238 char $ac_func ();
41239 /* The GNU C library defines this for functions which it implements
41240 to always fail with ENOSYS. Some functions are actually named
41241 something starting with __ and the normal name is an alias. */
41242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41243 choke me
41244 #else
41245 char (*f) () = $ac_func;
41246 #endif
41247 #ifdef __cplusplus
41249 #endif
41252 main ()
41254 return f != $ac_func;
41256 return 0;
41258 _ACEOF
41259 rm -f conftest.$ac_objext conftest$ac_exeext
41260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41261 (eval $ac_link) 2>conftest.er1
41262 ac_status=$?
41263 grep -v '^ *+' conftest.er1 >conftest.err
41264 rm -f conftest.er1
41265 cat conftest.err >&5
41266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267 (exit $ac_status); } &&
41268 { ac_try='test -z "$ac_c_werror_flag"
41269 || test ! -s conftest.err'
41270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41271 (eval $ac_try) 2>&5
41272 ac_status=$?
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); }; } &&
41275 { ac_try='test -s conftest$ac_exeext'
41276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41277 (eval $ac_try) 2>&5
41278 ac_status=$?
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); }; }; then
41281 eval "$as_ac_var=yes"
41282 else
41283 echo "$as_me: failed program was:" >&5
41284 sed 's/^/| /' conftest.$ac_ext >&5
41286 eval "$as_ac_var=no"
41288 rm -f conftest.err conftest.$ac_objext \
41289 conftest$ac_exeext conftest.$ac_ext
41291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41293 if test `eval echo '${'$as_ac_var'}'` = yes; then
41294 cat >>confdefs.h <<_ACEOF
41295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41296 _ACEOF
41299 done
41301 else
41303 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41304 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41305 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41306 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 else
41312 ac_ext=cc
41313 ac_cpp='$CXXCPP $CPPFLAGS'
41314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41318 cat >conftest.$ac_ext <<_ACEOF
41319 /* confdefs.h. */
41320 _ACEOF
41321 cat confdefs.h >>conftest.$ac_ext
41322 cat >>conftest.$ac_ext <<_ACEOF
41323 /* end confdefs.h. */
41324 #include <math.h>
41325 #ifdef HAVE_IEEEFP_H
41326 #include <ieeefp.h>
41327 #endif
41330 main ()
41332 _isnanl(0);
41334 return 0;
41336 _ACEOF
41337 rm -f conftest.$ac_objext
41338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41339 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isnanl_use=yes
41360 else
41361 echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.$ac_ext >&5
41364 glibcxx_cv_func__isnanl_use=no
41366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41367 ac_ext=c
41368 ac_cpp='$CPP $CPPFLAGS'
41369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41378 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41380 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41382 for ac_func in _isnanl
41384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41385 echo "$as_me:$LINENO: checking for $ac_func" >&5
41386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41387 if eval "test \"\${$as_ac_var+set}\" = set"; then
41388 echo $ECHO_N "(cached) $ECHO_C" >&6
41389 else
41390 if test x$gcc_no_link = xyes; then
41391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41393 { (exit 1); exit 1; }; }
41395 cat >conftest.$ac_ext <<_ACEOF
41396 /* confdefs.h. */
41397 _ACEOF
41398 cat confdefs.h >>conftest.$ac_ext
41399 cat >>conftest.$ac_ext <<_ACEOF
41400 /* end confdefs.h. */
41401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41403 #define $ac_func innocuous_$ac_func
41405 /* System header to define __stub macros and hopefully few prototypes,
41406 which can conflict with char $ac_func (); below.
41407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41408 <limits.h> exists even on freestanding compilers. */
41410 #ifdef __STDC__
41411 # include <limits.h>
41412 #else
41413 # include <assert.h>
41414 #endif
41416 #undef $ac_func
41418 /* Override any gcc2 internal prototype to avoid an error. */
41419 #ifdef __cplusplus
41420 extern "C"
41422 #endif
41423 /* We use char because int might match the return type of a gcc2
41424 builtin and then its argument prototype would still apply. */
41425 char $ac_func ();
41426 /* The GNU C library defines this for functions which it implements
41427 to always fail with ENOSYS. Some functions are actually named
41428 something starting with __ and the normal name is an alias. */
41429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41430 choke me
41431 #else
41432 char (*f) () = $ac_func;
41433 #endif
41434 #ifdef __cplusplus
41436 #endif
41439 main ()
41441 return f != $ac_func;
41443 return 0;
41445 _ACEOF
41446 rm -f conftest.$ac_objext conftest$ac_exeext
41447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41448 (eval $ac_link) 2>conftest.er1
41449 ac_status=$?
41450 grep -v '^ *+' conftest.er1 >conftest.err
41451 rm -f conftest.er1
41452 cat conftest.err >&5
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); } &&
41455 { ac_try='test -z "$ac_c_werror_flag"
41456 || test ! -s conftest.err'
41457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41458 (eval $ac_try) 2>&5
41459 ac_status=$?
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); }; } &&
41462 { ac_try='test -s conftest$ac_exeext'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41465 ac_status=$?
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; }; then
41468 eval "$as_ac_var=yes"
41469 else
41470 echo "$as_me: failed program was:" >&5
41471 sed 's/^/| /' conftest.$ac_ext >&5
41473 eval "$as_ac_var=no"
41475 rm -f conftest.err conftest.$ac_objext \
41476 conftest$ac_exeext conftest.$ac_ext
41478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41480 if test `eval echo '${'$as_ac_var'}'` = yes; then
41481 cat >>confdefs.h <<_ACEOF
41482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41483 _ACEOF
41486 done
41493 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41494 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41495 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41496 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41497 echo $ECHO_N "(cached) $ECHO_C" >&6
41498 else
41502 ac_ext=cc
41503 ac_cpp='$CXXCPP $CPPFLAGS'
41504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41508 cat >conftest.$ac_ext <<_ACEOF
41509 /* confdefs.h. */
41510 _ACEOF
41511 cat confdefs.h >>conftest.$ac_ext
41512 cat >>conftest.$ac_ext <<_ACEOF
41513 /* end confdefs.h. */
41514 #include <math.h>
41515 #ifdef HAVE_IEEEFP_H
41516 #include <ieeefp.h>
41517 #endif
41520 main ()
41522 isinfl(0);
41524 return 0;
41526 _ACEOF
41527 rm -f conftest.$ac_objext
41528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41529 (eval $ac_compile) 2>conftest.er1
41530 ac_status=$?
41531 grep -v '^ *+' conftest.er1 >conftest.err
41532 rm -f conftest.er1
41533 cat conftest.err >&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); } &&
41536 { ac_try='test -z "$ac_cxx_werror_flag"
41537 || test ! -s conftest.err'
41538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41539 (eval $ac_try) 2>&5
41540 ac_status=$?
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); }; } &&
41543 { ac_try='test -s conftest.$ac_objext'
41544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41545 (eval $ac_try) 2>&5
41546 ac_status=$?
41547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41548 (exit $ac_status); }; }; then
41549 glibcxx_cv_func_isinfl_use=yes
41550 else
41551 echo "$as_me: failed program was:" >&5
41552 sed 's/^/| /' conftest.$ac_ext >&5
41554 glibcxx_cv_func_isinfl_use=no
41556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41557 ac_ext=c
41558 ac_cpp='$CPP $CPPFLAGS'
41559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41568 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41570 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41572 for ac_func in isinfl
41574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41575 echo "$as_me:$LINENO: checking for $ac_func" >&5
41576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41577 if eval "test \"\${$as_ac_var+set}\" = set"; then
41578 echo $ECHO_N "(cached) $ECHO_C" >&6
41579 else
41580 if test x$gcc_no_link = xyes; then
41581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41583 { (exit 1); exit 1; }; }
41585 cat >conftest.$ac_ext <<_ACEOF
41586 /* confdefs.h. */
41587 _ACEOF
41588 cat confdefs.h >>conftest.$ac_ext
41589 cat >>conftest.$ac_ext <<_ACEOF
41590 /* end confdefs.h. */
41591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41593 #define $ac_func innocuous_$ac_func
41595 /* System header to define __stub macros and hopefully few prototypes,
41596 which can conflict with char $ac_func (); below.
41597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41598 <limits.h> exists even on freestanding compilers. */
41600 #ifdef __STDC__
41601 # include <limits.h>
41602 #else
41603 # include <assert.h>
41604 #endif
41606 #undef $ac_func
41608 /* Override any gcc2 internal prototype to avoid an error. */
41609 #ifdef __cplusplus
41610 extern "C"
41612 #endif
41613 /* We use char because int might match the return type of a gcc2
41614 builtin and then its argument prototype would still apply. */
41615 char $ac_func ();
41616 /* The GNU C library defines this for functions which it implements
41617 to always fail with ENOSYS. Some functions are actually named
41618 something starting with __ and the normal name is an alias. */
41619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41620 choke me
41621 #else
41622 char (*f) () = $ac_func;
41623 #endif
41624 #ifdef __cplusplus
41626 #endif
41629 main ()
41631 return f != $ac_func;
41633 return 0;
41635 _ACEOF
41636 rm -f conftest.$ac_objext conftest$ac_exeext
41637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41638 (eval $ac_link) 2>conftest.er1
41639 ac_status=$?
41640 grep -v '^ *+' conftest.er1 >conftest.err
41641 rm -f conftest.er1
41642 cat conftest.err >&5
41643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644 (exit $ac_status); } &&
41645 { ac_try='test -z "$ac_c_werror_flag"
41646 || test ! -s conftest.err'
41647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41648 (eval $ac_try) 2>&5
41649 ac_status=$?
41650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41651 (exit $ac_status); }; } &&
41652 { ac_try='test -s conftest$ac_exeext'
41653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41654 (eval $ac_try) 2>&5
41655 ac_status=$?
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); }; }; then
41658 eval "$as_ac_var=yes"
41659 else
41660 echo "$as_me: failed program was:" >&5
41661 sed 's/^/| /' conftest.$ac_ext >&5
41663 eval "$as_ac_var=no"
41665 rm -f conftest.err conftest.$ac_objext \
41666 conftest$ac_exeext conftest.$ac_ext
41668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41670 if test `eval echo '${'$as_ac_var'}'` = yes; then
41671 cat >>confdefs.h <<_ACEOF
41672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41673 _ACEOF
41676 done
41678 else
41680 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41681 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41682 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41683 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 else
41689 ac_ext=cc
41690 ac_cpp='$CXXCPP $CPPFLAGS'
41691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41695 cat >conftest.$ac_ext <<_ACEOF
41696 /* confdefs.h. */
41697 _ACEOF
41698 cat confdefs.h >>conftest.$ac_ext
41699 cat >>conftest.$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41701 #include <math.h>
41702 #ifdef HAVE_IEEEFP_H
41703 #include <ieeefp.h>
41704 #endif
41707 main ()
41709 _isinfl(0);
41711 return 0;
41713 _ACEOF
41714 rm -f conftest.$ac_objext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41716 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isinfl_use=yes
41737 else
41738 echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41741 glibcxx_cv_func__isinfl_use=no
41743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41744 ac_ext=c
41745 ac_cpp='$CPP $CPPFLAGS'
41746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41755 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41757 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41759 for ac_func in _isinfl
41761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41762 echo "$as_me:$LINENO: checking for $ac_func" >&5
41763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41764 if eval "test \"\${$as_ac_var+set}\" = set"; then
41765 echo $ECHO_N "(cached) $ECHO_C" >&6
41766 else
41767 if test x$gcc_no_link = xyes; then
41768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41770 { (exit 1); exit 1; }; }
41772 cat >conftest.$ac_ext <<_ACEOF
41773 /* confdefs.h. */
41774 _ACEOF
41775 cat confdefs.h >>conftest.$ac_ext
41776 cat >>conftest.$ac_ext <<_ACEOF
41777 /* end confdefs.h. */
41778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41780 #define $ac_func innocuous_$ac_func
41782 /* System header to define __stub macros and hopefully few prototypes,
41783 which can conflict with char $ac_func (); below.
41784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41785 <limits.h> exists even on freestanding compilers. */
41787 #ifdef __STDC__
41788 # include <limits.h>
41789 #else
41790 # include <assert.h>
41791 #endif
41793 #undef $ac_func
41795 /* Override any gcc2 internal prototype to avoid an error. */
41796 #ifdef __cplusplus
41797 extern "C"
41799 #endif
41800 /* We use char because int might match the return type of a gcc2
41801 builtin and then its argument prototype would still apply. */
41802 char $ac_func ();
41803 /* The GNU C library defines this for functions which it implements
41804 to always fail with ENOSYS. Some functions are actually named
41805 something starting with __ and the normal name is an alias. */
41806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41807 choke me
41808 #else
41809 char (*f) () = $ac_func;
41810 #endif
41811 #ifdef __cplusplus
41813 #endif
41816 main ()
41818 return f != $ac_func;
41820 return 0;
41822 _ACEOF
41823 rm -f conftest.$ac_objext conftest$ac_exeext
41824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41825 (eval $ac_link) 2>conftest.er1
41826 ac_status=$?
41827 grep -v '^ *+' conftest.er1 >conftest.err
41828 rm -f conftest.er1
41829 cat conftest.err >&5
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); } &&
41832 { ac_try='test -z "$ac_c_werror_flag"
41833 || test ! -s conftest.err'
41834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41835 (eval $ac_try) 2>&5
41836 ac_status=$?
41837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41838 (exit $ac_status); }; } &&
41839 { ac_try='test -s conftest$ac_exeext'
41840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41841 (eval $ac_try) 2>&5
41842 ac_status=$?
41843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41844 (exit $ac_status); }; }; then
41845 eval "$as_ac_var=yes"
41846 else
41847 echo "$as_me: failed program was:" >&5
41848 sed 's/^/| /' conftest.$ac_ext >&5
41850 eval "$as_ac_var=no"
41852 rm -f conftest.err conftest.$ac_objext \
41853 conftest$ac_exeext conftest.$ac_ext
41855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41857 if test `eval echo '${'$as_ac_var'}'` = yes; then
41858 cat >>confdefs.h <<_ACEOF
41859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41860 _ACEOF
41863 done
41870 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41871 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41872 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41873 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41874 echo $ECHO_N "(cached) $ECHO_C" >&6
41875 else
41879 ac_ext=cc
41880 ac_cpp='$CXXCPP $CPPFLAGS'
41881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41885 cat >conftest.$ac_ext <<_ACEOF
41886 /* confdefs.h. */
41887 _ACEOF
41888 cat confdefs.h >>conftest.$ac_ext
41889 cat >>conftest.$ac_ext <<_ACEOF
41890 /* end confdefs.h. */
41891 #include <math.h>
41893 main ()
41895 copysignl(0, 0);
41897 return 0;
41899 _ACEOF
41900 rm -f conftest.$ac_objext
41901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41902 (eval $ac_compile) 2>conftest.er1
41903 ac_status=$?
41904 grep -v '^ *+' conftest.er1 >conftest.err
41905 rm -f conftest.er1
41906 cat conftest.err >&5
41907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); } &&
41909 { ac_try='test -z "$ac_cxx_werror_flag"
41910 || test ! -s conftest.err'
41911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41912 (eval $ac_try) 2>&5
41913 ac_status=$?
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); }; } &&
41916 { ac_try='test -s conftest.$ac_objext'
41917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41918 (eval $ac_try) 2>&5
41919 ac_status=$?
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); }; }; then
41922 glibcxx_cv_func_copysignl_use=yes
41923 else
41924 echo "$as_me: failed program was:" >&5
41925 sed 's/^/| /' conftest.$ac_ext >&5
41927 glibcxx_cv_func_copysignl_use=no
41929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41930 ac_ext=c
41931 ac_cpp='$CPP $CPPFLAGS'
41932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41941 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41943 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41945 for ac_func in copysignl
41947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41948 echo "$as_me:$LINENO: checking for $ac_func" >&5
41949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41950 if eval "test \"\${$as_ac_var+set}\" = set"; then
41951 echo $ECHO_N "(cached) $ECHO_C" >&6
41952 else
41953 if test x$gcc_no_link = xyes; then
41954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41956 { (exit 1); exit 1; }; }
41958 cat >conftest.$ac_ext <<_ACEOF
41959 /* confdefs.h. */
41960 _ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41966 #define $ac_func innocuous_$ac_func
41968 /* System header to define __stub macros and hopefully few prototypes,
41969 which can conflict with char $ac_func (); below.
41970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41971 <limits.h> exists even on freestanding compilers. */
41973 #ifdef __STDC__
41974 # include <limits.h>
41975 #else
41976 # include <assert.h>
41977 #endif
41979 #undef $ac_func
41981 /* Override any gcc2 internal prototype to avoid an error. */
41982 #ifdef __cplusplus
41983 extern "C"
41985 #endif
41986 /* We use char because int might match the return type of a gcc2
41987 builtin and then its argument prototype would still apply. */
41988 char $ac_func ();
41989 /* The GNU C library defines this for functions which it implements
41990 to always fail with ENOSYS. Some functions are actually named
41991 something starting with __ and the normal name is an alias. */
41992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41993 choke me
41994 #else
41995 char (*f) () = $ac_func;
41996 #endif
41997 #ifdef __cplusplus
41999 #endif
42002 main ()
42004 return f != $ac_func;
42006 return 0;
42008 _ACEOF
42009 rm -f conftest.$ac_objext conftest$ac_exeext
42010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42011 (eval $ac_link) 2>conftest.er1
42012 ac_status=$?
42013 grep -v '^ *+' conftest.er1 >conftest.err
42014 rm -f conftest.er1
42015 cat conftest.err >&5
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); } &&
42018 { ac_try='test -z "$ac_c_werror_flag"
42019 || test ! -s conftest.err'
42020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42021 (eval $ac_try) 2>&5
42022 ac_status=$?
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); }; } &&
42025 { ac_try='test -s conftest$ac_exeext'
42026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42027 (eval $ac_try) 2>&5
42028 ac_status=$?
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); }; }; then
42031 eval "$as_ac_var=yes"
42032 else
42033 echo "$as_me: failed program was:" >&5
42034 sed 's/^/| /' conftest.$ac_ext >&5
42036 eval "$as_ac_var=no"
42038 rm -f conftest.err conftest.$ac_objext \
42039 conftest$ac_exeext conftest.$ac_ext
42041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42043 if test `eval echo '${'$as_ac_var'}'` = yes; then
42044 cat >>confdefs.h <<_ACEOF
42045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42046 _ACEOF
42049 done
42051 else
42053 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42054 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42055 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42056 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42057 echo $ECHO_N "(cached) $ECHO_C" >&6
42058 else
42062 ac_ext=cc
42063 ac_cpp='$CXXCPP $CPPFLAGS'
42064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42068 cat >conftest.$ac_ext <<_ACEOF
42069 /* confdefs.h. */
42070 _ACEOF
42071 cat confdefs.h >>conftest.$ac_ext
42072 cat >>conftest.$ac_ext <<_ACEOF
42073 /* end confdefs.h. */
42074 #include <math.h>
42076 main ()
42078 _copysignl(0, 0);
42080 return 0;
42082 _ACEOF
42083 rm -f conftest.$ac_objext
42084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42085 (eval $ac_compile) 2>conftest.er1
42086 ac_status=$?
42087 grep -v '^ *+' conftest.er1 >conftest.err
42088 rm -f conftest.er1
42089 cat conftest.err >&5
42090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091 (exit $ac_status); } &&
42092 { ac_try='test -z "$ac_cxx_werror_flag"
42093 || test ! -s conftest.err'
42094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42095 (eval $ac_try) 2>&5
42096 ac_status=$?
42097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42098 (exit $ac_status); }; } &&
42099 { ac_try='test -s conftest.$ac_objext'
42100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42101 (eval $ac_try) 2>&5
42102 ac_status=$?
42103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42104 (exit $ac_status); }; }; then
42105 glibcxx_cv_func__copysignl_use=yes
42106 else
42107 echo "$as_me: failed program was:" >&5
42108 sed 's/^/| /' conftest.$ac_ext >&5
42110 glibcxx_cv_func__copysignl_use=no
42112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42113 ac_ext=c
42114 ac_cpp='$CPP $CPPFLAGS'
42115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42123 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42124 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42126 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42128 for ac_func in _copysignl
42130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42131 echo "$as_me:$LINENO: checking for $ac_func" >&5
42132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42133 if eval "test \"\${$as_ac_var+set}\" = set"; then
42134 echo $ECHO_N "(cached) $ECHO_C" >&6
42135 else
42136 if test x$gcc_no_link = xyes; then
42137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42139 { (exit 1); exit 1; }; }
42141 cat >conftest.$ac_ext <<_ACEOF
42142 /* confdefs.h. */
42143 _ACEOF
42144 cat confdefs.h >>conftest.$ac_ext
42145 cat >>conftest.$ac_ext <<_ACEOF
42146 /* end confdefs.h. */
42147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42149 #define $ac_func innocuous_$ac_func
42151 /* System header to define __stub macros and hopefully few prototypes,
42152 which can conflict with char $ac_func (); below.
42153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42154 <limits.h> exists even on freestanding compilers. */
42156 #ifdef __STDC__
42157 # include <limits.h>
42158 #else
42159 # include <assert.h>
42160 #endif
42162 #undef $ac_func
42164 /* Override any gcc2 internal prototype to avoid an error. */
42165 #ifdef __cplusplus
42166 extern "C"
42168 #endif
42169 /* We use char because int might match the return type of a gcc2
42170 builtin and then its argument prototype would still apply. */
42171 char $ac_func ();
42172 /* The GNU C library defines this for functions which it implements
42173 to always fail with ENOSYS. Some functions are actually named
42174 something starting with __ and the normal name is an alias. */
42175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42176 choke me
42177 #else
42178 char (*f) () = $ac_func;
42179 #endif
42180 #ifdef __cplusplus
42182 #endif
42185 main ()
42187 return f != $ac_func;
42189 return 0;
42191 _ACEOF
42192 rm -f conftest.$ac_objext conftest$ac_exeext
42193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42194 (eval $ac_link) 2>conftest.er1
42195 ac_status=$?
42196 grep -v '^ *+' conftest.er1 >conftest.err
42197 rm -f conftest.er1
42198 cat conftest.err >&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } &&
42201 { ac_try='test -z "$ac_c_werror_flag"
42202 || test ! -s conftest.err'
42203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42204 (eval $ac_try) 2>&5
42205 ac_status=$?
42206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42207 (exit $ac_status); }; } &&
42208 { ac_try='test -s conftest$ac_exeext'
42209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42210 (eval $ac_try) 2>&5
42211 ac_status=$?
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); }; }; then
42214 eval "$as_ac_var=yes"
42215 else
42216 echo "$as_me: failed program was:" >&5
42217 sed 's/^/| /' conftest.$ac_ext >&5
42219 eval "$as_ac_var=no"
42221 rm -f conftest.err conftest.$ac_objext \
42222 conftest$ac_exeext conftest.$ac_ext
42224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42226 if test `eval echo '${'$as_ac_var'}'` = yes; then
42227 cat >>confdefs.h <<_ACEOF
42228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42229 _ACEOF
42232 done
42239 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42240 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42241 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42242 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42243 echo $ECHO_N "(cached) $ECHO_C" >&6
42244 else
42248 ac_ext=cc
42249 ac_cpp='$CXXCPP $CPPFLAGS'
42250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42254 cat >conftest.$ac_ext <<_ACEOF
42255 /* confdefs.h. */
42256 _ACEOF
42257 cat confdefs.h >>conftest.$ac_ext
42258 cat >>conftest.$ac_ext <<_ACEOF
42259 /* end confdefs.h. */
42260 #include <math.h>
42262 main ()
42264 atan2l(0, 0);
42266 return 0;
42268 _ACEOF
42269 rm -f conftest.$ac_objext
42270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42271 (eval $ac_compile) 2>conftest.er1
42272 ac_status=$?
42273 grep -v '^ *+' conftest.er1 >conftest.err
42274 rm -f conftest.er1
42275 cat conftest.err >&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); } &&
42278 { ac_try='test -z "$ac_cxx_werror_flag"
42279 || test ! -s conftest.err'
42280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42281 (eval $ac_try) 2>&5
42282 ac_status=$?
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); }; } &&
42285 { ac_try='test -s conftest.$ac_objext'
42286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42287 (eval $ac_try) 2>&5
42288 ac_status=$?
42289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42290 (exit $ac_status); }; }; then
42291 glibcxx_cv_func_atan2l_use=yes
42292 else
42293 echo "$as_me: failed program was:" >&5
42294 sed 's/^/| /' conftest.$ac_ext >&5
42296 glibcxx_cv_func_atan2l_use=no
42298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42299 ac_ext=c
42300 ac_cpp='$CPP $CPPFLAGS'
42301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42310 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42312 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42314 for ac_func in atan2l
42316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42317 echo "$as_me:$LINENO: checking for $ac_func" >&5
42318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42319 if eval "test \"\${$as_ac_var+set}\" = set"; then
42320 echo $ECHO_N "(cached) $ECHO_C" >&6
42321 else
42322 if test x$gcc_no_link = xyes; then
42323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42325 { (exit 1); exit 1; }; }
42327 cat >conftest.$ac_ext <<_ACEOF
42328 /* confdefs.h. */
42329 _ACEOF
42330 cat confdefs.h >>conftest.$ac_ext
42331 cat >>conftest.$ac_ext <<_ACEOF
42332 /* end confdefs.h. */
42333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42335 #define $ac_func innocuous_$ac_func
42337 /* System header to define __stub macros and hopefully few prototypes,
42338 which can conflict with char $ac_func (); below.
42339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42340 <limits.h> exists even on freestanding compilers. */
42342 #ifdef __STDC__
42343 # include <limits.h>
42344 #else
42345 # include <assert.h>
42346 #endif
42348 #undef $ac_func
42350 /* Override any gcc2 internal prototype to avoid an error. */
42351 #ifdef __cplusplus
42352 extern "C"
42354 #endif
42355 /* We use char because int might match the return type of a gcc2
42356 builtin and then its argument prototype would still apply. */
42357 char $ac_func ();
42358 /* The GNU C library defines this for functions which it implements
42359 to always fail with ENOSYS. Some functions are actually named
42360 something starting with __ and the normal name is an alias. */
42361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42362 choke me
42363 #else
42364 char (*f) () = $ac_func;
42365 #endif
42366 #ifdef __cplusplus
42368 #endif
42371 main ()
42373 return f != $ac_func;
42375 return 0;
42377 _ACEOF
42378 rm -f conftest.$ac_objext conftest$ac_exeext
42379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42380 (eval $ac_link) 2>conftest.er1
42381 ac_status=$?
42382 grep -v '^ *+' conftest.er1 >conftest.err
42383 rm -f conftest.er1
42384 cat conftest.err >&5
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); } &&
42387 { ac_try='test -z "$ac_c_werror_flag"
42388 || test ! -s conftest.err'
42389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42390 (eval $ac_try) 2>&5
42391 ac_status=$?
42392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42393 (exit $ac_status); }; } &&
42394 { ac_try='test -s conftest$ac_exeext'
42395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42396 (eval $ac_try) 2>&5
42397 ac_status=$?
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); }; }; then
42400 eval "$as_ac_var=yes"
42401 else
42402 echo "$as_me: failed program was:" >&5
42403 sed 's/^/| /' conftest.$ac_ext >&5
42405 eval "$as_ac_var=no"
42407 rm -f conftest.err conftest.$ac_objext \
42408 conftest$ac_exeext conftest.$ac_ext
42410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42412 if test `eval echo '${'$as_ac_var'}'` = yes; then
42413 cat >>confdefs.h <<_ACEOF
42414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42415 _ACEOF
42418 done
42420 else
42422 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42423 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42424 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42425 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42426 echo $ECHO_N "(cached) $ECHO_C" >&6
42427 else
42431 ac_ext=cc
42432 ac_cpp='$CXXCPP $CPPFLAGS'
42433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42437 cat >conftest.$ac_ext <<_ACEOF
42438 /* confdefs.h. */
42439 _ACEOF
42440 cat confdefs.h >>conftest.$ac_ext
42441 cat >>conftest.$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42443 #include <math.h>
42445 main ()
42447 _atan2l(0, 0);
42449 return 0;
42451 _ACEOF
42452 rm -f conftest.$ac_objext
42453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42454 (eval $ac_compile) 2>conftest.er1
42455 ac_status=$?
42456 grep -v '^ *+' conftest.er1 >conftest.err
42457 rm -f conftest.er1
42458 cat conftest.err >&5
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); } &&
42461 { ac_try='test -z "$ac_cxx_werror_flag"
42462 || test ! -s conftest.err'
42463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42464 (eval $ac_try) 2>&5
42465 ac_status=$?
42466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467 (exit $ac_status); }; } &&
42468 { ac_try='test -s conftest.$ac_objext'
42469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42470 (eval $ac_try) 2>&5
42471 ac_status=$?
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); }; }; then
42474 glibcxx_cv_func__atan2l_use=yes
42475 else
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.$ac_ext >&5
42479 glibcxx_cv_func__atan2l_use=no
42481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42482 ac_ext=c
42483 ac_cpp='$CPP $CPPFLAGS'
42484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42493 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42495 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42497 for ac_func in _atan2l
42499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42500 echo "$as_me:$LINENO: checking for $ac_func" >&5
42501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42502 if eval "test \"\${$as_ac_var+set}\" = set"; then
42503 echo $ECHO_N "(cached) $ECHO_C" >&6
42504 else
42505 if test x$gcc_no_link = xyes; then
42506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42508 { (exit 1); exit 1; }; }
42510 cat >conftest.$ac_ext <<_ACEOF
42511 /* confdefs.h. */
42512 _ACEOF
42513 cat confdefs.h >>conftest.$ac_ext
42514 cat >>conftest.$ac_ext <<_ACEOF
42515 /* end confdefs.h. */
42516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42518 #define $ac_func innocuous_$ac_func
42520 /* System header to define __stub macros and hopefully few prototypes,
42521 which can conflict with char $ac_func (); below.
42522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42523 <limits.h> exists even on freestanding compilers. */
42525 #ifdef __STDC__
42526 # include <limits.h>
42527 #else
42528 # include <assert.h>
42529 #endif
42531 #undef $ac_func
42533 /* Override any gcc2 internal prototype to avoid an error. */
42534 #ifdef __cplusplus
42535 extern "C"
42537 #endif
42538 /* We use char because int might match the return type of a gcc2
42539 builtin and then its argument prototype would still apply. */
42540 char $ac_func ();
42541 /* The GNU C library defines this for functions which it implements
42542 to always fail with ENOSYS. Some functions are actually named
42543 something starting with __ and the normal name is an alias. */
42544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42545 choke me
42546 #else
42547 char (*f) () = $ac_func;
42548 #endif
42549 #ifdef __cplusplus
42551 #endif
42554 main ()
42556 return f != $ac_func;
42558 return 0;
42560 _ACEOF
42561 rm -f conftest.$ac_objext conftest$ac_exeext
42562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42563 (eval $ac_link) 2>conftest.er1
42564 ac_status=$?
42565 grep -v '^ *+' conftest.er1 >conftest.err
42566 rm -f conftest.er1
42567 cat conftest.err >&5
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); } &&
42570 { ac_try='test -z "$ac_c_werror_flag"
42571 || test ! -s conftest.err'
42572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42573 (eval $ac_try) 2>&5
42574 ac_status=$?
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); }; } &&
42577 { ac_try='test -s conftest$ac_exeext'
42578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42579 (eval $ac_try) 2>&5
42580 ac_status=$?
42581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42582 (exit $ac_status); }; }; then
42583 eval "$as_ac_var=yes"
42584 else
42585 echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42588 eval "$as_ac_var=no"
42590 rm -f conftest.err conftest.$ac_objext \
42591 conftest$ac_exeext conftest.$ac_ext
42593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42595 if test `eval echo '${'$as_ac_var'}'` = yes; then
42596 cat >>confdefs.h <<_ACEOF
42597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42598 _ACEOF
42601 done
42608 echo "$as_me:$LINENO: checking for expl declaration" >&5
42609 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42610 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42611 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42612 echo $ECHO_N "(cached) $ECHO_C" >&6
42613 else
42617 ac_ext=cc
42618 ac_cpp='$CXXCPP $CPPFLAGS'
42619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42623 cat >conftest.$ac_ext <<_ACEOF
42624 /* confdefs.h. */
42625 _ACEOF
42626 cat confdefs.h >>conftest.$ac_ext
42627 cat >>conftest.$ac_ext <<_ACEOF
42628 /* end confdefs.h. */
42629 #include <math.h>
42630 #ifdef HAVE_IEEEFP_H
42631 #include <ieeefp.h>
42632 #endif
42635 main ()
42637 expl(0);
42639 return 0;
42641 _ACEOF
42642 rm -f conftest.$ac_objext
42643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42644 (eval $ac_compile) 2>conftest.er1
42645 ac_status=$?
42646 grep -v '^ *+' conftest.er1 >conftest.err
42647 rm -f conftest.er1
42648 cat conftest.err >&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); } &&
42651 { ac_try='test -z "$ac_cxx_werror_flag"
42652 || test ! -s conftest.err'
42653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42654 (eval $ac_try) 2>&5
42655 ac_status=$?
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); }; } &&
42658 { ac_try='test -s conftest.$ac_objext'
42659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660 (eval $ac_try) 2>&5
42661 ac_status=$?
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; }; then
42664 glibcxx_cv_func_expl_use=yes
42665 else
42666 echo "$as_me: failed program was:" >&5
42667 sed 's/^/| /' conftest.$ac_ext >&5
42669 glibcxx_cv_func_expl_use=no
42671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42672 ac_ext=c
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42683 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42685 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42687 for ac_func in expl
42689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42690 echo "$as_me:$LINENO: checking for $ac_func" >&5
42691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42692 if eval "test \"\${$as_ac_var+set}\" = set"; then
42693 echo $ECHO_N "(cached) $ECHO_C" >&6
42694 else
42695 if test x$gcc_no_link = xyes; then
42696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42698 { (exit 1); exit 1; }; }
42700 cat >conftest.$ac_ext <<_ACEOF
42701 /* confdefs.h. */
42702 _ACEOF
42703 cat confdefs.h >>conftest.$ac_ext
42704 cat >>conftest.$ac_ext <<_ACEOF
42705 /* end confdefs.h. */
42706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42708 #define $ac_func innocuous_$ac_func
42710 /* System header to define __stub macros and hopefully few prototypes,
42711 which can conflict with char $ac_func (); below.
42712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42713 <limits.h> exists even on freestanding compilers. */
42715 #ifdef __STDC__
42716 # include <limits.h>
42717 #else
42718 # include <assert.h>
42719 #endif
42721 #undef $ac_func
42723 /* Override any gcc2 internal prototype to avoid an error. */
42724 #ifdef __cplusplus
42725 extern "C"
42727 #endif
42728 /* We use char because int might match the return type of a gcc2
42729 builtin and then its argument prototype would still apply. */
42730 char $ac_func ();
42731 /* The GNU C library defines this for functions which it implements
42732 to always fail with ENOSYS. Some functions are actually named
42733 something starting with __ and the normal name is an alias. */
42734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42735 choke me
42736 #else
42737 char (*f) () = $ac_func;
42738 #endif
42739 #ifdef __cplusplus
42741 #endif
42744 main ()
42746 return f != $ac_func;
42748 return 0;
42750 _ACEOF
42751 rm -f conftest.$ac_objext conftest$ac_exeext
42752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42753 (eval $ac_link) 2>conftest.er1
42754 ac_status=$?
42755 grep -v '^ *+' conftest.er1 >conftest.err
42756 rm -f conftest.er1
42757 cat conftest.err >&5
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); } &&
42760 { ac_try='test -z "$ac_c_werror_flag"
42761 || test ! -s conftest.err'
42762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42763 (eval $ac_try) 2>&5
42764 ac_status=$?
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); }; } &&
42767 { ac_try='test -s conftest$ac_exeext'
42768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42769 (eval $ac_try) 2>&5
42770 ac_status=$?
42771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42772 (exit $ac_status); }; }; then
42773 eval "$as_ac_var=yes"
42774 else
42775 echo "$as_me: failed program was:" >&5
42776 sed 's/^/| /' conftest.$ac_ext >&5
42778 eval "$as_ac_var=no"
42780 rm -f conftest.err conftest.$ac_objext \
42781 conftest$ac_exeext conftest.$ac_ext
42783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42785 if test `eval echo '${'$as_ac_var'}'` = yes; then
42786 cat >>confdefs.h <<_ACEOF
42787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42788 _ACEOF
42791 done
42793 else
42795 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42796 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42797 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42798 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42799 echo $ECHO_N "(cached) $ECHO_C" >&6
42800 else
42804 ac_ext=cc
42805 ac_cpp='$CXXCPP $CPPFLAGS'
42806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42810 cat >conftest.$ac_ext <<_ACEOF
42811 /* confdefs.h. */
42812 _ACEOF
42813 cat confdefs.h >>conftest.$ac_ext
42814 cat >>conftest.$ac_ext <<_ACEOF
42815 /* end confdefs.h. */
42816 #include <math.h>
42817 #ifdef HAVE_IEEEFP_H
42818 #include <ieeefp.h>
42819 #endif
42822 main ()
42824 _expl(0);
42826 return 0;
42828 _ACEOF
42829 rm -f conftest.$ac_objext
42830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42831 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__expl_use=yes
42852 else
42853 echo "$as_me: failed program was:" >&5
42854 sed 's/^/| /' conftest.$ac_ext >&5
42856 glibcxx_cv_func__expl_use=no
42858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42859 ac_ext=c
42860 ac_cpp='$CPP $CPPFLAGS'
42861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42869 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42870 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42872 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42874 for ac_func in _expl
42876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42877 echo "$as_me:$LINENO: checking for $ac_func" >&5
42878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42879 if eval "test \"\${$as_ac_var+set}\" = set"; then
42880 echo $ECHO_N "(cached) $ECHO_C" >&6
42881 else
42882 if test x$gcc_no_link = xyes; then
42883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42885 { (exit 1); exit 1; }; }
42887 cat >conftest.$ac_ext <<_ACEOF
42888 /* confdefs.h. */
42889 _ACEOF
42890 cat confdefs.h >>conftest.$ac_ext
42891 cat >>conftest.$ac_ext <<_ACEOF
42892 /* end confdefs.h. */
42893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42895 #define $ac_func innocuous_$ac_func
42897 /* System header to define __stub macros and hopefully few prototypes,
42898 which can conflict with char $ac_func (); below.
42899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42900 <limits.h> exists even on freestanding compilers. */
42902 #ifdef __STDC__
42903 # include <limits.h>
42904 #else
42905 # include <assert.h>
42906 #endif
42908 #undef $ac_func
42910 /* Override any gcc2 internal prototype to avoid an error. */
42911 #ifdef __cplusplus
42912 extern "C"
42914 #endif
42915 /* We use char because int might match the return type of a gcc2
42916 builtin and then its argument prototype would still apply. */
42917 char $ac_func ();
42918 /* The GNU C library defines this for functions which it implements
42919 to always fail with ENOSYS. Some functions are actually named
42920 something starting with __ and the normal name is an alias. */
42921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42922 choke me
42923 #else
42924 char (*f) () = $ac_func;
42925 #endif
42926 #ifdef __cplusplus
42928 #endif
42931 main ()
42933 return f != $ac_func;
42935 return 0;
42937 _ACEOF
42938 rm -f conftest.$ac_objext conftest$ac_exeext
42939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42940 (eval $ac_link) 2>conftest.er1
42941 ac_status=$?
42942 grep -v '^ *+' conftest.er1 >conftest.err
42943 rm -f conftest.er1
42944 cat conftest.err >&5
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); } &&
42947 { ac_try='test -z "$ac_c_werror_flag"
42948 || test ! -s conftest.err'
42949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42950 (eval $ac_try) 2>&5
42951 ac_status=$?
42952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953 (exit $ac_status); }; } &&
42954 { ac_try='test -s conftest$ac_exeext'
42955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42956 (eval $ac_try) 2>&5
42957 ac_status=$?
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); }; }; then
42960 eval "$as_ac_var=yes"
42961 else
42962 echo "$as_me: failed program was:" >&5
42963 sed 's/^/| /' conftest.$ac_ext >&5
42965 eval "$as_ac_var=no"
42967 rm -f conftest.err conftest.$ac_objext \
42968 conftest$ac_exeext conftest.$ac_ext
42970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42972 if test `eval echo '${'$as_ac_var'}'` = yes; then
42973 cat >>confdefs.h <<_ACEOF
42974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42975 _ACEOF
42978 done
42985 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42986 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42987 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42988 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
42989 echo $ECHO_N "(cached) $ECHO_C" >&6
42990 else
42994 ac_ext=cc
42995 ac_cpp='$CXXCPP $CPPFLAGS'
42996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43000 cat >conftest.$ac_ext <<_ACEOF
43001 /* confdefs.h. */
43002 _ACEOF
43003 cat confdefs.h >>conftest.$ac_ext
43004 cat >>conftest.$ac_ext <<_ACEOF
43005 /* end confdefs.h. */
43006 #include <math.h>
43007 #ifdef HAVE_IEEEFP_H
43008 #include <ieeefp.h>
43009 #endif
43012 main ()
43014 fabsl(0);
43016 return 0;
43018 _ACEOF
43019 rm -f conftest.$ac_objext
43020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43021 (eval $ac_compile) 2>conftest.er1
43022 ac_status=$?
43023 grep -v '^ *+' conftest.er1 >conftest.err
43024 rm -f conftest.er1
43025 cat conftest.err >&5
43026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027 (exit $ac_status); } &&
43028 { ac_try='test -z "$ac_cxx_werror_flag"
43029 || test ! -s conftest.err'
43030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43031 (eval $ac_try) 2>&5
43032 ac_status=$?
43033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43034 (exit $ac_status); }; } &&
43035 { ac_try='test -s conftest.$ac_objext'
43036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43037 (eval $ac_try) 2>&5
43038 ac_status=$?
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); }; }; then
43041 glibcxx_cv_func_fabsl_use=yes
43042 else
43043 echo "$as_me: failed program was:" >&5
43044 sed 's/^/| /' conftest.$ac_ext >&5
43046 glibcxx_cv_func_fabsl_use=no
43048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43049 ac_ext=c
43050 ac_cpp='$CPP $CPPFLAGS'
43051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43060 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43062 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43064 for ac_func in fabsl
43066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43067 echo "$as_me:$LINENO: checking for $ac_func" >&5
43068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43069 if eval "test \"\${$as_ac_var+set}\" = set"; then
43070 echo $ECHO_N "(cached) $ECHO_C" >&6
43071 else
43072 if test x$gcc_no_link = xyes; then
43073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43075 { (exit 1); exit 1; }; }
43077 cat >conftest.$ac_ext <<_ACEOF
43078 /* confdefs.h. */
43079 _ACEOF
43080 cat confdefs.h >>conftest.$ac_ext
43081 cat >>conftest.$ac_ext <<_ACEOF
43082 /* end confdefs.h. */
43083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43085 #define $ac_func innocuous_$ac_func
43087 /* System header to define __stub macros and hopefully few prototypes,
43088 which can conflict with char $ac_func (); below.
43089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43090 <limits.h> exists even on freestanding compilers. */
43092 #ifdef __STDC__
43093 # include <limits.h>
43094 #else
43095 # include <assert.h>
43096 #endif
43098 #undef $ac_func
43100 /* Override any gcc2 internal prototype to avoid an error. */
43101 #ifdef __cplusplus
43102 extern "C"
43104 #endif
43105 /* We use char because int might match the return type of a gcc2
43106 builtin and then its argument prototype would still apply. */
43107 char $ac_func ();
43108 /* The GNU C library defines this for functions which it implements
43109 to always fail with ENOSYS. Some functions are actually named
43110 something starting with __ and the normal name is an alias. */
43111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43112 choke me
43113 #else
43114 char (*f) () = $ac_func;
43115 #endif
43116 #ifdef __cplusplus
43118 #endif
43121 main ()
43123 return f != $ac_func;
43125 return 0;
43127 _ACEOF
43128 rm -f conftest.$ac_objext conftest$ac_exeext
43129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43130 (eval $ac_link) 2>conftest.er1
43131 ac_status=$?
43132 grep -v '^ *+' conftest.er1 >conftest.err
43133 rm -f conftest.er1
43134 cat conftest.err >&5
43135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43136 (exit $ac_status); } &&
43137 { ac_try='test -z "$ac_c_werror_flag"
43138 || test ! -s conftest.err'
43139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43140 (eval $ac_try) 2>&5
43141 ac_status=$?
43142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43143 (exit $ac_status); }; } &&
43144 { ac_try='test -s conftest$ac_exeext'
43145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43146 (eval $ac_try) 2>&5
43147 ac_status=$?
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); }; }; then
43150 eval "$as_ac_var=yes"
43151 else
43152 echo "$as_me: failed program was:" >&5
43153 sed 's/^/| /' conftest.$ac_ext >&5
43155 eval "$as_ac_var=no"
43157 rm -f conftest.err conftest.$ac_objext \
43158 conftest$ac_exeext conftest.$ac_ext
43160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43162 if test `eval echo '${'$as_ac_var'}'` = yes; then
43163 cat >>confdefs.h <<_ACEOF
43164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43165 _ACEOF
43168 done
43170 else
43172 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43173 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43174 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43175 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43176 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 else
43181 ac_ext=cc
43182 ac_cpp='$CXXCPP $CPPFLAGS'
43183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43187 cat >conftest.$ac_ext <<_ACEOF
43188 /* confdefs.h. */
43189 _ACEOF
43190 cat confdefs.h >>conftest.$ac_ext
43191 cat >>conftest.$ac_ext <<_ACEOF
43192 /* end confdefs.h. */
43193 #include <math.h>
43194 #ifdef HAVE_IEEEFP_H
43195 #include <ieeefp.h>
43196 #endif
43199 main ()
43201 _fabsl(0);
43203 return 0;
43205 _ACEOF
43206 rm -f conftest.$ac_objext
43207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43208 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fabsl_use=yes
43229 else
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43233 glibcxx_cv_func__fabsl_use=no
43235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43236 ac_ext=c
43237 ac_cpp='$CPP $CPPFLAGS'
43238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43247 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43249 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43251 for ac_func in _fabsl
43253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43254 echo "$as_me:$LINENO: checking for $ac_func" >&5
43255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43256 if eval "test \"\${$as_ac_var+set}\" = set"; then
43257 echo $ECHO_N "(cached) $ECHO_C" >&6
43258 else
43259 if test x$gcc_no_link = xyes; then
43260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43262 { (exit 1); exit 1; }; }
43264 cat >conftest.$ac_ext <<_ACEOF
43265 /* confdefs.h. */
43266 _ACEOF
43267 cat confdefs.h >>conftest.$ac_ext
43268 cat >>conftest.$ac_ext <<_ACEOF
43269 /* end confdefs.h. */
43270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43272 #define $ac_func innocuous_$ac_func
43274 /* System header to define __stub macros and hopefully few prototypes,
43275 which can conflict with char $ac_func (); below.
43276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43277 <limits.h> exists even on freestanding compilers. */
43279 #ifdef __STDC__
43280 # include <limits.h>
43281 #else
43282 # include <assert.h>
43283 #endif
43285 #undef $ac_func
43287 /* Override any gcc2 internal prototype to avoid an error. */
43288 #ifdef __cplusplus
43289 extern "C"
43291 #endif
43292 /* We use char because int might match the return type of a gcc2
43293 builtin and then its argument prototype would still apply. */
43294 char $ac_func ();
43295 /* The GNU C library defines this for functions which it implements
43296 to always fail with ENOSYS. Some functions are actually named
43297 something starting with __ and the normal name is an alias. */
43298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43299 choke me
43300 #else
43301 char (*f) () = $ac_func;
43302 #endif
43303 #ifdef __cplusplus
43305 #endif
43308 main ()
43310 return f != $ac_func;
43312 return 0;
43314 _ACEOF
43315 rm -f conftest.$ac_objext conftest$ac_exeext
43316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43317 (eval $ac_link) 2>conftest.er1
43318 ac_status=$?
43319 grep -v '^ *+' conftest.er1 >conftest.err
43320 rm -f conftest.er1
43321 cat conftest.err >&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } &&
43324 { ac_try='test -z "$ac_c_werror_flag"
43325 || test ! -s conftest.err'
43326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43327 (eval $ac_try) 2>&5
43328 ac_status=$?
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); }; } &&
43331 { ac_try='test -s conftest$ac_exeext'
43332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43333 (eval $ac_try) 2>&5
43334 ac_status=$?
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); }; }; then
43337 eval "$as_ac_var=yes"
43338 else
43339 echo "$as_me: failed program was:" >&5
43340 sed 's/^/| /' conftest.$ac_ext >&5
43342 eval "$as_ac_var=no"
43344 rm -f conftest.err conftest.$ac_objext \
43345 conftest$ac_exeext conftest.$ac_ext
43347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43349 if test `eval echo '${'$as_ac_var'}'` = yes; then
43350 cat >>confdefs.h <<_ACEOF
43351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43352 _ACEOF
43355 done
43362 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43363 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43364 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43365 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43366 echo $ECHO_N "(cached) $ECHO_C" >&6
43367 else
43371 ac_ext=cc
43372 ac_cpp='$CXXCPP $CPPFLAGS'
43373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43377 cat >conftest.$ac_ext <<_ACEOF
43378 /* confdefs.h. */
43379 _ACEOF
43380 cat confdefs.h >>conftest.$ac_ext
43381 cat >>conftest.$ac_ext <<_ACEOF
43382 /* end confdefs.h. */
43383 #include <math.h>
43385 main ()
43387 fmodl(0, 0);
43389 return 0;
43391 _ACEOF
43392 rm -f conftest.$ac_objext
43393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43394 (eval $ac_compile) 2>conftest.er1
43395 ac_status=$?
43396 grep -v '^ *+' conftest.er1 >conftest.err
43397 rm -f conftest.er1
43398 cat conftest.err >&5
43399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43400 (exit $ac_status); } &&
43401 { ac_try='test -z "$ac_cxx_werror_flag"
43402 || test ! -s conftest.err'
43403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43404 (eval $ac_try) 2>&5
43405 ac_status=$?
43406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43407 (exit $ac_status); }; } &&
43408 { ac_try='test -s conftest.$ac_objext'
43409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43410 (eval $ac_try) 2>&5
43411 ac_status=$?
43412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43413 (exit $ac_status); }; }; then
43414 glibcxx_cv_func_fmodl_use=yes
43415 else
43416 echo "$as_me: failed program was:" >&5
43417 sed 's/^/| /' conftest.$ac_ext >&5
43419 glibcxx_cv_func_fmodl_use=no
43421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43422 ac_ext=c
43423 ac_cpp='$CPP $CPPFLAGS'
43424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43433 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43435 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43437 for ac_func in fmodl
43439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43440 echo "$as_me:$LINENO: checking for $ac_func" >&5
43441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43442 if eval "test \"\${$as_ac_var+set}\" = set"; then
43443 echo $ECHO_N "(cached) $ECHO_C" >&6
43444 else
43445 if test x$gcc_no_link = xyes; then
43446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43448 { (exit 1); exit 1; }; }
43450 cat >conftest.$ac_ext <<_ACEOF
43451 /* confdefs.h. */
43452 _ACEOF
43453 cat confdefs.h >>conftest.$ac_ext
43454 cat >>conftest.$ac_ext <<_ACEOF
43455 /* end confdefs.h. */
43456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43458 #define $ac_func innocuous_$ac_func
43460 /* System header to define __stub macros and hopefully few prototypes,
43461 which can conflict with char $ac_func (); below.
43462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43463 <limits.h> exists even on freestanding compilers. */
43465 #ifdef __STDC__
43466 # include <limits.h>
43467 #else
43468 # include <assert.h>
43469 #endif
43471 #undef $ac_func
43473 /* Override any gcc2 internal prototype to avoid an error. */
43474 #ifdef __cplusplus
43475 extern "C"
43477 #endif
43478 /* We use char because int might match the return type of a gcc2
43479 builtin and then its argument prototype would still apply. */
43480 char $ac_func ();
43481 /* The GNU C library defines this for functions which it implements
43482 to always fail with ENOSYS. Some functions are actually named
43483 something starting with __ and the normal name is an alias. */
43484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43485 choke me
43486 #else
43487 char (*f) () = $ac_func;
43488 #endif
43489 #ifdef __cplusplus
43491 #endif
43494 main ()
43496 return f != $ac_func;
43498 return 0;
43500 _ACEOF
43501 rm -f conftest.$ac_objext conftest$ac_exeext
43502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43503 (eval $ac_link) 2>conftest.er1
43504 ac_status=$?
43505 grep -v '^ *+' conftest.er1 >conftest.err
43506 rm -f conftest.er1
43507 cat conftest.err >&5
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); } &&
43510 { ac_try='test -z "$ac_c_werror_flag"
43511 || test ! -s conftest.err'
43512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43513 (eval $ac_try) 2>&5
43514 ac_status=$?
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); }; } &&
43517 { ac_try='test -s conftest$ac_exeext'
43518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43519 (eval $ac_try) 2>&5
43520 ac_status=$?
43521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522 (exit $ac_status); }; }; then
43523 eval "$as_ac_var=yes"
43524 else
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43528 eval "$as_ac_var=no"
43530 rm -f conftest.err conftest.$ac_objext \
43531 conftest$ac_exeext conftest.$ac_ext
43533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43535 if test `eval echo '${'$as_ac_var'}'` = yes; then
43536 cat >>confdefs.h <<_ACEOF
43537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43538 _ACEOF
43541 done
43543 else
43545 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43546 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43547 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43548 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43549 echo $ECHO_N "(cached) $ECHO_C" >&6
43550 else
43554 ac_ext=cc
43555 ac_cpp='$CXXCPP $CPPFLAGS'
43556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43560 cat >conftest.$ac_ext <<_ACEOF
43561 /* confdefs.h. */
43562 _ACEOF
43563 cat confdefs.h >>conftest.$ac_ext
43564 cat >>conftest.$ac_ext <<_ACEOF
43565 /* end confdefs.h. */
43566 #include <math.h>
43568 main ()
43570 _fmodl(0, 0);
43572 return 0;
43574 _ACEOF
43575 rm -f conftest.$ac_objext
43576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43577 (eval $ac_compile) 2>conftest.er1
43578 ac_status=$?
43579 grep -v '^ *+' conftest.er1 >conftest.err
43580 rm -f conftest.er1
43581 cat conftest.err >&5
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); } &&
43584 { ac_try='test -z "$ac_cxx_werror_flag"
43585 || test ! -s conftest.err'
43586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43587 (eval $ac_try) 2>&5
43588 ac_status=$?
43589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43590 (exit $ac_status); }; } &&
43591 { ac_try='test -s conftest.$ac_objext'
43592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43593 (eval $ac_try) 2>&5
43594 ac_status=$?
43595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43596 (exit $ac_status); }; }; then
43597 glibcxx_cv_func__fmodl_use=yes
43598 else
43599 echo "$as_me: failed program was:" >&5
43600 sed 's/^/| /' conftest.$ac_ext >&5
43602 glibcxx_cv_func__fmodl_use=no
43604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43605 ac_ext=c
43606 ac_cpp='$CPP $CPPFLAGS'
43607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43616 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43618 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43620 for ac_func in _fmodl
43622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43623 echo "$as_me:$LINENO: checking for $ac_func" >&5
43624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43625 if eval "test \"\${$as_ac_var+set}\" = set"; then
43626 echo $ECHO_N "(cached) $ECHO_C" >&6
43627 else
43628 if test x$gcc_no_link = xyes; then
43629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43631 { (exit 1); exit 1; }; }
43633 cat >conftest.$ac_ext <<_ACEOF
43634 /* confdefs.h. */
43635 _ACEOF
43636 cat confdefs.h >>conftest.$ac_ext
43637 cat >>conftest.$ac_ext <<_ACEOF
43638 /* end confdefs.h. */
43639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43641 #define $ac_func innocuous_$ac_func
43643 /* System header to define __stub macros and hopefully few prototypes,
43644 which can conflict with char $ac_func (); below.
43645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43646 <limits.h> exists even on freestanding compilers. */
43648 #ifdef __STDC__
43649 # include <limits.h>
43650 #else
43651 # include <assert.h>
43652 #endif
43654 #undef $ac_func
43656 /* Override any gcc2 internal prototype to avoid an error. */
43657 #ifdef __cplusplus
43658 extern "C"
43660 #endif
43661 /* We use char because int might match the return type of a gcc2
43662 builtin and then its argument prototype would still apply. */
43663 char $ac_func ();
43664 /* The GNU C library defines this for functions which it implements
43665 to always fail with ENOSYS. Some functions are actually named
43666 something starting with __ and the normal name is an alias. */
43667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43668 choke me
43669 #else
43670 char (*f) () = $ac_func;
43671 #endif
43672 #ifdef __cplusplus
43674 #endif
43677 main ()
43679 return f != $ac_func;
43681 return 0;
43683 _ACEOF
43684 rm -f conftest.$ac_objext conftest$ac_exeext
43685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43686 (eval $ac_link) 2>conftest.er1
43687 ac_status=$?
43688 grep -v '^ *+' conftest.er1 >conftest.err
43689 rm -f conftest.er1
43690 cat conftest.err >&5
43691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43692 (exit $ac_status); } &&
43693 { ac_try='test -z "$ac_c_werror_flag"
43694 || test ! -s conftest.err'
43695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43696 (eval $ac_try) 2>&5
43697 ac_status=$?
43698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43699 (exit $ac_status); }; } &&
43700 { ac_try='test -s conftest$ac_exeext'
43701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43702 (eval $ac_try) 2>&5
43703 ac_status=$?
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); }; }; then
43706 eval "$as_ac_var=yes"
43707 else
43708 echo "$as_me: failed program was:" >&5
43709 sed 's/^/| /' conftest.$ac_ext >&5
43711 eval "$as_ac_var=no"
43713 rm -f conftest.err conftest.$ac_objext \
43714 conftest$ac_exeext conftest.$ac_ext
43716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43718 if test `eval echo '${'$as_ac_var'}'` = yes; then
43719 cat >>confdefs.h <<_ACEOF
43720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43721 _ACEOF
43724 done
43731 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43732 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43733 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43734 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43735 echo $ECHO_N "(cached) $ECHO_C" >&6
43736 else
43740 ac_ext=cc
43741 ac_cpp='$CXXCPP $CPPFLAGS'
43742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43746 cat >conftest.$ac_ext <<_ACEOF
43747 /* confdefs.h. */
43748 _ACEOF
43749 cat confdefs.h >>conftest.$ac_ext
43750 cat >>conftest.$ac_ext <<_ACEOF
43751 /* end confdefs.h. */
43752 #include <math.h>
43754 main ()
43756 frexpl(0, 0);
43758 return 0;
43760 _ACEOF
43761 rm -f conftest.$ac_objext
43762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43763 (eval $ac_compile) 2>conftest.er1
43764 ac_status=$?
43765 grep -v '^ *+' conftest.er1 >conftest.err
43766 rm -f conftest.er1
43767 cat conftest.err >&5
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); } &&
43770 { ac_try='test -z "$ac_cxx_werror_flag"
43771 || test ! -s conftest.err'
43772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43773 (eval $ac_try) 2>&5
43774 ac_status=$?
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); }; } &&
43777 { ac_try='test -s conftest.$ac_objext'
43778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779 (eval $ac_try) 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; }; then
43783 glibcxx_cv_func_frexpl_use=yes
43784 else
43785 echo "$as_me: failed program was:" >&5
43786 sed 's/^/| /' conftest.$ac_ext >&5
43788 glibcxx_cv_func_frexpl_use=no
43790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43791 ac_ext=c
43792 ac_cpp='$CPP $CPPFLAGS'
43793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43802 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43804 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43806 for ac_func in frexpl
43808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43809 echo "$as_me:$LINENO: checking for $ac_func" >&5
43810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43811 if eval "test \"\${$as_ac_var+set}\" = set"; then
43812 echo $ECHO_N "(cached) $ECHO_C" >&6
43813 else
43814 if test x$gcc_no_link = xyes; then
43815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43817 { (exit 1); exit 1; }; }
43819 cat >conftest.$ac_ext <<_ACEOF
43820 /* confdefs.h. */
43821 _ACEOF
43822 cat confdefs.h >>conftest.$ac_ext
43823 cat >>conftest.$ac_ext <<_ACEOF
43824 /* end confdefs.h. */
43825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43827 #define $ac_func innocuous_$ac_func
43829 /* System header to define __stub macros and hopefully few prototypes,
43830 which can conflict with char $ac_func (); below.
43831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43832 <limits.h> exists even on freestanding compilers. */
43834 #ifdef __STDC__
43835 # include <limits.h>
43836 #else
43837 # include <assert.h>
43838 #endif
43840 #undef $ac_func
43842 /* Override any gcc2 internal prototype to avoid an error. */
43843 #ifdef __cplusplus
43844 extern "C"
43846 #endif
43847 /* We use char because int might match the return type of a gcc2
43848 builtin and then its argument prototype would still apply. */
43849 char $ac_func ();
43850 /* The GNU C library defines this for functions which it implements
43851 to always fail with ENOSYS. Some functions are actually named
43852 something starting with __ and the normal name is an alias. */
43853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43854 choke me
43855 #else
43856 char (*f) () = $ac_func;
43857 #endif
43858 #ifdef __cplusplus
43860 #endif
43863 main ()
43865 return f != $ac_func;
43867 return 0;
43869 _ACEOF
43870 rm -f conftest.$ac_objext conftest$ac_exeext
43871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43872 (eval $ac_link) 2>conftest.er1
43873 ac_status=$?
43874 grep -v '^ *+' conftest.er1 >conftest.err
43875 rm -f conftest.er1
43876 cat conftest.err >&5
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); } &&
43879 { ac_try='test -z "$ac_c_werror_flag"
43880 || test ! -s conftest.err'
43881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43882 (eval $ac_try) 2>&5
43883 ac_status=$?
43884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43885 (exit $ac_status); }; } &&
43886 { ac_try='test -s conftest$ac_exeext'
43887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43888 (eval $ac_try) 2>&5
43889 ac_status=$?
43890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43891 (exit $ac_status); }; }; then
43892 eval "$as_ac_var=yes"
43893 else
43894 echo "$as_me: failed program was:" >&5
43895 sed 's/^/| /' conftest.$ac_ext >&5
43897 eval "$as_ac_var=no"
43899 rm -f conftest.err conftest.$ac_objext \
43900 conftest$ac_exeext conftest.$ac_ext
43902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43904 if test `eval echo '${'$as_ac_var'}'` = yes; then
43905 cat >>confdefs.h <<_ACEOF
43906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43907 _ACEOF
43910 done
43912 else
43914 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43915 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43916 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43917 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43918 echo $ECHO_N "(cached) $ECHO_C" >&6
43919 else
43923 ac_ext=cc
43924 ac_cpp='$CXXCPP $CPPFLAGS'
43925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43929 cat >conftest.$ac_ext <<_ACEOF
43930 /* confdefs.h. */
43931 _ACEOF
43932 cat confdefs.h >>conftest.$ac_ext
43933 cat >>conftest.$ac_ext <<_ACEOF
43934 /* end confdefs.h. */
43935 #include <math.h>
43937 main ()
43939 _frexpl(0, 0);
43941 return 0;
43943 _ACEOF
43944 rm -f conftest.$ac_objext
43945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43946 (eval $ac_compile) 2>conftest.er1
43947 ac_status=$?
43948 grep -v '^ *+' conftest.er1 >conftest.err
43949 rm -f conftest.er1
43950 cat conftest.err >&5
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); } &&
43953 { ac_try='test -z "$ac_cxx_werror_flag"
43954 || test ! -s conftest.err'
43955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43956 (eval $ac_try) 2>&5
43957 ac_status=$?
43958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43959 (exit $ac_status); }; } &&
43960 { ac_try='test -s conftest.$ac_objext'
43961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43962 (eval $ac_try) 2>&5
43963 ac_status=$?
43964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43965 (exit $ac_status); }; }; then
43966 glibcxx_cv_func__frexpl_use=yes
43967 else
43968 echo "$as_me: failed program was:" >&5
43969 sed 's/^/| /' conftest.$ac_ext >&5
43971 glibcxx_cv_func__frexpl_use=no
43973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43974 ac_ext=c
43975 ac_cpp='$CPP $CPPFLAGS'
43976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
43985 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43987 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43989 for ac_func in _frexpl
43991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43992 echo "$as_me:$LINENO: checking for $ac_func" >&5
43993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43994 if eval "test \"\${$as_ac_var+set}\" = set"; then
43995 echo $ECHO_N "(cached) $ECHO_C" >&6
43996 else
43997 if test x$gcc_no_link = xyes; then
43998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44000 { (exit 1); exit 1; }; }
44002 cat >conftest.$ac_ext <<_ACEOF
44003 /* confdefs.h. */
44004 _ACEOF
44005 cat confdefs.h >>conftest.$ac_ext
44006 cat >>conftest.$ac_ext <<_ACEOF
44007 /* end confdefs.h. */
44008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44010 #define $ac_func innocuous_$ac_func
44012 /* System header to define __stub macros and hopefully few prototypes,
44013 which can conflict with char $ac_func (); below.
44014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44015 <limits.h> exists even on freestanding compilers. */
44017 #ifdef __STDC__
44018 # include <limits.h>
44019 #else
44020 # include <assert.h>
44021 #endif
44023 #undef $ac_func
44025 /* Override any gcc2 internal prototype to avoid an error. */
44026 #ifdef __cplusplus
44027 extern "C"
44029 #endif
44030 /* We use char because int might match the return type of a gcc2
44031 builtin and then its argument prototype would still apply. */
44032 char $ac_func ();
44033 /* The GNU C library defines this for functions which it implements
44034 to always fail with ENOSYS. Some functions are actually named
44035 something starting with __ and the normal name is an alias. */
44036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44037 choke me
44038 #else
44039 char (*f) () = $ac_func;
44040 #endif
44041 #ifdef __cplusplus
44043 #endif
44046 main ()
44048 return f != $ac_func;
44050 return 0;
44052 _ACEOF
44053 rm -f conftest.$ac_objext conftest$ac_exeext
44054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44055 (eval $ac_link) 2>conftest.er1
44056 ac_status=$?
44057 grep -v '^ *+' conftest.er1 >conftest.err
44058 rm -f conftest.er1
44059 cat conftest.err >&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } &&
44062 { ac_try='test -z "$ac_c_werror_flag"
44063 || test ! -s conftest.err'
44064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44065 (eval $ac_try) 2>&5
44066 ac_status=$?
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); }; } &&
44069 { ac_try='test -s conftest$ac_exeext'
44070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44071 (eval $ac_try) 2>&5
44072 ac_status=$?
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); }; }; then
44075 eval "$as_ac_var=yes"
44076 else
44077 echo "$as_me: failed program was:" >&5
44078 sed 's/^/| /' conftest.$ac_ext >&5
44080 eval "$as_ac_var=no"
44082 rm -f conftest.err conftest.$ac_objext \
44083 conftest$ac_exeext conftest.$ac_ext
44085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44087 if test `eval echo '${'$as_ac_var'}'` = yes; then
44088 cat >>confdefs.h <<_ACEOF
44089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44090 _ACEOF
44093 done
44100 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44101 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44102 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44103 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44104 echo $ECHO_N "(cached) $ECHO_C" >&6
44105 else
44109 ac_ext=cc
44110 ac_cpp='$CXXCPP $CPPFLAGS'
44111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44115 cat >conftest.$ac_ext <<_ACEOF
44116 /* confdefs.h. */
44117 _ACEOF
44118 cat confdefs.h >>conftest.$ac_ext
44119 cat >>conftest.$ac_ext <<_ACEOF
44120 /* end confdefs.h. */
44121 #include <math.h>
44123 main ()
44125 hypotl(0, 0);
44127 return 0;
44129 _ACEOF
44130 rm -f conftest.$ac_objext
44131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44132 (eval $ac_compile) 2>conftest.er1
44133 ac_status=$?
44134 grep -v '^ *+' conftest.er1 >conftest.err
44135 rm -f conftest.er1
44136 cat conftest.err >&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); } &&
44139 { ac_try='test -z "$ac_cxx_werror_flag"
44140 || test ! -s conftest.err'
44141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44142 (eval $ac_try) 2>&5
44143 ac_status=$?
44144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145 (exit $ac_status); }; } &&
44146 { ac_try='test -s conftest.$ac_objext'
44147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44148 (eval $ac_try) 2>&5
44149 ac_status=$?
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); }; }; then
44152 glibcxx_cv_func_hypotl_use=yes
44153 else
44154 echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44157 glibcxx_cv_func_hypotl_use=no
44159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44160 ac_ext=c
44161 ac_cpp='$CPP $CPPFLAGS'
44162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44171 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44173 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44175 for ac_func in hypotl
44177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44178 echo "$as_me:$LINENO: checking for $ac_func" >&5
44179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44180 if eval "test \"\${$as_ac_var+set}\" = set"; then
44181 echo $ECHO_N "(cached) $ECHO_C" >&6
44182 else
44183 if test x$gcc_no_link = xyes; then
44184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44186 { (exit 1); exit 1; }; }
44188 cat >conftest.$ac_ext <<_ACEOF
44189 /* confdefs.h. */
44190 _ACEOF
44191 cat confdefs.h >>conftest.$ac_ext
44192 cat >>conftest.$ac_ext <<_ACEOF
44193 /* end confdefs.h. */
44194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44196 #define $ac_func innocuous_$ac_func
44198 /* System header to define __stub macros and hopefully few prototypes,
44199 which can conflict with char $ac_func (); below.
44200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44201 <limits.h> exists even on freestanding compilers. */
44203 #ifdef __STDC__
44204 # include <limits.h>
44205 #else
44206 # include <assert.h>
44207 #endif
44209 #undef $ac_func
44211 /* Override any gcc2 internal prototype to avoid an error. */
44212 #ifdef __cplusplus
44213 extern "C"
44215 #endif
44216 /* We use char because int might match the return type of a gcc2
44217 builtin and then its argument prototype would still apply. */
44218 char $ac_func ();
44219 /* The GNU C library defines this for functions which it implements
44220 to always fail with ENOSYS. Some functions are actually named
44221 something starting with __ and the normal name is an alias. */
44222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44223 choke me
44224 #else
44225 char (*f) () = $ac_func;
44226 #endif
44227 #ifdef __cplusplus
44229 #endif
44232 main ()
44234 return f != $ac_func;
44236 return 0;
44238 _ACEOF
44239 rm -f conftest.$ac_objext conftest$ac_exeext
44240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44241 (eval $ac_link) 2>conftest.er1
44242 ac_status=$?
44243 grep -v '^ *+' conftest.er1 >conftest.err
44244 rm -f conftest.er1
44245 cat conftest.err >&5
44246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44247 (exit $ac_status); } &&
44248 { ac_try='test -z "$ac_c_werror_flag"
44249 || test ! -s conftest.err'
44250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44251 (eval $ac_try) 2>&5
44252 ac_status=$?
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); }; } &&
44255 { ac_try='test -s conftest$ac_exeext'
44256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44257 (eval $ac_try) 2>&5
44258 ac_status=$?
44259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44260 (exit $ac_status); }; }; then
44261 eval "$as_ac_var=yes"
44262 else
44263 echo "$as_me: failed program was:" >&5
44264 sed 's/^/| /' conftest.$ac_ext >&5
44266 eval "$as_ac_var=no"
44268 rm -f conftest.err conftest.$ac_objext \
44269 conftest$ac_exeext conftest.$ac_ext
44271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44273 if test `eval echo '${'$as_ac_var'}'` = yes; then
44274 cat >>confdefs.h <<_ACEOF
44275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44276 _ACEOF
44279 done
44281 else
44283 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44284 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44285 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44286 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44287 echo $ECHO_N "(cached) $ECHO_C" >&6
44288 else
44292 ac_ext=cc
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44298 cat >conftest.$ac_ext <<_ACEOF
44299 /* confdefs.h. */
44300 _ACEOF
44301 cat confdefs.h >>conftest.$ac_ext
44302 cat >>conftest.$ac_ext <<_ACEOF
44303 /* end confdefs.h. */
44304 #include <math.h>
44306 main ()
44308 _hypotl(0, 0);
44310 return 0;
44312 _ACEOF
44313 rm -f conftest.$ac_objext
44314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44315 (eval $ac_compile) 2>conftest.er1
44316 ac_status=$?
44317 grep -v '^ *+' conftest.er1 >conftest.err
44318 rm -f conftest.er1
44319 cat conftest.err >&5
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); } &&
44322 { ac_try='test -z "$ac_cxx_werror_flag"
44323 || test ! -s conftest.err'
44324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325 (eval $ac_try) 2>&5
44326 ac_status=$?
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); }; } &&
44329 { ac_try='test -s conftest.$ac_objext'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44332 ac_status=$?
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; }; then
44335 glibcxx_cv_func__hypotl_use=yes
44336 else
44337 echo "$as_me: failed program was:" >&5
44338 sed 's/^/| /' conftest.$ac_ext >&5
44340 glibcxx_cv_func__hypotl_use=no
44342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44343 ac_ext=c
44344 ac_cpp='$CPP $CPPFLAGS'
44345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44354 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44356 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44358 for ac_func in _hypotl
44360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44361 echo "$as_me:$LINENO: checking for $ac_func" >&5
44362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44363 if eval "test \"\${$as_ac_var+set}\" = set"; then
44364 echo $ECHO_N "(cached) $ECHO_C" >&6
44365 else
44366 if test x$gcc_no_link = xyes; then
44367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44369 { (exit 1); exit 1; }; }
44371 cat >conftest.$ac_ext <<_ACEOF
44372 /* confdefs.h. */
44373 _ACEOF
44374 cat confdefs.h >>conftest.$ac_ext
44375 cat >>conftest.$ac_ext <<_ACEOF
44376 /* end confdefs.h. */
44377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44379 #define $ac_func innocuous_$ac_func
44381 /* System header to define __stub macros and hopefully few prototypes,
44382 which can conflict with char $ac_func (); below.
44383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44384 <limits.h> exists even on freestanding compilers. */
44386 #ifdef __STDC__
44387 # include <limits.h>
44388 #else
44389 # include <assert.h>
44390 #endif
44392 #undef $ac_func
44394 /* Override any gcc2 internal prototype to avoid an error. */
44395 #ifdef __cplusplus
44396 extern "C"
44398 #endif
44399 /* We use char because int might match the return type of a gcc2
44400 builtin and then its argument prototype would still apply. */
44401 char $ac_func ();
44402 /* The GNU C library defines this for functions which it implements
44403 to always fail with ENOSYS. Some functions are actually named
44404 something starting with __ and the normal name is an alias. */
44405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44406 choke me
44407 #else
44408 char (*f) () = $ac_func;
44409 #endif
44410 #ifdef __cplusplus
44412 #endif
44415 main ()
44417 return f != $ac_func;
44419 return 0;
44421 _ACEOF
44422 rm -f conftest.$ac_objext conftest$ac_exeext
44423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44424 (eval $ac_link) 2>conftest.er1
44425 ac_status=$?
44426 grep -v '^ *+' conftest.er1 >conftest.err
44427 rm -f conftest.er1
44428 cat conftest.err >&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } &&
44431 { ac_try='test -z "$ac_c_werror_flag"
44432 || test ! -s conftest.err'
44433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44434 (eval $ac_try) 2>&5
44435 ac_status=$?
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); }; } &&
44438 { ac_try='test -s conftest$ac_exeext'
44439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44440 (eval $ac_try) 2>&5
44441 ac_status=$?
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); }; }; then
44444 eval "$as_ac_var=yes"
44445 else
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.$ac_ext >&5
44449 eval "$as_ac_var=no"
44451 rm -f conftest.err conftest.$ac_objext \
44452 conftest$ac_exeext conftest.$ac_ext
44454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44456 if test `eval echo '${'$as_ac_var'}'` = yes; then
44457 cat >>confdefs.h <<_ACEOF
44458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44459 _ACEOF
44462 done
44469 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44470 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44471 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44472 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44473 echo $ECHO_N "(cached) $ECHO_C" >&6
44474 else
44478 ac_ext=cc
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44484 cat >conftest.$ac_ext <<_ACEOF
44485 /* confdefs.h. */
44486 _ACEOF
44487 cat confdefs.h >>conftest.$ac_ext
44488 cat >>conftest.$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44490 #include <math.h>
44492 main ()
44494 ldexpl(0, 0);
44496 return 0;
44498 _ACEOF
44499 rm -f conftest.$ac_objext
44500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44501 (eval $ac_compile) 2>conftest.er1
44502 ac_status=$?
44503 grep -v '^ *+' conftest.er1 >conftest.err
44504 rm -f conftest.er1
44505 cat conftest.err >&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } &&
44508 { ac_try='test -z "$ac_cxx_werror_flag"
44509 || test ! -s conftest.err'
44510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511 (eval $ac_try) 2>&5
44512 ac_status=$?
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); }; } &&
44515 { ac_try='test -s conftest.$ac_objext'
44516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44517 (eval $ac_try) 2>&5
44518 ac_status=$?
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); }; }; then
44521 glibcxx_cv_func_ldexpl_use=yes
44522 else
44523 echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.$ac_ext >&5
44526 glibcxx_cv_func_ldexpl_use=no
44528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44529 ac_ext=c
44530 ac_cpp='$CPP $CPPFLAGS'
44531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44539 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44540 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44542 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44544 for ac_func in ldexpl
44546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44547 echo "$as_me:$LINENO: checking for $ac_func" >&5
44548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44549 if eval "test \"\${$as_ac_var+set}\" = set"; then
44550 echo $ECHO_N "(cached) $ECHO_C" >&6
44551 else
44552 if test x$gcc_no_link = xyes; then
44553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44555 { (exit 1); exit 1; }; }
44557 cat >conftest.$ac_ext <<_ACEOF
44558 /* confdefs.h. */
44559 _ACEOF
44560 cat confdefs.h >>conftest.$ac_ext
44561 cat >>conftest.$ac_ext <<_ACEOF
44562 /* end confdefs.h. */
44563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44565 #define $ac_func innocuous_$ac_func
44567 /* System header to define __stub macros and hopefully few prototypes,
44568 which can conflict with char $ac_func (); below.
44569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44570 <limits.h> exists even on freestanding compilers. */
44572 #ifdef __STDC__
44573 # include <limits.h>
44574 #else
44575 # include <assert.h>
44576 #endif
44578 #undef $ac_func
44580 /* Override any gcc2 internal prototype to avoid an error. */
44581 #ifdef __cplusplus
44582 extern "C"
44584 #endif
44585 /* We use char because int might match the return type of a gcc2
44586 builtin and then its argument prototype would still apply. */
44587 char $ac_func ();
44588 /* The GNU C library defines this for functions which it implements
44589 to always fail with ENOSYS. Some functions are actually named
44590 something starting with __ and the normal name is an alias. */
44591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44592 choke me
44593 #else
44594 char (*f) () = $ac_func;
44595 #endif
44596 #ifdef __cplusplus
44598 #endif
44601 main ()
44603 return f != $ac_func;
44605 return 0;
44607 _ACEOF
44608 rm -f conftest.$ac_objext conftest$ac_exeext
44609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44610 (eval $ac_link) 2>conftest.er1
44611 ac_status=$?
44612 grep -v '^ *+' conftest.er1 >conftest.err
44613 rm -f conftest.er1
44614 cat conftest.err >&5
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); } &&
44617 { ac_try='test -z "$ac_c_werror_flag"
44618 || test ! -s conftest.err'
44619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44620 (eval $ac_try) 2>&5
44621 ac_status=$?
44622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623 (exit $ac_status); }; } &&
44624 { ac_try='test -s conftest$ac_exeext'
44625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44626 (eval $ac_try) 2>&5
44627 ac_status=$?
44628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629 (exit $ac_status); }; }; then
44630 eval "$as_ac_var=yes"
44631 else
44632 echo "$as_me: failed program was:" >&5
44633 sed 's/^/| /' conftest.$ac_ext >&5
44635 eval "$as_ac_var=no"
44637 rm -f conftest.err conftest.$ac_objext \
44638 conftest$ac_exeext conftest.$ac_ext
44640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44642 if test `eval echo '${'$as_ac_var'}'` = yes; then
44643 cat >>confdefs.h <<_ACEOF
44644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44645 _ACEOF
44648 done
44650 else
44652 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44653 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44654 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44655 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44656 echo $ECHO_N "(cached) $ECHO_C" >&6
44657 else
44661 ac_ext=cc
44662 ac_cpp='$CXXCPP $CPPFLAGS'
44663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44667 cat >conftest.$ac_ext <<_ACEOF
44668 /* confdefs.h. */
44669 _ACEOF
44670 cat confdefs.h >>conftest.$ac_ext
44671 cat >>conftest.$ac_ext <<_ACEOF
44672 /* end confdefs.h. */
44673 #include <math.h>
44675 main ()
44677 _ldexpl(0, 0);
44679 return 0;
44681 _ACEOF
44682 rm -f conftest.$ac_objext
44683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44684 (eval $ac_compile) 2>conftest.er1
44685 ac_status=$?
44686 grep -v '^ *+' conftest.er1 >conftest.err
44687 rm -f conftest.er1
44688 cat conftest.err >&5
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); } &&
44691 { ac_try='test -z "$ac_cxx_werror_flag"
44692 || test ! -s conftest.err'
44693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44694 (eval $ac_try) 2>&5
44695 ac_status=$?
44696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44697 (exit $ac_status); }; } &&
44698 { ac_try='test -s conftest.$ac_objext'
44699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44700 (eval $ac_try) 2>&5
44701 ac_status=$?
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); }; }; then
44704 glibcxx_cv_func__ldexpl_use=yes
44705 else
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.$ac_ext >&5
44709 glibcxx_cv_func__ldexpl_use=no
44711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44712 ac_ext=c
44713 ac_cpp='$CPP $CPPFLAGS'
44714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44723 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44725 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44727 for ac_func in _ldexpl
44729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44730 echo "$as_me:$LINENO: checking for $ac_func" >&5
44731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44732 if eval "test \"\${$as_ac_var+set}\" = set"; then
44733 echo $ECHO_N "(cached) $ECHO_C" >&6
44734 else
44735 if test x$gcc_no_link = xyes; then
44736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44738 { (exit 1); exit 1; }; }
44740 cat >conftest.$ac_ext <<_ACEOF
44741 /* confdefs.h. */
44742 _ACEOF
44743 cat confdefs.h >>conftest.$ac_ext
44744 cat >>conftest.$ac_ext <<_ACEOF
44745 /* end confdefs.h. */
44746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44748 #define $ac_func innocuous_$ac_func
44750 /* System header to define __stub macros and hopefully few prototypes,
44751 which can conflict with char $ac_func (); below.
44752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44753 <limits.h> exists even on freestanding compilers. */
44755 #ifdef __STDC__
44756 # include <limits.h>
44757 #else
44758 # include <assert.h>
44759 #endif
44761 #undef $ac_func
44763 /* Override any gcc2 internal prototype to avoid an error. */
44764 #ifdef __cplusplus
44765 extern "C"
44767 #endif
44768 /* We use char because int might match the return type of a gcc2
44769 builtin and then its argument prototype would still apply. */
44770 char $ac_func ();
44771 /* The GNU C library defines this for functions which it implements
44772 to always fail with ENOSYS. Some functions are actually named
44773 something starting with __ and the normal name is an alias. */
44774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44775 choke me
44776 #else
44777 char (*f) () = $ac_func;
44778 #endif
44779 #ifdef __cplusplus
44781 #endif
44784 main ()
44786 return f != $ac_func;
44788 return 0;
44790 _ACEOF
44791 rm -f conftest.$ac_objext conftest$ac_exeext
44792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44793 (eval $ac_link) 2>conftest.er1
44794 ac_status=$?
44795 grep -v '^ *+' conftest.er1 >conftest.err
44796 rm -f conftest.er1
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } &&
44800 { ac_try='test -z "$ac_c_werror_flag"
44801 || test ! -s conftest.err'
44802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44803 (eval $ac_try) 2>&5
44804 ac_status=$?
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); }; } &&
44807 { ac_try='test -s conftest$ac_exeext'
44808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44809 (eval $ac_try) 2>&5
44810 ac_status=$?
44811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812 (exit $ac_status); }; }; then
44813 eval "$as_ac_var=yes"
44814 else
44815 echo "$as_me: failed program was:" >&5
44816 sed 's/^/| /' conftest.$ac_ext >&5
44818 eval "$as_ac_var=no"
44820 rm -f conftest.err conftest.$ac_objext \
44821 conftest$ac_exeext conftest.$ac_ext
44823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44825 if test `eval echo '${'$as_ac_var'}'` = yes; then
44826 cat >>confdefs.h <<_ACEOF
44827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44828 _ACEOF
44831 done
44838 echo "$as_me:$LINENO: checking for logl declaration" >&5
44839 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44840 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44841 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44842 echo $ECHO_N "(cached) $ECHO_C" >&6
44843 else
44847 ac_ext=cc
44848 ac_cpp='$CXXCPP $CPPFLAGS'
44849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44853 cat >conftest.$ac_ext <<_ACEOF
44854 /* confdefs.h. */
44855 _ACEOF
44856 cat confdefs.h >>conftest.$ac_ext
44857 cat >>conftest.$ac_ext <<_ACEOF
44858 /* end confdefs.h. */
44859 #include <math.h>
44860 #ifdef HAVE_IEEEFP_H
44861 #include <ieeefp.h>
44862 #endif
44865 main ()
44867 logl(0);
44869 return 0;
44871 _ACEOF
44872 rm -f conftest.$ac_objext
44873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44874 (eval $ac_compile) 2>conftest.er1
44875 ac_status=$?
44876 grep -v '^ *+' conftest.er1 >conftest.err
44877 rm -f conftest.er1
44878 cat conftest.err >&5
44879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44880 (exit $ac_status); } &&
44881 { ac_try='test -z "$ac_cxx_werror_flag"
44882 || test ! -s conftest.err'
44883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44884 (eval $ac_try) 2>&5
44885 ac_status=$?
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; } &&
44888 { ac_try='test -s conftest.$ac_objext'
44889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890 (eval $ac_try) 2>&5
44891 ac_status=$?
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; }; then
44894 glibcxx_cv_func_logl_use=yes
44895 else
44896 echo "$as_me: failed program was:" >&5
44897 sed 's/^/| /' conftest.$ac_ext >&5
44899 glibcxx_cv_func_logl_use=no
44901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44902 ac_ext=c
44903 ac_cpp='$CPP $CPPFLAGS'
44904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44913 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44915 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44917 for ac_func in logl
44919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44920 echo "$as_me:$LINENO: checking for $ac_func" >&5
44921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44922 if eval "test \"\${$as_ac_var+set}\" = set"; then
44923 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 else
44925 if test x$gcc_no_link = xyes; then
44926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44928 { (exit 1); exit 1; }; }
44930 cat >conftest.$ac_ext <<_ACEOF
44931 /* confdefs.h. */
44932 _ACEOF
44933 cat confdefs.h >>conftest.$ac_ext
44934 cat >>conftest.$ac_ext <<_ACEOF
44935 /* end confdefs.h. */
44936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44938 #define $ac_func innocuous_$ac_func
44940 /* System header to define __stub macros and hopefully few prototypes,
44941 which can conflict with char $ac_func (); below.
44942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44943 <limits.h> exists even on freestanding compilers. */
44945 #ifdef __STDC__
44946 # include <limits.h>
44947 #else
44948 # include <assert.h>
44949 #endif
44951 #undef $ac_func
44953 /* Override any gcc2 internal prototype to avoid an error. */
44954 #ifdef __cplusplus
44955 extern "C"
44957 #endif
44958 /* We use char because int might match the return type of a gcc2
44959 builtin and then its argument prototype would still apply. */
44960 char $ac_func ();
44961 /* The GNU C library defines this for functions which it implements
44962 to always fail with ENOSYS. Some functions are actually named
44963 something starting with __ and the normal name is an alias. */
44964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44965 choke me
44966 #else
44967 char (*f) () = $ac_func;
44968 #endif
44969 #ifdef __cplusplus
44971 #endif
44974 main ()
44976 return f != $ac_func;
44978 return 0;
44980 _ACEOF
44981 rm -f conftest.$ac_objext conftest$ac_exeext
44982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44983 (eval $ac_link) 2>conftest.er1
44984 ac_status=$?
44985 grep -v '^ *+' conftest.er1 >conftest.err
44986 rm -f conftest.er1
44987 cat conftest.err >&5
44988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44989 (exit $ac_status); } &&
44990 { ac_try='test -z "$ac_c_werror_flag"
44991 || test ! -s conftest.err'
44992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44993 (eval $ac_try) 2>&5
44994 ac_status=$?
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; } &&
44997 { ac_try='test -s conftest$ac_exeext'
44998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44999 (eval $ac_try) 2>&5
45000 ac_status=$?
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); }; }; then
45003 eval "$as_ac_var=yes"
45004 else
45005 echo "$as_me: failed program was:" >&5
45006 sed 's/^/| /' conftest.$ac_ext >&5
45008 eval "$as_ac_var=no"
45010 rm -f conftest.err conftest.$ac_objext \
45011 conftest$ac_exeext conftest.$ac_ext
45013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45015 if test `eval echo '${'$as_ac_var'}'` = yes; then
45016 cat >>confdefs.h <<_ACEOF
45017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45018 _ACEOF
45021 done
45023 else
45025 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45026 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45027 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45028 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45029 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 else
45034 ac_ext=cc
45035 ac_cpp='$CXXCPP $CPPFLAGS'
45036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45040 cat >conftest.$ac_ext <<_ACEOF
45041 /* confdefs.h. */
45042 _ACEOF
45043 cat confdefs.h >>conftest.$ac_ext
45044 cat >>conftest.$ac_ext <<_ACEOF
45045 /* end confdefs.h. */
45046 #include <math.h>
45047 #ifdef HAVE_IEEEFP_H
45048 #include <ieeefp.h>
45049 #endif
45052 main ()
45054 _logl(0);
45056 return 0;
45058 _ACEOF
45059 rm -f conftest.$ac_objext
45060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45061 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__logl_use=yes
45082 else
45083 echo "$as_me: failed program was:" >&5
45084 sed 's/^/| /' conftest.$ac_ext >&5
45086 glibcxx_cv_func__logl_use=no
45088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45089 ac_ext=c
45090 ac_cpp='$CPP $CPPFLAGS'
45091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45100 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45102 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45104 for ac_func in _logl
45106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45107 echo "$as_me:$LINENO: checking for $ac_func" >&5
45108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45109 if eval "test \"\${$as_ac_var+set}\" = set"; then
45110 echo $ECHO_N "(cached) $ECHO_C" >&6
45111 else
45112 if test x$gcc_no_link = xyes; then
45113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45115 { (exit 1); exit 1; }; }
45117 cat >conftest.$ac_ext <<_ACEOF
45118 /* confdefs.h. */
45119 _ACEOF
45120 cat confdefs.h >>conftest.$ac_ext
45121 cat >>conftest.$ac_ext <<_ACEOF
45122 /* end confdefs.h. */
45123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45125 #define $ac_func innocuous_$ac_func
45127 /* System header to define __stub macros and hopefully few prototypes,
45128 which can conflict with char $ac_func (); below.
45129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45130 <limits.h> exists even on freestanding compilers. */
45132 #ifdef __STDC__
45133 # include <limits.h>
45134 #else
45135 # include <assert.h>
45136 #endif
45138 #undef $ac_func
45140 /* Override any gcc2 internal prototype to avoid an error. */
45141 #ifdef __cplusplus
45142 extern "C"
45144 #endif
45145 /* We use char because int might match the return type of a gcc2
45146 builtin and then its argument prototype would still apply. */
45147 char $ac_func ();
45148 /* The GNU C library defines this for functions which it implements
45149 to always fail with ENOSYS. Some functions are actually named
45150 something starting with __ and the normal name is an alias. */
45151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45152 choke me
45153 #else
45154 char (*f) () = $ac_func;
45155 #endif
45156 #ifdef __cplusplus
45158 #endif
45161 main ()
45163 return f != $ac_func;
45165 return 0;
45167 _ACEOF
45168 rm -f conftest.$ac_objext conftest$ac_exeext
45169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45170 (eval $ac_link) 2>conftest.er1
45171 ac_status=$?
45172 grep -v '^ *+' conftest.er1 >conftest.err
45173 rm -f conftest.er1
45174 cat conftest.err >&5
45175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45176 (exit $ac_status); } &&
45177 { ac_try='test -z "$ac_c_werror_flag"
45178 || test ! -s conftest.err'
45179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45180 (eval $ac_try) 2>&5
45181 ac_status=$?
45182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45183 (exit $ac_status); }; } &&
45184 { ac_try='test -s conftest$ac_exeext'
45185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45186 (eval $ac_try) 2>&5
45187 ac_status=$?
45188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45189 (exit $ac_status); }; }; then
45190 eval "$as_ac_var=yes"
45191 else
45192 echo "$as_me: failed program was:" >&5
45193 sed 's/^/| /' conftest.$ac_ext >&5
45195 eval "$as_ac_var=no"
45197 rm -f conftest.err conftest.$ac_objext \
45198 conftest$ac_exeext conftest.$ac_ext
45200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45202 if test `eval echo '${'$as_ac_var'}'` = yes; then
45203 cat >>confdefs.h <<_ACEOF
45204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45205 _ACEOF
45208 done
45215 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45216 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45217 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45218 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45219 echo $ECHO_N "(cached) $ECHO_C" >&6
45220 else
45224 ac_ext=cc
45225 ac_cpp='$CXXCPP $CPPFLAGS'
45226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45230 cat >conftest.$ac_ext <<_ACEOF
45231 /* confdefs.h. */
45232 _ACEOF
45233 cat confdefs.h >>conftest.$ac_ext
45234 cat >>conftest.$ac_ext <<_ACEOF
45235 /* end confdefs.h. */
45236 #include <math.h>
45237 #ifdef HAVE_IEEEFP_H
45238 #include <ieeefp.h>
45239 #endif
45242 main ()
45244 log10l(0);
45246 return 0;
45248 _ACEOF
45249 rm -f conftest.$ac_objext
45250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45251 (eval $ac_compile) 2>conftest.er1
45252 ac_status=$?
45253 grep -v '^ *+' conftest.er1 >conftest.err
45254 rm -f conftest.er1
45255 cat conftest.err >&5
45256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257 (exit $ac_status); } &&
45258 { ac_try='test -z "$ac_cxx_werror_flag"
45259 || test ! -s conftest.err'
45260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261 (eval $ac_try) 2>&5
45262 ac_status=$?
45263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264 (exit $ac_status); }; } &&
45265 { ac_try='test -s conftest.$ac_objext'
45266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45267 (eval $ac_try) 2>&5
45268 ac_status=$?
45269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270 (exit $ac_status); }; }; then
45271 glibcxx_cv_func_log10l_use=yes
45272 else
45273 echo "$as_me: failed program was:" >&5
45274 sed 's/^/| /' conftest.$ac_ext >&5
45276 glibcxx_cv_func_log10l_use=no
45278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45279 ac_ext=c
45280 ac_cpp='$CPP $CPPFLAGS'
45281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45290 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45292 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45294 for ac_func in log10l
45296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45297 echo "$as_me:$LINENO: checking for $ac_func" >&5
45298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45299 if eval "test \"\${$as_ac_var+set}\" = set"; then
45300 echo $ECHO_N "(cached) $ECHO_C" >&6
45301 else
45302 if test x$gcc_no_link = xyes; then
45303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45305 { (exit 1); exit 1; }; }
45307 cat >conftest.$ac_ext <<_ACEOF
45308 /* confdefs.h. */
45309 _ACEOF
45310 cat confdefs.h >>conftest.$ac_ext
45311 cat >>conftest.$ac_ext <<_ACEOF
45312 /* end confdefs.h. */
45313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45315 #define $ac_func innocuous_$ac_func
45317 /* System header to define __stub macros and hopefully few prototypes,
45318 which can conflict with char $ac_func (); below.
45319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45320 <limits.h> exists even on freestanding compilers. */
45322 #ifdef __STDC__
45323 # include <limits.h>
45324 #else
45325 # include <assert.h>
45326 #endif
45328 #undef $ac_func
45330 /* Override any gcc2 internal prototype to avoid an error. */
45331 #ifdef __cplusplus
45332 extern "C"
45334 #endif
45335 /* We use char because int might match the return type of a gcc2
45336 builtin and then its argument prototype would still apply. */
45337 char $ac_func ();
45338 /* The GNU C library defines this for functions which it implements
45339 to always fail with ENOSYS. Some functions are actually named
45340 something starting with __ and the normal name is an alias. */
45341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45342 choke me
45343 #else
45344 char (*f) () = $ac_func;
45345 #endif
45346 #ifdef __cplusplus
45348 #endif
45351 main ()
45353 return f != $ac_func;
45355 return 0;
45357 _ACEOF
45358 rm -f conftest.$ac_objext conftest$ac_exeext
45359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45360 (eval $ac_link) 2>conftest.er1
45361 ac_status=$?
45362 grep -v '^ *+' conftest.er1 >conftest.err
45363 rm -f conftest.er1
45364 cat conftest.err >&5
45365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45366 (exit $ac_status); } &&
45367 { ac_try='test -z "$ac_c_werror_flag"
45368 || test ! -s conftest.err'
45369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45370 (eval $ac_try) 2>&5
45371 ac_status=$?
45372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45373 (exit $ac_status); }; } &&
45374 { ac_try='test -s conftest$ac_exeext'
45375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45376 (eval $ac_try) 2>&5
45377 ac_status=$?
45378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45379 (exit $ac_status); }; }; then
45380 eval "$as_ac_var=yes"
45381 else
45382 echo "$as_me: failed program was:" >&5
45383 sed 's/^/| /' conftest.$ac_ext >&5
45385 eval "$as_ac_var=no"
45387 rm -f conftest.err conftest.$ac_objext \
45388 conftest$ac_exeext conftest.$ac_ext
45390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45392 if test `eval echo '${'$as_ac_var'}'` = yes; then
45393 cat >>confdefs.h <<_ACEOF
45394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45395 _ACEOF
45398 done
45400 else
45402 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45403 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45404 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45405 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45406 echo $ECHO_N "(cached) $ECHO_C" >&6
45407 else
45411 ac_ext=cc
45412 ac_cpp='$CXXCPP $CPPFLAGS'
45413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45417 cat >conftest.$ac_ext <<_ACEOF
45418 /* confdefs.h. */
45419 _ACEOF
45420 cat confdefs.h >>conftest.$ac_ext
45421 cat >>conftest.$ac_ext <<_ACEOF
45422 /* end confdefs.h. */
45423 #include <math.h>
45424 #ifdef HAVE_IEEEFP_H
45425 #include <ieeefp.h>
45426 #endif
45429 main ()
45431 _log10l(0);
45433 return 0;
45435 _ACEOF
45436 rm -f conftest.$ac_objext
45437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45438 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__log10l_use=yes
45459 else
45460 echo "$as_me: failed program was:" >&5
45461 sed 's/^/| /' conftest.$ac_ext >&5
45463 glibcxx_cv_func__log10l_use=no
45465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45466 ac_ext=c
45467 ac_cpp='$CPP $CPPFLAGS'
45468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45477 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45479 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45481 for ac_func in _log10l
45483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45484 echo "$as_me:$LINENO: checking for $ac_func" >&5
45485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45486 if eval "test \"\${$as_ac_var+set}\" = set"; then
45487 echo $ECHO_N "(cached) $ECHO_C" >&6
45488 else
45489 if test x$gcc_no_link = xyes; then
45490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45492 { (exit 1); exit 1; }; }
45494 cat >conftest.$ac_ext <<_ACEOF
45495 /* confdefs.h. */
45496 _ACEOF
45497 cat confdefs.h >>conftest.$ac_ext
45498 cat >>conftest.$ac_ext <<_ACEOF
45499 /* end confdefs.h. */
45500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45502 #define $ac_func innocuous_$ac_func
45504 /* System header to define __stub macros and hopefully few prototypes,
45505 which can conflict with char $ac_func (); below.
45506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45507 <limits.h> exists even on freestanding compilers. */
45509 #ifdef __STDC__
45510 # include <limits.h>
45511 #else
45512 # include <assert.h>
45513 #endif
45515 #undef $ac_func
45517 /* Override any gcc2 internal prototype to avoid an error. */
45518 #ifdef __cplusplus
45519 extern "C"
45521 #endif
45522 /* We use char because int might match the return type of a gcc2
45523 builtin and then its argument prototype would still apply. */
45524 char $ac_func ();
45525 /* The GNU C library defines this for functions which it implements
45526 to always fail with ENOSYS. Some functions are actually named
45527 something starting with __ and the normal name is an alias. */
45528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45529 choke me
45530 #else
45531 char (*f) () = $ac_func;
45532 #endif
45533 #ifdef __cplusplus
45535 #endif
45538 main ()
45540 return f != $ac_func;
45542 return 0;
45544 _ACEOF
45545 rm -f conftest.$ac_objext conftest$ac_exeext
45546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45547 (eval $ac_link) 2>conftest.er1
45548 ac_status=$?
45549 grep -v '^ *+' conftest.er1 >conftest.err
45550 rm -f conftest.er1
45551 cat conftest.err >&5
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); } &&
45554 { ac_try='test -z "$ac_c_werror_flag"
45555 || test ! -s conftest.err'
45556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45557 (eval $ac_try) 2>&5
45558 ac_status=$?
45559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45560 (exit $ac_status); }; } &&
45561 { ac_try='test -s conftest$ac_exeext'
45562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45563 (eval $ac_try) 2>&5
45564 ac_status=$?
45565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45566 (exit $ac_status); }; }; then
45567 eval "$as_ac_var=yes"
45568 else
45569 echo "$as_me: failed program was:" >&5
45570 sed 's/^/| /' conftest.$ac_ext >&5
45572 eval "$as_ac_var=no"
45574 rm -f conftest.err conftest.$ac_objext \
45575 conftest$ac_exeext conftest.$ac_ext
45577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45579 if test `eval echo '${'$as_ac_var'}'` = yes; then
45580 cat >>confdefs.h <<_ACEOF
45581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45582 _ACEOF
45585 done
45592 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45593 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45594 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45595 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45596 echo $ECHO_N "(cached) $ECHO_C" >&6
45597 else
45601 ac_ext=cc
45602 ac_cpp='$CXXCPP $CPPFLAGS'
45603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45607 cat >conftest.$ac_ext <<_ACEOF
45608 /* confdefs.h. */
45609 _ACEOF
45610 cat confdefs.h >>conftest.$ac_ext
45611 cat >>conftest.$ac_ext <<_ACEOF
45612 /* end confdefs.h. */
45613 #include <math.h>
45615 main ()
45617 modfl(0, 0);
45619 return 0;
45621 _ACEOF
45622 rm -f conftest.$ac_objext
45623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45624 (eval $ac_compile) 2>conftest.er1
45625 ac_status=$?
45626 grep -v '^ *+' conftest.er1 >conftest.err
45627 rm -f conftest.er1
45628 cat conftest.err >&5
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); } &&
45631 { ac_try='test -z "$ac_cxx_werror_flag"
45632 || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try='test -s conftest.$ac_objext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45641 ac_status=$?
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 glibcxx_cv_func_modfl_use=yes
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45649 glibcxx_cv_func_modfl_use=no
45651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45652 ac_ext=c
45653 ac_cpp='$CPP $CPPFLAGS'
45654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45662 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45663 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45665 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45667 for ac_func in modfl
45669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45670 echo "$as_me:$LINENO: checking for $ac_func" >&5
45671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45672 if eval "test \"\${$as_ac_var+set}\" = set"; then
45673 echo $ECHO_N "(cached) $ECHO_C" >&6
45674 else
45675 if test x$gcc_no_link = xyes; then
45676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45678 { (exit 1); exit 1; }; }
45680 cat >conftest.$ac_ext <<_ACEOF
45681 /* confdefs.h. */
45682 _ACEOF
45683 cat confdefs.h >>conftest.$ac_ext
45684 cat >>conftest.$ac_ext <<_ACEOF
45685 /* end confdefs.h. */
45686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45688 #define $ac_func innocuous_$ac_func
45690 /* System header to define __stub macros and hopefully few prototypes,
45691 which can conflict with char $ac_func (); below.
45692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45693 <limits.h> exists even on freestanding compilers. */
45695 #ifdef __STDC__
45696 # include <limits.h>
45697 #else
45698 # include <assert.h>
45699 #endif
45701 #undef $ac_func
45703 /* Override any gcc2 internal prototype to avoid an error. */
45704 #ifdef __cplusplus
45705 extern "C"
45707 #endif
45708 /* We use char because int might match the return type of a gcc2
45709 builtin and then its argument prototype would still apply. */
45710 char $ac_func ();
45711 /* The GNU C library defines this for functions which it implements
45712 to always fail with ENOSYS. Some functions are actually named
45713 something starting with __ and the normal name is an alias. */
45714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45715 choke me
45716 #else
45717 char (*f) () = $ac_func;
45718 #endif
45719 #ifdef __cplusplus
45721 #endif
45724 main ()
45726 return f != $ac_func;
45728 return 0;
45730 _ACEOF
45731 rm -f conftest.$ac_objext conftest$ac_exeext
45732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45733 (eval $ac_link) 2>conftest.er1
45734 ac_status=$?
45735 grep -v '^ *+' conftest.er1 >conftest.err
45736 rm -f conftest.er1
45737 cat conftest.err >&5
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); } &&
45740 { ac_try='test -z "$ac_c_werror_flag"
45741 || test ! -s conftest.err'
45742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45743 (eval $ac_try) 2>&5
45744 ac_status=$?
45745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45746 (exit $ac_status); }; } &&
45747 { ac_try='test -s conftest$ac_exeext'
45748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45749 (eval $ac_try) 2>&5
45750 ac_status=$?
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); }; }; then
45753 eval "$as_ac_var=yes"
45754 else
45755 echo "$as_me: failed program was:" >&5
45756 sed 's/^/| /' conftest.$ac_ext >&5
45758 eval "$as_ac_var=no"
45760 rm -f conftest.err conftest.$ac_objext \
45761 conftest$ac_exeext conftest.$ac_ext
45763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45765 if test `eval echo '${'$as_ac_var'}'` = yes; then
45766 cat >>confdefs.h <<_ACEOF
45767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45768 _ACEOF
45771 done
45773 else
45775 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45776 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45777 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45778 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45779 echo $ECHO_N "(cached) $ECHO_C" >&6
45780 else
45784 ac_ext=cc
45785 ac_cpp='$CXXCPP $CPPFLAGS'
45786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45790 cat >conftest.$ac_ext <<_ACEOF
45791 /* confdefs.h. */
45792 _ACEOF
45793 cat confdefs.h >>conftest.$ac_ext
45794 cat >>conftest.$ac_ext <<_ACEOF
45795 /* end confdefs.h. */
45796 #include <math.h>
45798 main ()
45800 _modfl(0, 0);
45802 return 0;
45804 _ACEOF
45805 rm -f conftest.$ac_objext
45806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45807 (eval $ac_compile) 2>conftest.er1
45808 ac_status=$?
45809 grep -v '^ *+' conftest.er1 >conftest.err
45810 rm -f conftest.er1
45811 cat conftest.err >&5
45812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45813 (exit $ac_status); } &&
45814 { ac_try='test -z "$ac_cxx_werror_flag"
45815 || test ! -s conftest.err'
45816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45817 (eval $ac_try) 2>&5
45818 ac_status=$?
45819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45820 (exit $ac_status); }; } &&
45821 { ac_try='test -s conftest.$ac_objext'
45822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45823 (eval $ac_try) 2>&5
45824 ac_status=$?
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; }; then
45827 glibcxx_cv_func__modfl_use=yes
45828 else
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45832 glibcxx_cv_func__modfl_use=no
45834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45835 ac_ext=c
45836 ac_cpp='$CPP $CPPFLAGS'
45837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45846 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45848 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45850 for ac_func in _modfl
45852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45853 echo "$as_me:$LINENO: checking for $ac_func" >&5
45854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45855 if eval "test \"\${$as_ac_var+set}\" = set"; then
45856 echo $ECHO_N "(cached) $ECHO_C" >&6
45857 else
45858 if test x$gcc_no_link = xyes; then
45859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45861 { (exit 1); exit 1; }; }
45863 cat >conftest.$ac_ext <<_ACEOF
45864 /* confdefs.h. */
45865 _ACEOF
45866 cat confdefs.h >>conftest.$ac_ext
45867 cat >>conftest.$ac_ext <<_ACEOF
45868 /* end confdefs.h. */
45869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45871 #define $ac_func innocuous_$ac_func
45873 /* System header to define __stub macros and hopefully few prototypes,
45874 which can conflict with char $ac_func (); below.
45875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45876 <limits.h> exists even on freestanding compilers. */
45878 #ifdef __STDC__
45879 # include <limits.h>
45880 #else
45881 # include <assert.h>
45882 #endif
45884 #undef $ac_func
45886 /* Override any gcc2 internal prototype to avoid an error. */
45887 #ifdef __cplusplus
45888 extern "C"
45890 #endif
45891 /* We use char because int might match the return type of a gcc2
45892 builtin and then its argument prototype would still apply. */
45893 char $ac_func ();
45894 /* The GNU C library defines this for functions which it implements
45895 to always fail with ENOSYS. Some functions are actually named
45896 something starting with __ and the normal name is an alias. */
45897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45898 choke me
45899 #else
45900 char (*f) () = $ac_func;
45901 #endif
45902 #ifdef __cplusplus
45904 #endif
45907 main ()
45909 return f != $ac_func;
45911 return 0;
45913 _ACEOF
45914 rm -f conftest.$ac_objext conftest$ac_exeext
45915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45916 (eval $ac_link) 2>conftest.er1
45917 ac_status=$?
45918 grep -v '^ *+' conftest.er1 >conftest.err
45919 rm -f conftest.er1
45920 cat conftest.err >&5
45921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922 (exit $ac_status); } &&
45923 { ac_try='test -z "$ac_c_werror_flag"
45924 || test ! -s conftest.err'
45925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45926 (eval $ac_try) 2>&5
45927 ac_status=$?
45928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45929 (exit $ac_status); }; } &&
45930 { ac_try='test -s conftest$ac_exeext'
45931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45932 (eval $ac_try) 2>&5
45933 ac_status=$?
45934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45935 (exit $ac_status); }; }; then
45936 eval "$as_ac_var=yes"
45937 else
45938 echo "$as_me: failed program was:" >&5
45939 sed 's/^/| /' conftest.$ac_ext >&5
45941 eval "$as_ac_var=no"
45943 rm -f conftest.err conftest.$ac_objext \
45944 conftest$ac_exeext conftest.$ac_ext
45946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45948 if test `eval echo '${'$as_ac_var'}'` = yes; then
45949 cat >>confdefs.h <<_ACEOF
45950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45951 _ACEOF
45954 done
45961 echo "$as_me:$LINENO: checking for powl declaration" >&5
45962 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45963 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45964 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45965 echo $ECHO_N "(cached) $ECHO_C" >&6
45966 else
45970 ac_ext=cc
45971 ac_cpp='$CXXCPP $CPPFLAGS'
45972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45976 cat >conftest.$ac_ext <<_ACEOF
45977 /* confdefs.h. */
45978 _ACEOF
45979 cat confdefs.h >>conftest.$ac_ext
45980 cat >>conftest.$ac_ext <<_ACEOF
45981 /* end confdefs.h. */
45982 #include <math.h>
45984 main ()
45986 powl(0, 0);
45988 return 0;
45990 _ACEOF
45991 rm -f conftest.$ac_objext
45992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45993 (eval $ac_compile) 2>conftest.er1
45994 ac_status=$?
45995 grep -v '^ *+' conftest.er1 >conftest.err
45996 rm -f conftest.er1
45997 cat conftest.err >&5
45998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45999 (exit $ac_status); } &&
46000 { ac_try='test -z "$ac_cxx_werror_flag"
46001 || test ! -s conftest.err'
46002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46003 (eval $ac_try) 2>&5
46004 ac_status=$?
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); }; } &&
46007 { ac_try='test -s conftest.$ac_objext'
46008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46009 (eval $ac_try) 2>&5
46010 ac_status=$?
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); }; }; then
46013 glibcxx_cv_func_powl_use=yes
46014 else
46015 echo "$as_me: failed program was:" >&5
46016 sed 's/^/| /' conftest.$ac_ext >&5
46018 glibcxx_cv_func_powl_use=no
46020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46032 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46034 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46036 for ac_func in powl
46038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46039 echo "$as_me:$LINENO: checking for $ac_func" >&5
46040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46041 if eval "test \"\${$as_ac_var+set}\" = set"; then
46042 echo $ECHO_N "(cached) $ECHO_C" >&6
46043 else
46044 if test x$gcc_no_link = xyes; then
46045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46047 { (exit 1); exit 1; }; }
46049 cat >conftest.$ac_ext <<_ACEOF
46050 /* confdefs.h. */
46051 _ACEOF
46052 cat confdefs.h >>conftest.$ac_ext
46053 cat >>conftest.$ac_ext <<_ACEOF
46054 /* end confdefs.h. */
46055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46057 #define $ac_func innocuous_$ac_func
46059 /* System header to define __stub macros and hopefully few prototypes,
46060 which can conflict with char $ac_func (); below.
46061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46062 <limits.h> exists even on freestanding compilers. */
46064 #ifdef __STDC__
46065 # include <limits.h>
46066 #else
46067 # include <assert.h>
46068 #endif
46070 #undef $ac_func
46072 /* Override any gcc2 internal prototype to avoid an error. */
46073 #ifdef __cplusplus
46074 extern "C"
46076 #endif
46077 /* We use char because int might match the return type of a gcc2
46078 builtin and then its argument prototype would still apply. */
46079 char $ac_func ();
46080 /* The GNU C library defines this for functions which it implements
46081 to always fail with ENOSYS. Some functions are actually named
46082 something starting with __ and the normal name is an alias. */
46083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46084 choke me
46085 #else
46086 char (*f) () = $ac_func;
46087 #endif
46088 #ifdef __cplusplus
46090 #endif
46093 main ()
46095 return f != $ac_func;
46097 return 0;
46099 _ACEOF
46100 rm -f conftest.$ac_objext conftest$ac_exeext
46101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46102 (eval $ac_link) 2>conftest.er1
46103 ac_status=$?
46104 grep -v '^ *+' conftest.er1 >conftest.err
46105 rm -f conftest.er1
46106 cat conftest.err >&5
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); } &&
46109 { ac_try='test -z "$ac_c_werror_flag"
46110 || test ! -s conftest.err'
46111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46112 (eval $ac_try) 2>&5
46113 ac_status=$?
46114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46115 (exit $ac_status); }; } &&
46116 { ac_try='test -s conftest$ac_exeext'
46117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46118 (eval $ac_try) 2>&5
46119 ac_status=$?
46120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46121 (exit $ac_status); }; }; then
46122 eval "$as_ac_var=yes"
46123 else
46124 echo "$as_me: failed program was:" >&5
46125 sed 's/^/| /' conftest.$ac_ext >&5
46127 eval "$as_ac_var=no"
46129 rm -f conftest.err conftest.$ac_objext \
46130 conftest$ac_exeext conftest.$ac_ext
46132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46134 if test `eval echo '${'$as_ac_var'}'` = yes; then
46135 cat >>confdefs.h <<_ACEOF
46136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46137 _ACEOF
46140 done
46142 else
46144 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46145 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46146 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46147 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46148 echo $ECHO_N "(cached) $ECHO_C" >&6
46149 else
46153 ac_ext=cc
46154 ac_cpp='$CXXCPP $CPPFLAGS'
46155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46159 cat >conftest.$ac_ext <<_ACEOF
46160 /* confdefs.h. */
46161 _ACEOF
46162 cat confdefs.h >>conftest.$ac_ext
46163 cat >>conftest.$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46165 #include <math.h>
46167 main ()
46169 _powl(0, 0);
46171 return 0;
46173 _ACEOF
46174 rm -f conftest.$ac_objext
46175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46176 (eval $ac_compile) 2>conftest.er1
46177 ac_status=$?
46178 grep -v '^ *+' conftest.er1 >conftest.err
46179 rm -f conftest.er1
46180 cat conftest.err >&5
46181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46182 (exit $ac_status); } &&
46183 { ac_try='test -z "$ac_cxx_werror_flag"
46184 || test ! -s conftest.err'
46185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46186 (eval $ac_try) 2>&5
46187 ac_status=$?
46188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46189 (exit $ac_status); }; } &&
46190 { ac_try='test -s conftest.$ac_objext'
46191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46192 (eval $ac_try) 2>&5
46193 ac_status=$?
46194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46195 (exit $ac_status); }; }; then
46196 glibcxx_cv_func__powl_use=yes
46197 else
46198 echo "$as_me: failed program was:" >&5
46199 sed 's/^/| /' conftest.$ac_ext >&5
46201 glibcxx_cv_func__powl_use=no
46203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46204 ac_ext=c
46205 ac_cpp='$CPP $CPPFLAGS'
46206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46215 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46217 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46219 for ac_func in _powl
46221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46222 echo "$as_me:$LINENO: checking for $ac_func" >&5
46223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46224 if eval "test \"\${$as_ac_var+set}\" = set"; then
46225 echo $ECHO_N "(cached) $ECHO_C" >&6
46226 else
46227 if test x$gcc_no_link = xyes; then
46228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46230 { (exit 1); exit 1; }; }
46232 cat >conftest.$ac_ext <<_ACEOF
46233 /* confdefs.h. */
46234 _ACEOF
46235 cat confdefs.h >>conftest.$ac_ext
46236 cat >>conftest.$ac_ext <<_ACEOF
46237 /* end confdefs.h. */
46238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46240 #define $ac_func innocuous_$ac_func
46242 /* System header to define __stub macros and hopefully few prototypes,
46243 which can conflict with char $ac_func (); below.
46244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46245 <limits.h> exists even on freestanding compilers. */
46247 #ifdef __STDC__
46248 # include <limits.h>
46249 #else
46250 # include <assert.h>
46251 #endif
46253 #undef $ac_func
46255 /* Override any gcc2 internal prototype to avoid an error. */
46256 #ifdef __cplusplus
46257 extern "C"
46259 #endif
46260 /* We use char because int might match the return type of a gcc2
46261 builtin and then its argument prototype would still apply. */
46262 char $ac_func ();
46263 /* The GNU C library defines this for functions which it implements
46264 to always fail with ENOSYS. Some functions are actually named
46265 something starting with __ and the normal name is an alias. */
46266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46267 choke me
46268 #else
46269 char (*f) () = $ac_func;
46270 #endif
46271 #ifdef __cplusplus
46273 #endif
46276 main ()
46278 return f != $ac_func;
46280 return 0;
46282 _ACEOF
46283 rm -f conftest.$ac_objext conftest$ac_exeext
46284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46285 (eval $ac_link) 2>conftest.er1
46286 ac_status=$?
46287 grep -v '^ *+' conftest.er1 >conftest.err
46288 rm -f conftest.er1
46289 cat conftest.err >&5
46290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46291 (exit $ac_status); } &&
46292 { ac_try='test -z "$ac_c_werror_flag"
46293 || test ! -s conftest.err'
46294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46295 (eval $ac_try) 2>&5
46296 ac_status=$?
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); }; } &&
46299 { ac_try='test -s conftest$ac_exeext'
46300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46301 (eval $ac_try) 2>&5
46302 ac_status=$?
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); }; }; then
46305 eval "$as_ac_var=yes"
46306 else
46307 echo "$as_me: failed program was:" >&5
46308 sed 's/^/| /' conftest.$ac_ext >&5
46310 eval "$as_ac_var=no"
46312 rm -f conftest.err conftest.$ac_objext \
46313 conftest$ac_exeext conftest.$ac_ext
46315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46317 if test `eval echo '${'$as_ac_var'}'` = yes; then
46318 cat >>confdefs.h <<_ACEOF
46319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46320 _ACEOF
46323 done
46330 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46331 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46332 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46333 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46334 echo $ECHO_N "(cached) $ECHO_C" >&6
46335 else
46339 ac_ext=cc
46340 ac_cpp='$CXXCPP $CPPFLAGS'
46341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46345 cat >conftest.$ac_ext <<_ACEOF
46346 /* confdefs.h. */
46347 _ACEOF
46348 cat confdefs.h >>conftest.$ac_ext
46349 cat >>conftest.$ac_ext <<_ACEOF
46350 /* end confdefs.h. */
46351 #include <math.h>
46352 #ifdef HAVE_IEEEFP_H
46353 #include <ieeefp.h>
46354 #endif
46357 main ()
46359 sqrtl(0);
46361 return 0;
46363 _ACEOF
46364 rm -f conftest.$ac_objext
46365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46366 (eval $ac_compile) 2>conftest.er1
46367 ac_status=$?
46368 grep -v '^ *+' conftest.er1 >conftest.err
46369 rm -f conftest.er1
46370 cat conftest.err >&5
46371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46372 (exit $ac_status); } &&
46373 { ac_try='test -z "$ac_cxx_werror_flag"
46374 || test ! -s conftest.err'
46375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46376 (eval $ac_try) 2>&5
46377 ac_status=$?
46378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379 (exit $ac_status); }; } &&
46380 { ac_try='test -s conftest.$ac_objext'
46381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46382 (eval $ac_try) 2>&5
46383 ac_status=$?
46384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385 (exit $ac_status); }; }; then
46386 glibcxx_cv_func_sqrtl_use=yes
46387 else
46388 echo "$as_me: failed program was:" >&5
46389 sed 's/^/| /' conftest.$ac_ext >&5
46391 glibcxx_cv_func_sqrtl_use=no
46393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46394 ac_ext=c
46395 ac_cpp='$CPP $CPPFLAGS'
46396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46405 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46407 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46409 for ac_func in sqrtl
46411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46412 echo "$as_me:$LINENO: checking for $ac_func" >&5
46413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46414 if eval "test \"\${$as_ac_var+set}\" = set"; then
46415 echo $ECHO_N "(cached) $ECHO_C" >&6
46416 else
46417 if test x$gcc_no_link = xyes; then
46418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46420 { (exit 1); exit 1; }; }
46422 cat >conftest.$ac_ext <<_ACEOF
46423 /* confdefs.h. */
46424 _ACEOF
46425 cat confdefs.h >>conftest.$ac_ext
46426 cat >>conftest.$ac_ext <<_ACEOF
46427 /* end confdefs.h. */
46428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46430 #define $ac_func innocuous_$ac_func
46432 /* System header to define __stub macros and hopefully few prototypes,
46433 which can conflict with char $ac_func (); below.
46434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46435 <limits.h> exists even on freestanding compilers. */
46437 #ifdef __STDC__
46438 # include <limits.h>
46439 #else
46440 # include <assert.h>
46441 #endif
46443 #undef $ac_func
46445 /* Override any gcc2 internal prototype to avoid an error. */
46446 #ifdef __cplusplus
46447 extern "C"
46449 #endif
46450 /* We use char because int might match the return type of a gcc2
46451 builtin and then its argument prototype would still apply. */
46452 char $ac_func ();
46453 /* The GNU C library defines this for functions which it implements
46454 to always fail with ENOSYS. Some functions are actually named
46455 something starting with __ and the normal name is an alias. */
46456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46457 choke me
46458 #else
46459 char (*f) () = $ac_func;
46460 #endif
46461 #ifdef __cplusplus
46463 #endif
46466 main ()
46468 return f != $ac_func;
46470 return 0;
46472 _ACEOF
46473 rm -f conftest.$ac_objext conftest$ac_exeext
46474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46475 (eval $ac_link) 2>conftest.er1
46476 ac_status=$?
46477 grep -v '^ *+' conftest.er1 >conftest.err
46478 rm -f conftest.er1
46479 cat conftest.err >&5
46480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46481 (exit $ac_status); } &&
46482 { ac_try='test -z "$ac_c_werror_flag"
46483 || test ! -s conftest.err'
46484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46485 (eval $ac_try) 2>&5
46486 ac_status=$?
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); }; } &&
46489 { ac_try='test -s conftest$ac_exeext'
46490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46491 (eval $ac_try) 2>&5
46492 ac_status=$?
46493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46494 (exit $ac_status); }; }; then
46495 eval "$as_ac_var=yes"
46496 else
46497 echo "$as_me: failed program was:" >&5
46498 sed 's/^/| /' conftest.$ac_ext >&5
46500 eval "$as_ac_var=no"
46502 rm -f conftest.err conftest.$ac_objext \
46503 conftest$ac_exeext conftest.$ac_ext
46505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46507 if test `eval echo '${'$as_ac_var'}'` = yes; then
46508 cat >>confdefs.h <<_ACEOF
46509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46510 _ACEOF
46513 done
46515 else
46517 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46518 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46519 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46520 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46521 echo $ECHO_N "(cached) $ECHO_C" >&6
46522 else
46526 ac_ext=cc
46527 ac_cpp='$CXXCPP $CPPFLAGS'
46528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46532 cat >conftest.$ac_ext <<_ACEOF
46533 /* confdefs.h. */
46534 _ACEOF
46535 cat confdefs.h >>conftest.$ac_ext
46536 cat >>conftest.$ac_ext <<_ACEOF
46537 /* end confdefs.h. */
46538 #include <math.h>
46539 #ifdef HAVE_IEEEFP_H
46540 #include <ieeefp.h>
46541 #endif
46544 main ()
46546 _sqrtl(0);
46548 return 0;
46550 _ACEOF
46551 rm -f conftest.$ac_objext
46552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46553 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sqrtl_use=yes
46574 else
46575 echo "$as_me: failed program was:" >&5
46576 sed 's/^/| /' conftest.$ac_ext >&5
46578 glibcxx_cv_func__sqrtl_use=no
46580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46581 ac_ext=c
46582 ac_cpp='$CPP $CPPFLAGS'
46583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46592 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46594 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46596 for ac_func in _sqrtl
46598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46599 echo "$as_me:$LINENO: checking for $ac_func" >&5
46600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46601 if eval "test \"\${$as_ac_var+set}\" = set"; then
46602 echo $ECHO_N "(cached) $ECHO_C" >&6
46603 else
46604 if test x$gcc_no_link = xyes; then
46605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46607 { (exit 1); exit 1; }; }
46609 cat >conftest.$ac_ext <<_ACEOF
46610 /* confdefs.h. */
46611 _ACEOF
46612 cat confdefs.h >>conftest.$ac_ext
46613 cat >>conftest.$ac_ext <<_ACEOF
46614 /* end confdefs.h. */
46615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46617 #define $ac_func innocuous_$ac_func
46619 /* System header to define __stub macros and hopefully few prototypes,
46620 which can conflict with char $ac_func (); below.
46621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46622 <limits.h> exists even on freestanding compilers. */
46624 #ifdef __STDC__
46625 # include <limits.h>
46626 #else
46627 # include <assert.h>
46628 #endif
46630 #undef $ac_func
46632 /* Override any gcc2 internal prototype to avoid an error. */
46633 #ifdef __cplusplus
46634 extern "C"
46636 #endif
46637 /* We use char because int might match the return type of a gcc2
46638 builtin and then its argument prototype would still apply. */
46639 char $ac_func ();
46640 /* The GNU C library defines this for functions which it implements
46641 to always fail with ENOSYS. Some functions are actually named
46642 something starting with __ and the normal name is an alias. */
46643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46644 choke me
46645 #else
46646 char (*f) () = $ac_func;
46647 #endif
46648 #ifdef __cplusplus
46650 #endif
46653 main ()
46655 return f != $ac_func;
46657 return 0;
46659 _ACEOF
46660 rm -f conftest.$ac_objext conftest$ac_exeext
46661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46662 (eval $ac_link) 2>conftest.er1
46663 ac_status=$?
46664 grep -v '^ *+' conftest.er1 >conftest.err
46665 rm -f conftest.er1
46666 cat conftest.err >&5
46667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46668 (exit $ac_status); } &&
46669 { ac_try='test -z "$ac_c_werror_flag"
46670 || test ! -s conftest.err'
46671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46672 (eval $ac_try) 2>&5
46673 ac_status=$?
46674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46675 (exit $ac_status); }; } &&
46676 { ac_try='test -s conftest$ac_exeext'
46677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46678 (eval $ac_try) 2>&5
46679 ac_status=$?
46680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46681 (exit $ac_status); }; }; then
46682 eval "$as_ac_var=yes"
46683 else
46684 echo "$as_me: failed program was:" >&5
46685 sed 's/^/| /' conftest.$ac_ext >&5
46687 eval "$as_ac_var=no"
46689 rm -f conftest.err conftest.$ac_objext \
46690 conftest$ac_exeext conftest.$ac_ext
46692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46694 if test `eval echo '${'$as_ac_var'}'` = yes; then
46695 cat >>confdefs.h <<_ACEOF
46696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46697 _ACEOF
46700 done
46707 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46708 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46709 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46710 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46711 echo $ECHO_N "(cached) $ECHO_C" >&6
46712 else
46716 ac_ext=cc
46717 ac_cpp='$CXXCPP $CPPFLAGS'
46718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46722 cat >conftest.$ac_ext <<_ACEOF
46723 /* confdefs.h. */
46724 _ACEOF
46725 cat confdefs.h >>conftest.$ac_ext
46726 cat >>conftest.$ac_ext <<_ACEOF
46727 /* end confdefs.h. */
46728 #include <math.h>
46730 main ()
46732 sincosl(0, 0, 0);
46734 return 0;
46736 _ACEOF
46737 rm -f conftest.$ac_objext
46738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46739 (eval $ac_compile) 2>conftest.er1
46740 ac_status=$?
46741 grep -v '^ *+' conftest.er1 >conftest.err
46742 rm -f conftest.er1
46743 cat conftest.err >&5
46744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46745 (exit $ac_status); } &&
46746 { ac_try='test -z "$ac_cxx_werror_flag"
46747 || test ! -s conftest.err'
46748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46749 (eval $ac_try) 2>&5
46750 ac_status=$?
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); }; } &&
46753 { ac_try='test -s conftest.$ac_objext'
46754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46755 (eval $ac_try) 2>&5
46756 ac_status=$?
46757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46758 (exit $ac_status); }; }; then
46759 glibcxx_cv_func_sincosl_use=yes
46760 else
46761 echo "$as_me: failed program was:" >&5
46762 sed 's/^/| /' conftest.$ac_ext >&5
46764 glibcxx_cv_func_sincosl_use=no
46766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46767 ac_ext=c
46768 ac_cpp='$CPP $CPPFLAGS'
46769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46778 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46780 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46782 for ac_func in sincosl
46784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46785 echo "$as_me:$LINENO: checking for $ac_func" >&5
46786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46787 if eval "test \"\${$as_ac_var+set}\" = set"; then
46788 echo $ECHO_N "(cached) $ECHO_C" >&6
46789 else
46790 if test x$gcc_no_link = xyes; then
46791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46793 { (exit 1); exit 1; }; }
46795 cat >conftest.$ac_ext <<_ACEOF
46796 /* confdefs.h. */
46797 _ACEOF
46798 cat confdefs.h >>conftest.$ac_ext
46799 cat >>conftest.$ac_ext <<_ACEOF
46800 /* end confdefs.h. */
46801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46803 #define $ac_func innocuous_$ac_func
46805 /* System header to define __stub macros and hopefully few prototypes,
46806 which can conflict with char $ac_func (); below.
46807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46808 <limits.h> exists even on freestanding compilers. */
46810 #ifdef __STDC__
46811 # include <limits.h>
46812 #else
46813 # include <assert.h>
46814 #endif
46816 #undef $ac_func
46818 /* Override any gcc2 internal prototype to avoid an error. */
46819 #ifdef __cplusplus
46820 extern "C"
46822 #endif
46823 /* We use char because int might match the return type of a gcc2
46824 builtin and then its argument prototype would still apply. */
46825 char $ac_func ();
46826 /* The GNU C library defines this for functions which it implements
46827 to always fail with ENOSYS. Some functions are actually named
46828 something starting with __ and the normal name is an alias. */
46829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46830 choke me
46831 #else
46832 char (*f) () = $ac_func;
46833 #endif
46834 #ifdef __cplusplus
46836 #endif
46839 main ()
46841 return f != $ac_func;
46843 return 0;
46845 _ACEOF
46846 rm -f conftest.$ac_objext conftest$ac_exeext
46847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46848 (eval $ac_link) 2>conftest.er1
46849 ac_status=$?
46850 grep -v '^ *+' conftest.er1 >conftest.err
46851 rm -f conftest.er1
46852 cat conftest.err >&5
46853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854 (exit $ac_status); } &&
46855 { ac_try='test -z "$ac_c_werror_flag"
46856 || test ! -s conftest.err'
46857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46858 (eval $ac_try) 2>&5
46859 ac_status=$?
46860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46861 (exit $ac_status); }; } &&
46862 { ac_try='test -s conftest$ac_exeext'
46863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46864 (eval $ac_try) 2>&5
46865 ac_status=$?
46866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867 (exit $ac_status); }; }; then
46868 eval "$as_ac_var=yes"
46869 else
46870 echo "$as_me: failed program was:" >&5
46871 sed 's/^/| /' conftest.$ac_ext >&5
46873 eval "$as_ac_var=no"
46875 rm -f conftest.err conftest.$ac_objext \
46876 conftest$ac_exeext conftest.$ac_ext
46878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46880 if test `eval echo '${'$as_ac_var'}'` = yes; then
46881 cat >>confdefs.h <<_ACEOF
46882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46883 _ACEOF
46886 done
46888 else
46890 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46891 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46892 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46893 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46894 echo $ECHO_N "(cached) $ECHO_C" >&6
46895 else
46899 ac_ext=cc
46900 ac_cpp='$CXXCPP $CPPFLAGS'
46901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46905 cat >conftest.$ac_ext <<_ACEOF
46906 /* confdefs.h. */
46907 _ACEOF
46908 cat confdefs.h >>conftest.$ac_ext
46909 cat >>conftest.$ac_ext <<_ACEOF
46910 /* end confdefs.h. */
46911 #include <math.h>
46913 main ()
46915 _sincosl(0, 0, 0);
46917 return 0;
46919 _ACEOF
46920 rm -f conftest.$ac_objext
46921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46922 (eval $ac_compile) 2>conftest.er1
46923 ac_status=$?
46924 grep -v '^ *+' conftest.er1 >conftest.err
46925 rm -f conftest.er1
46926 cat conftest.err >&5
46927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928 (exit $ac_status); } &&
46929 { ac_try='test -z "$ac_cxx_werror_flag"
46930 || test ! -s conftest.err'
46931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46932 (eval $ac_try) 2>&5
46933 ac_status=$?
46934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46935 (exit $ac_status); }; } &&
46936 { ac_try='test -s conftest.$ac_objext'
46937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46938 (eval $ac_try) 2>&5
46939 ac_status=$?
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); }; }; then
46942 glibcxx_cv_func__sincosl_use=yes
46943 else
46944 echo "$as_me: failed program was:" >&5
46945 sed 's/^/| /' conftest.$ac_ext >&5
46947 glibcxx_cv_func__sincosl_use=no
46949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46950 ac_ext=c
46951 ac_cpp='$CPP $CPPFLAGS'
46952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46961 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46963 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46965 for ac_func in _sincosl
46967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46968 echo "$as_me:$LINENO: checking for $ac_func" >&5
46969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46970 if eval "test \"\${$as_ac_var+set}\" = set"; then
46971 echo $ECHO_N "(cached) $ECHO_C" >&6
46972 else
46973 if test x$gcc_no_link = xyes; then
46974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46976 { (exit 1); exit 1; }; }
46978 cat >conftest.$ac_ext <<_ACEOF
46979 /* confdefs.h. */
46980 _ACEOF
46981 cat confdefs.h >>conftest.$ac_ext
46982 cat >>conftest.$ac_ext <<_ACEOF
46983 /* end confdefs.h. */
46984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46986 #define $ac_func innocuous_$ac_func
46988 /* System header to define __stub macros and hopefully few prototypes,
46989 which can conflict with char $ac_func (); below.
46990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46991 <limits.h> exists even on freestanding compilers. */
46993 #ifdef __STDC__
46994 # include <limits.h>
46995 #else
46996 # include <assert.h>
46997 #endif
46999 #undef $ac_func
47001 /* Override any gcc2 internal prototype to avoid an error. */
47002 #ifdef __cplusplus
47003 extern "C"
47005 #endif
47006 /* We use char because int might match the return type of a gcc2
47007 builtin and then its argument prototype would still apply. */
47008 char $ac_func ();
47009 /* The GNU C library defines this for functions which it implements
47010 to always fail with ENOSYS. Some functions are actually named
47011 something starting with __ and the normal name is an alias. */
47012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47013 choke me
47014 #else
47015 char (*f) () = $ac_func;
47016 #endif
47017 #ifdef __cplusplus
47019 #endif
47022 main ()
47024 return f != $ac_func;
47026 return 0;
47028 _ACEOF
47029 rm -f conftest.$ac_objext conftest$ac_exeext
47030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47031 (eval $ac_link) 2>conftest.er1
47032 ac_status=$?
47033 grep -v '^ *+' conftest.er1 >conftest.err
47034 rm -f conftest.er1
47035 cat conftest.err >&5
47036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47037 (exit $ac_status); } &&
47038 { ac_try='test -z "$ac_c_werror_flag"
47039 || test ! -s conftest.err'
47040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47041 (eval $ac_try) 2>&5
47042 ac_status=$?
47043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47044 (exit $ac_status); }; } &&
47045 { ac_try='test -s conftest$ac_exeext'
47046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47047 (eval $ac_try) 2>&5
47048 ac_status=$?
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); }; }; then
47051 eval "$as_ac_var=yes"
47052 else
47053 echo "$as_me: failed program was:" >&5
47054 sed 's/^/| /' conftest.$ac_ext >&5
47056 eval "$as_ac_var=no"
47058 rm -f conftest.err conftest.$ac_objext \
47059 conftest$ac_exeext conftest.$ac_ext
47061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47063 if test `eval echo '${'$as_ac_var'}'` = yes; then
47064 cat >>confdefs.h <<_ACEOF
47065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47066 _ACEOF
47069 done
47076 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47077 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47078 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47079 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47080 echo $ECHO_N "(cached) $ECHO_C" >&6
47081 else
47085 ac_ext=cc
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47091 cat >conftest.$ac_ext <<_ACEOF
47092 /* confdefs.h. */
47093 _ACEOF
47094 cat confdefs.h >>conftest.$ac_ext
47095 cat >>conftest.$ac_ext <<_ACEOF
47096 /* end confdefs.h. */
47097 #include <math.h>
47098 #ifdef HAVE_IEEEFP_H
47099 #include <ieeefp.h>
47100 #endif
47103 main ()
47105 finitel(0);
47107 return 0;
47109 _ACEOF
47110 rm -f conftest.$ac_objext
47111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47112 (eval $ac_compile) 2>conftest.er1
47113 ac_status=$?
47114 grep -v '^ *+' conftest.er1 >conftest.err
47115 rm -f conftest.er1
47116 cat conftest.err >&5
47117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47118 (exit $ac_status); } &&
47119 { ac_try='test -z "$ac_cxx_werror_flag"
47120 || test ! -s conftest.err'
47121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47122 (eval $ac_try) 2>&5
47123 ac_status=$?
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); }; } &&
47126 { ac_try='test -s conftest.$ac_objext'
47127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47128 (eval $ac_try) 2>&5
47129 ac_status=$?
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); }; }; then
47132 glibcxx_cv_func_finitel_use=yes
47133 else
47134 echo "$as_me: failed program was:" >&5
47135 sed 's/^/| /' conftest.$ac_ext >&5
47137 glibcxx_cv_func_finitel_use=no
47139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47140 ac_ext=c
47141 ac_cpp='$CPP $CPPFLAGS'
47142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47151 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47153 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47155 for ac_func in finitel
47157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47158 echo "$as_me:$LINENO: checking for $ac_func" >&5
47159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47160 if eval "test \"\${$as_ac_var+set}\" = set"; then
47161 echo $ECHO_N "(cached) $ECHO_C" >&6
47162 else
47163 if test x$gcc_no_link = xyes; then
47164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47166 { (exit 1); exit 1; }; }
47168 cat >conftest.$ac_ext <<_ACEOF
47169 /* confdefs.h. */
47170 _ACEOF
47171 cat confdefs.h >>conftest.$ac_ext
47172 cat >>conftest.$ac_ext <<_ACEOF
47173 /* end confdefs.h. */
47174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47176 #define $ac_func innocuous_$ac_func
47178 /* System header to define __stub macros and hopefully few prototypes,
47179 which can conflict with char $ac_func (); below.
47180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47181 <limits.h> exists even on freestanding compilers. */
47183 #ifdef __STDC__
47184 # include <limits.h>
47185 #else
47186 # include <assert.h>
47187 #endif
47189 #undef $ac_func
47191 /* Override any gcc2 internal prototype to avoid an error. */
47192 #ifdef __cplusplus
47193 extern "C"
47195 #endif
47196 /* We use char because int might match the return type of a gcc2
47197 builtin and then its argument prototype would still apply. */
47198 char $ac_func ();
47199 /* The GNU C library defines this for functions which it implements
47200 to always fail with ENOSYS. Some functions are actually named
47201 something starting with __ and the normal name is an alias. */
47202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47203 choke me
47204 #else
47205 char (*f) () = $ac_func;
47206 #endif
47207 #ifdef __cplusplus
47209 #endif
47212 main ()
47214 return f != $ac_func;
47216 return 0;
47218 _ACEOF
47219 rm -f conftest.$ac_objext conftest$ac_exeext
47220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47221 (eval $ac_link) 2>conftest.er1
47222 ac_status=$?
47223 grep -v '^ *+' conftest.er1 >conftest.err
47224 rm -f conftest.er1
47225 cat conftest.err >&5
47226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47227 (exit $ac_status); } &&
47228 { ac_try='test -z "$ac_c_werror_flag"
47229 || test ! -s conftest.err'
47230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47231 (eval $ac_try) 2>&5
47232 ac_status=$?
47233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47234 (exit $ac_status); }; } &&
47235 { ac_try='test -s conftest$ac_exeext'
47236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47237 (eval $ac_try) 2>&5
47238 ac_status=$?
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); }; }; then
47241 eval "$as_ac_var=yes"
47242 else
47243 echo "$as_me: failed program was:" >&5
47244 sed 's/^/| /' conftest.$ac_ext >&5
47246 eval "$as_ac_var=no"
47248 rm -f conftest.err conftest.$ac_objext \
47249 conftest$ac_exeext conftest.$ac_ext
47251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47253 if test `eval echo '${'$as_ac_var'}'` = yes; then
47254 cat >>confdefs.h <<_ACEOF
47255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47256 _ACEOF
47259 done
47261 else
47263 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47264 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47265 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47266 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47267 echo $ECHO_N "(cached) $ECHO_C" >&6
47268 else
47272 ac_ext=cc
47273 ac_cpp='$CXXCPP $CPPFLAGS'
47274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47278 cat >conftest.$ac_ext <<_ACEOF
47279 /* confdefs.h. */
47280 _ACEOF
47281 cat confdefs.h >>conftest.$ac_ext
47282 cat >>conftest.$ac_ext <<_ACEOF
47283 /* end confdefs.h. */
47284 #include <math.h>
47285 #ifdef HAVE_IEEEFP_H
47286 #include <ieeefp.h>
47287 #endif
47290 main ()
47292 _finitel(0);
47294 return 0;
47296 _ACEOF
47297 rm -f conftest.$ac_objext
47298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47299 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__finitel_use=yes
47320 else
47321 echo "$as_me: failed program was:" >&5
47322 sed 's/^/| /' conftest.$ac_ext >&5
47324 glibcxx_cv_func__finitel_use=no
47326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47327 ac_ext=c
47328 ac_cpp='$CPP $CPPFLAGS'
47329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47338 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47340 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47342 for ac_func in _finitel
47344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47345 echo "$as_me:$LINENO: checking for $ac_func" >&5
47346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47347 if eval "test \"\${$as_ac_var+set}\" = set"; then
47348 echo $ECHO_N "(cached) $ECHO_C" >&6
47349 else
47350 if test x$gcc_no_link = xyes; then
47351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47353 { (exit 1); exit 1; }; }
47355 cat >conftest.$ac_ext <<_ACEOF
47356 /* confdefs.h. */
47357 _ACEOF
47358 cat confdefs.h >>conftest.$ac_ext
47359 cat >>conftest.$ac_ext <<_ACEOF
47360 /* end confdefs.h. */
47361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47363 #define $ac_func innocuous_$ac_func
47365 /* System header to define __stub macros and hopefully few prototypes,
47366 which can conflict with char $ac_func (); below.
47367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47368 <limits.h> exists even on freestanding compilers. */
47370 #ifdef __STDC__
47371 # include <limits.h>
47372 #else
47373 # include <assert.h>
47374 #endif
47376 #undef $ac_func
47378 /* Override any gcc2 internal prototype to avoid an error. */
47379 #ifdef __cplusplus
47380 extern "C"
47382 #endif
47383 /* We use char because int might match the return type of a gcc2
47384 builtin and then its argument prototype would still apply. */
47385 char $ac_func ();
47386 /* The GNU C library defines this for functions which it implements
47387 to always fail with ENOSYS. Some functions are actually named
47388 something starting with __ and the normal name is an alias. */
47389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47390 choke me
47391 #else
47392 char (*f) () = $ac_func;
47393 #endif
47394 #ifdef __cplusplus
47396 #endif
47399 main ()
47401 return f != $ac_func;
47403 return 0;
47405 _ACEOF
47406 rm -f conftest.$ac_objext conftest$ac_exeext
47407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47408 (eval $ac_link) 2>conftest.er1
47409 ac_status=$?
47410 grep -v '^ *+' conftest.er1 >conftest.err
47411 rm -f conftest.er1
47412 cat conftest.err >&5
47413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47414 (exit $ac_status); } &&
47415 { ac_try='test -z "$ac_c_werror_flag"
47416 || test ! -s conftest.err'
47417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47418 (eval $ac_try) 2>&5
47419 ac_status=$?
47420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47421 (exit $ac_status); }; } &&
47422 { ac_try='test -s conftest$ac_exeext'
47423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47424 (eval $ac_try) 2>&5
47425 ac_status=$?
47426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47427 (exit $ac_status); }; }; then
47428 eval "$as_ac_var=yes"
47429 else
47430 echo "$as_me: failed program was:" >&5
47431 sed 's/^/| /' conftest.$ac_ext >&5
47433 eval "$as_ac_var=no"
47435 rm -f conftest.err conftest.$ac_objext \
47436 conftest$ac_exeext conftest.$ac_ext
47438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47440 if test `eval echo '${'$as_ac_var'}'` = yes; then
47441 cat >>confdefs.h <<_ACEOF
47442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47443 _ACEOF
47446 done
47454 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47455 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47456 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47457 echo $ECHO_N "(cached) $ECHO_C" >&6
47458 else
47462 ac_ext=cc
47463 ac_cpp='$CXXCPP $CPPFLAGS'
47464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468 cat >conftest.$ac_ext <<_ACEOF
47469 /* confdefs.h. */
47470 _ACEOF
47471 cat confdefs.h >>conftest.$ac_ext
47472 cat >>conftest.$ac_ext <<_ACEOF
47473 /* end confdefs.h. */
47474 #include <math.h>
47476 main ()
47478 `for x in _acosf _asinf _atanf \
47479 _cosf _sinf _tanf \
47480 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47482 return 0;
47484 _ACEOF
47485 rm -f conftest.$ac_objext
47486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47487 (eval $ac_compile) 2>conftest.er1
47488 ac_status=$?
47489 grep -v '^ *+' conftest.er1 >conftest.err
47490 rm -f conftest.er1
47491 cat conftest.err >&5
47492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47493 (exit $ac_status); } &&
47494 { ac_try='test -z "$ac_cxx_werror_flag"
47495 || test ! -s conftest.err'
47496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47497 (eval $ac_try) 2>&5
47498 ac_status=$?
47499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 (exit $ac_status); }; } &&
47501 { ac_try='test -s conftest.$ac_objext'
47502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47503 (eval $ac_try) 2>&5
47504 ac_status=$?
47505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47506 (exit $ac_status); }; }; then
47507 glibcxx_cv_func__float_trig_use=yes
47508 else
47509 echo "$as_me: failed program was:" >&5
47510 sed 's/^/| /' conftest.$ac_ext >&5
47512 glibcxx_cv_func__float_trig_use=no
47514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47515 ac_ext=c
47516 ac_cpp='$CPP $CPPFLAGS'
47517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47523 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47524 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47525 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47535 for ac_func in _acosf _asinf _atanf \
47536 _cosf _sinf _tanf \
47537 _coshf _sinhf _tanhf
47539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47540 echo "$as_me:$LINENO: checking for $ac_func" >&5
47541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47542 if eval "test \"\${$as_ac_var+set}\" = set"; then
47543 echo $ECHO_N "(cached) $ECHO_C" >&6
47544 else
47545 if test x$gcc_no_link = xyes; then
47546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47548 { (exit 1); exit 1; }; }
47550 cat >conftest.$ac_ext <<_ACEOF
47551 /* confdefs.h. */
47552 _ACEOF
47553 cat confdefs.h >>conftest.$ac_ext
47554 cat >>conftest.$ac_ext <<_ACEOF
47555 /* end confdefs.h. */
47556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47558 #define $ac_func innocuous_$ac_func
47560 /* System header to define __stub macros and hopefully few prototypes,
47561 which can conflict with char $ac_func (); below.
47562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47563 <limits.h> exists even on freestanding compilers. */
47565 #ifdef __STDC__
47566 # include <limits.h>
47567 #else
47568 # include <assert.h>
47569 #endif
47571 #undef $ac_func
47573 /* Override any gcc2 internal prototype to avoid an error. */
47574 #ifdef __cplusplus
47575 extern "C"
47577 #endif
47578 /* We use char because int might match the return type of a gcc2
47579 builtin and then its argument prototype would still apply. */
47580 char $ac_func ();
47581 /* The GNU C library defines this for functions which it implements
47582 to always fail with ENOSYS. Some functions are actually named
47583 something starting with __ and the normal name is an alias. */
47584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47585 choke me
47586 #else
47587 char (*f) () = $ac_func;
47588 #endif
47589 #ifdef __cplusplus
47591 #endif
47594 main ()
47596 return f != $ac_func;
47598 return 0;
47600 _ACEOF
47601 rm -f conftest.$ac_objext conftest$ac_exeext
47602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47603 (eval $ac_link) 2>conftest.er1
47604 ac_status=$?
47605 grep -v '^ *+' conftest.er1 >conftest.err
47606 rm -f conftest.er1
47607 cat conftest.err >&5
47608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47609 (exit $ac_status); } &&
47610 { ac_try='test -z "$ac_c_werror_flag"
47611 || test ! -s conftest.err'
47612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47613 (eval $ac_try) 2>&5
47614 ac_status=$?
47615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47616 (exit $ac_status); }; } &&
47617 { ac_try='test -s conftest$ac_exeext'
47618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47619 (eval $ac_try) 2>&5
47620 ac_status=$?
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); }; }; then
47623 eval "$as_ac_var=yes"
47624 else
47625 echo "$as_me: failed program was:" >&5
47626 sed 's/^/| /' conftest.$ac_ext >&5
47628 eval "$as_ac_var=no"
47630 rm -f conftest.err conftest.$ac_objext \
47631 conftest$ac_exeext conftest.$ac_ext
47633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47635 if test `eval echo '${'$as_ac_var'}'` = yes; then
47636 cat >>confdefs.h <<_ACEOF
47637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47638 _ACEOF
47641 done
47646 echo "$as_me:$LINENO: checking for _float round functions" >&5
47647 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47648 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47649 echo $ECHO_N "(cached) $ECHO_C" >&6
47650 else
47654 ac_ext=cc
47655 ac_cpp='$CXXCPP $CPPFLAGS'
47656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47660 cat >conftest.$ac_ext <<_ACEOF
47661 /* confdefs.h. */
47662 _ACEOF
47663 cat confdefs.h >>conftest.$ac_ext
47664 cat >>conftest.$ac_ext <<_ACEOF
47665 /* end confdefs.h. */
47666 #include <math.h>
47668 main ()
47670 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47672 return 0;
47674 _ACEOF
47675 rm -f conftest.$ac_objext
47676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47677 (eval $ac_compile) 2>conftest.er1
47678 ac_status=$?
47679 grep -v '^ *+' conftest.er1 >conftest.err
47680 rm -f conftest.er1
47681 cat conftest.err >&5
47682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47683 (exit $ac_status); } &&
47684 { ac_try='test -z "$ac_cxx_werror_flag"
47685 || test ! -s conftest.err'
47686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47687 (eval $ac_try) 2>&5
47688 ac_status=$?
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); }; } &&
47691 { ac_try='test -s conftest.$ac_objext'
47692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47693 (eval $ac_try) 2>&5
47694 ac_status=$?
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; }; then
47697 glibcxx_cv_func__float_round_use=yes
47698 else
47699 echo "$as_me: failed program was:" >&5
47700 sed 's/^/| /' conftest.$ac_ext >&5
47702 glibcxx_cv_func__float_round_use=no
47704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47705 ac_ext=c
47706 ac_cpp='$CPP $CPPFLAGS'
47707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47714 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47715 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47718 for ac_func in _ceilf _floorf
47720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47721 echo "$as_me:$LINENO: checking for $ac_func" >&5
47722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47723 if eval "test \"\${$as_ac_var+set}\" = set"; then
47724 echo $ECHO_N "(cached) $ECHO_C" >&6
47725 else
47726 if test x$gcc_no_link = xyes; then
47727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47729 { (exit 1); exit 1; }; }
47731 cat >conftest.$ac_ext <<_ACEOF
47732 /* confdefs.h. */
47733 _ACEOF
47734 cat confdefs.h >>conftest.$ac_ext
47735 cat >>conftest.$ac_ext <<_ACEOF
47736 /* end confdefs.h. */
47737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47739 #define $ac_func innocuous_$ac_func
47741 /* System header to define __stub macros and hopefully few prototypes,
47742 which can conflict with char $ac_func (); below.
47743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47744 <limits.h> exists even on freestanding compilers. */
47746 #ifdef __STDC__
47747 # include <limits.h>
47748 #else
47749 # include <assert.h>
47750 #endif
47752 #undef $ac_func
47754 /* Override any gcc2 internal prototype to avoid an error. */
47755 #ifdef __cplusplus
47756 extern "C"
47758 #endif
47759 /* We use char because int might match the return type of a gcc2
47760 builtin and then its argument prototype would still apply. */
47761 char $ac_func ();
47762 /* The GNU C library defines this for functions which it implements
47763 to always fail with ENOSYS. Some functions are actually named
47764 something starting with __ and the normal name is an alias. */
47765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47766 choke me
47767 #else
47768 char (*f) () = $ac_func;
47769 #endif
47770 #ifdef __cplusplus
47772 #endif
47775 main ()
47777 return f != $ac_func;
47779 return 0;
47781 _ACEOF
47782 rm -f conftest.$ac_objext conftest$ac_exeext
47783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47784 (eval $ac_link) 2>conftest.er1
47785 ac_status=$?
47786 grep -v '^ *+' conftest.er1 >conftest.err
47787 rm -f conftest.er1
47788 cat conftest.err >&5
47789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47790 (exit $ac_status); } &&
47791 { ac_try='test -z "$ac_c_werror_flag"
47792 || test ! -s conftest.err'
47793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47794 (eval $ac_try) 2>&5
47795 ac_status=$?
47796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47797 (exit $ac_status); }; } &&
47798 { ac_try='test -s conftest$ac_exeext'
47799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47800 (eval $ac_try) 2>&5
47801 ac_status=$?
47802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47803 (exit $ac_status); }; }; then
47804 eval "$as_ac_var=yes"
47805 else
47806 echo "$as_me: failed program was:" >&5
47807 sed 's/^/| /' conftest.$ac_ext >&5
47809 eval "$as_ac_var=no"
47811 rm -f conftest.err conftest.$ac_objext \
47812 conftest$ac_exeext conftest.$ac_ext
47814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47816 if test `eval echo '${'$as_ac_var'}'` = yes; then
47817 cat >>confdefs.h <<_ACEOF
47818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47819 _ACEOF
47822 done
47828 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47829 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47830 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47831 echo $ECHO_N "(cached) $ECHO_C" >&6
47832 else
47836 ac_ext=cc
47837 ac_cpp='$CXXCPP $CPPFLAGS'
47838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47842 cat >conftest.$ac_ext <<_ACEOF
47843 /* confdefs.h. */
47844 _ACEOF
47845 cat confdefs.h >>conftest.$ac_ext
47846 cat >>conftest.$ac_ext <<_ACEOF
47847 /* end confdefs.h. */
47848 #include <math.h>
47850 main ()
47852 `for x in _acosl _asinl _atanl \
47853 _cosl _sinl _tanl \
47854 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47856 return 0;
47858 _ACEOF
47859 rm -f conftest.$ac_objext
47860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47861 (eval $ac_compile) 2>conftest.er1
47862 ac_status=$?
47863 grep -v '^ *+' conftest.er1 >conftest.err
47864 rm -f conftest.er1
47865 cat conftest.err >&5
47866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47867 (exit $ac_status); } &&
47868 { ac_try='test -z "$ac_cxx_werror_flag"
47869 || test ! -s conftest.err'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47872 ac_status=$?
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; } &&
47875 { ac_try='test -s conftest.$ac_objext'
47876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47877 (eval $ac_try) 2>&5
47878 ac_status=$?
47879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47880 (exit $ac_status); }; }; then
47881 glibcxx_cv_func__long_double_trig_use=yes
47882 else
47883 echo "$as_me: failed program was:" >&5
47884 sed 's/^/| /' conftest.$ac_ext >&5
47886 glibcxx_cv_func__long_double_trig_use=no
47888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47889 ac_ext=c
47890 ac_cpp='$CPP $CPPFLAGS'
47891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47898 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47899 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47909 for ac_func in _acosl _asinl _atanl \
47910 _cosl _sinl _tanl \
47911 _coshl _sinhl _tanhl
47913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47914 echo "$as_me:$LINENO: checking for $ac_func" >&5
47915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47916 if eval "test \"\${$as_ac_var+set}\" = set"; then
47917 echo $ECHO_N "(cached) $ECHO_C" >&6
47918 else
47919 if test x$gcc_no_link = xyes; then
47920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47922 { (exit 1); exit 1; }; }
47924 cat >conftest.$ac_ext <<_ACEOF
47925 /* confdefs.h. */
47926 _ACEOF
47927 cat confdefs.h >>conftest.$ac_ext
47928 cat >>conftest.$ac_ext <<_ACEOF
47929 /* end confdefs.h. */
47930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47932 #define $ac_func innocuous_$ac_func
47934 /* System header to define __stub macros and hopefully few prototypes,
47935 which can conflict with char $ac_func (); below.
47936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47937 <limits.h> exists even on freestanding compilers. */
47939 #ifdef __STDC__
47940 # include <limits.h>
47941 #else
47942 # include <assert.h>
47943 #endif
47945 #undef $ac_func
47947 /* Override any gcc2 internal prototype to avoid an error. */
47948 #ifdef __cplusplus
47949 extern "C"
47951 #endif
47952 /* We use char because int might match the return type of a gcc2
47953 builtin and then its argument prototype would still apply. */
47954 char $ac_func ();
47955 /* The GNU C library defines this for functions which it implements
47956 to always fail with ENOSYS. Some functions are actually named
47957 something starting with __ and the normal name is an alias. */
47958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47959 choke me
47960 #else
47961 char (*f) () = $ac_func;
47962 #endif
47963 #ifdef __cplusplus
47965 #endif
47968 main ()
47970 return f != $ac_func;
47972 return 0;
47974 _ACEOF
47975 rm -f conftest.$ac_objext conftest$ac_exeext
47976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47977 (eval $ac_link) 2>conftest.er1
47978 ac_status=$?
47979 grep -v '^ *+' conftest.er1 >conftest.err
47980 rm -f conftest.er1
47981 cat conftest.err >&5
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); } &&
47984 { ac_try='test -z "$ac_c_werror_flag"
47985 || test ! -s conftest.err'
47986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47987 (eval $ac_try) 2>&5
47988 ac_status=$?
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); }; } &&
47991 { ac_try='test -s conftest$ac_exeext'
47992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47993 (eval $ac_try) 2>&5
47994 ac_status=$?
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); }; }; then
47997 eval "$as_ac_var=yes"
47998 else
47999 echo "$as_me: failed program was:" >&5
48000 sed 's/^/| /' conftest.$ac_ext >&5
48002 eval "$as_ac_var=no"
48004 rm -f conftest.err conftest.$ac_objext \
48005 conftest$ac_exeext conftest.$ac_ext
48007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48009 if test `eval echo '${'$as_ac_var'}'` = yes; then
48010 cat >>confdefs.h <<_ACEOF
48011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48012 _ACEOF
48015 done
48020 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48021 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48022 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48023 echo $ECHO_N "(cached) $ECHO_C" >&6
48024 else
48028 ac_ext=cc
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48034 cat >conftest.$ac_ext <<_ACEOF
48035 /* confdefs.h. */
48036 _ACEOF
48037 cat confdefs.h >>conftest.$ac_ext
48038 cat >>conftest.$ac_ext <<_ACEOF
48039 /* end confdefs.h. */
48040 #include <math.h>
48042 main ()
48044 `for x in _ceill _floorl; do echo "$x (0);"; done`
48046 return 0;
48048 _ACEOF
48049 rm -f conftest.$ac_objext
48050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48051 (eval $ac_compile) 2>conftest.er1
48052 ac_status=$?
48053 grep -v '^ *+' conftest.er1 >conftest.err
48054 rm -f conftest.er1
48055 cat conftest.err >&5
48056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48057 (exit $ac_status); } &&
48058 { ac_try='test -z "$ac_cxx_werror_flag"
48059 || test ! -s conftest.err'
48060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48061 (eval $ac_try) 2>&5
48062 ac_status=$?
48063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48064 (exit $ac_status); }; } &&
48065 { ac_try='test -s conftest.$ac_objext'
48066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48067 (eval $ac_try) 2>&5
48068 ac_status=$?
48069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48070 (exit $ac_status); }; }; then
48071 glibcxx_cv_func__long_double_round_use=yes
48072 else
48073 echo "$as_me: failed program was:" >&5
48074 sed 's/^/| /' conftest.$ac_ext >&5
48076 glibcxx_cv_func__long_double_round_use=no
48078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48079 ac_ext=c
48080 ac_cpp='$CPP $CPPFLAGS'
48081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48088 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48089 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48092 for ac_func in _ceill _floorl
48094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48095 echo "$as_me:$LINENO: checking for $ac_func" >&5
48096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48097 if eval "test \"\${$as_ac_var+set}\" = set"; then
48098 echo $ECHO_N "(cached) $ECHO_C" >&6
48099 else
48100 if test x$gcc_no_link = xyes; then
48101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48103 { (exit 1); exit 1; }; }
48105 cat >conftest.$ac_ext <<_ACEOF
48106 /* confdefs.h. */
48107 _ACEOF
48108 cat confdefs.h >>conftest.$ac_ext
48109 cat >>conftest.$ac_ext <<_ACEOF
48110 /* end confdefs.h. */
48111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48113 #define $ac_func innocuous_$ac_func
48115 /* System header to define __stub macros and hopefully few prototypes,
48116 which can conflict with char $ac_func (); below.
48117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48118 <limits.h> exists even on freestanding compilers. */
48120 #ifdef __STDC__
48121 # include <limits.h>
48122 #else
48123 # include <assert.h>
48124 #endif
48126 #undef $ac_func
48128 /* Override any gcc2 internal prototype to avoid an error. */
48129 #ifdef __cplusplus
48130 extern "C"
48132 #endif
48133 /* We use char because int might match the return type of a gcc2
48134 builtin and then its argument prototype would still apply. */
48135 char $ac_func ();
48136 /* The GNU C library defines this for functions which it implements
48137 to always fail with ENOSYS. Some functions are actually named
48138 something starting with __ and the normal name is an alias. */
48139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48140 choke me
48141 #else
48142 char (*f) () = $ac_func;
48143 #endif
48144 #ifdef __cplusplus
48146 #endif
48149 main ()
48151 return f != $ac_func;
48153 return 0;
48155 _ACEOF
48156 rm -f conftest.$ac_objext conftest$ac_exeext
48157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48158 (eval $ac_link) 2>conftest.er1
48159 ac_status=$?
48160 grep -v '^ *+' conftest.er1 >conftest.err
48161 rm -f conftest.er1
48162 cat conftest.err >&5
48163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48164 (exit $ac_status); } &&
48165 { ac_try='test -z "$ac_c_werror_flag"
48166 || test ! -s conftest.err'
48167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48168 (eval $ac_try) 2>&5
48169 ac_status=$?
48170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48171 (exit $ac_status); }; } &&
48172 { ac_try='test -s conftest$ac_exeext'
48173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48174 (eval $ac_try) 2>&5
48175 ac_status=$?
48176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48177 (exit $ac_status); }; }; then
48178 eval "$as_ac_var=yes"
48179 else
48180 echo "$as_me: failed program was:" >&5
48181 sed 's/^/| /' conftest.$ac_ext >&5
48183 eval "$as_ac_var=no"
48185 rm -f conftest.err conftest.$ac_objext \
48186 conftest$ac_exeext conftest.$ac_ext
48188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48190 if test `eval echo '${'$as_ac_var'}'` = yes; then
48191 cat >>confdefs.h <<_ACEOF
48192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48193 _ACEOF
48196 done
48201 LIBS="$ac_save_LIBS"
48202 CXXFLAGS="$ac_save_CXXFLAGS"
48206 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48207 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48208 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48209 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48210 echo $ECHO_N "(cached) $ECHO_C" >&6
48211 else
48215 ac_ext=cc
48216 ac_cpp='$CXXCPP $CPPFLAGS'
48217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48221 cat >conftest.$ac_ext <<_ACEOF
48222 /* confdefs.h. */
48223 _ACEOF
48224 cat confdefs.h >>conftest.$ac_ext
48225 cat >>conftest.$ac_ext <<_ACEOF
48226 /* end confdefs.h. */
48227 #include <math.h>
48229 main ()
48231 __builtin_abs(0);
48233 return 0;
48235 _ACEOF
48236 rm -f conftest.$ac_objext
48237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48238 (eval $ac_compile) 2>conftest.er1
48239 ac_status=$?
48240 grep -v '^ *+' conftest.er1 >conftest.err
48241 rm -f conftest.er1
48242 cat conftest.err >&5
48243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48244 (exit $ac_status); } &&
48245 { ac_try='test -z "$ac_cxx_werror_flag"
48246 || test ! -s conftest.err'
48247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48248 (eval $ac_try) 2>&5
48249 ac_status=$?
48250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48251 (exit $ac_status); }; } &&
48252 { ac_try='test -s conftest.$ac_objext'
48253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48254 (eval $ac_try) 2>&5
48255 ac_status=$?
48256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48257 (exit $ac_status); }; }; then
48258 glibcxx_cv_func___builtin_abs_use=yes
48259 else
48260 echo "$as_me: failed program was:" >&5
48261 sed 's/^/| /' conftest.$ac_ext >&5
48263 glibcxx_cv_func___builtin_abs_use=no
48265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48266 ac_ext=c
48267 ac_cpp='$CPP $CPPFLAGS'
48268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48276 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48277 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48278 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48279 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48280 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48281 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48282 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48283 echo $ECHO_N "(cached) $ECHO_C" >&6
48284 else
48286 if test x$gcc_no_link = xyes; then
48287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48289 { (exit 1); exit 1; }; }
48291 cat >conftest.$ac_ext <<_ACEOF
48292 /* confdefs.h. */
48293 _ACEOF
48294 cat confdefs.h >>conftest.$ac_ext
48295 cat >>conftest.$ac_ext <<_ACEOF
48296 /* end confdefs.h. */
48297 #include <math.h>
48299 main ()
48301 __builtin_abs(0);
48303 return 0;
48305 _ACEOF
48306 rm -f conftest.$ac_objext conftest$ac_exeext
48307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48308 (eval $ac_link) 2>conftest.er1
48309 ac_status=$?
48310 grep -v '^ *+' conftest.er1 >conftest.err
48311 rm -f conftest.er1
48312 cat conftest.err >&5
48313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48314 (exit $ac_status); } &&
48315 { ac_try='test -z "$ac_c_werror_flag"
48316 || test ! -s conftest.err'
48317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48318 (eval $ac_try) 2>&5
48319 ac_status=$?
48320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48321 (exit $ac_status); }; } &&
48322 { ac_try='test -s conftest$ac_exeext'
48323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48324 (eval $ac_try) 2>&5
48325 ac_status=$?
48326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48327 (exit $ac_status); }; }; then
48328 glibcxx_cv_func___builtin_abs_link=yes
48329 else
48330 echo "$as_me: failed program was:" >&5
48331 sed 's/^/| /' conftest.$ac_ext >&5
48333 glibcxx_cv_func___builtin_abs_link=no
48335 rm -f conftest.err conftest.$ac_objext \
48336 conftest$ac_exeext conftest.$ac_ext
48341 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48342 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48343 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48344 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48346 cat >>confdefs.h <<_ACEOF
48347 #define ${ac_tr_func} 1
48348 _ACEOF
48354 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48355 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48356 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48357 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48359 else
48363 ac_ext=cc
48364 ac_cpp='$CXXCPP $CPPFLAGS'
48365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_fabsf(0);
48381 return 0;
48383 _ACEOF
48384 rm -f conftest.$ac_objext
48385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48386 (eval $ac_compile) 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_cxx_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_objext'
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_fabsf_use=yes
48407 else
48408 echo "$as_me: failed program was:" >&5
48409 sed 's/^/| /' conftest.$ac_ext >&5
48411 glibcxx_cv_func___builtin_fabsf_use=no
48413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48414 ac_ext=c
48415 ac_cpp='$CPP $CPPFLAGS'
48416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48424 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48425 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48426 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48427 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48428 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48429 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48430 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48431 echo $ECHO_N "(cached) $ECHO_C" >&6
48432 else
48434 if test x$gcc_no_link = xyes; then
48435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48437 { (exit 1); exit 1; }; }
48439 cat >conftest.$ac_ext <<_ACEOF
48440 /* confdefs.h. */
48441 _ACEOF
48442 cat confdefs.h >>conftest.$ac_ext
48443 cat >>conftest.$ac_ext <<_ACEOF
48444 /* end confdefs.h. */
48445 #include <math.h>
48447 main ()
48449 __builtin_fabsf(0);
48451 return 0;
48453 _ACEOF
48454 rm -f conftest.$ac_objext conftest$ac_exeext
48455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48456 (eval $ac_link) 2>conftest.er1
48457 ac_status=$?
48458 grep -v '^ *+' conftest.er1 >conftest.err
48459 rm -f conftest.er1
48460 cat conftest.err >&5
48461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48462 (exit $ac_status); } &&
48463 { ac_try='test -z "$ac_c_werror_flag"
48464 || test ! -s conftest.err'
48465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48466 (eval $ac_try) 2>&5
48467 ac_status=$?
48468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48469 (exit $ac_status); }; } &&
48470 { ac_try='test -s conftest$ac_exeext'
48471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48472 (eval $ac_try) 2>&5
48473 ac_status=$?
48474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48475 (exit $ac_status); }; }; then
48476 glibcxx_cv_func___builtin_fabsf_link=yes
48477 else
48478 echo "$as_me: failed program was:" >&5
48479 sed 's/^/| /' conftest.$ac_ext >&5
48481 glibcxx_cv_func___builtin_fabsf_link=no
48483 rm -f conftest.err conftest.$ac_objext \
48484 conftest$ac_exeext conftest.$ac_ext
48489 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48490 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48491 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48492 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48494 cat >>confdefs.h <<_ACEOF
48495 #define ${ac_tr_func} 1
48496 _ACEOF
48502 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48503 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48504 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48505 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48506 echo $ECHO_N "(cached) $ECHO_C" >&6
48507 else
48511 ac_ext=cc
48512 ac_cpp='$CXXCPP $CPPFLAGS'
48513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_fabs(0);
48529 return 0;
48531 _ACEOF
48532 rm -f conftest.$ac_objext
48533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48534 (eval $ac_compile) 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_cxx_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_objext'
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_fabs_use=yes
48555 else
48556 echo "$as_me: failed program was:" >&5
48557 sed 's/^/| /' conftest.$ac_ext >&5
48559 glibcxx_cv_func___builtin_fabs_use=no
48561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48562 ac_ext=c
48563 ac_cpp='$CPP $CPPFLAGS'
48564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48573 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48574 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48575 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48576 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48577 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48578 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48579 echo $ECHO_N "(cached) $ECHO_C" >&6
48580 else
48582 if test x$gcc_no_link = xyes; then
48583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48585 { (exit 1); exit 1; }; }
48587 cat >conftest.$ac_ext <<_ACEOF
48588 /* confdefs.h. */
48589 _ACEOF
48590 cat confdefs.h >>conftest.$ac_ext
48591 cat >>conftest.$ac_ext <<_ACEOF
48592 /* end confdefs.h. */
48593 #include <math.h>
48595 main ()
48597 __builtin_fabs(0);
48599 return 0;
48601 _ACEOF
48602 rm -f conftest.$ac_objext conftest$ac_exeext
48603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48604 (eval $ac_link) 2>conftest.er1
48605 ac_status=$?
48606 grep -v '^ *+' conftest.er1 >conftest.err
48607 rm -f conftest.er1
48608 cat conftest.err >&5
48609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48610 (exit $ac_status); } &&
48611 { ac_try='test -z "$ac_c_werror_flag"
48612 || test ! -s conftest.err'
48613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48614 (eval $ac_try) 2>&5
48615 ac_status=$?
48616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48617 (exit $ac_status); }; } &&
48618 { ac_try='test -s conftest$ac_exeext'
48619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48620 (eval $ac_try) 2>&5
48621 ac_status=$?
48622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48623 (exit $ac_status); }; }; then
48624 glibcxx_cv_func___builtin_fabs_link=yes
48625 else
48626 echo "$as_me: failed program was:" >&5
48627 sed 's/^/| /' conftest.$ac_ext >&5
48629 glibcxx_cv_func___builtin_fabs_link=no
48631 rm -f conftest.err conftest.$ac_objext \
48632 conftest$ac_exeext conftest.$ac_ext
48637 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48638 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48639 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48640 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48642 cat >>confdefs.h <<_ACEOF
48643 #define ${ac_tr_func} 1
48644 _ACEOF
48650 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48651 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48652 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48653 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48654 echo $ECHO_N "(cached) $ECHO_C" >&6
48655 else
48659 ac_ext=cc
48660 ac_cpp='$CXXCPP $CPPFLAGS'
48661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_fabsl(0);
48677 return 0;
48679 _ACEOF
48680 rm -f conftest.$ac_objext
48681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48682 (eval $ac_compile) 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_cxx_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_objext'
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_fabsl_use=yes
48703 else
48704 echo "$as_me: failed program was:" >&5
48705 sed 's/^/| /' conftest.$ac_ext >&5
48707 glibcxx_cv_func___builtin_fabsl_use=no
48709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48710 ac_ext=c
48711 ac_cpp='$CPP $CPPFLAGS'
48712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48720 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48721 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48722 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48723 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48724 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48725 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48726 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48727 echo $ECHO_N "(cached) $ECHO_C" >&6
48728 else
48730 if test x$gcc_no_link = xyes; then
48731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48733 { (exit 1); exit 1; }; }
48735 cat >conftest.$ac_ext <<_ACEOF
48736 /* confdefs.h. */
48737 _ACEOF
48738 cat confdefs.h >>conftest.$ac_ext
48739 cat >>conftest.$ac_ext <<_ACEOF
48740 /* end confdefs.h. */
48741 #include <math.h>
48743 main ()
48745 __builtin_fabsl(0);
48747 return 0;
48749 _ACEOF
48750 rm -f conftest.$ac_objext conftest$ac_exeext
48751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48752 (eval $ac_link) 2>conftest.er1
48753 ac_status=$?
48754 grep -v '^ *+' conftest.er1 >conftest.err
48755 rm -f conftest.er1
48756 cat conftest.err >&5
48757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48758 (exit $ac_status); } &&
48759 { ac_try='test -z "$ac_c_werror_flag"
48760 || test ! -s conftest.err'
48761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48762 (eval $ac_try) 2>&5
48763 ac_status=$?
48764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48765 (exit $ac_status); }; } &&
48766 { ac_try='test -s conftest$ac_exeext'
48767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48768 (eval $ac_try) 2>&5
48769 ac_status=$?
48770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48771 (exit $ac_status); }; }; then
48772 glibcxx_cv_func___builtin_fabsl_link=yes
48773 else
48774 echo "$as_me: failed program was:" >&5
48775 sed 's/^/| /' conftest.$ac_ext >&5
48777 glibcxx_cv_func___builtin_fabsl_link=no
48779 rm -f conftest.err conftest.$ac_objext \
48780 conftest$ac_exeext conftest.$ac_ext
48785 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48786 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48787 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48788 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48790 cat >>confdefs.h <<_ACEOF
48791 #define ${ac_tr_func} 1
48792 _ACEOF
48798 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48799 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48800 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48801 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48802 echo $ECHO_N "(cached) $ECHO_C" >&6
48803 else
48807 ac_ext=cc
48808 ac_cpp='$CXXCPP $CPPFLAGS'
48809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_labs(0);
48825 return 0;
48827 _ACEOF
48828 rm -f conftest.$ac_objext
48829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48830 (eval $ac_compile) 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_cxx_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_objext'
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_labs_use=yes
48851 else
48852 echo "$as_me: failed program was:" >&5
48853 sed 's/^/| /' conftest.$ac_ext >&5
48855 glibcxx_cv_func___builtin_labs_use=no
48857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48858 ac_ext=c
48859 ac_cpp='$CPP $CPPFLAGS'
48860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48868 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48869 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48870 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48871 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48872 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48873 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48874 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48875 echo $ECHO_N "(cached) $ECHO_C" >&6
48876 else
48878 if test x$gcc_no_link = xyes; then
48879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48881 { (exit 1); exit 1; }; }
48883 cat >conftest.$ac_ext <<_ACEOF
48884 /* confdefs.h. */
48885 _ACEOF
48886 cat confdefs.h >>conftest.$ac_ext
48887 cat >>conftest.$ac_ext <<_ACEOF
48888 /* end confdefs.h. */
48889 #include <math.h>
48891 main ()
48893 __builtin_labs(0);
48895 return 0;
48897 _ACEOF
48898 rm -f conftest.$ac_objext conftest$ac_exeext
48899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48900 (eval $ac_link) 2>conftest.er1
48901 ac_status=$?
48902 grep -v '^ *+' conftest.er1 >conftest.err
48903 rm -f conftest.er1
48904 cat conftest.err >&5
48905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48906 (exit $ac_status); } &&
48907 { ac_try='test -z "$ac_c_werror_flag"
48908 || test ! -s conftest.err'
48909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48910 (eval $ac_try) 2>&5
48911 ac_status=$?
48912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48913 (exit $ac_status); }; } &&
48914 { ac_try='test -s conftest$ac_exeext'
48915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48916 (eval $ac_try) 2>&5
48917 ac_status=$?
48918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48919 (exit $ac_status); }; }; then
48920 glibcxx_cv_func___builtin_labs_link=yes
48921 else
48922 echo "$as_me: failed program was:" >&5
48923 sed 's/^/| /' conftest.$ac_ext >&5
48925 glibcxx_cv_func___builtin_labs_link=no
48927 rm -f conftest.err conftest.$ac_objext \
48928 conftest$ac_exeext conftest.$ac_ext
48933 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48934 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48935 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48936 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48938 cat >>confdefs.h <<_ACEOF
48939 #define ${ac_tr_func} 1
48940 _ACEOF
48947 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48948 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48949 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48950 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48951 echo $ECHO_N "(cached) $ECHO_C" >&6
48952 else
48956 ac_ext=cc
48957 ac_cpp='$CXXCPP $CPPFLAGS'
48958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48962 cat >conftest.$ac_ext <<_ACEOF
48963 /* confdefs.h. */
48964 _ACEOF
48965 cat confdefs.h >>conftest.$ac_ext
48966 cat >>conftest.$ac_ext <<_ACEOF
48967 /* end confdefs.h. */
48968 #include <math.h>
48970 main ()
48972 __builtin_sqrtf(0);
48974 return 0;
48976 _ACEOF
48977 rm -f conftest.$ac_objext
48978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48979 (eval $ac_compile) 2>conftest.er1
48980 ac_status=$?
48981 grep -v '^ *+' conftest.er1 >conftest.err
48982 rm -f conftest.er1
48983 cat conftest.err >&5
48984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48985 (exit $ac_status); } &&
48986 { ac_try='test -z "$ac_cxx_werror_flag"
48987 || test ! -s conftest.err'
48988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48989 (eval $ac_try) 2>&5
48990 ac_status=$?
48991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48992 (exit $ac_status); }; } &&
48993 { ac_try='test -s conftest.$ac_objext'
48994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48995 (eval $ac_try) 2>&5
48996 ac_status=$?
48997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48998 (exit $ac_status); }; }; then
48999 glibcxx_cv_func___builtin_sqrtf_use=yes
49000 else
49001 echo "$as_me: failed program was:" >&5
49002 sed 's/^/| /' conftest.$ac_ext >&5
49004 glibcxx_cv_func___builtin_sqrtf_use=no
49006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49007 ac_ext=c
49008 ac_cpp='$CPP $CPPFLAGS'
49009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49017 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49018 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49019 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49020 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49021 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49022 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49023 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49024 echo $ECHO_N "(cached) $ECHO_C" >&6
49025 else
49027 if test x$gcc_no_link = xyes; then
49028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49030 { (exit 1); exit 1; }; }
49032 cat >conftest.$ac_ext <<_ACEOF
49033 /* confdefs.h. */
49034 _ACEOF
49035 cat confdefs.h >>conftest.$ac_ext
49036 cat >>conftest.$ac_ext <<_ACEOF
49037 /* end confdefs.h. */
49038 #include <math.h>
49040 main ()
49042 __builtin_sqrtf(0);
49044 return 0;
49046 _ACEOF
49047 rm -f conftest.$ac_objext conftest$ac_exeext
49048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49049 (eval $ac_link) 2>conftest.er1
49050 ac_status=$?
49051 grep -v '^ *+' conftest.er1 >conftest.err
49052 rm -f conftest.er1
49053 cat conftest.err >&5
49054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49055 (exit $ac_status); } &&
49056 { ac_try='test -z "$ac_c_werror_flag"
49057 || test ! -s conftest.err'
49058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49059 (eval $ac_try) 2>&5
49060 ac_status=$?
49061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49062 (exit $ac_status); }; } &&
49063 { ac_try='test -s conftest$ac_exeext'
49064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49065 (eval $ac_try) 2>&5
49066 ac_status=$?
49067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49068 (exit $ac_status); }; }; then
49069 glibcxx_cv_func___builtin_sqrtf_link=yes
49070 else
49071 echo "$as_me: failed program was:" >&5
49072 sed 's/^/| /' conftest.$ac_ext >&5
49074 glibcxx_cv_func___builtin_sqrtf_link=no
49076 rm -f conftest.err conftest.$ac_objext \
49077 conftest$ac_exeext conftest.$ac_ext
49082 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49083 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49084 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49085 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49087 cat >>confdefs.h <<_ACEOF
49088 #define ${ac_tr_func} 1
49089 _ACEOF
49095 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49096 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49097 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49098 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49099 echo $ECHO_N "(cached) $ECHO_C" >&6
49100 else
49104 ac_ext=cc
49105 ac_cpp='$CXXCPP $CPPFLAGS'
49106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sqrt(0);
49122 return 0;
49124 _ACEOF
49125 rm -f conftest.$ac_objext
49126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49127 (eval $ac_compile) 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_cxx_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_objext'
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_sqrt_use=yes
49148 else
49149 echo "$as_me: failed program was:" >&5
49150 sed 's/^/| /' conftest.$ac_ext >&5
49152 glibcxx_cv_func___builtin_sqrt_use=no
49154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49155 ac_ext=c
49156 ac_cpp='$CPP $CPPFLAGS'
49157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49166 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49167 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49168 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49169 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49170 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49171 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49172 echo $ECHO_N "(cached) $ECHO_C" >&6
49173 else
49175 if test x$gcc_no_link = xyes; then
49176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49178 { (exit 1); exit 1; }; }
49180 cat >conftest.$ac_ext <<_ACEOF
49181 /* confdefs.h. */
49182 _ACEOF
49183 cat confdefs.h >>conftest.$ac_ext
49184 cat >>conftest.$ac_ext <<_ACEOF
49185 /* end confdefs.h. */
49186 #include <math.h>
49188 main ()
49190 __builtin_sqrt(0);
49192 return 0;
49194 _ACEOF
49195 rm -f conftest.$ac_objext conftest$ac_exeext
49196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49197 (eval $ac_link) 2>conftest.er1
49198 ac_status=$?
49199 grep -v '^ *+' conftest.er1 >conftest.err
49200 rm -f conftest.er1
49201 cat conftest.err >&5
49202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203 (exit $ac_status); } &&
49204 { ac_try='test -z "$ac_c_werror_flag"
49205 || test ! -s conftest.err'
49206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49207 (eval $ac_try) 2>&5
49208 ac_status=$?
49209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49210 (exit $ac_status); }; } &&
49211 { ac_try='test -s conftest$ac_exeext'
49212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49213 (eval $ac_try) 2>&5
49214 ac_status=$?
49215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49216 (exit $ac_status); }; }; then
49217 glibcxx_cv_func___builtin_sqrt_link=yes
49218 else
49219 echo "$as_me: failed program was:" >&5
49220 sed 's/^/| /' conftest.$ac_ext >&5
49222 glibcxx_cv_func___builtin_sqrt_link=no
49224 rm -f conftest.err conftest.$ac_objext \
49225 conftest$ac_exeext conftest.$ac_ext
49230 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49231 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49232 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49233 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49235 cat >>confdefs.h <<_ACEOF
49236 #define ${ac_tr_func} 1
49237 _ACEOF
49243 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49244 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49245 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49246 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49247 echo $ECHO_N "(cached) $ECHO_C" >&6
49248 else
49252 ac_ext=cc
49253 ac_cpp='$CXXCPP $CPPFLAGS'
49254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sqrtl(0);
49270 return 0;
49272 _ACEOF
49273 rm -f conftest.$ac_objext
49274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49275 (eval $ac_compile) 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_cxx_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_objext'
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_sqrtl_use=yes
49296 else
49297 echo "$as_me: failed program was:" >&5
49298 sed 's/^/| /' conftest.$ac_ext >&5
49300 glibcxx_cv_func___builtin_sqrtl_use=no
49302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49303 ac_ext=c
49304 ac_cpp='$CPP $CPPFLAGS'
49305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49314 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49315 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49316 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49317 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49318 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49319 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49320 echo $ECHO_N "(cached) $ECHO_C" >&6
49321 else
49323 if test x$gcc_no_link = xyes; then
49324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49326 { (exit 1); exit 1; }; }
49328 cat >conftest.$ac_ext <<_ACEOF
49329 /* confdefs.h. */
49330 _ACEOF
49331 cat confdefs.h >>conftest.$ac_ext
49332 cat >>conftest.$ac_ext <<_ACEOF
49333 /* end confdefs.h. */
49334 #include <math.h>
49336 main ()
49338 __builtin_sqrtl(0);
49340 return 0;
49342 _ACEOF
49343 rm -f conftest.$ac_objext conftest$ac_exeext
49344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49345 (eval $ac_link) 2>conftest.er1
49346 ac_status=$?
49347 grep -v '^ *+' conftest.er1 >conftest.err
49348 rm -f conftest.er1
49349 cat conftest.err >&5
49350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49351 (exit $ac_status); } &&
49352 { ac_try='test -z "$ac_c_werror_flag"
49353 || test ! -s conftest.err'
49354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49355 (eval $ac_try) 2>&5
49356 ac_status=$?
49357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49358 (exit $ac_status); }; } &&
49359 { ac_try='test -s conftest$ac_exeext'
49360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49361 (eval $ac_try) 2>&5
49362 ac_status=$?
49363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49364 (exit $ac_status); }; }; then
49365 glibcxx_cv_func___builtin_sqrtl_link=yes
49366 else
49367 echo "$as_me: failed program was:" >&5
49368 sed 's/^/| /' conftest.$ac_ext >&5
49370 glibcxx_cv_func___builtin_sqrtl_link=no
49372 rm -f conftest.err conftest.$ac_objext \
49373 conftest$ac_exeext conftest.$ac_ext
49378 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49379 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49380 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49381 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49383 cat >>confdefs.h <<_ACEOF
49384 #define ${ac_tr_func} 1
49385 _ACEOF
49392 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49393 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49394 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49395 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49396 echo $ECHO_N "(cached) $ECHO_C" >&6
49397 else
49401 ac_ext=cc
49402 ac_cpp='$CXXCPP $CPPFLAGS'
49403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49407 cat >conftest.$ac_ext <<_ACEOF
49408 /* confdefs.h. */
49409 _ACEOF
49410 cat confdefs.h >>conftest.$ac_ext
49411 cat >>conftest.$ac_ext <<_ACEOF
49412 /* end confdefs.h. */
49413 #include <math.h>
49415 main ()
49417 __builtin_sinf(0);
49419 return 0;
49421 _ACEOF
49422 rm -f conftest.$ac_objext
49423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49424 (eval $ac_compile) 2>conftest.er1
49425 ac_status=$?
49426 grep -v '^ *+' conftest.er1 >conftest.err
49427 rm -f conftest.er1
49428 cat conftest.err >&5
49429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49430 (exit $ac_status); } &&
49431 { ac_try='test -z "$ac_cxx_werror_flag"
49432 || test ! -s conftest.err'
49433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49434 (eval $ac_try) 2>&5
49435 ac_status=$?
49436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49437 (exit $ac_status); }; } &&
49438 { ac_try='test -s conftest.$ac_objext'
49439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49440 (eval $ac_try) 2>&5
49441 ac_status=$?
49442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49443 (exit $ac_status); }; }; then
49444 glibcxx_cv_func___builtin_sinf_use=yes
49445 else
49446 echo "$as_me: failed program was:" >&5
49447 sed 's/^/| /' conftest.$ac_ext >&5
49449 glibcxx_cv_func___builtin_sinf_use=no
49451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49452 ac_ext=c
49453 ac_cpp='$CPP $CPPFLAGS'
49454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49463 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49464 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49465 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49466 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49467 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49468 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49469 echo $ECHO_N "(cached) $ECHO_C" >&6
49470 else
49472 if test x$gcc_no_link = xyes; then
49473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49475 { (exit 1); exit 1; }; }
49477 cat >conftest.$ac_ext <<_ACEOF
49478 /* confdefs.h. */
49479 _ACEOF
49480 cat confdefs.h >>conftest.$ac_ext
49481 cat >>conftest.$ac_ext <<_ACEOF
49482 /* end confdefs.h. */
49483 #include <math.h>
49485 main ()
49487 __builtin_sinf(0);
49489 return 0;
49491 _ACEOF
49492 rm -f conftest.$ac_objext conftest$ac_exeext
49493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49494 (eval $ac_link) 2>conftest.er1
49495 ac_status=$?
49496 grep -v '^ *+' conftest.er1 >conftest.err
49497 rm -f conftest.er1
49498 cat conftest.err >&5
49499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49500 (exit $ac_status); } &&
49501 { ac_try='test -z "$ac_c_werror_flag"
49502 || test ! -s conftest.err'
49503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49504 (eval $ac_try) 2>&5
49505 ac_status=$?
49506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49507 (exit $ac_status); }; } &&
49508 { ac_try='test -s conftest$ac_exeext'
49509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49510 (eval $ac_try) 2>&5
49511 ac_status=$?
49512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49513 (exit $ac_status); }; }; then
49514 glibcxx_cv_func___builtin_sinf_link=yes
49515 else
49516 echo "$as_me: failed program was:" >&5
49517 sed 's/^/| /' conftest.$ac_ext >&5
49519 glibcxx_cv_func___builtin_sinf_link=no
49521 rm -f conftest.err conftest.$ac_objext \
49522 conftest$ac_exeext conftest.$ac_ext
49527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49528 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49529 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49530 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49532 cat >>confdefs.h <<_ACEOF
49533 #define ${ac_tr_func} 1
49534 _ACEOF
49540 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49541 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49542 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49543 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49544 echo $ECHO_N "(cached) $ECHO_C" >&6
49545 else
49549 ac_ext=cc
49550 ac_cpp='$CXXCPP $CPPFLAGS'
49551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sin(0);
49567 return 0;
49569 _ACEOF
49570 rm -f conftest.$ac_objext
49571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49572 (eval $ac_compile) 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_cxx_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_objext'
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_sin_use=yes
49593 else
49594 echo "$as_me: failed program was:" >&5
49595 sed 's/^/| /' conftest.$ac_ext >&5
49597 glibcxx_cv_func___builtin_sin_use=no
49599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49611 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49612 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49613 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49614 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49615 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49616 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49617 echo $ECHO_N "(cached) $ECHO_C" >&6
49618 else
49620 if test x$gcc_no_link = xyes; then
49621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49623 { (exit 1); exit 1; }; }
49625 cat >conftest.$ac_ext <<_ACEOF
49626 /* confdefs.h. */
49627 _ACEOF
49628 cat confdefs.h >>conftest.$ac_ext
49629 cat >>conftest.$ac_ext <<_ACEOF
49630 /* end confdefs.h. */
49631 #include <math.h>
49633 main ()
49635 __builtin_sin(0);
49637 return 0;
49639 _ACEOF
49640 rm -f conftest.$ac_objext conftest$ac_exeext
49641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49642 (eval $ac_link) 2>conftest.er1
49643 ac_status=$?
49644 grep -v '^ *+' conftest.er1 >conftest.err
49645 rm -f conftest.er1
49646 cat conftest.err >&5
49647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49648 (exit $ac_status); } &&
49649 { ac_try='test -z "$ac_c_werror_flag"
49650 || test ! -s conftest.err'
49651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49652 (eval $ac_try) 2>&5
49653 ac_status=$?
49654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49655 (exit $ac_status); }; } &&
49656 { ac_try='test -s conftest$ac_exeext'
49657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49658 (eval $ac_try) 2>&5
49659 ac_status=$?
49660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49661 (exit $ac_status); }; }; then
49662 glibcxx_cv_func___builtin_sin_link=yes
49663 else
49664 echo "$as_me: failed program was:" >&5
49665 sed 's/^/| /' conftest.$ac_ext >&5
49667 glibcxx_cv_func___builtin_sin_link=no
49669 rm -f conftest.err conftest.$ac_objext \
49670 conftest$ac_exeext conftest.$ac_ext
49675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49676 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49677 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49678 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49680 cat >>confdefs.h <<_ACEOF
49681 #define ${ac_tr_func} 1
49682 _ACEOF
49688 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49689 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49690 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49691 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49692 echo $ECHO_N "(cached) $ECHO_C" >&6
49693 else
49697 ac_ext=cc
49698 ac_cpp='$CXXCPP $CPPFLAGS'
49699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sinl(0);
49715 return 0;
49717 _ACEOF
49718 rm -f conftest.$ac_objext
49719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49720 (eval $ac_compile) 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_cxx_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_objext'
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_sinl_use=yes
49741 else
49742 echo "$as_me: failed program was:" >&5
49743 sed 's/^/| /' conftest.$ac_ext >&5
49745 glibcxx_cv_func___builtin_sinl_use=no
49747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49748 ac_ext=c
49749 ac_cpp='$CPP $CPPFLAGS'
49750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49758 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49759 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49760 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49761 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49762 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49763 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49764 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49765 echo $ECHO_N "(cached) $ECHO_C" >&6
49766 else
49768 if test x$gcc_no_link = xyes; then
49769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49771 { (exit 1); exit 1; }; }
49773 cat >conftest.$ac_ext <<_ACEOF
49774 /* confdefs.h. */
49775 _ACEOF
49776 cat confdefs.h >>conftest.$ac_ext
49777 cat >>conftest.$ac_ext <<_ACEOF
49778 /* end confdefs.h. */
49779 #include <math.h>
49781 main ()
49783 __builtin_sinl(0);
49785 return 0;
49787 _ACEOF
49788 rm -f conftest.$ac_objext conftest$ac_exeext
49789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49790 (eval $ac_link) 2>conftest.er1
49791 ac_status=$?
49792 grep -v '^ *+' conftest.er1 >conftest.err
49793 rm -f conftest.er1
49794 cat conftest.err >&5
49795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49796 (exit $ac_status); } &&
49797 { ac_try='test -z "$ac_c_werror_flag"
49798 || test ! -s conftest.err'
49799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49800 (eval $ac_try) 2>&5
49801 ac_status=$?
49802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49803 (exit $ac_status); }; } &&
49804 { ac_try='test -s conftest$ac_exeext'
49805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49806 (eval $ac_try) 2>&5
49807 ac_status=$?
49808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49809 (exit $ac_status); }; }; then
49810 glibcxx_cv_func___builtin_sinl_link=yes
49811 else
49812 echo "$as_me: failed program was:" >&5
49813 sed 's/^/| /' conftest.$ac_ext >&5
49815 glibcxx_cv_func___builtin_sinl_link=no
49817 rm -f conftest.err conftest.$ac_objext \
49818 conftest$ac_exeext conftest.$ac_ext
49823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49824 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49825 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49826 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49828 cat >>confdefs.h <<_ACEOF
49829 #define ${ac_tr_func} 1
49830 _ACEOF
49837 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49838 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49839 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49840 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49841 echo $ECHO_N "(cached) $ECHO_C" >&6
49842 else
49846 ac_ext=cc
49847 ac_cpp='$CXXCPP $CPPFLAGS'
49848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49852 cat >conftest.$ac_ext <<_ACEOF
49853 /* confdefs.h. */
49854 _ACEOF
49855 cat confdefs.h >>conftest.$ac_ext
49856 cat >>conftest.$ac_ext <<_ACEOF
49857 /* end confdefs.h. */
49858 #include <math.h>
49860 main ()
49862 __builtin_cosf(0);
49864 return 0;
49866 _ACEOF
49867 rm -f conftest.$ac_objext
49868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49869 (eval $ac_compile) 2>conftest.er1
49870 ac_status=$?
49871 grep -v '^ *+' conftest.er1 >conftest.err
49872 rm -f conftest.er1
49873 cat conftest.err >&5
49874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49875 (exit $ac_status); } &&
49876 { ac_try='test -z "$ac_cxx_werror_flag"
49877 || test ! -s conftest.err'
49878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49879 (eval $ac_try) 2>&5
49880 ac_status=$?
49881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49882 (exit $ac_status); }; } &&
49883 { ac_try='test -s conftest.$ac_objext'
49884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49885 (eval $ac_try) 2>&5
49886 ac_status=$?
49887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49888 (exit $ac_status); }; }; then
49889 glibcxx_cv_func___builtin_cosf_use=yes
49890 else
49891 echo "$as_me: failed program was:" >&5
49892 sed 's/^/| /' conftest.$ac_ext >&5
49894 glibcxx_cv_func___builtin_cosf_use=no
49896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49897 ac_ext=c
49898 ac_cpp='$CPP $CPPFLAGS'
49899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49907 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49908 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49909 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49910 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49911 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49912 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49913 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49914 echo $ECHO_N "(cached) $ECHO_C" >&6
49915 else
49917 if test x$gcc_no_link = xyes; then
49918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49920 { (exit 1); exit 1; }; }
49922 cat >conftest.$ac_ext <<_ACEOF
49923 /* confdefs.h. */
49924 _ACEOF
49925 cat confdefs.h >>conftest.$ac_ext
49926 cat >>conftest.$ac_ext <<_ACEOF
49927 /* end confdefs.h. */
49928 #include <math.h>
49930 main ()
49932 __builtin_cosf(0);
49934 return 0;
49936 _ACEOF
49937 rm -f conftest.$ac_objext conftest$ac_exeext
49938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49939 (eval $ac_link) 2>conftest.er1
49940 ac_status=$?
49941 grep -v '^ *+' conftest.er1 >conftest.err
49942 rm -f conftest.er1
49943 cat conftest.err >&5
49944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49945 (exit $ac_status); } &&
49946 { ac_try='test -z "$ac_c_werror_flag"
49947 || test ! -s conftest.err'
49948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49949 (eval $ac_try) 2>&5
49950 ac_status=$?
49951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952 (exit $ac_status); }; } &&
49953 { ac_try='test -s conftest$ac_exeext'
49954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49955 (eval $ac_try) 2>&5
49956 ac_status=$?
49957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49958 (exit $ac_status); }; }; then
49959 glibcxx_cv_func___builtin_cosf_link=yes
49960 else
49961 echo "$as_me: failed program was:" >&5
49962 sed 's/^/| /' conftest.$ac_ext >&5
49964 glibcxx_cv_func___builtin_cosf_link=no
49966 rm -f conftest.err conftest.$ac_objext \
49967 conftest$ac_exeext conftest.$ac_ext
49972 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49973 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49974 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49975 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49977 cat >>confdefs.h <<_ACEOF
49978 #define ${ac_tr_func} 1
49979 _ACEOF
49985 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49986 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49987 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49988 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
49989 echo $ECHO_N "(cached) $ECHO_C" >&6
49990 else
49994 ac_ext=cc
49995 ac_cpp='$CXXCPP $CPPFLAGS'
49996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_cos(0);
50012 return 0;
50014 _ACEOF
50015 rm -f conftest.$ac_objext
50016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50017 (eval $ac_compile) 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_cxx_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_objext'
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_cos_use=yes
50038 else
50039 echo "$as_me: failed program was:" >&5
50040 sed 's/^/| /' conftest.$ac_ext >&5
50042 glibcxx_cv_func___builtin_cos_use=no
50044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50045 ac_ext=c
50046 ac_cpp='$CPP $CPPFLAGS'
50047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50055 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50056 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50057 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50058 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50059 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50060 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50061 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50062 echo $ECHO_N "(cached) $ECHO_C" >&6
50063 else
50065 if test x$gcc_no_link = xyes; then
50066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50068 { (exit 1); exit 1; }; }
50070 cat >conftest.$ac_ext <<_ACEOF
50071 /* confdefs.h. */
50072 _ACEOF
50073 cat confdefs.h >>conftest.$ac_ext
50074 cat >>conftest.$ac_ext <<_ACEOF
50075 /* end confdefs.h. */
50076 #include <math.h>
50078 main ()
50080 __builtin_cos(0);
50082 return 0;
50084 _ACEOF
50085 rm -f conftest.$ac_objext conftest$ac_exeext
50086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50087 (eval $ac_link) 2>conftest.er1
50088 ac_status=$?
50089 grep -v '^ *+' conftest.er1 >conftest.err
50090 rm -f conftest.er1
50091 cat conftest.err >&5
50092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50093 (exit $ac_status); } &&
50094 { ac_try='test -z "$ac_c_werror_flag"
50095 || test ! -s conftest.err'
50096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50097 (eval $ac_try) 2>&5
50098 ac_status=$?
50099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50100 (exit $ac_status); }; } &&
50101 { ac_try='test -s conftest$ac_exeext'
50102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50103 (eval $ac_try) 2>&5
50104 ac_status=$?
50105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50106 (exit $ac_status); }; }; then
50107 glibcxx_cv_func___builtin_cos_link=yes
50108 else
50109 echo "$as_me: failed program was:" >&5
50110 sed 's/^/| /' conftest.$ac_ext >&5
50112 glibcxx_cv_func___builtin_cos_link=no
50114 rm -f conftest.err conftest.$ac_objext \
50115 conftest$ac_exeext conftest.$ac_ext
50120 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50121 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50122 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50123 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50125 cat >>confdefs.h <<_ACEOF
50126 #define ${ac_tr_func} 1
50127 _ACEOF
50133 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50134 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50135 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50136 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50137 echo $ECHO_N "(cached) $ECHO_C" >&6
50138 else
50142 ac_ext=cc
50143 ac_cpp='$CXXCPP $CPPFLAGS'
50144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_cosl(0);
50160 return 0;
50162 _ACEOF
50163 rm -f conftest.$ac_objext
50164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50165 (eval $ac_compile) 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_cxx_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_objext'
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_cosl_use=yes
50186 else
50187 echo "$as_me: failed program was:" >&5
50188 sed 's/^/| /' conftest.$ac_ext >&5
50190 glibcxx_cv_func___builtin_cosl_use=no
50192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50193 ac_ext=c
50194 ac_cpp='$CPP $CPPFLAGS'
50195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50203 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50204 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50205 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50206 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50207 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50208 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50209 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50210 echo $ECHO_N "(cached) $ECHO_C" >&6
50211 else
50213 if test x$gcc_no_link = xyes; then
50214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50216 { (exit 1); exit 1; }; }
50218 cat >conftest.$ac_ext <<_ACEOF
50219 /* confdefs.h. */
50220 _ACEOF
50221 cat confdefs.h >>conftest.$ac_ext
50222 cat >>conftest.$ac_ext <<_ACEOF
50223 /* end confdefs.h. */
50224 #include <math.h>
50226 main ()
50228 __builtin_cosl(0);
50230 return 0;
50232 _ACEOF
50233 rm -f conftest.$ac_objext conftest$ac_exeext
50234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50235 (eval $ac_link) 2>conftest.er1
50236 ac_status=$?
50237 grep -v '^ *+' conftest.er1 >conftest.err
50238 rm -f conftest.er1
50239 cat conftest.err >&5
50240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50241 (exit $ac_status); } &&
50242 { ac_try='test -z "$ac_c_werror_flag"
50243 || test ! -s conftest.err'
50244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50245 (eval $ac_try) 2>&5
50246 ac_status=$?
50247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50248 (exit $ac_status); }; } &&
50249 { ac_try='test -s conftest$ac_exeext'
50250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50251 (eval $ac_try) 2>&5
50252 ac_status=$?
50253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50254 (exit $ac_status); }; }; then
50255 glibcxx_cv_func___builtin_cosl_link=yes
50256 else
50257 echo "$as_me: failed program was:" >&5
50258 sed 's/^/| /' conftest.$ac_ext >&5
50260 glibcxx_cv_func___builtin_cosl_link=no
50262 rm -f conftest.err conftest.$ac_objext \
50263 conftest$ac_exeext conftest.$ac_ext
50268 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50269 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50270 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50271 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50273 cat >>confdefs.h <<_ACEOF
50274 #define ${ac_tr_func} 1
50275 _ACEOF
50283 echo "$as_me:$LINENO: checking for main in -lm" >&5
50284 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50285 if test "${ac_cv_lib_m_main+set}" = set; then
50286 echo $ECHO_N "(cached) $ECHO_C" >&6
50287 else
50288 ac_check_lib_save_LIBS=$LIBS
50289 LIBS="-lm $LIBS"
50290 if test x$gcc_no_link = xyes; then
50291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50293 { (exit 1); exit 1; }; }
50295 cat >conftest.$ac_ext <<_ACEOF
50296 /* confdefs.h. */
50297 _ACEOF
50298 cat confdefs.h >>conftest.$ac_ext
50299 cat >>conftest.$ac_ext <<_ACEOF
50300 /* end confdefs.h. */
50304 main ()
50306 main ();
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 ac_cv_lib_m_main=yes
50334 else
50335 echo "$as_me: failed program was:" >&5
50336 sed 's/^/| /' conftest.$ac_ext >&5
50338 ac_cv_lib_m_main=no
50340 rm -f conftest.err conftest.$ac_objext \
50341 conftest$ac_exeext conftest.$ac_ext
50342 LIBS=$ac_check_lib_save_LIBS
50344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50345 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50346 if test $ac_cv_lib_m_main = yes; then
50347 cat >>confdefs.h <<_ACEOF
50348 #define HAVE_LIBM 1
50349 _ACEOF
50351 LIBS="-lm $LIBS"
50356 for ac_func in copysignf
50358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50359 echo "$as_me:$LINENO: checking for $ac_func" >&5
50360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50361 if eval "test \"\${$as_ac_var+set}\" = set"; then
50362 echo $ECHO_N "(cached) $ECHO_C" >&6
50363 else
50364 if test x$gcc_no_link = xyes; then
50365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50367 { (exit 1); exit 1; }; }
50369 cat >conftest.$ac_ext <<_ACEOF
50370 /* confdefs.h. */
50371 _ACEOF
50372 cat confdefs.h >>conftest.$ac_ext
50373 cat >>conftest.$ac_ext <<_ACEOF
50374 /* end confdefs.h. */
50375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50377 #define $ac_func innocuous_$ac_func
50379 /* System header to define __stub macros and hopefully few prototypes,
50380 which can conflict with char $ac_func (); below.
50381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50382 <limits.h> exists even on freestanding compilers. */
50384 #ifdef __STDC__
50385 # include <limits.h>
50386 #else
50387 # include <assert.h>
50388 #endif
50390 #undef $ac_func
50392 /* Override any gcc2 internal prototype to avoid an error. */
50393 #ifdef __cplusplus
50394 extern "C"
50396 #endif
50397 /* We use char because int might match the return type of a gcc2
50398 builtin and then its argument prototype would still apply. */
50399 char $ac_func ();
50400 /* The GNU C library defines this for functions which it implements
50401 to always fail with ENOSYS. Some functions are actually named
50402 something starting with __ and the normal name is an alias. */
50403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50404 choke me
50405 #else
50406 char (*f) () = $ac_func;
50407 #endif
50408 #ifdef __cplusplus
50410 #endif
50413 main ()
50415 return f != $ac_func;
50417 return 0;
50419 _ACEOF
50420 rm -f conftest.$ac_objext conftest$ac_exeext
50421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50422 (eval $ac_link) 2>conftest.er1
50423 ac_status=$?
50424 grep -v '^ *+' conftest.er1 >conftest.err
50425 rm -f conftest.er1
50426 cat conftest.err >&5
50427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50428 (exit $ac_status); } &&
50429 { ac_try='test -z "$ac_c_werror_flag"
50430 || test ! -s conftest.err'
50431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50432 (eval $ac_try) 2>&5
50433 ac_status=$?
50434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50435 (exit $ac_status); }; } &&
50436 { ac_try='test -s conftest$ac_exeext'
50437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50438 (eval $ac_try) 2>&5
50439 ac_status=$?
50440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441 (exit $ac_status); }; }; then
50442 eval "$as_ac_var=yes"
50443 else
50444 echo "$as_me: failed program was:" >&5
50445 sed 's/^/| /' conftest.$ac_ext >&5
50447 eval "$as_ac_var=no"
50449 rm -f conftest.err conftest.$ac_objext \
50450 conftest$ac_exeext conftest.$ac_ext
50452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50454 if test `eval echo '${'$as_ac_var'}'` = yes; then
50455 cat >>confdefs.h <<_ACEOF
50456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50457 _ACEOF
50459 else
50460 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50462 done
50466 for ac_func in __signbit
50468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50469 echo "$as_me:$LINENO: checking for $ac_func" >&5
50470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50471 if eval "test \"\${$as_ac_var+set}\" = set"; then
50472 echo $ECHO_N "(cached) $ECHO_C" >&6
50473 else
50474 if test x$gcc_no_link = xyes; then
50475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50477 { (exit 1); exit 1; }; }
50479 cat >conftest.$ac_ext <<_ACEOF
50480 /* confdefs.h. */
50481 _ACEOF
50482 cat confdefs.h >>conftest.$ac_ext
50483 cat >>conftest.$ac_ext <<_ACEOF
50484 /* end confdefs.h. */
50485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50487 #define $ac_func innocuous_$ac_func
50489 /* System header to define __stub macros and hopefully few prototypes,
50490 which can conflict with char $ac_func (); below.
50491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50492 <limits.h> exists even on freestanding compilers. */
50494 #ifdef __STDC__
50495 # include <limits.h>
50496 #else
50497 # include <assert.h>
50498 #endif
50500 #undef $ac_func
50502 /* Override any gcc2 internal prototype to avoid an error. */
50503 #ifdef __cplusplus
50504 extern "C"
50506 #endif
50507 /* We use char because int might match the return type of a gcc2
50508 builtin and then its argument prototype would still apply. */
50509 char $ac_func ();
50510 /* The GNU C library defines this for functions which it implements
50511 to always fail with ENOSYS. Some functions are actually named
50512 something starting with __ and the normal name is an alias. */
50513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50514 choke me
50515 #else
50516 char (*f) () = $ac_func;
50517 #endif
50518 #ifdef __cplusplus
50520 #endif
50523 main ()
50525 return f != $ac_func;
50527 return 0;
50529 _ACEOF
50530 rm -f conftest.$ac_objext conftest$ac_exeext
50531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50532 (eval $ac_link) 2>conftest.er1
50533 ac_status=$?
50534 grep -v '^ *+' conftest.er1 >conftest.err
50535 rm -f conftest.er1
50536 cat conftest.err >&5
50537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50538 (exit $ac_status); } &&
50539 { ac_try='test -z "$ac_c_werror_flag"
50540 || test ! -s conftest.err'
50541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50542 (eval $ac_try) 2>&5
50543 ac_status=$?
50544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50545 (exit $ac_status); }; } &&
50546 { ac_try='test -s conftest$ac_exeext'
50547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50548 (eval $ac_try) 2>&5
50549 ac_status=$?
50550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50551 (exit $ac_status); }; }; then
50552 eval "$as_ac_var=yes"
50553 else
50554 echo "$as_me: failed program was:" >&5
50555 sed 's/^/| /' conftest.$ac_ext >&5
50557 eval "$as_ac_var=no"
50559 rm -f conftest.err conftest.$ac_objext \
50560 conftest$ac_exeext conftest.$ac_ext
50562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50564 if test `eval echo '${'$as_ac_var'}'` = yes; then
50565 cat >>confdefs.h <<_ACEOF
50566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50567 _ACEOF
50569 else
50570 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50572 done
50576 for ac_func in __signbitf
50578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50579 echo "$as_me:$LINENO: checking for $ac_func" >&5
50580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50581 if eval "test \"\${$as_ac_var+set}\" = set"; then
50582 echo $ECHO_N "(cached) $ECHO_C" >&6
50583 else
50584 if test x$gcc_no_link = xyes; then
50585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50587 { (exit 1); exit 1; }; }
50589 cat >conftest.$ac_ext <<_ACEOF
50590 /* confdefs.h. */
50591 _ACEOF
50592 cat confdefs.h >>conftest.$ac_ext
50593 cat >>conftest.$ac_ext <<_ACEOF
50594 /* end confdefs.h. */
50595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50597 #define $ac_func innocuous_$ac_func
50599 /* System header to define __stub macros and hopefully few prototypes,
50600 which can conflict with char $ac_func (); below.
50601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50602 <limits.h> exists even on freestanding compilers. */
50604 #ifdef __STDC__
50605 # include <limits.h>
50606 #else
50607 # include <assert.h>
50608 #endif
50610 #undef $ac_func
50612 /* Override any gcc2 internal prototype to avoid an error. */
50613 #ifdef __cplusplus
50614 extern "C"
50616 #endif
50617 /* We use char because int might match the return type of a gcc2
50618 builtin and then its argument prototype would still apply. */
50619 char $ac_func ();
50620 /* The GNU C library defines this for functions which it implements
50621 to always fail with ENOSYS. Some functions are actually named
50622 something starting with __ and the normal name is an alias. */
50623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50624 choke me
50625 #else
50626 char (*f) () = $ac_func;
50627 #endif
50628 #ifdef __cplusplus
50630 #endif
50633 main ()
50635 return f != $ac_func;
50637 return 0;
50639 _ACEOF
50640 rm -f conftest.$ac_objext conftest$ac_exeext
50641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50642 (eval $ac_link) 2>conftest.er1
50643 ac_status=$?
50644 grep -v '^ *+' conftest.er1 >conftest.err
50645 rm -f conftest.er1
50646 cat conftest.err >&5
50647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50648 (exit $ac_status); } &&
50649 { ac_try='test -z "$ac_c_werror_flag"
50650 || test ! -s conftest.err'
50651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50652 (eval $ac_try) 2>&5
50653 ac_status=$?
50654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50655 (exit $ac_status); }; } &&
50656 { ac_try='test -s conftest$ac_exeext'
50657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50658 (eval $ac_try) 2>&5
50659 ac_status=$?
50660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50661 (exit $ac_status); }; }; then
50662 eval "$as_ac_var=yes"
50663 else
50664 echo "$as_me: failed program was:" >&5
50665 sed 's/^/| /' conftest.$ac_ext >&5
50667 eval "$as_ac_var=no"
50669 rm -f conftest.err conftest.$ac_objext \
50670 conftest$ac_exeext conftest.$ac_ext
50672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50674 if test `eval echo '${'$as_ac_var'}'` = yes; then
50675 cat >>confdefs.h <<_ACEOF
50676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50677 _ACEOF
50679 else
50680 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50682 done
50685 if test x$ac_cv_func_copysignl = x"yes"; then
50687 for ac_func in __signbitl
50689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50690 echo "$as_me:$LINENO: checking for $ac_func" >&5
50691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50692 if eval "test \"\${$as_ac_var+set}\" = set"; then
50693 echo $ECHO_N "(cached) $ECHO_C" >&6
50694 else
50695 if test x$gcc_no_link = xyes; then
50696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50698 { (exit 1); exit 1; }; }
50700 cat >conftest.$ac_ext <<_ACEOF
50701 /* confdefs.h. */
50702 _ACEOF
50703 cat confdefs.h >>conftest.$ac_ext
50704 cat >>conftest.$ac_ext <<_ACEOF
50705 /* end confdefs.h. */
50706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50708 #define $ac_func innocuous_$ac_func
50710 /* System header to define __stub macros and hopefully few prototypes,
50711 which can conflict with char $ac_func (); below.
50712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50713 <limits.h> exists even on freestanding compilers. */
50715 #ifdef __STDC__
50716 # include <limits.h>
50717 #else
50718 # include <assert.h>
50719 #endif
50721 #undef $ac_func
50723 /* Override any gcc2 internal prototype to avoid an error. */
50724 #ifdef __cplusplus
50725 extern "C"
50727 #endif
50728 /* We use char because int might match the return type of a gcc2
50729 builtin and then its argument prototype would still apply. */
50730 char $ac_func ();
50731 /* The GNU C library defines this for functions which it implements
50732 to always fail with ENOSYS. Some functions are actually named
50733 something starting with __ and the normal name is an alias. */
50734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50735 choke me
50736 #else
50737 char (*f) () = $ac_func;
50738 #endif
50739 #ifdef __cplusplus
50741 #endif
50744 main ()
50746 return f != $ac_func;
50748 return 0;
50750 _ACEOF
50751 rm -f conftest.$ac_objext conftest$ac_exeext
50752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50753 (eval $ac_link) 2>conftest.er1
50754 ac_status=$?
50755 grep -v '^ *+' conftest.er1 >conftest.err
50756 rm -f conftest.er1
50757 cat conftest.err >&5
50758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50759 (exit $ac_status); } &&
50760 { ac_try='test -z "$ac_c_werror_flag"
50761 || test ! -s conftest.err'
50762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50763 (eval $ac_try) 2>&5
50764 ac_status=$?
50765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50766 (exit $ac_status); }; } &&
50767 { ac_try='test -s conftest$ac_exeext'
50768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50769 (eval $ac_try) 2>&5
50770 ac_status=$?
50771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50772 (exit $ac_status); }; }; then
50773 eval "$as_ac_var=yes"
50774 else
50775 echo "$as_me: failed program was:" >&5
50776 sed 's/^/| /' conftest.$ac_ext >&5
50778 eval "$as_ac_var=no"
50780 rm -f conftest.err conftest.$ac_objext \
50781 conftest$ac_exeext conftest.$ac_ext
50783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50785 if test `eval echo '${'$as_ac_var'}'` = yes; then
50786 cat >>confdefs.h <<_ACEOF
50787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50788 _ACEOF
50790 else
50791 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50793 done
50797 # Used in libmath/Makefile.am.
50798 if test -n "$LIBMATHOBJS"; then
50799 need_libmath=yes
50804 # Test wchar.h for mbstate_t, which is needed for char_traits and
50805 # others even if wchar_t support is not on.
50806 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50807 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50808 cat >conftest.$ac_ext <<_ACEOF
50809 /* confdefs.h. */
50810 _ACEOF
50811 cat confdefs.h >>conftest.$ac_ext
50812 cat >>conftest.$ac_ext <<_ACEOF
50813 /* end confdefs.h. */
50814 #include <wchar.h>
50816 main ()
50818 mbstate_t teststate;
50820 return 0;
50822 _ACEOF
50823 rm -f conftest.$ac_objext
50824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50825 (eval $ac_compile) 2>conftest.er1
50826 ac_status=$?
50827 grep -v '^ *+' conftest.er1 >conftest.err
50828 rm -f conftest.er1
50829 cat conftest.err >&5
50830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50831 (exit $ac_status); } &&
50832 { ac_try='test -z "$ac_c_werror_flag"
50833 || test ! -s conftest.err'
50834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50835 (eval $ac_try) 2>&5
50836 ac_status=$?
50837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50838 (exit $ac_status); }; } &&
50839 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
50845 have_mbstate_t=yes
50846 else
50847 echo "$as_me: failed program was:" >&5
50848 sed 's/^/| /' conftest.$ac_ext >&5
50850 have_mbstate_t=no
50852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50853 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50854 echo "${ECHO_T}$have_mbstate_t" >&6
50855 if test x"$have_mbstate_t" = xyes; then
50856 cat >>confdefs.h <<\_ACEOF
50857 #define HAVE_MBSTATE_T 1
50858 _ACEOF
50862 # Sanity check for existence of ISO C99 headers for extended encoding.
50864 for ac_header in wchar.h
50866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50868 echo "$as_me:$LINENO: checking for $ac_header" >&5
50869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50871 echo $ECHO_N "(cached) $ECHO_C" >&6
50873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50875 else
50876 # Is the header compilable?
50877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50879 cat >conftest.$ac_ext <<_ACEOF
50880 /* confdefs.h. */
50881 _ACEOF
50882 cat confdefs.h >>conftest.$ac_ext
50883 cat >>conftest.$ac_ext <<_ACEOF
50884 /* end confdefs.h. */
50885 $ac_includes_default
50886 #include <$ac_header>
50887 _ACEOF
50888 rm -f conftest.$ac_objext
50889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50890 (eval $ac_compile) 2>conftest.er1
50891 ac_status=$?
50892 grep -v '^ *+' conftest.er1 >conftest.err
50893 rm -f conftest.er1
50894 cat conftest.err >&5
50895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50896 (exit $ac_status); } &&
50897 { ac_try='test -z "$ac_c_werror_flag"
50898 || test ! -s conftest.err'
50899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50900 (eval $ac_try) 2>&5
50901 ac_status=$?
50902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50903 (exit $ac_status); }; } &&
50904 { ac_try='test -s conftest.$ac_objext'
50905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50906 (eval $ac_try) 2>&5
50907 ac_status=$?
50908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50909 (exit $ac_status); }; }; then
50910 ac_header_compiler=yes
50911 else
50912 echo "$as_me: failed program was:" >&5
50913 sed 's/^/| /' conftest.$ac_ext >&5
50915 ac_header_compiler=no
50917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50919 echo "${ECHO_T}$ac_header_compiler" >&6
50921 # Is the header present?
50922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50924 cat >conftest.$ac_ext <<_ACEOF
50925 /* confdefs.h. */
50926 _ACEOF
50927 cat confdefs.h >>conftest.$ac_ext
50928 cat >>conftest.$ac_ext <<_ACEOF
50929 /* end confdefs.h. */
50930 #include <$ac_header>
50931 _ACEOF
50932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50934 ac_status=$?
50935 grep -v '^ *+' conftest.er1 >conftest.err
50936 rm -f conftest.er1
50937 cat conftest.err >&5
50938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50939 (exit $ac_status); } >/dev/null; then
50940 if test -s conftest.err; then
50941 ac_cpp_err=$ac_c_preproc_warn_flag
50942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50943 else
50944 ac_cpp_err=
50946 else
50947 ac_cpp_err=yes
50949 if test -z "$ac_cpp_err"; then
50950 ac_header_preproc=yes
50951 else
50952 echo "$as_me: failed program was:" >&5
50953 sed 's/^/| /' conftest.$ac_ext >&5
50955 ac_header_preproc=no
50957 rm -f conftest.err conftest.$ac_ext
50958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50959 echo "${ECHO_T}$ac_header_preproc" >&6
50961 # So? What about this header?
50962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50963 yes:no: )
50964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50968 ac_header_preproc=yes
50970 no:yes:* )
50971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
50978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
50979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50984 cat <<\_ASBOX
50985 ## ----------------------------------------- ##
50986 ## Report this to the package-unused lists. ##
50987 ## ----------------------------------------- ##
50988 _ASBOX
50990 sed "s/^/$as_me: WARNING: /" >&2
50992 esac
50993 echo "$as_me:$LINENO: checking for $ac_header" >&5
50994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50996 echo $ECHO_N "(cached) $ECHO_C" >&6
50997 else
50998 eval "$as_ac_Header=\$ac_header_preproc"
51000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51005 cat >>confdefs.h <<_ACEOF
51006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51007 _ACEOF
51008 ac_has_wchar_h=yes
51009 else
51010 ac_has_wchar_h=no
51013 done
51016 for ac_header in wctype.h
51018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51020 echo "$as_me:$LINENO: checking for $ac_header" >&5
51021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51023 echo $ECHO_N "(cached) $ECHO_C" >&6
51025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51027 else
51028 # Is the header compilable?
51029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51031 cat >conftest.$ac_ext <<_ACEOF
51032 /* confdefs.h. */
51033 _ACEOF
51034 cat confdefs.h >>conftest.$ac_ext
51035 cat >>conftest.$ac_ext <<_ACEOF
51036 /* end confdefs.h. */
51037 $ac_includes_default
51038 #include <$ac_header>
51039 _ACEOF
51040 rm -f conftest.$ac_objext
51041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51042 (eval $ac_compile) 2>conftest.er1
51043 ac_status=$?
51044 grep -v '^ *+' conftest.er1 >conftest.err
51045 rm -f conftest.er1
51046 cat conftest.err >&5
51047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51048 (exit $ac_status); } &&
51049 { ac_try='test -z "$ac_c_werror_flag"
51050 || test ! -s conftest.err'
51051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51052 (eval $ac_try) 2>&5
51053 ac_status=$?
51054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51055 (exit $ac_status); }; } &&
51056 { ac_try='test -s conftest.$ac_objext'
51057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51058 (eval $ac_try) 2>&5
51059 ac_status=$?
51060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51061 (exit $ac_status); }; }; then
51062 ac_header_compiler=yes
51063 else
51064 echo "$as_me: failed program was:" >&5
51065 sed 's/^/| /' conftest.$ac_ext >&5
51067 ac_header_compiler=no
51069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51071 echo "${ECHO_T}$ac_header_compiler" >&6
51073 # Is the header present?
51074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51076 cat >conftest.$ac_ext <<_ACEOF
51077 /* confdefs.h. */
51078 _ACEOF
51079 cat confdefs.h >>conftest.$ac_ext
51080 cat >>conftest.$ac_ext <<_ACEOF
51081 /* end confdefs.h. */
51082 #include <$ac_header>
51083 _ACEOF
51084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51086 ac_status=$?
51087 grep -v '^ *+' conftest.er1 >conftest.err
51088 rm -f conftest.er1
51089 cat conftest.err >&5
51090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51091 (exit $ac_status); } >/dev/null; then
51092 if test -s conftest.err; then
51093 ac_cpp_err=$ac_c_preproc_warn_flag
51094 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51095 else
51096 ac_cpp_err=
51098 else
51099 ac_cpp_err=yes
51101 if test -z "$ac_cpp_err"; then
51102 ac_header_preproc=yes
51103 else
51104 echo "$as_me: failed program was:" >&5
51105 sed 's/^/| /' conftest.$ac_ext >&5
51107 ac_header_preproc=no
51109 rm -f conftest.err conftest.$ac_ext
51110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51111 echo "${ECHO_T}$ac_header_preproc" >&6
51113 # So? What about this header?
51114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51115 yes:no: )
51116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51120 ac_header_preproc=yes
51122 no:yes:* )
51123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51136 cat <<\_ASBOX
51137 ## ----------------------------------------- ##
51138 ## Report this to the package-unused lists. ##
51139 ## ----------------------------------------- ##
51140 _ASBOX
51142 sed "s/^/$as_me: WARNING: /" >&2
51144 esac
51145 echo "$as_me:$LINENO: checking for $ac_header" >&5
51146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51148 echo $ECHO_N "(cached) $ECHO_C" >&6
51149 else
51150 eval "$as_ac_Header=\$ac_header_preproc"
51152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51157 cat >>confdefs.h <<_ACEOF
51158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51159 _ACEOF
51160 ac_has_wctype_h=yes
51161 else
51162 ac_has_wctype_h=no
51165 done
51168 # Only continue checking if the ISO C99 headers exist and support is on.
51169 if test x"$ac_has_wchar_h" = xyes &&
51170 test x"$ac_has_wctype_h" = xyes &&
51171 test x"$enable_c_mbchar" != xno; then
51173 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51174 # numeric_limits can instantiate type_traits<wchar_t>
51175 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51176 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51177 cat >conftest.$ac_ext <<_ACEOF
51178 /* confdefs.h. */
51179 _ACEOF
51180 cat confdefs.h >>conftest.$ac_ext
51181 cat >>conftest.$ac_ext <<_ACEOF
51182 /* end confdefs.h. */
51183 #include <wchar.h>
51185 main ()
51187 int i = WCHAR_MIN; int j = WCHAR_MAX;
51189 return 0;
51191 _ACEOF
51192 rm -f conftest.$ac_objext
51193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51194 (eval $ac_compile) 2>conftest.er1
51195 ac_status=$?
51196 grep -v '^ *+' conftest.er1 >conftest.err
51197 rm -f conftest.er1
51198 cat conftest.err >&5
51199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51200 (exit $ac_status); } &&
51201 { ac_try='test -z "$ac_c_werror_flag"
51202 || test ! -s conftest.err'
51203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51204 (eval $ac_try) 2>&5
51205 ac_status=$?
51206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51207 (exit $ac_status); }; } &&
51208 { ac_try='test -s conftest.$ac_objext'
51209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51210 (eval $ac_try) 2>&5
51211 ac_status=$?
51212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51213 (exit $ac_status); }; }; then
51214 has_wchar_minmax=yes
51215 else
51216 echo "$as_me: failed program was:" >&5
51217 sed 's/^/| /' conftest.$ac_ext >&5
51219 has_wchar_minmax=no
51221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51222 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51223 echo "${ECHO_T}$has_wchar_minmax" >&6
51225 # Test wchar.h for WEOF, which is what we use to determine whether
51226 # to specialize for char_traits<wchar_t> or not.
51227 echo "$as_me:$LINENO: checking for WEOF" >&5
51228 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51229 cat >conftest.$ac_ext <<_ACEOF
51230 /* confdefs.h. */
51231 _ACEOF
51232 cat confdefs.h >>conftest.$ac_ext
51233 cat >>conftest.$ac_ext <<_ACEOF
51234 /* end confdefs.h. */
51236 #include <wchar.h>
51237 #include <stddef.h>
51239 main ()
51241 wint_t i = WEOF;
51243 return 0;
51245 _ACEOF
51246 rm -f conftest.$ac_objext
51247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51248 (eval $ac_compile) 2>conftest.er1
51249 ac_status=$?
51250 grep -v '^ *+' conftest.er1 >conftest.err
51251 rm -f conftest.er1
51252 cat conftest.err >&5
51253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51254 (exit $ac_status); } &&
51255 { ac_try='test -z "$ac_c_werror_flag"
51256 || test ! -s conftest.err'
51257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51258 (eval $ac_try) 2>&5
51259 ac_status=$?
51260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51261 (exit $ac_status); }; } &&
51262 { ac_try='test -s conftest.$ac_objext'
51263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51264 (eval $ac_try) 2>&5
51265 ac_status=$?
51266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51267 (exit $ac_status); }; }; then
51268 has_weof=yes
51269 else
51270 echo "$as_me: failed program was:" >&5
51271 sed 's/^/| /' conftest.$ac_ext >&5
51273 has_weof=no
51275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51276 echo "$as_me:$LINENO: result: $has_weof" >&5
51277 echo "${ECHO_T}$has_weof" >&6
51279 # Tests for wide character functions used in char_traits<wchar_t>.
51280 ac_wfuncs=yes
51287 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51290 echo "$as_me:$LINENO: checking for $ac_func" >&5
51291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51292 if eval "test \"\${$as_ac_var+set}\" = set"; then
51293 echo $ECHO_N "(cached) $ECHO_C" >&6
51294 else
51295 if test x$gcc_no_link = xyes; then
51296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51298 { (exit 1); exit 1; }; }
51300 cat >conftest.$ac_ext <<_ACEOF
51301 /* confdefs.h. */
51302 _ACEOF
51303 cat confdefs.h >>conftest.$ac_ext
51304 cat >>conftest.$ac_ext <<_ACEOF
51305 /* end confdefs.h. */
51306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51308 #define $ac_func innocuous_$ac_func
51310 /* System header to define __stub macros and hopefully few prototypes,
51311 which can conflict with char $ac_func (); below.
51312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51313 <limits.h> exists even on freestanding compilers. */
51315 #ifdef __STDC__
51316 # include <limits.h>
51317 #else
51318 # include <assert.h>
51319 #endif
51321 #undef $ac_func
51323 /* Override any gcc2 internal prototype to avoid an error. */
51324 #ifdef __cplusplus
51325 extern "C"
51327 #endif
51328 /* We use char because int might match the return type of a gcc2
51329 builtin and then its argument prototype would still apply. */
51330 char $ac_func ();
51331 /* The GNU C library defines this for functions which it implements
51332 to always fail with ENOSYS. Some functions are actually named
51333 something starting with __ and the normal name is an alias. */
51334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51335 choke me
51336 #else
51337 char (*f) () = $ac_func;
51338 #endif
51339 #ifdef __cplusplus
51341 #endif
51344 main ()
51346 return f != $ac_func;
51348 return 0;
51350 _ACEOF
51351 rm -f conftest.$ac_objext conftest$ac_exeext
51352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51353 (eval $ac_link) 2>conftest.er1
51354 ac_status=$?
51355 grep -v '^ *+' conftest.er1 >conftest.err
51356 rm -f conftest.er1
51357 cat conftest.err >&5
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); } &&
51360 { ac_try='test -z "$ac_c_werror_flag"
51361 || test ! -s conftest.err'
51362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51363 (eval $ac_try) 2>&5
51364 ac_status=$?
51365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51366 (exit $ac_status); }; } &&
51367 { ac_try='test -s conftest$ac_exeext'
51368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51369 (eval $ac_try) 2>&5
51370 ac_status=$?
51371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51372 (exit $ac_status); }; }; then
51373 eval "$as_ac_var=yes"
51374 else
51375 echo "$as_me: failed program was:" >&5
51376 sed 's/^/| /' conftest.$ac_ext >&5
51378 eval "$as_ac_var=no"
51380 rm -f conftest.err conftest.$ac_objext \
51381 conftest$ac_exeext conftest.$ac_ext
51383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51385 if test `eval echo '${'$as_ac_var'}'` = yes; then
51386 cat >>confdefs.h <<_ACEOF
51387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51388 _ACEOF
51390 else
51391 ac_wfuncs=no
51393 done
51396 # Checks for names injected into std:: by the c_std headers.
51443 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51444 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51445 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51446 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51447 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51448 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51451 echo "$as_me:$LINENO: checking for $ac_func" >&5
51452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51453 if eval "test \"\${$as_ac_var+set}\" = set"; then
51454 echo $ECHO_N "(cached) $ECHO_C" >&6
51455 else
51456 if test x$gcc_no_link = xyes; then
51457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51459 { (exit 1); exit 1; }; }
51461 cat >conftest.$ac_ext <<_ACEOF
51462 /* confdefs.h. */
51463 _ACEOF
51464 cat confdefs.h >>conftest.$ac_ext
51465 cat >>conftest.$ac_ext <<_ACEOF
51466 /* end confdefs.h. */
51467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51469 #define $ac_func innocuous_$ac_func
51471 /* System header to define __stub macros and hopefully few prototypes,
51472 which can conflict with char $ac_func (); below.
51473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51474 <limits.h> exists even on freestanding compilers. */
51476 #ifdef __STDC__
51477 # include <limits.h>
51478 #else
51479 # include <assert.h>
51480 #endif
51482 #undef $ac_func
51484 /* Override any gcc2 internal prototype to avoid an error. */
51485 #ifdef __cplusplus
51486 extern "C"
51488 #endif
51489 /* We use char because int might match the return type of a gcc2
51490 builtin and then its argument prototype would still apply. */
51491 char $ac_func ();
51492 /* The GNU C library defines this for functions which it implements
51493 to always fail with ENOSYS. Some functions are actually named
51494 something starting with __ and the normal name is an alias. */
51495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51496 choke me
51497 #else
51498 char (*f) () = $ac_func;
51499 #endif
51500 #ifdef __cplusplus
51502 #endif
51505 main ()
51507 return f != $ac_func;
51509 return 0;
51511 _ACEOF
51512 rm -f conftest.$ac_objext conftest$ac_exeext
51513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51514 (eval $ac_link) 2>conftest.er1
51515 ac_status=$?
51516 grep -v '^ *+' conftest.er1 >conftest.err
51517 rm -f conftest.er1
51518 cat conftest.err >&5
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); } &&
51521 { ac_try='test -z "$ac_c_werror_flag"
51522 || test ! -s conftest.err'
51523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51524 (eval $ac_try) 2>&5
51525 ac_status=$?
51526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51527 (exit $ac_status); }; } &&
51528 { ac_try='test -s conftest$ac_exeext'
51529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51530 (eval $ac_try) 2>&5
51531 ac_status=$?
51532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533 (exit $ac_status); }; }; then
51534 eval "$as_ac_var=yes"
51535 else
51536 echo "$as_me: failed program was:" >&5
51537 sed 's/^/| /' conftest.$ac_ext >&5
51539 eval "$as_ac_var=no"
51541 rm -f conftest.err conftest.$ac_objext \
51542 conftest$ac_exeext conftest.$ac_ext
51544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51546 if test `eval echo '${'$as_ac_var'}'` = yes; then
51547 cat >>confdefs.h <<_ACEOF
51548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51549 _ACEOF
51551 else
51552 ac_wfuncs=no
51554 done
51557 # Checks for wide character functions that are not required
51558 # for basic wchar_t support. Don't disable support if they are missing.
51559 # Injection of these is wrapped with guard macros.
51565 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51568 echo "$as_me:$LINENO: checking for $ac_func" >&5
51569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51570 if eval "test \"\${$as_ac_var+set}\" = set"; then
51571 echo $ECHO_N "(cached) $ECHO_C" >&6
51572 else
51573 if test x$gcc_no_link = xyes; then
51574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51576 { (exit 1); exit 1; }; }
51578 cat >conftest.$ac_ext <<_ACEOF
51579 /* confdefs.h. */
51580 _ACEOF
51581 cat confdefs.h >>conftest.$ac_ext
51582 cat >>conftest.$ac_ext <<_ACEOF
51583 /* end confdefs.h. */
51584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51586 #define $ac_func innocuous_$ac_func
51588 /* System header to define __stub macros and hopefully few prototypes,
51589 which can conflict with char $ac_func (); below.
51590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51591 <limits.h> exists even on freestanding compilers. */
51593 #ifdef __STDC__
51594 # include <limits.h>
51595 #else
51596 # include <assert.h>
51597 #endif
51599 #undef $ac_func
51601 /* Override any gcc2 internal prototype to avoid an error. */
51602 #ifdef __cplusplus
51603 extern "C"
51605 #endif
51606 /* We use char because int might match the return type of a gcc2
51607 builtin and then its argument prototype would still apply. */
51608 char $ac_func ();
51609 /* The GNU C library defines this for functions which it implements
51610 to always fail with ENOSYS. Some functions are actually named
51611 something starting with __ and the normal name is an alias. */
51612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51613 choke me
51614 #else
51615 char (*f) () = $ac_func;
51616 #endif
51617 #ifdef __cplusplus
51619 #endif
51622 main ()
51624 return f != $ac_func;
51626 return 0;
51628 _ACEOF
51629 rm -f conftest.$ac_objext conftest$ac_exeext
51630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51631 (eval $ac_link) 2>conftest.er1
51632 ac_status=$?
51633 grep -v '^ *+' conftest.er1 >conftest.err
51634 rm -f conftest.er1
51635 cat conftest.err >&5
51636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51637 (exit $ac_status); } &&
51638 { ac_try='test -z "$ac_c_werror_flag"
51639 || test ! -s conftest.err'
51640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51641 (eval $ac_try) 2>&5
51642 ac_status=$?
51643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51644 (exit $ac_status); }; } &&
51645 { ac_try='test -s conftest$ac_exeext'
51646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51647 (eval $ac_try) 2>&5
51648 ac_status=$?
51649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51650 (exit $ac_status); }; }; then
51651 eval "$as_ac_var=yes"
51652 else
51653 echo "$as_me: failed program was:" >&5
51654 sed 's/^/| /' conftest.$ac_ext >&5
51656 eval "$as_ac_var=no"
51658 rm -f conftest.err conftest.$ac_objext \
51659 conftest$ac_exeext conftest.$ac_ext
51661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51663 if test `eval echo '${'$as_ac_var'}'` = yes; then
51664 cat >>confdefs.h <<_ACEOF
51665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51666 _ACEOF
51669 done
51672 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51673 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51674 if test x"$has_weof" = xyes &&
51675 test x"$has_wchar_minmax" = xyes &&
51676 test x"$ac_wfuncs" = xyes;
51677 then
51678 ac_isoC99_wchar_t=yes
51679 else
51680 ac_isoC99_wchar_t=no
51682 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51683 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51685 # Use iconv for wchar_t to char conversions. As such, check for
51686 # X/Open Portability Guide, version 2 features (XPG2).
51687 if test "${ac_cv_header_iconv_h+set}" = set; then
51688 echo "$as_me:$LINENO: checking for iconv.h" >&5
51689 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51690 if test "${ac_cv_header_iconv_h+set}" = set; then
51691 echo $ECHO_N "(cached) $ECHO_C" >&6
51693 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51694 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51695 else
51696 # Is the header compilable?
51697 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51698 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51699 cat >conftest.$ac_ext <<_ACEOF
51700 /* confdefs.h. */
51701 _ACEOF
51702 cat confdefs.h >>conftest.$ac_ext
51703 cat >>conftest.$ac_ext <<_ACEOF
51704 /* end confdefs.h. */
51705 $ac_includes_default
51706 #include <iconv.h>
51707 _ACEOF
51708 rm -f conftest.$ac_objext
51709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51710 (eval $ac_compile) 2>conftest.er1
51711 ac_status=$?
51712 grep -v '^ *+' conftest.er1 >conftest.err
51713 rm -f conftest.er1
51714 cat conftest.err >&5
51715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51716 (exit $ac_status); } &&
51717 { ac_try='test -z "$ac_c_werror_flag"
51718 || test ! -s conftest.err'
51719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51720 (eval $ac_try) 2>&5
51721 ac_status=$?
51722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51723 (exit $ac_status); }; } &&
51724 { ac_try='test -s conftest.$ac_objext'
51725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51726 (eval $ac_try) 2>&5
51727 ac_status=$?
51728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51729 (exit $ac_status); }; }; then
51730 ac_header_compiler=yes
51731 else
51732 echo "$as_me: failed program was:" >&5
51733 sed 's/^/| /' conftest.$ac_ext >&5
51735 ac_header_compiler=no
51737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51739 echo "${ECHO_T}$ac_header_compiler" >&6
51741 # Is the header present?
51742 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51743 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51744 cat >conftest.$ac_ext <<_ACEOF
51745 /* confdefs.h. */
51746 _ACEOF
51747 cat confdefs.h >>conftest.$ac_ext
51748 cat >>conftest.$ac_ext <<_ACEOF
51749 /* end confdefs.h. */
51750 #include <iconv.h>
51751 _ACEOF
51752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51754 ac_status=$?
51755 grep -v '^ *+' conftest.er1 >conftest.err
51756 rm -f conftest.er1
51757 cat conftest.err >&5
51758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51759 (exit $ac_status); } >/dev/null; then
51760 if test -s conftest.err; then
51761 ac_cpp_err=$ac_c_preproc_warn_flag
51762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51763 else
51764 ac_cpp_err=
51766 else
51767 ac_cpp_err=yes
51769 if test -z "$ac_cpp_err"; then
51770 ac_header_preproc=yes
51771 else
51772 echo "$as_me: failed program was:" >&5
51773 sed 's/^/| /' conftest.$ac_ext >&5
51775 ac_header_preproc=no
51777 rm -f conftest.err conftest.$ac_ext
51778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51779 echo "${ECHO_T}$ac_header_preproc" >&6
51781 # So? What about this header?
51782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51783 yes:no: )
51784 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51785 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51786 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51787 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51788 ac_header_preproc=yes
51790 no:yes:* )
51791 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51792 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51793 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51794 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51795 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51796 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51797 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51798 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51799 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51800 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51801 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51802 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51804 cat <<\_ASBOX
51805 ## ----------------------------------------- ##
51806 ## Report this to the package-unused lists. ##
51807 ## ----------------------------------------- ##
51808 _ASBOX
51810 sed "s/^/$as_me: WARNING: /" >&2
51812 esac
51813 echo "$as_me:$LINENO: checking for iconv.h" >&5
51814 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51815 if test "${ac_cv_header_iconv_h+set}" = set; then
51816 echo $ECHO_N "(cached) $ECHO_C" >&6
51817 else
51818 ac_cv_header_iconv_h=$ac_header_preproc
51820 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51821 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51824 if test $ac_cv_header_iconv_h = yes; then
51825 ac_has_iconv_h=yes
51826 else
51827 ac_has_iconv_h=no
51831 if test "${ac_cv_header_langinfo_h+set}" = set; then
51832 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51833 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51834 if test "${ac_cv_header_langinfo_h+set}" = set; then
51835 echo $ECHO_N "(cached) $ECHO_C" >&6
51837 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51838 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51839 else
51840 # Is the header compilable?
51841 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51842 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51843 cat >conftest.$ac_ext <<_ACEOF
51844 /* confdefs.h. */
51845 _ACEOF
51846 cat confdefs.h >>conftest.$ac_ext
51847 cat >>conftest.$ac_ext <<_ACEOF
51848 /* end confdefs.h. */
51849 $ac_includes_default
51850 #include <langinfo.h>
51851 _ACEOF
51852 rm -f conftest.$ac_objext
51853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51854 (eval $ac_compile) 2>conftest.er1
51855 ac_status=$?
51856 grep -v '^ *+' conftest.er1 >conftest.err
51857 rm -f conftest.er1
51858 cat conftest.err >&5
51859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51860 (exit $ac_status); } &&
51861 { ac_try='test -z "$ac_c_werror_flag"
51862 || test ! -s conftest.err'
51863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51864 (eval $ac_try) 2>&5
51865 ac_status=$?
51866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51867 (exit $ac_status); }; } &&
51868 { ac_try='test -s conftest.$ac_objext'
51869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51870 (eval $ac_try) 2>&5
51871 ac_status=$?
51872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51873 (exit $ac_status); }; }; then
51874 ac_header_compiler=yes
51875 else
51876 echo "$as_me: failed program was:" >&5
51877 sed 's/^/| /' conftest.$ac_ext >&5
51879 ac_header_compiler=no
51881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51883 echo "${ECHO_T}$ac_header_compiler" >&6
51885 # Is the header present?
51886 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51887 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51888 cat >conftest.$ac_ext <<_ACEOF
51889 /* confdefs.h. */
51890 _ACEOF
51891 cat confdefs.h >>conftest.$ac_ext
51892 cat >>conftest.$ac_ext <<_ACEOF
51893 /* end confdefs.h. */
51894 #include <langinfo.h>
51895 _ACEOF
51896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51898 ac_status=$?
51899 grep -v '^ *+' conftest.er1 >conftest.err
51900 rm -f conftest.er1
51901 cat conftest.err >&5
51902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51903 (exit $ac_status); } >/dev/null; then
51904 if test -s conftest.err; then
51905 ac_cpp_err=$ac_c_preproc_warn_flag
51906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51907 else
51908 ac_cpp_err=
51910 else
51911 ac_cpp_err=yes
51913 if test -z "$ac_cpp_err"; then
51914 ac_header_preproc=yes
51915 else
51916 echo "$as_me: failed program was:" >&5
51917 sed 's/^/| /' conftest.$ac_ext >&5
51919 ac_header_preproc=no
51921 rm -f conftest.err conftest.$ac_ext
51922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51923 echo "${ECHO_T}$ac_header_preproc" >&6
51925 # So? What about this header?
51926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51927 yes:no: )
51928 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51929 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51930 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51931 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51932 ac_header_preproc=yes
51934 no:yes:* )
51935 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51936 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51937 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51938 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51939 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51940 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51941 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51942 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51943 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51944 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51945 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51946 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51948 cat <<\_ASBOX
51949 ## ----------------------------------------- ##
51950 ## Report this to the package-unused lists. ##
51951 ## ----------------------------------------- ##
51952 _ASBOX
51954 sed "s/^/$as_me: WARNING: /" >&2
51956 esac
51957 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51958 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51959 if test "${ac_cv_header_langinfo_h+set}" = set; then
51960 echo $ECHO_N "(cached) $ECHO_C" >&6
51961 else
51962 ac_cv_header_langinfo_h=$ac_header_preproc
51964 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51965 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51968 if test $ac_cv_header_langinfo_h = yes; then
51969 ac_has_langinfo_h=yes
51970 else
51971 ac_has_langinfo_h=no
51976 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51977 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51978 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51979 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51980 echo $ECHO_N "(cached) $ECHO_C" >&6
51981 else
51982 ac_check_lib_save_LIBS=$LIBS
51983 LIBS="-liconv $LIBS"
51984 if test x$gcc_no_link = xyes; then
51985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51987 { (exit 1); exit 1; }; }
51989 cat >conftest.$ac_ext <<_ACEOF
51990 /* confdefs.h. */
51991 _ACEOF
51992 cat confdefs.h >>conftest.$ac_ext
51993 cat >>conftest.$ac_ext <<_ACEOF
51994 /* end confdefs.h. */
51996 /* Override any gcc2 internal prototype to avoid an error. */
51997 #ifdef __cplusplus
51998 extern "C"
51999 #endif
52000 /* We use char because int might match the return type of a gcc2
52001 builtin and then its argument prototype would still apply. */
52002 char iconv ();
52004 main ()
52006 iconv ();
52008 return 0;
52010 _ACEOF
52011 rm -f conftest.$ac_objext conftest$ac_exeext
52012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52013 (eval $ac_link) 2>conftest.er1
52014 ac_status=$?
52015 grep -v '^ *+' conftest.er1 >conftest.err
52016 rm -f conftest.er1
52017 cat conftest.err >&5
52018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52019 (exit $ac_status); } &&
52020 { ac_try='test -z "$ac_c_werror_flag"
52021 || test ! -s conftest.err'
52022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52023 (eval $ac_try) 2>&5
52024 ac_status=$?
52025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52026 (exit $ac_status); }; } &&
52027 { ac_try='test -s conftest$ac_exeext'
52028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52029 (eval $ac_try) 2>&5
52030 ac_status=$?
52031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52032 (exit $ac_status); }; }; then
52033 ac_cv_lib_iconv_iconv=yes
52034 else
52035 echo "$as_me: failed program was:" >&5
52036 sed 's/^/| /' conftest.$ac_ext >&5
52038 ac_cv_lib_iconv_iconv=no
52040 rm -f conftest.err conftest.$ac_objext \
52041 conftest$ac_exeext conftest.$ac_ext
52042 LIBS=$ac_check_lib_save_LIBS
52044 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52045 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52046 if test $ac_cv_lib_iconv_iconv = yes; then
52047 LIBICONV="-liconv"
52050 ac_save_LIBS="$LIBS"
52051 LIBS="$LIBS $LIBICONV"
52058 for ac_func in iconv_open iconv_close iconv nl_langinfo
52060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52061 echo "$as_me:$LINENO: checking for $ac_func" >&5
52062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52063 if eval "test \"\${$as_ac_var+set}\" = set"; then
52064 echo $ECHO_N "(cached) $ECHO_C" >&6
52065 else
52066 if test x$gcc_no_link = xyes; then
52067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52069 { (exit 1); exit 1; }; }
52071 cat >conftest.$ac_ext <<_ACEOF
52072 /* confdefs.h. */
52073 _ACEOF
52074 cat confdefs.h >>conftest.$ac_ext
52075 cat >>conftest.$ac_ext <<_ACEOF
52076 /* end confdefs.h. */
52077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52079 #define $ac_func innocuous_$ac_func
52081 /* System header to define __stub macros and hopefully few prototypes,
52082 which can conflict with char $ac_func (); below.
52083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52084 <limits.h> exists even on freestanding compilers. */
52086 #ifdef __STDC__
52087 # include <limits.h>
52088 #else
52089 # include <assert.h>
52090 #endif
52092 #undef $ac_func
52094 /* Override any gcc2 internal prototype to avoid an error. */
52095 #ifdef __cplusplus
52096 extern "C"
52098 #endif
52099 /* We use char because int might match the return type of a gcc2
52100 builtin and then its argument prototype would still apply. */
52101 char $ac_func ();
52102 /* The GNU C library defines this for functions which it implements
52103 to always fail with ENOSYS. Some functions are actually named
52104 something starting with __ and the normal name is an alias. */
52105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52106 choke me
52107 #else
52108 char (*f) () = $ac_func;
52109 #endif
52110 #ifdef __cplusplus
52112 #endif
52115 main ()
52117 return f != $ac_func;
52119 return 0;
52121 _ACEOF
52122 rm -f conftest.$ac_objext conftest$ac_exeext
52123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52124 (eval $ac_link) 2>conftest.er1
52125 ac_status=$?
52126 grep -v '^ *+' conftest.er1 >conftest.err
52127 rm -f conftest.er1
52128 cat conftest.err >&5
52129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52130 (exit $ac_status); } &&
52131 { ac_try='test -z "$ac_c_werror_flag"
52132 || test ! -s conftest.err'
52133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52134 (eval $ac_try) 2>&5
52135 ac_status=$?
52136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52137 (exit $ac_status); }; } &&
52138 { ac_try='test -s conftest$ac_exeext'
52139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52140 (eval $ac_try) 2>&5
52141 ac_status=$?
52142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52143 (exit $ac_status); }; }; then
52144 eval "$as_ac_var=yes"
52145 else
52146 echo "$as_me: failed program was:" >&5
52147 sed 's/^/| /' conftest.$ac_ext >&5
52149 eval "$as_ac_var=no"
52151 rm -f conftest.err conftest.$ac_objext \
52152 conftest$ac_exeext conftest.$ac_ext
52154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52156 if test `eval echo '${'$as_ac_var'}'` = yes; then
52157 cat >>confdefs.h <<_ACEOF
52158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52159 _ACEOF
52160 ac_XPG2funcs=yes
52161 else
52162 ac_XPG2funcs=no
52164 done
52167 LIBS="$ac_save_LIBS"
52169 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52170 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52171 if test x"$ac_has_iconv_h" = xyes &&
52172 test x"$ac_has_langinfo_h" = xyes &&
52173 test x"$ac_XPG2funcs" = xyes;
52174 then
52175 ac_XPG2_wchar_t=yes
52176 else
52177 ac_XPG2_wchar_t=no
52179 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52180 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52182 # At the moment, only enable wchar_t specializations if all the
52183 # above support is present.
52184 if test x"$ac_isoC99_wchar_t" = xyes &&
52185 test x"$ac_XPG2_wchar_t" = xyes;
52186 then
52187 cat >>confdefs.h <<\_ACEOF
52188 #define _GLIBCXX_USE_WCHAR_T 1
52189 _ACEOF
52191 enable_wchar_t=yes
52194 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52195 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52196 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52197 echo "${ECHO_T}$enable_wchar_t" >&6
52200 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52201 ac_save_CXXFLAGS="$CXXFLAGS"
52202 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52205 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52206 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52207 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52208 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52209 echo $ECHO_N "(cached) $ECHO_C" >&6
52210 else
52214 ac_ext=cc
52215 ac_cpp='$CXXCPP $CPPFLAGS'
52216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52220 cat >conftest.$ac_ext <<_ACEOF
52221 /* confdefs.h. */
52222 _ACEOF
52223 cat confdefs.h >>conftest.$ac_ext
52224 cat >>conftest.$ac_ext <<_ACEOF
52225 /* end confdefs.h. */
52226 #include <stdlib.h>
52228 main ()
52230 strtold(0, 0);
52232 return 0;
52234 _ACEOF
52235 rm -f conftest.$ac_objext
52236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52237 (eval $ac_compile) 2>conftest.er1
52238 ac_status=$?
52239 grep -v '^ *+' conftest.er1 >conftest.err
52240 rm -f conftest.er1
52241 cat conftest.err >&5
52242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52243 (exit $ac_status); } &&
52244 { ac_try='test -z "$ac_cxx_werror_flag"
52245 || test ! -s conftest.err'
52246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52247 (eval $ac_try) 2>&5
52248 ac_status=$?
52249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52250 (exit $ac_status); }; } &&
52251 { ac_try='test -s conftest.$ac_objext'
52252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52253 (eval $ac_try) 2>&5
52254 ac_status=$?
52255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52256 (exit $ac_status); }; }; then
52257 glibcxx_cv_func_strtold_use=yes
52258 else
52259 echo "$as_me: failed program was:" >&5
52260 sed 's/^/| /' conftest.$ac_ext >&5
52262 glibcxx_cv_func_strtold_use=no
52264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52265 ac_ext=c
52266 ac_cpp='$CPP $CPPFLAGS'
52267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52275 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52276 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52277 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52279 for ac_func in strtold
52281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52282 echo "$as_me:$LINENO: checking for $ac_func" >&5
52283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52284 if eval "test \"\${$as_ac_var+set}\" = set"; then
52285 echo $ECHO_N "(cached) $ECHO_C" >&6
52286 else
52287 if test x$gcc_no_link = xyes; then
52288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52290 { (exit 1); exit 1; }; }
52292 cat >conftest.$ac_ext <<_ACEOF
52293 /* confdefs.h. */
52294 _ACEOF
52295 cat confdefs.h >>conftest.$ac_ext
52296 cat >>conftest.$ac_ext <<_ACEOF
52297 /* end confdefs.h. */
52298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52300 #define $ac_func innocuous_$ac_func
52302 /* System header to define __stub macros and hopefully few prototypes,
52303 which can conflict with char $ac_func (); below.
52304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52305 <limits.h> exists even on freestanding compilers. */
52307 #ifdef __STDC__
52308 # include <limits.h>
52309 #else
52310 # include <assert.h>
52311 #endif
52313 #undef $ac_func
52315 /* Override any gcc2 internal prototype to avoid an error. */
52316 #ifdef __cplusplus
52317 extern "C"
52319 #endif
52320 /* We use char because int might match the return type of a gcc2
52321 builtin and then its argument prototype would still apply. */
52322 char $ac_func ();
52323 /* The GNU C library defines this for functions which it implements
52324 to always fail with ENOSYS. Some functions are actually named
52325 something starting with __ and the normal name is an alias. */
52326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52327 choke me
52328 #else
52329 char (*f) () = $ac_func;
52330 #endif
52331 #ifdef __cplusplus
52333 #endif
52336 main ()
52338 return f != $ac_func;
52340 return 0;
52342 _ACEOF
52343 rm -f conftest.$ac_objext conftest$ac_exeext
52344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52345 (eval $ac_link) 2>conftest.er1
52346 ac_status=$?
52347 grep -v '^ *+' conftest.er1 >conftest.err
52348 rm -f conftest.er1
52349 cat conftest.err >&5
52350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52351 (exit $ac_status); } &&
52352 { ac_try='test -z "$ac_c_werror_flag"
52353 || test ! -s conftest.err'
52354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52355 (eval $ac_try) 2>&5
52356 ac_status=$?
52357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52358 (exit $ac_status); }; } &&
52359 { ac_try='test -s conftest$ac_exeext'
52360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52361 (eval $ac_try) 2>&5
52362 ac_status=$?
52363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52364 (exit $ac_status); }; }; then
52365 eval "$as_ac_var=yes"
52366 else
52367 echo "$as_me: failed program was:" >&5
52368 sed 's/^/| /' conftest.$ac_ext >&5
52370 eval "$as_ac_var=no"
52372 rm -f conftest.err conftest.$ac_objext \
52373 conftest$ac_exeext conftest.$ac_ext
52375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52377 if test `eval echo '${'$as_ac_var'}'` = yes; then
52378 cat >>confdefs.h <<_ACEOF
52379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52380 _ACEOF
52383 done
52388 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52389 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52390 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52391 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52392 echo $ECHO_N "(cached) $ECHO_C" >&6
52393 else
52397 ac_ext=cc
52398 ac_cpp='$CXXCPP $CPPFLAGS'
52399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52403 cat >conftest.$ac_ext <<_ACEOF
52404 /* confdefs.h. */
52405 _ACEOF
52406 cat confdefs.h >>conftest.$ac_ext
52407 cat >>conftest.$ac_ext <<_ACEOF
52408 /* end confdefs.h. */
52409 #include <stdlib.h>
52411 main ()
52413 strtof(0, 0);
52415 return 0;
52417 _ACEOF
52418 rm -f conftest.$ac_objext
52419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52420 (eval $ac_compile) 2>conftest.er1
52421 ac_status=$?
52422 grep -v '^ *+' conftest.er1 >conftest.err
52423 rm -f conftest.er1
52424 cat conftest.err >&5
52425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52426 (exit $ac_status); } &&
52427 { ac_try='test -z "$ac_cxx_werror_flag"
52428 || test ! -s conftest.err'
52429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52430 (eval $ac_try) 2>&5
52431 ac_status=$?
52432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52433 (exit $ac_status); }; } &&
52434 { ac_try='test -s conftest.$ac_objext'
52435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52436 (eval $ac_try) 2>&5
52437 ac_status=$?
52438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52439 (exit $ac_status); }; }; then
52440 glibcxx_cv_func_strtof_use=yes
52441 else
52442 echo "$as_me: failed program was:" >&5
52443 sed 's/^/| /' conftest.$ac_ext >&5
52445 glibcxx_cv_func_strtof_use=no
52447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52448 ac_ext=c
52449 ac_cpp='$CPP $CPPFLAGS'
52450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52459 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52460 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52462 for ac_func in strtof
52464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52465 echo "$as_me:$LINENO: checking for $ac_func" >&5
52466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52467 if eval "test \"\${$as_ac_var+set}\" = set"; then
52468 echo $ECHO_N "(cached) $ECHO_C" >&6
52469 else
52470 if test x$gcc_no_link = xyes; then
52471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52473 { (exit 1); exit 1; }; }
52475 cat >conftest.$ac_ext <<_ACEOF
52476 /* confdefs.h. */
52477 _ACEOF
52478 cat confdefs.h >>conftest.$ac_ext
52479 cat >>conftest.$ac_ext <<_ACEOF
52480 /* end confdefs.h. */
52481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52483 #define $ac_func innocuous_$ac_func
52485 /* System header to define __stub macros and hopefully few prototypes,
52486 which can conflict with char $ac_func (); below.
52487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52488 <limits.h> exists even on freestanding compilers. */
52490 #ifdef __STDC__
52491 # include <limits.h>
52492 #else
52493 # include <assert.h>
52494 #endif
52496 #undef $ac_func
52498 /* Override any gcc2 internal prototype to avoid an error. */
52499 #ifdef __cplusplus
52500 extern "C"
52502 #endif
52503 /* We use char because int might match the return type of a gcc2
52504 builtin and then its argument prototype would still apply. */
52505 char $ac_func ();
52506 /* The GNU C library defines this for functions which it implements
52507 to always fail with ENOSYS. Some functions are actually named
52508 something starting with __ and the normal name is an alias. */
52509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52510 choke me
52511 #else
52512 char (*f) () = $ac_func;
52513 #endif
52514 #ifdef __cplusplus
52516 #endif
52519 main ()
52521 return f != $ac_func;
52523 return 0;
52525 _ACEOF
52526 rm -f conftest.$ac_objext conftest$ac_exeext
52527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52528 (eval $ac_link) 2>conftest.er1
52529 ac_status=$?
52530 grep -v '^ *+' conftest.er1 >conftest.err
52531 rm -f conftest.er1
52532 cat conftest.err >&5
52533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52534 (exit $ac_status); } &&
52535 { ac_try='test -z "$ac_c_werror_flag"
52536 || test ! -s conftest.err'
52537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52538 (eval $ac_try) 2>&5
52539 ac_status=$?
52540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52541 (exit $ac_status); }; } &&
52542 { ac_try='test -s conftest$ac_exeext'
52543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52544 (eval $ac_try) 2>&5
52545 ac_status=$?
52546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52547 (exit $ac_status); }; }; then
52548 eval "$as_ac_var=yes"
52549 else
52550 echo "$as_me: failed program was:" >&5
52551 sed 's/^/| /' conftest.$ac_ext >&5
52553 eval "$as_ac_var=no"
52555 rm -f conftest.err conftest.$ac_objext \
52556 conftest$ac_exeext conftest.$ac_ext
52558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52560 if test `eval echo '${'$as_ac_var'}'` = yes; then
52561 cat >>confdefs.h <<_ACEOF
52562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52563 _ACEOF
52566 done
52571 CXXFLAGS="$ac_save_CXXFLAGS"
52574 # For showmanyc_helper().
52577 for ac_header in sys/ioctl.h sys/filio.h
52579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52581 echo "$as_me:$LINENO: checking for $ac_header" >&5
52582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52584 echo $ECHO_N "(cached) $ECHO_C" >&6
52586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52588 else
52589 # Is the header compilable?
52590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52592 cat >conftest.$ac_ext <<_ACEOF
52593 /* confdefs.h. */
52594 _ACEOF
52595 cat confdefs.h >>conftest.$ac_ext
52596 cat >>conftest.$ac_ext <<_ACEOF
52597 /* end confdefs.h. */
52598 $ac_includes_default
52599 #include <$ac_header>
52600 _ACEOF
52601 rm -f conftest.$ac_objext
52602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52603 (eval $ac_compile) 2>conftest.er1
52604 ac_status=$?
52605 grep -v '^ *+' conftest.er1 >conftest.err
52606 rm -f conftest.er1
52607 cat conftest.err >&5
52608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52609 (exit $ac_status); } &&
52610 { ac_try='test -z "$ac_c_werror_flag"
52611 || test ! -s conftest.err'
52612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52613 (eval $ac_try) 2>&5
52614 ac_status=$?
52615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52616 (exit $ac_status); }; } &&
52617 { ac_try='test -s conftest.$ac_objext'
52618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52619 (eval $ac_try) 2>&5
52620 ac_status=$?
52621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52622 (exit $ac_status); }; }; then
52623 ac_header_compiler=yes
52624 else
52625 echo "$as_me: failed program was:" >&5
52626 sed 's/^/| /' conftest.$ac_ext >&5
52628 ac_header_compiler=no
52630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52632 echo "${ECHO_T}$ac_header_compiler" >&6
52634 # Is the header present?
52635 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52637 cat >conftest.$ac_ext <<_ACEOF
52638 /* confdefs.h. */
52639 _ACEOF
52640 cat confdefs.h >>conftest.$ac_ext
52641 cat >>conftest.$ac_ext <<_ACEOF
52642 /* end confdefs.h. */
52643 #include <$ac_header>
52644 _ACEOF
52645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52647 ac_status=$?
52648 grep -v '^ *+' conftest.er1 >conftest.err
52649 rm -f conftest.er1
52650 cat conftest.err >&5
52651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52652 (exit $ac_status); } >/dev/null; then
52653 if test -s conftest.err; then
52654 ac_cpp_err=$ac_c_preproc_warn_flag
52655 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52656 else
52657 ac_cpp_err=
52659 else
52660 ac_cpp_err=yes
52662 if test -z "$ac_cpp_err"; then
52663 ac_header_preproc=yes
52664 else
52665 echo "$as_me: failed program was:" >&5
52666 sed 's/^/| /' conftest.$ac_ext >&5
52668 ac_header_preproc=no
52670 rm -f conftest.err conftest.$ac_ext
52671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52672 echo "${ECHO_T}$ac_header_preproc" >&6
52674 # So? What about this header?
52675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52676 yes:no: )
52677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52681 ac_header_preproc=yes
52683 no:yes:* )
52684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52697 cat <<\_ASBOX
52698 ## ----------------------------------------- ##
52699 ## Report this to the package-unused lists. ##
52700 ## ----------------------------------------- ##
52701 _ASBOX
52703 sed "s/^/$as_me: WARNING: /" >&2
52705 esac
52706 echo "$as_me:$LINENO: checking for $ac_header" >&5
52707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52709 echo $ECHO_N "(cached) $ECHO_C" >&6
52710 else
52711 eval "$as_ac_Header=\$ac_header_preproc"
52713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52718 cat >>confdefs.h <<_ACEOF
52719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52720 _ACEOF
52724 done
52727 if test "${glibcxx_cv_POLL+set}" = set; then
52728 echo $ECHO_N "(cached) $ECHO_C" >&6
52729 else
52731 if test x$gcc_no_link = xyes; then
52732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52734 { (exit 1); exit 1; }; }
52736 cat >conftest.$ac_ext <<_ACEOF
52737 /* confdefs.h. */
52738 _ACEOF
52739 cat confdefs.h >>conftest.$ac_ext
52740 cat >>conftest.$ac_ext <<_ACEOF
52741 /* end confdefs.h. */
52742 #include <poll.h>
52744 main ()
52746 struct pollfd pfd[1];
52747 pfd[0].events = POLLIN;
52748 poll(pfd, 1, 0);
52750 return 0;
52752 _ACEOF
52753 rm -f conftest.$ac_objext conftest$ac_exeext
52754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52755 (eval $ac_link) 2>conftest.er1
52756 ac_status=$?
52757 grep -v '^ *+' conftest.er1 >conftest.err
52758 rm -f conftest.er1
52759 cat conftest.err >&5
52760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52761 (exit $ac_status); } &&
52762 { ac_try='test -z "$ac_c_werror_flag"
52763 || test ! -s conftest.err'
52764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52765 (eval $ac_try) 2>&5
52766 ac_status=$?
52767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52768 (exit $ac_status); }; } &&
52769 { ac_try='test -s conftest$ac_exeext'
52770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52771 (eval $ac_try) 2>&5
52772 ac_status=$?
52773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52774 (exit $ac_status); }; }; then
52775 glibcxx_cv_POLL=yes
52776 else
52777 echo "$as_me: failed program was:" >&5
52778 sed 's/^/| /' conftest.$ac_ext >&5
52780 glibcxx_cv_POLL=no
52782 rm -f conftest.err conftest.$ac_objext \
52783 conftest$ac_exeext conftest.$ac_ext
52787 if test $glibcxx_cv_POLL = yes; then
52788 cat >>confdefs.h <<\_ACEOF
52789 #define HAVE_POLL 1
52790 _ACEOF
52795 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52796 echo $ECHO_N "(cached) $ECHO_C" >&6
52797 else
52799 if test x$gcc_no_link = xyes; then
52800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52802 { (exit 1); exit 1; }; }
52804 cat >conftest.$ac_ext <<_ACEOF
52805 /* confdefs.h. */
52806 _ACEOF
52807 cat confdefs.h >>conftest.$ac_ext
52808 cat >>conftest.$ac_ext <<_ACEOF
52809 /* end confdefs.h. */
52810 #include <sys/stat.h>
52812 main ()
52814 struct stat buffer;
52815 fstat(0, &buffer);
52816 S_ISREG(buffer.st_mode);
52818 return 0;
52820 _ACEOF
52821 rm -f conftest.$ac_objext conftest$ac_exeext
52822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52823 (eval $ac_link) 2>conftest.er1
52824 ac_status=$?
52825 grep -v '^ *+' conftest.er1 >conftest.err
52826 rm -f conftest.er1
52827 cat conftest.err >&5
52828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52829 (exit $ac_status); } &&
52830 { ac_try='test -z "$ac_c_werror_flag"
52831 || test ! -s conftest.err'
52832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52833 (eval $ac_try) 2>&5
52834 ac_status=$?
52835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52836 (exit $ac_status); }; } &&
52837 { ac_try='test -s conftest$ac_exeext'
52838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52839 (eval $ac_try) 2>&5
52840 ac_status=$?
52841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52842 (exit $ac_status); }; }; then
52843 glibcxx_cv_S_ISREG=yes
52844 else
52845 echo "$as_me: failed program was:" >&5
52846 sed 's/^/| /' conftest.$ac_ext >&5
52848 glibcxx_cv_S_ISREG=no
52850 rm -f conftest.err conftest.$ac_objext \
52851 conftest$ac_exeext conftest.$ac_ext
52855 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52856 echo $ECHO_N "(cached) $ECHO_C" >&6
52857 else
52859 if test x$gcc_no_link = xyes; then
52860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52862 { (exit 1); exit 1; }; }
52864 cat >conftest.$ac_ext <<_ACEOF
52865 /* confdefs.h. */
52866 _ACEOF
52867 cat confdefs.h >>conftest.$ac_ext
52868 cat >>conftest.$ac_ext <<_ACEOF
52869 /* end confdefs.h. */
52870 #include <sys/stat.h>
52872 main ()
52874 struct stat buffer;
52875 fstat(0, &buffer);
52876 S_IFREG & buffer.st_mode;
52878 return 0;
52880 _ACEOF
52881 rm -f conftest.$ac_objext conftest$ac_exeext
52882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52883 (eval $ac_link) 2>conftest.er1
52884 ac_status=$?
52885 grep -v '^ *+' conftest.er1 >conftest.err
52886 rm -f conftest.er1
52887 cat conftest.err >&5
52888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889 (exit $ac_status); } &&
52890 { ac_try='test -z "$ac_c_werror_flag"
52891 || test ! -s conftest.err'
52892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52893 (eval $ac_try) 2>&5
52894 ac_status=$?
52895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896 (exit $ac_status); }; } &&
52897 { ac_try='test -s conftest$ac_exeext'
52898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52899 (eval $ac_try) 2>&5
52900 ac_status=$?
52901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902 (exit $ac_status); }; }; then
52903 glibcxx_cv_S_IFREG=yes
52904 else
52905 echo "$as_me: failed program was:" >&5
52906 sed 's/^/| /' conftest.$ac_ext >&5
52908 glibcxx_cv_S_IFREG=no
52910 rm -f conftest.err conftest.$ac_objext \
52911 conftest$ac_exeext conftest.$ac_ext
52915 if test $glibcxx_cv_S_ISREG = yes; then
52916 cat >>confdefs.h <<\_ACEOF
52917 #define HAVE_S_ISREG 1
52918 _ACEOF
52920 elif test $glibcxx_cv_S_IFREG = yes; then
52921 cat >>confdefs.h <<\_ACEOF
52922 #define HAVE_S_IFREG 1
52923 _ACEOF
52928 # For xsputn_2().
52930 for ac_header in sys/uio.h
52932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52934 echo "$as_me:$LINENO: checking for $ac_header" >&5
52935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52937 echo $ECHO_N "(cached) $ECHO_C" >&6
52939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52941 else
52942 # Is the header compilable?
52943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52945 cat >conftest.$ac_ext <<_ACEOF
52946 /* confdefs.h. */
52947 _ACEOF
52948 cat confdefs.h >>conftest.$ac_ext
52949 cat >>conftest.$ac_ext <<_ACEOF
52950 /* end confdefs.h. */
52951 $ac_includes_default
52952 #include <$ac_header>
52953 _ACEOF
52954 rm -f conftest.$ac_objext
52955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52956 (eval $ac_compile) 2>conftest.er1
52957 ac_status=$?
52958 grep -v '^ *+' conftest.er1 >conftest.err
52959 rm -f conftest.er1
52960 cat conftest.err >&5
52961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52962 (exit $ac_status); } &&
52963 { ac_try='test -z "$ac_c_werror_flag"
52964 || test ! -s conftest.err'
52965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52966 (eval $ac_try) 2>&5
52967 ac_status=$?
52968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52969 (exit $ac_status); }; } &&
52970 { ac_try='test -s conftest.$ac_objext'
52971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52972 (eval $ac_try) 2>&5
52973 ac_status=$?
52974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52975 (exit $ac_status); }; }; then
52976 ac_header_compiler=yes
52977 else
52978 echo "$as_me: failed program was:" >&5
52979 sed 's/^/| /' conftest.$ac_ext >&5
52981 ac_header_compiler=no
52983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52985 echo "${ECHO_T}$ac_header_compiler" >&6
52987 # Is the header present?
52988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52990 cat >conftest.$ac_ext <<_ACEOF
52991 /* confdefs.h. */
52992 _ACEOF
52993 cat confdefs.h >>conftest.$ac_ext
52994 cat >>conftest.$ac_ext <<_ACEOF
52995 /* end confdefs.h. */
52996 #include <$ac_header>
52997 _ACEOF
52998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53000 ac_status=$?
53001 grep -v '^ *+' conftest.er1 >conftest.err
53002 rm -f conftest.er1
53003 cat conftest.err >&5
53004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53005 (exit $ac_status); } >/dev/null; then
53006 if test -s conftest.err; then
53007 ac_cpp_err=$ac_c_preproc_warn_flag
53008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53009 else
53010 ac_cpp_err=
53012 else
53013 ac_cpp_err=yes
53015 if test -z "$ac_cpp_err"; then
53016 ac_header_preproc=yes
53017 else
53018 echo "$as_me: failed program was:" >&5
53019 sed 's/^/| /' conftest.$ac_ext >&5
53021 ac_header_preproc=no
53023 rm -f conftest.err conftest.$ac_ext
53024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53025 echo "${ECHO_T}$ac_header_preproc" >&6
53027 # So? What about this header?
53028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53029 yes:no: )
53030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53034 ac_header_preproc=yes
53036 no:yes:* )
53037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53050 cat <<\_ASBOX
53051 ## ----------------------------------------- ##
53052 ## Report this to the package-unused lists. ##
53053 ## ----------------------------------------- ##
53054 _ASBOX
53056 sed "s/^/$as_me: WARNING: /" >&2
53058 esac
53059 echo "$as_me:$LINENO: checking for $ac_header" >&5
53060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53062 echo $ECHO_N "(cached) $ECHO_C" >&6
53063 else
53064 eval "$as_ac_Header=\$ac_header_preproc"
53066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53071 cat >>confdefs.h <<_ACEOF
53072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53073 _ACEOF
53077 done
53080 if test "${glibcxx_cv_WRITEV+set}" = set; then
53081 echo $ECHO_N "(cached) $ECHO_C" >&6
53082 else
53084 if test x$gcc_no_link = xyes; then
53085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53087 { (exit 1); exit 1; }; }
53089 cat >conftest.$ac_ext <<_ACEOF
53090 /* confdefs.h. */
53091 _ACEOF
53092 cat confdefs.h >>conftest.$ac_ext
53093 cat >>conftest.$ac_ext <<_ACEOF
53094 /* end confdefs.h. */
53095 #include <sys/uio.h>
53097 main ()
53099 struct iovec iov[2];
53100 writev(0, iov, 0);
53102 return 0;
53104 _ACEOF
53105 rm -f conftest.$ac_objext conftest$ac_exeext
53106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53107 (eval $ac_link) 2>conftest.er1
53108 ac_status=$?
53109 grep -v '^ *+' conftest.er1 >conftest.err
53110 rm -f conftest.er1
53111 cat conftest.err >&5
53112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53113 (exit $ac_status); } &&
53114 { ac_try='test -z "$ac_c_werror_flag"
53115 || test ! -s conftest.err'
53116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53117 (eval $ac_try) 2>&5
53118 ac_status=$?
53119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53120 (exit $ac_status); }; } &&
53121 { ac_try='test -s conftest$ac_exeext'
53122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53123 (eval $ac_try) 2>&5
53124 ac_status=$?
53125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53126 (exit $ac_status); }; }; then
53127 glibcxx_cv_WRITEV=yes
53128 else
53129 echo "$as_me: failed program was:" >&5
53130 sed 's/^/| /' conftest.$ac_ext >&5
53132 glibcxx_cv_WRITEV=no
53134 rm -f conftest.err conftest.$ac_objext \
53135 conftest$ac_exeext conftest.$ac_ext
53139 if test $glibcxx_cv_WRITEV = yes; then
53140 cat >>confdefs.h <<\_ACEOF
53141 #define HAVE_WRITEV 1
53142 _ACEOF
53147 cat >>confdefs.h <<\_ACEOF
53148 #define HAVE_LC_MESSAGES 1
53149 _ACEOF
53152 cat >conftest.$ac_ext <<_ACEOF
53153 /* confdefs.h. */
53154 _ACEOF
53155 cat confdefs.h >>conftest.$ac_ext
53156 cat >>conftest.$ac_ext <<_ACEOF
53157 /* end confdefs.h. */
53158 #include <setjmp.h>
53160 main ()
53162 sigjmp_buf env;
53163 while (! sigsetjmp (env, 1))
53164 siglongjmp (env, 1);
53167 return 0;
53169 _ACEOF
53170 rm -f conftest.$ac_objext
53171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53172 (eval $ac_compile) 2>conftest.er1
53173 ac_status=$?
53174 grep -v '^ *+' conftest.er1 >conftest.err
53175 rm -f conftest.er1
53176 cat conftest.err >&5
53177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178 (exit $ac_status); } &&
53179 { ac_try='test -z "$ac_c_werror_flag"
53180 || test ! -s conftest.err'
53181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53182 (eval $ac_try) 2>&5
53183 ac_status=$?
53184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53185 (exit $ac_status); }; } &&
53186 { ac_try='test -s conftest.$ac_objext'
53187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53188 (eval $ac_try) 2>&5
53189 ac_status=$?
53190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53191 (exit $ac_status); }; }; then
53193 cat >>confdefs.h <<\_ACEOF
53194 #define HAVE_SIGSETJMP 1
53195 _ACEOF
53197 else
53198 echo "$as_me: failed program was:" >&5
53199 sed 's/^/| /' conftest.$ac_ext >&5
53202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53204 cat >>confdefs.h <<\_ACEOF
53205 #define HAVE_MMAP 1
53206 _ACEOF
53210 *djgpp)
53231 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53232 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53233 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53234 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53238 echo "$as_me:$LINENO: checking for $ac_header" >&5
53239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53241 echo $ECHO_N "(cached) $ECHO_C" >&6
53243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53245 else
53246 # Is the header compilable?
53247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53249 cat >conftest.$ac_ext <<_ACEOF
53250 /* confdefs.h. */
53251 _ACEOF
53252 cat confdefs.h >>conftest.$ac_ext
53253 cat >>conftest.$ac_ext <<_ACEOF
53254 /* end confdefs.h. */
53255 $ac_includes_default
53256 #include <$ac_header>
53257 _ACEOF
53258 rm -f conftest.$ac_objext
53259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53260 (eval $ac_compile) 2>conftest.er1
53261 ac_status=$?
53262 grep -v '^ *+' conftest.er1 >conftest.err
53263 rm -f conftest.er1
53264 cat conftest.err >&5
53265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53266 (exit $ac_status); } &&
53267 { ac_try='test -z "$ac_c_werror_flag"
53268 || test ! -s conftest.err'
53269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53270 (eval $ac_try) 2>&5
53271 ac_status=$?
53272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53273 (exit $ac_status); }; } &&
53274 { ac_try='test -s conftest.$ac_objext'
53275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53276 (eval $ac_try) 2>&5
53277 ac_status=$?
53278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53279 (exit $ac_status); }; }; then
53280 ac_header_compiler=yes
53281 else
53282 echo "$as_me: failed program was:" >&5
53283 sed 's/^/| /' conftest.$ac_ext >&5
53285 ac_header_compiler=no
53287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53289 echo "${ECHO_T}$ac_header_compiler" >&6
53291 # Is the header present?
53292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53294 cat >conftest.$ac_ext <<_ACEOF
53295 /* confdefs.h. */
53296 _ACEOF
53297 cat confdefs.h >>conftest.$ac_ext
53298 cat >>conftest.$ac_ext <<_ACEOF
53299 /* end confdefs.h. */
53300 #include <$ac_header>
53301 _ACEOF
53302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53304 ac_status=$?
53305 grep -v '^ *+' conftest.er1 >conftest.err
53306 rm -f conftest.er1
53307 cat conftest.err >&5
53308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53309 (exit $ac_status); } >/dev/null; then
53310 if test -s conftest.err; then
53311 ac_cpp_err=$ac_c_preproc_warn_flag
53312 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53313 else
53314 ac_cpp_err=
53316 else
53317 ac_cpp_err=yes
53319 if test -z "$ac_cpp_err"; then
53320 ac_header_preproc=yes
53321 else
53322 echo "$as_me: failed program was:" >&5
53323 sed 's/^/| /' conftest.$ac_ext >&5
53325 ac_header_preproc=no
53327 rm -f conftest.err conftest.$ac_ext
53328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53329 echo "${ECHO_T}$ac_header_preproc" >&6
53331 # So? What about this header?
53332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53333 yes:no: )
53334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53338 ac_header_preproc=yes
53340 no:yes:* )
53341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53354 cat <<\_ASBOX
53355 ## ----------------------------------------- ##
53356 ## Report this to the package-unused lists. ##
53357 ## ----------------------------------------- ##
53358 _ASBOX
53360 sed "s/^/$as_me: WARNING: /" >&2
53362 esac
53363 echo "$as_me:$LINENO: checking for $ac_header" >&5
53364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53366 echo $ECHO_N "(cached) $ECHO_C" >&6
53367 else
53368 eval "$as_ac_Header=\$ac_header_preproc"
53370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53375 cat >>confdefs.h <<_ACEOF
53376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53377 _ACEOF
53381 done
53384 # All these tests are for C++; save the language and the compiler flags.
53385 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53386 # found in GLIBCXX_CONFIGURE.
53389 ac_ext=cc
53390 ac_cpp='$CXXCPP $CPPFLAGS'
53391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53395 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53396 ac_save_CXXFLAGS="$CXXFLAGS"
53398 # Check for maintainer-mode bits.
53399 if test x"$USE_MAINTAINER_MODE" = xno; then
53400 WERROR=''
53401 else
53402 WERROR='-Werror'
53405 # Check for -ffunction-sections -fdata-sections
53406 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53407 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53408 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53409 cat >conftest.$ac_ext <<_ACEOF
53410 /* confdefs.h. */
53411 _ACEOF
53412 cat confdefs.h >>conftest.$ac_ext
53413 cat >>conftest.$ac_ext <<_ACEOF
53414 /* end confdefs.h. */
53417 main ()
53419 int foo;
53421 return 0;
53423 _ACEOF
53424 rm -f conftest.$ac_objext
53425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53426 (eval $ac_compile) 2>conftest.er1
53427 ac_status=$?
53428 grep -v '^ *+' conftest.er1 >conftest.err
53429 rm -f conftest.er1
53430 cat conftest.err >&5
53431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53432 (exit $ac_status); } &&
53433 { ac_try='test -z "$ac_cxx_werror_flag"
53434 || test ! -s conftest.err'
53435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53436 (eval $ac_try) 2>&5
53437 ac_status=$?
53438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53439 (exit $ac_status); }; } &&
53440 { ac_try='test -s conftest.$ac_objext'
53441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53442 (eval $ac_try) 2>&5
53443 ac_status=$?
53444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53445 (exit $ac_status); }; }; then
53446 ac_fdsections=yes
53447 else
53448 echo "$as_me: failed program was:" >&5
53449 sed 's/^/| /' conftest.$ac_ext >&5
53451 ac_fdsections=no
53453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53454 if test "$ac_test_CXXFLAGS" = set; then
53455 CXXFLAGS="$ac_save_CXXFLAGS"
53456 else
53457 # this is the suspicious part
53458 CXXFLAGS=''
53460 if test x"$ac_fdsections" = x"yes"; then
53461 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53463 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53464 echo "${ECHO_T}$ac_fdsections" >&6
53466 ac_ext=c
53467 ac_cpp='$CPP $CPPFLAGS'
53468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53476 # If we're not using GNU ld, then there's no point in even trying these
53477 # tests. Check for that first. We should have already tested for gld
53478 # by now (in libtool), but require it now just to be safe...
53479 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53480 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53484 # The name set by libtool depends on the version of libtool. Shame on us
53485 # for depending on an impl detail, but c'est la vie. Older versions used
53486 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53487 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53488 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53489 # set (hence we're using an older libtool), then set it.
53490 if test x${with_gnu_ld+set} != xset; then
53491 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53492 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53493 with_gnu_ld=no
53494 else
53495 with_gnu_ld=$ac_cv_prog_gnu_ld
53499 # Start by getting the version number. I think the libtool test already
53500 # does some of this, but throws away the result.
53502 ldver=`$LD --version 2>/dev/null | head -1 | \
53503 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53505 glibcxx_gnu_ld_version=`echo $ldver | \
53506 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53508 # Set --gc-sections.
53509 if test "$with_gnu_ld" = "notbroken"; then
53510 # GNU ld it is! Joy and bunny rabbits!
53512 # All these tests are for C++; save the language and the compiler flags.
53513 # Need to do this so that g++ won't try to link in libstdc++
53514 ac_test_CFLAGS="${CFLAGS+set}"
53515 ac_save_CFLAGS="$CFLAGS"
53516 CFLAGS='-x c++ -Wl,--gc-sections'
53518 # Check for -Wl,--gc-sections
53519 # XXX This test is broken at the moment, as symbols required for linking
53520 # are now in libsupc++ (not built yet). In addition, this test has
53521 # cored on solaris in the past. In addition, --gc-sections doesn't
53522 # really work at the moment (keeps on discarding used sections, first
53523 # .eh_frame and now some of the glibc sections for iconv).
53524 # Bzzzzt. Thanks for playing, maybe next time.
53525 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53526 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53527 if test "$cross_compiling" = yes; then
53528 ac_sectionLDflags=yes
53529 else
53530 cat >conftest.$ac_ext <<_ACEOF
53531 /* confdefs.h. */
53532 _ACEOF
53533 cat confdefs.h >>conftest.$ac_ext
53534 cat >>conftest.$ac_ext <<_ACEOF
53535 /* end confdefs.h. */
53537 int main(void)
53539 try { throw 1; }
53540 catch (...) { };
53541 return 0;
53544 _ACEOF
53545 rm -f conftest$ac_exeext
53546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53547 (eval $ac_link) 2>&5
53548 ac_status=$?
53549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53552 (eval $ac_try) 2>&5
53553 ac_status=$?
53554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53555 (exit $ac_status); }; }; then
53556 ac_sectionLDflags=yes
53557 else
53558 echo "$as_me: program exited with status $ac_status" >&5
53559 echo "$as_me: failed program was:" >&5
53560 sed 's/^/| /' conftest.$ac_ext >&5
53562 ( exit $ac_status )
53563 ac_sectionLDflags=no
53565 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53567 if test "$ac_test_CFLAGS" = set; then
53568 CFLAGS="$ac_save_CFLAGS"
53569 else
53570 # this is the suspicious part
53571 CFLAGS=''
53573 if test "$ac_sectionLDflags" = "yes"; then
53574 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53576 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53577 echo "${ECHO_T}$ac_sectionLDflags" >&6
53580 # Set linker optimization flags.
53581 if test x"$with_gnu_ld" = x"yes"; then
53582 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53589 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53590 ac_save_CXXFLAGS="$CXXFLAGS"
53591 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53593 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53594 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53595 if test "${ac_cv_lib_m_sin+set}" = set; then
53596 echo $ECHO_N "(cached) $ECHO_C" >&6
53597 else
53598 ac_check_lib_save_LIBS=$LIBS
53599 LIBS="-lm $LIBS"
53600 if test x$gcc_no_link = xyes; then
53601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53603 { (exit 1); exit 1; }; }
53605 cat >conftest.$ac_ext <<_ACEOF
53606 /* confdefs.h. */
53607 _ACEOF
53608 cat confdefs.h >>conftest.$ac_ext
53609 cat >>conftest.$ac_ext <<_ACEOF
53610 /* end confdefs.h. */
53612 /* Override any gcc2 internal prototype to avoid an error. */
53613 #ifdef __cplusplus
53614 extern "C"
53615 #endif
53616 /* We use char because int might match the return type of a gcc2
53617 builtin and then its argument prototype would still apply. */
53618 char sin ();
53620 main ()
53622 sin ();
53624 return 0;
53626 _ACEOF
53627 rm -f conftest.$ac_objext conftest$ac_exeext
53628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53629 (eval $ac_link) 2>conftest.er1
53630 ac_status=$?
53631 grep -v '^ *+' conftest.er1 >conftest.err
53632 rm -f conftest.er1
53633 cat conftest.err >&5
53634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53635 (exit $ac_status); } &&
53636 { ac_try='test -z "$ac_c_werror_flag"
53637 || test ! -s conftest.err'
53638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53639 (eval $ac_try) 2>&5
53640 ac_status=$?
53641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53642 (exit $ac_status); }; } &&
53643 { ac_try='test -s conftest$ac_exeext'
53644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53645 (eval $ac_try) 2>&5
53646 ac_status=$?
53647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53648 (exit $ac_status); }; }; then
53649 ac_cv_lib_m_sin=yes
53650 else
53651 echo "$as_me: failed program was:" >&5
53652 sed 's/^/| /' conftest.$ac_ext >&5
53654 ac_cv_lib_m_sin=no
53656 rm -f conftest.err conftest.$ac_objext \
53657 conftest$ac_exeext conftest.$ac_ext
53658 LIBS=$ac_check_lib_save_LIBS
53660 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53661 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53662 if test $ac_cv_lib_m_sin = yes; then
53663 libm="-lm"
53666 ac_save_LIBS="$LIBS"
53667 LIBS="$LIBS $libm"
53671 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53672 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53673 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53674 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53675 echo $ECHO_N "(cached) $ECHO_C" >&6
53676 else
53680 ac_ext=cc
53681 ac_cpp='$CXXCPP $CPPFLAGS'
53682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53686 cat >conftest.$ac_ext <<_ACEOF
53687 /* confdefs.h. */
53688 _ACEOF
53689 cat confdefs.h >>conftest.$ac_ext
53690 cat >>conftest.$ac_ext <<_ACEOF
53691 /* end confdefs.h. */
53692 #include <math.h>
53693 #ifdef HAVE_IEEEFP_H
53694 #include <ieeefp.h>
53695 #endif
53698 main ()
53700 isinf(0);
53702 return 0;
53704 _ACEOF
53705 rm -f conftest.$ac_objext
53706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53707 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_isinf_use=yes
53728 else
53729 echo "$as_me: failed program was:" >&5
53730 sed 's/^/| /' conftest.$ac_ext >&5
53732 glibcxx_cv_func_isinf_use=no
53734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53735 ac_ext=c
53736 ac_cpp='$CPP $CPPFLAGS'
53737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53746 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53748 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53750 for ac_func in isinf
53752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53753 echo "$as_me:$LINENO: checking for $ac_func" >&5
53754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53755 if eval "test \"\${$as_ac_var+set}\" = set"; then
53756 echo $ECHO_N "(cached) $ECHO_C" >&6
53757 else
53758 if test x$gcc_no_link = xyes; then
53759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53761 { (exit 1); exit 1; }; }
53763 cat >conftest.$ac_ext <<_ACEOF
53764 /* confdefs.h. */
53765 _ACEOF
53766 cat confdefs.h >>conftest.$ac_ext
53767 cat >>conftest.$ac_ext <<_ACEOF
53768 /* end confdefs.h. */
53769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53771 #define $ac_func innocuous_$ac_func
53773 /* System header to define __stub macros and hopefully few prototypes,
53774 which can conflict with char $ac_func (); below.
53775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53776 <limits.h> exists even on freestanding compilers. */
53778 #ifdef __STDC__
53779 # include <limits.h>
53780 #else
53781 # include <assert.h>
53782 #endif
53784 #undef $ac_func
53786 /* Override any gcc2 internal prototype to avoid an error. */
53787 #ifdef __cplusplus
53788 extern "C"
53790 #endif
53791 /* We use char because int might match the return type of a gcc2
53792 builtin and then its argument prototype would still apply. */
53793 char $ac_func ();
53794 /* The GNU C library defines this for functions which it implements
53795 to always fail with ENOSYS. Some functions are actually named
53796 something starting with __ and the normal name is an alias. */
53797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53798 choke me
53799 #else
53800 char (*f) () = $ac_func;
53801 #endif
53802 #ifdef __cplusplus
53804 #endif
53807 main ()
53809 return f != $ac_func;
53811 return 0;
53813 _ACEOF
53814 rm -f conftest.$ac_objext conftest$ac_exeext
53815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53816 (eval $ac_link) 2>conftest.er1
53817 ac_status=$?
53818 grep -v '^ *+' conftest.er1 >conftest.err
53819 rm -f conftest.er1
53820 cat conftest.err >&5
53821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53822 (exit $ac_status); } &&
53823 { ac_try='test -z "$ac_c_werror_flag"
53824 || test ! -s conftest.err'
53825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53826 (eval $ac_try) 2>&5
53827 ac_status=$?
53828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53829 (exit $ac_status); }; } &&
53830 { ac_try='test -s conftest$ac_exeext'
53831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53832 (eval $ac_try) 2>&5
53833 ac_status=$?
53834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53835 (exit $ac_status); }; }; then
53836 eval "$as_ac_var=yes"
53837 else
53838 echo "$as_me: failed program was:" >&5
53839 sed 's/^/| /' conftest.$ac_ext >&5
53841 eval "$as_ac_var=no"
53843 rm -f conftest.err conftest.$ac_objext \
53844 conftest$ac_exeext conftest.$ac_ext
53846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53848 if test `eval echo '${'$as_ac_var'}'` = yes; then
53849 cat >>confdefs.h <<_ACEOF
53850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53851 _ACEOF
53854 done
53856 else
53858 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53859 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53860 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53861 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53862 echo $ECHO_N "(cached) $ECHO_C" >&6
53863 else
53867 ac_ext=cc
53868 ac_cpp='$CXXCPP $CPPFLAGS'
53869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53873 cat >conftest.$ac_ext <<_ACEOF
53874 /* confdefs.h. */
53875 _ACEOF
53876 cat confdefs.h >>conftest.$ac_ext
53877 cat >>conftest.$ac_ext <<_ACEOF
53878 /* end confdefs.h. */
53879 #include <math.h>
53880 #ifdef HAVE_IEEEFP_H
53881 #include <ieeefp.h>
53882 #endif
53885 main ()
53887 _isinf(0);
53889 return 0;
53891 _ACEOF
53892 rm -f conftest.$ac_objext
53893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53894 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isinf_use=yes
53915 else
53916 echo "$as_me: failed program was:" >&5
53917 sed 's/^/| /' conftest.$ac_ext >&5
53919 glibcxx_cv_func__isinf_use=no
53921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53922 ac_ext=c
53923 ac_cpp='$CPP $CPPFLAGS'
53924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53933 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53935 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53937 for ac_func in _isinf
53939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53940 echo "$as_me:$LINENO: checking for $ac_func" >&5
53941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53942 if eval "test \"\${$as_ac_var+set}\" = set"; then
53943 echo $ECHO_N "(cached) $ECHO_C" >&6
53944 else
53945 if test x$gcc_no_link = xyes; then
53946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53948 { (exit 1); exit 1; }; }
53950 cat >conftest.$ac_ext <<_ACEOF
53951 /* confdefs.h. */
53952 _ACEOF
53953 cat confdefs.h >>conftest.$ac_ext
53954 cat >>conftest.$ac_ext <<_ACEOF
53955 /* end confdefs.h. */
53956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53958 #define $ac_func innocuous_$ac_func
53960 /* System header to define __stub macros and hopefully few prototypes,
53961 which can conflict with char $ac_func (); below.
53962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53963 <limits.h> exists even on freestanding compilers. */
53965 #ifdef __STDC__
53966 # include <limits.h>
53967 #else
53968 # include <assert.h>
53969 #endif
53971 #undef $ac_func
53973 /* Override any gcc2 internal prototype to avoid an error. */
53974 #ifdef __cplusplus
53975 extern "C"
53977 #endif
53978 /* We use char because int might match the return type of a gcc2
53979 builtin and then its argument prototype would still apply. */
53980 char $ac_func ();
53981 /* The GNU C library defines this for functions which it implements
53982 to always fail with ENOSYS. Some functions are actually named
53983 something starting with __ and the normal name is an alias. */
53984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53985 choke me
53986 #else
53987 char (*f) () = $ac_func;
53988 #endif
53989 #ifdef __cplusplus
53991 #endif
53994 main ()
53996 return f != $ac_func;
53998 return 0;
54000 _ACEOF
54001 rm -f conftest.$ac_objext conftest$ac_exeext
54002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54003 (eval $ac_link) 2>conftest.er1
54004 ac_status=$?
54005 grep -v '^ *+' conftest.er1 >conftest.err
54006 rm -f conftest.er1
54007 cat conftest.err >&5
54008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54009 (exit $ac_status); } &&
54010 { ac_try='test -z "$ac_c_werror_flag"
54011 || test ! -s conftest.err'
54012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54013 (eval $ac_try) 2>&5
54014 ac_status=$?
54015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54016 (exit $ac_status); }; } &&
54017 { ac_try='test -s conftest$ac_exeext'
54018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54019 (eval $ac_try) 2>&5
54020 ac_status=$?
54021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54022 (exit $ac_status); }; }; then
54023 eval "$as_ac_var=yes"
54024 else
54025 echo "$as_me: failed program was:" >&5
54026 sed 's/^/| /' conftest.$ac_ext >&5
54028 eval "$as_ac_var=no"
54030 rm -f conftest.err conftest.$ac_objext \
54031 conftest$ac_exeext conftest.$ac_ext
54033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54035 if test `eval echo '${'$as_ac_var'}'` = yes; then
54036 cat >>confdefs.h <<_ACEOF
54037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54038 _ACEOF
54041 done
54048 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54049 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54050 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54051 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54052 echo $ECHO_N "(cached) $ECHO_C" >&6
54053 else
54057 ac_ext=cc
54058 ac_cpp='$CXXCPP $CPPFLAGS'
54059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54063 cat >conftest.$ac_ext <<_ACEOF
54064 /* confdefs.h. */
54065 _ACEOF
54066 cat confdefs.h >>conftest.$ac_ext
54067 cat >>conftest.$ac_ext <<_ACEOF
54068 /* end confdefs.h. */
54069 #include <math.h>
54070 #ifdef HAVE_IEEEFP_H
54071 #include <ieeefp.h>
54072 #endif
54075 main ()
54077 isnan(0);
54079 return 0;
54081 _ACEOF
54082 rm -f conftest.$ac_objext
54083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54084 (eval $ac_compile) 2>conftest.er1
54085 ac_status=$?
54086 grep -v '^ *+' conftest.er1 >conftest.err
54087 rm -f conftest.er1
54088 cat conftest.err >&5
54089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54090 (exit $ac_status); } &&
54091 { ac_try='test -z "$ac_cxx_werror_flag"
54092 || test ! -s conftest.err'
54093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54094 (eval $ac_try) 2>&5
54095 ac_status=$?
54096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097 (exit $ac_status); }; } &&
54098 { ac_try='test -s conftest.$ac_objext'
54099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54100 (eval $ac_try) 2>&5
54101 ac_status=$?
54102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54103 (exit $ac_status); }; }; then
54104 glibcxx_cv_func_isnan_use=yes
54105 else
54106 echo "$as_me: failed program was:" >&5
54107 sed 's/^/| /' conftest.$ac_ext >&5
54109 glibcxx_cv_func_isnan_use=no
54111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54112 ac_ext=c
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54123 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54125 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54127 for ac_func in isnan
54129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54130 echo "$as_me:$LINENO: checking for $ac_func" >&5
54131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54132 if eval "test \"\${$as_ac_var+set}\" = set"; then
54133 echo $ECHO_N "(cached) $ECHO_C" >&6
54134 else
54135 if test x$gcc_no_link = xyes; then
54136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54138 { (exit 1); exit 1; }; }
54140 cat >conftest.$ac_ext <<_ACEOF
54141 /* confdefs.h. */
54142 _ACEOF
54143 cat confdefs.h >>conftest.$ac_ext
54144 cat >>conftest.$ac_ext <<_ACEOF
54145 /* end confdefs.h. */
54146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54148 #define $ac_func innocuous_$ac_func
54150 /* System header to define __stub macros and hopefully few prototypes,
54151 which can conflict with char $ac_func (); below.
54152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54153 <limits.h> exists even on freestanding compilers. */
54155 #ifdef __STDC__
54156 # include <limits.h>
54157 #else
54158 # include <assert.h>
54159 #endif
54161 #undef $ac_func
54163 /* Override any gcc2 internal prototype to avoid an error. */
54164 #ifdef __cplusplus
54165 extern "C"
54167 #endif
54168 /* We use char because int might match the return type of a gcc2
54169 builtin and then its argument prototype would still apply. */
54170 char $ac_func ();
54171 /* The GNU C library defines this for functions which it implements
54172 to always fail with ENOSYS. Some functions are actually named
54173 something starting with __ and the normal name is an alias. */
54174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54175 choke me
54176 #else
54177 char (*f) () = $ac_func;
54178 #endif
54179 #ifdef __cplusplus
54181 #endif
54184 main ()
54186 return f != $ac_func;
54188 return 0;
54190 _ACEOF
54191 rm -f conftest.$ac_objext conftest$ac_exeext
54192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54193 (eval $ac_link) 2>conftest.er1
54194 ac_status=$?
54195 grep -v '^ *+' conftest.er1 >conftest.err
54196 rm -f conftest.er1
54197 cat conftest.err >&5
54198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199 (exit $ac_status); } &&
54200 { ac_try='test -z "$ac_c_werror_flag"
54201 || test ! -s conftest.err'
54202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54203 (eval $ac_try) 2>&5
54204 ac_status=$?
54205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54206 (exit $ac_status); }; } &&
54207 { ac_try='test -s conftest$ac_exeext'
54208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54209 (eval $ac_try) 2>&5
54210 ac_status=$?
54211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54212 (exit $ac_status); }; }; then
54213 eval "$as_ac_var=yes"
54214 else
54215 echo "$as_me: failed program was:" >&5
54216 sed 's/^/| /' conftest.$ac_ext >&5
54218 eval "$as_ac_var=no"
54220 rm -f conftest.err conftest.$ac_objext \
54221 conftest$ac_exeext conftest.$ac_ext
54223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54225 if test `eval echo '${'$as_ac_var'}'` = yes; then
54226 cat >>confdefs.h <<_ACEOF
54227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54228 _ACEOF
54231 done
54233 else
54235 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54236 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54237 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54238 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54239 echo $ECHO_N "(cached) $ECHO_C" >&6
54240 else
54244 ac_ext=cc
54245 ac_cpp='$CXXCPP $CPPFLAGS'
54246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54250 cat >conftest.$ac_ext <<_ACEOF
54251 /* confdefs.h. */
54252 _ACEOF
54253 cat confdefs.h >>conftest.$ac_ext
54254 cat >>conftest.$ac_ext <<_ACEOF
54255 /* end confdefs.h. */
54256 #include <math.h>
54257 #ifdef HAVE_IEEEFP_H
54258 #include <ieeefp.h>
54259 #endif
54262 main ()
54264 _isnan(0);
54266 return 0;
54268 _ACEOF
54269 rm -f conftest.$ac_objext
54270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54271 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isnan_use=yes
54292 else
54293 echo "$as_me: failed program was:" >&5
54294 sed 's/^/| /' conftest.$ac_ext >&5
54296 glibcxx_cv_func__isnan_use=no
54298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54299 ac_ext=c
54300 ac_cpp='$CPP $CPPFLAGS'
54301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54310 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54312 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54314 for ac_func in _isnan
54316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54317 echo "$as_me:$LINENO: checking for $ac_func" >&5
54318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54319 if eval "test \"\${$as_ac_var+set}\" = set"; then
54320 echo $ECHO_N "(cached) $ECHO_C" >&6
54321 else
54322 if test x$gcc_no_link = xyes; then
54323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54325 { (exit 1); exit 1; }; }
54327 cat >conftest.$ac_ext <<_ACEOF
54328 /* confdefs.h. */
54329 _ACEOF
54330 cat confdefs.h >>conftest.$ac_ext
54331 cat >>conftest.$ac_ext <<_ACEOF
54332 /* end confdefs.h. */
54333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54335 #define $ac_func innocuous_$ac_func
54337 /* System header to define __stub macros and hopefully few prototypes,
54338 which can conflict with char $ac_func (); below.
54339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54340 <limits.h> exists even on freestanding compilers. */
54342 #ifdef __STDC__
54343 # include <limits.h>
54344 #else
54345 # include <assert.h>
54346 #endif
54348 #undef $ac_func
54350 /* Override any gcc2 internal prototype to avoid an error. */
54351 #ifdef __cplusplus
54352 extern "C"
54354 #endif
54355 /* We use char because int might match the return type of a gcc2
54356 builtin and then its argument prototype would still apply. */
54357 char $ac_func ();
54358 /* The GNU C library defines this for functions which it implements
54359 to always fail with ENOSYS. Some functions are actually named
54360 something starting with __ and the normal name is an alias. */
54361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54362 choke me
54363 #else
54364 char (*f) () = $ac_func;
54365 #endif
54366 #ifdef __cplusplus
54368 #endif
54371 main ()
54373 return f != $ac_func;
54375 return 0;
54377 _ACEOF
54378 rm -f conftest.$ac_objext conftest$ac_exeext
54379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54380 (eval $ac_link) 2>conftest.er1
54381 ac_status=$?
54382 grep -v '^ *+' conftest.er1 >conftest.err
54383 rm -f conftest.er1
54384 cat conftest.err >&5
54385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54386 (exit $ac_status); } &&
54387 { ac_try='test -z "$ac_c_werror_flag"
54388 || test ! -s conftest.err'
54389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54390 (eval $ac_try) 2>&5
54391 ac_status=$?
54392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54393 (exit $ac_status); }; } &&
54394 { ac_try='test -s conftest$ac_exeext'
54395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54396 (eval $ac_try) 2>&5
54397 ac_status=$?
54398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54399 (exit $ac_status); }; }; then
54400 eval "$as_ac_var=yes"
54401 else
54402 echo "$as_me: failed program was:" >&5
54403 sed 's/^/| /' conftest.$ac_ext >&5
54405 eval "$as_ac_var=no"
54407 rm -f conftest.err conftest.$ac_objext \
54408 conftest$ac_exeext conftest.$ac_ext
54410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54412 if test `eval echo '${'$as_ac_var'}'` = yes; then
54413 cat >>confdefs.h <<_ACEOF
54414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54415 _ACEOF
54418 done
54425 echo "$as_me:$LINENO: checking for finite declaration" >&5
54426 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54427 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54428 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54429 echo $ECHO_N "(cached) $ECHO_C" >&6
54430 else
54434 ac_ext=cc
54435 ac_cpp='$CXXCPP $CPPFLAGS'
54436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54440 cat >conftest.$ac_ext <<_ACEOF
54441 /* confdefs.h. */
54442 _ACEOF
54443 cat confdefs.h >>conftest.$ac_ext
54444 cat >>conftest.$ac_ext <<_ACEOF
54445 /* end confdefs.h. */
54446 #include <math.h>
54447 #ifdef HAVE_IEEEFP_H
54448 #include <ieeefp.h>
54449 #endif
54452 main ()
54454 finite(0);
54456 return 0;
54458 _ACEOF
54459 rm -f conftest.$ac_objext
54460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54461 (eval $ac_compile) 2>conftest.er1
54462 ac_status=$?
54463 grep -v '^ *+' conftest.er1 >conftest.err
54464 rm -f conftest.er1
54465 cat conftest.err >&5
54466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54467 (exit $ac_status); } &&
54468 { ac_try='test -z "$ac_cxx_werror_flag"
54469 || test ! -s conftest.err'
54470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54471 (eval $ac_try) 2>&5
54472 ac_status=$?
54473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54474 (exit $ac_status); }; } &&
54475 { ac_try='test -s conftest.$ac_objext'
54476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54477 (eval $ac_try) 2>&5
54478 ac_status=$?
54479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54480 (exit $ac_status); }; }; then
54481 glibcxx_cv_func_finite_use=yes
54482 else
54483 echo "$as_me: failed program was:" >&5
54484 sed 's/^/| /' conftest.$ac_ext >&5
54486 glibcxx_cv_func_finite_use=no
54488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54489 ac_ext=c
54490 ac_cpp='$CPP $CPPFLAGS'
54491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54500 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54502 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54504 for ac_func in finite
54506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54507 echo "$as_me:$LINENO: checking for $ac_func" >&5
54508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54509 if eval "test \"\${$as_ac_var+set}\" = set"; then
54510 echo $ECHO_N "(cached) $ECHO_C" >&6
54511 else
54512 if test x$gcc_no_link = xyes; then
54513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54515 { (exit 1); exit 1; }; }
54517 cat >conftest.$ac_ext <<_ACEOF
54518 /* confdefs.h. */
54519 _ACEOF
54520 cat confdefs.h >>conftest.$ac_ext
54521 cat >>conftest.$ac_ext <<_ACEOF
54522 /* end confdefs.h. */
54523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54525 #define $ac_func innocuous_$ac_func
54527 /* System header to define __stub macros and hopefully few prototypes,
54528 which can conflict with char $ac_func (); below.
54529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54530 <limits.h> exists even on freestanding compilers. */
54532 #ifdef __STDC__
54533 # include <limits.h>
54534 #else
54535 # include <assert.h>
54536 #endif
54538 #undef $ac_func
54540 /* Override any gcc2 internal prototype to avoid an error. */
54541 #ifdef __cplusplus
54542 extern "C"
54544 #endif
54545 /* We use char because int might match the return type of a gcc2
54546 builtin and then its argument prototype would still apply. */
54547 char $ac_func ();
54548 /* The GNU C library defines this for functions which it implements
54549 to always fail with ENOSYS. Some functions are actually named
54550 something starting with __ and the normal name is an alias. */
54551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54552 choke me
54553 #else
54554 char (*f) () = $ac_func;
54555 #endif
54556 #ifdef __cplusplus
54558 #endif
54561 main ()
54563 return f != $ac_func;
54565 return 0;
54567 _ACEOF
54568 rm -f conftest.$ac_objext conftest$ac_exeext
54569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54570 (eval $ac_link) 2>conftest.er1
54571 ac_status=$?
54572 grep -v '^ *+' conftest.er1 >conftest.err
54573 rm -f conftest.er1
54574 cat conftest.err >&5
54575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54576 (exit $ac_status); } &&
54577 { ac_try='test -z "$ac_c_werror_flag"
54578 || test ! -s conftest.err'
54579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54580 (eval $ac_try) 2>&5
54581 ac_status=$?
54582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54583 (exit $ac_status); }; } &&
54584 { ac_try='test -s conftest$ac_exeext'
54585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54586 (eval $ac_try) 2>&5
54587 ac_status=$?
54588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54589 (exit $ac_status); }; }; then
54590 eval "$as_ac_var=yes"
54591 else
54592 echo "$as_me: failed program was:" >&5
54593 sed 's/^/| /' conftest.$ac_ext >&5
54595 eval "$as_ac_var=no"
54597 rm -f conftest.err conftest.$ac_objext \
54598 conftest$ac_exeext conftest.$ac_ext
54600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54602 if test `eval echo '${'$as_ac_var'}'` = yes; then
54603 cat >>confdefs.h <<_ACEOF
54604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54605 _ACEOF
54608 done
54610 else
54612 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54613 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54614 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54615 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54616 echo $ECHO_N "(cached) $ECHO_C" >&6
54617 else
54621 ac_ext=cc
54622 ac_cpp='$CXXCPP $CPPFLAGS'
54623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54627 cat >conftest.$ac_ext <<_ACEOF
54628 /* confdefs.h. */
54629 _ACEOF
54630 cat confdefs.h >>conftest.$ac_ext
54631 cat >>conftest.$ac_ext <<_ACEOF
54632 /* end confdefs.h. */
54633 #include <math.h>
54634 #ifdef HAVE_IEEEFP_H
54635 #include <ieeefp.h>
54636 #endif
54639 main ()
54641 _finite(0);
54643 return 0;
54645 _ACEOF
54646 rm -f conftest.$ac_objext
54647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54648 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__finite_use=yes
54669 else
54670 echo "$as_me: failed program was:" >&5
54671 sed 's/^/| /' conftest.$ac_ext >&5
54673 glibcxx_cv_func__finite_use=no
54675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54676 ac_ext=c
54677 ac_cpp='$CPP $CPPFLAGS'
54678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54687 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54689 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54691 for ac_func in _finite
54693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54694 echo "$as_me:$LINENO: checking for $ac_func" >&5
54695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54696 if eval "test \"\${$as_ac_var+set}\" = set"; then
54697 echo $ECHO_N "(cached) $ECHO_C" >&6
54698 else
54699 if test x$gcc_no_link = xyes; then
54700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54702 { (exit 1); exit 1; }; }
54704 cat >conftest.$ac_ext <<_ACEOF
54705 /* confdefs.h. */
54706 _ACEOF
54707 cat confdefs.h >>conftest.$ac_ext
54708 cat >>conftest.$ac_ext <<_ACEOF
54709 /* end confdefs.h. */
54710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54712 #define $ac_func innocuous_$ac_func
54714 /* System header to define __stub macros and hopefully few prototypes,
54715 which can conflict with char $ac_func (); below.
54716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54717 <limits.h> exists even on freestanding compilers. */
54719 #ifdef __STDC__
54720 # include <limits.h>
54721 #else
54722 # include <assert.h>
54723 #endif
54725 #undef $ac_func
54727 /* Override any gcc2 internal prototype to avoid an error. */
54728 #ifdef __cplusplus
54729 extern "C"
54731 #endif
54732 /* We use char because int might match the return type of a gcc2
54733 builtin and then its argument prototype would still apply. */
54734 char $ac_func ();
54735 /* The GNU C library defines this for functions which it implements
54736 to always fail with ENOSYS. Some functions are actually named
54737 something starting with __ and the normal name is an alias. */
54738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54739 choke me
54740 #else
54741 char (*f) () = $ac_func;
54742 #endif
54743 #ifdef __cplusplus
54745 #endif
54748 main ()
54750 return f != $ac_func;
54752 return 0;
54754 _ACEOF
54755 rm -f conftest.$ac_objext conftest$ac_exeext
54756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54757 (eval $ac_link) 2>conftest.er1
54758 ac_status=$?
54759 grep -v '^ *+' conftest.er1 >conftest.err
54760 rm -f conftest.er1
54761 cat conftest.err >&5
54762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54763 (exit $ac_status); } &&
54764 { ac_try='test -z "$ac_c_werror_flag"
54765 || test ! -s conftest.err'
54766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54767 (eval $ac_try) 2>&5
54768 ac_status=$?
54769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54770 (exit $ac_status); }; } &&
54771 { ac_try='test -s conftest$ac_exeext'
54772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54773 (eval $ac_try) 2>&5
54774 ac_status=$?
54775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54776 (exit $ac_status); }; }; then
54777 eval "$as_ac_var=yes"
54778 else
54779 echo "$as_me: failed program was:" >&5
54780 sed 's/^/| /' conftest.$ac_ext >&5
54782 eval "$as_ac_var=no"
54784 rm -f conftest.err conftest.$ac_objext \
54785 conftest$ac_exeext conftest.$ac_ext
54787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54789 if test `eval echo '${'$as_ac_var'}'` = yes; then
54790 cat >>confdefs.h <<_ACEOF
54791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54792 _ACEOF
54795 done
54802 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54803 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54804 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54805 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54806 echo $ECHO_N "(cached) $ECHO_C" >&6
54807 else
54811 ac_ext=cc
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54817 cat >conftest.$ac_ext <<_ACEOF
54818 /* confdefs.h. */
54819 _ACEOF
54820 cat confdefs.h >>conftest.$ac_ext
54821 cat >>conftest.$ac_ext <<_ACEOF
54822 /* end confdefs.h. */
54823 #include <math.h>
54825 main ()
54827 copysign(0, 0);
54829 return 0;
54831 _ACEOF
54832 rm -f conftest.$ac_objext
54833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54834 (eval $ac_compile) 2>conftest.er1
54835 ac_status=$?
54836 grep -v '^ *+' conftest.er1 >conftest.err
54837 rm -f conftest.er1
54838 cat conftest.err >&5
54839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54840 (exit $ac_status); } &&
54841 { ac_try='test -z "$ac_cxx_werror_flag"
54842 || test ! -s conftest.err'
54843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54844 (eval $ac_try) 2>&5
54845 ac_status=$?
54846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54847 (exit $ac_status); }; } &&
54848 { ac_try='test -s conftest.$ac_objext'
54849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54850 (eval $ac_try) 2>&5
54851 ac_status=$?
54852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54853 (exit $ac_status); }; }; then
54854 glibcxx_cv_func_copysign_use=yes
54855 else
54856 echo "$as_me: failed program was:" >&5
54857 sed 's/^/| /' conftest.$ac_ext >&5
54859 glibcxx_cv_func_copysign_use=no
54861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54862 ac_ext=c
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54873 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54875 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54877 for ac_func in copysign
54879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54880 echo "$as_me:$LINENO: checking for $ac_func" >&5
54881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54882 if eval "test \"\${$as_ac_var+set}\" = set"; then
54883 echo $ECHO_N "(cached) $ECHO_C" >&6
54884 else
54885 if test x$gcc_no_link = xyes; then
54886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54888 { (exit 1); exit 1; }; }
54890 cat >conftest.$ac_ext <<_ACEOF
54891 /* confdefs.h. */
54892 _ACEOF
54893 cat confdefs.h >>conftest.$ac_ext
54894 cat >>conftest.$ac_ext <<_ACEOF
54895 /* end confdefs.h. */
54896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54898 #define $ac_func innocuous_$ac_func
54900 /* System header to define __stub macros and hopefully few prototypes,
54901 which can conflict with char $ac_func (); below.
54902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54903 <limits.h> exists even on freestanding compilers. */
54905 #ifdef __STDC__
54906 # include <limits.h>
54907 #else
54908 # include <assert.h>
54909 #endif
54911 #undef $ac_func
54913 /* Override any gcc2 internal prototype to avoid an error. */
54914 #ifdef __cplusplus
54915 extern "C"
54917 #endif
54918 /* We use char because int might match the return type of a gcc2
54919 builtin and then its argument prototype would still apply. */
54920 char $ac_func ();
54921 /* The GNU C library defines this for functions which it implements
54922 to always fail with ENOSYS. Some functions are actually named
54923 something starting with __ and the normal name is an alias. */
54924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54925 choke me
54926 #else
54927 char (*f) () = $ac_func;
54928 #endif
54929 #ifdef __cplusplus
54931 #endif
54934 main ()
54936 return f != $ac_func;
54938 return 0;
54940 _ACEOF
54941 rm -f conftest.$ac_objext conftest$ac_exeext
54942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54943 (eval $ac_link) 2>conftest.er1
54944 ac_status=$?
54945 grep -v '^ *+' conftest.er1 >conftest.err
54946 rm -f conftest.er1
54947 cat conftest.err >&5
54948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54949 (exit $ac_status); } &&
54950 { ac_try='test -z "$ac_c_werror_flag"
54951 || test ! -s conftest.err'
54952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54953 (eval $ac_try) 2>&5
54954 ac_status=$?
54955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54956 (exit $ac_status); }; } &&
54957 { ac_try='test -s conftest$ac_exeext'
54958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54959 (eval $ac_try) 2>&5
54960 ac_status=$?
54961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54962 (exit $ac_status); }; }; then
54963 eval "$as_ac_var=yes"
54964 else
54965 echo "$as_me: failed program was:" >&5
54966 sed 's/^/| /' conftest.$ac_ext >&5
54968 eval "$as_ac_var=no"
54970 rm -f conftest.err conftest.$ac_objext \
54971 conftest$ac_exeext conftest.$ac_ext
54973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54975 if test `eval echo '${'$as_ac_var'}'` = yes; then
54976 cat >>confdefs.h <<_ACEOF
54977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54978 _ACEOF
54981 done
54983 else
54985 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54986 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54987 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54988 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54989 echo $ECHO_N "(cached) $ECHO_C" >&6
54990 else
54994 ac_ext=cc
54995 ac_cpp='$CXXCPP $CPPFLAGS'
54996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55000 cat >conftest.$ac_ext <<_ACEOF
55001 /* confdefs.h. */
55002 _ACEOF
55003 cat confdefs.h >>conftest.$ac_ext
55004 cat >>conftest.$ac_ext <<_ACEOF
55005 /* end confdefs.h. */
55006 #include <math.h>
55008 main ()
55010 _copysign(0, 0);
55012 return 0;
55014 _ACEOF
55015 rm -f conftest.$ac_objext
55016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55017 (eval $ac_compile) 2>conftest.er1
55018 ac_status=$?
55019 grep -v '^ *+' conftest.er1 >conftest.err
55020 rm -f conftest.er1
55021 cat conftest.err >&5
55022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55023 (exit $ac_status); } &&
55024 { ac_try='test -z "$ac_cxx_werror_flag"
55025 || test ! -s conftest.err'
55026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55027 (eval $ac_try) 2>&5
55028 ac_status=$?
55029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55030 (exit $ac_status); }; } &&
55031 { ac_try='test -s conftest.$ac_objext'
55032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55033 (eval $ac_try) 2>&5
55034 ac_status=$?
55035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55036 (exit $ac_status); }; }; then
55037 glibcxx_cv_func__copysign_use=yes
55038 else
55039 echo "$as_me: failed program was:" >&5
55040 sed 's/^/| /' conftest.$ac_ext >&5
55042 glibcxx_cv_func__copysign_use=no
55044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55045 ac_ext=c
55046 ac_cpp='$CPP $CPPFLAGS'
55047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55056 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55058 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55060 for ac_func in _copysign
55062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55063 echo "$as_me:$LINENO: checking for $ac_func" >&5
55064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55065 if eval "test \"\${$as_ac_var+set}\" = set"; then
55066 echo $ECHO_N "(cached) $ECHO_C" >&6
55067 else
55068 if test x$gcc_no_link = xyes; then
55069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55071 { (exit 1); exit 1; }; }
55073 cat >conftest.$ac_ext <<_ACEOF
55074 /* confdefs.h. */
55075 _ACEOF
55076 cat confdefs.h >>conftest.$ac_ext
55077 cat >>conftest.$ac_ext <<_ACEOF
55078 /* end confdefs.h. */
55079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55081 #define $ac_func innocuous_$ac_func
55083 /* System header to define __stub macros and hopefully few prototypes,
55084 which can conflict with char $ac_func (); below.
55085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55086 <limits.h> exists even on freestanding compilers. */
55088 #ifdef __STDC__
55089 # include <limits.h>
55090 #else
55091 # include <assert.h>
55092 #endif
55094 #undef $ac_func
55096 /* Override any gcc2 internal prototype to avoid an error. */
55097 #ifdef __cplusplus
55098 extern "C"
55100 #endif
55101 /* We use char because int might match the return type of a gcc2
55102 builtin and then its argument prototype would still apply. */
55103 char $ac_func ();
55104 /* The GNU C library defines this for functions which it implements
55105 to always fail with ENOSYS. Some functions are actually named
55106 something starting with __ and the normal name is an alias. */
55107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55108 choke me
55109 #else
55110 char (*f) () = $ac_func;
55111 #endif
55112 #ifdef __cplusplus
55114 #endif
55117 main ()
55119 return f != $ac_func;
55121 return 0;
55123 _ACEOF
55124 rm -f conftest.$ac_objext conftest$ac_exeext
55125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55126 (eval $ac_link) 2>conftest.er1
55127 ac_status=$?
55128 grep -v '^ *+' conftest.er1 >conftest.err
55129 rm -f conftest.er1
55130 cat conftest.err >&5
55131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55132 (exit $ac_status); } &&
55133 { ac_try='test -z "$ac_c_werror_flag"
55134 || test ! -s conftest.err'
55135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55136 (eval $ac_try) 2>&5
55137 ac_status=$?
55138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55139 (exit $ac_status); }; } &&
55140 { ac_try='test -s conftest$ac_exeext'
55141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55142 (eval $ac_try) 2>&5
55143 ac_status=$?
55144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55145 (exit $ac_status); }; }; then
55146 eval "$as_ac_var=yes"
55147 else
55148 echo "$as_me: failed program was:" >&5
55149 sed 's/^/| /' conftest.$ac_ext >&5
55151 eval "$as_ac_var=no"
55153 rm -f conftest.err conftest.$ac_objext \
55154 conftest$ac_exeext conftest.$ac_ext
55156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55158 if test `eval echo '${'$as_ac_var'}'` = yes; then
55159 cat >>confdefs.h <<_ACEOF
55160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55161 _ACEOF
55164 done
55171 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55172 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55173 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55174 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55175 echo $ECHO_N "(cached) $ECHO_C" >&6
55176 else
55180 ac_ext=cc
55181 ac_cpp='$CXXCPP $CPPFLAGS'
55182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55186 cat >conftest.$ac_ext <<_ACEOF
55187 /* confdefs.h. */
55188 _ACEOF
55189 cat confdefs.h >>conftest.$ac_ext
55190 cat >>conftest.$ac_ext <<_ACEOF
55191 /* end confdefs.h. */
55192 #include <math.h>
55194 main ()
55196 sincos(0, 0, 0);
55198 return 0;
55200 _ACEOF
55201 rm -f conftest.$ac_objext
55202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55203 (eval $ac_compile) 2>conftest.er1
55204 ac_status=$?
55205 grep -v '^ *+' conftest.er1 >conftest.err
55206 rm -f conftest.er1
55207 cat conftest.err >&5
55208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55209 (exit $ac_status); } &&
55210 { ac_try='test -z "$ac_cxx_werror_flag"
55211 || test ! -s conftest.err'
55212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55213 (eval $ac_try) 2>&5
55214 ac_status=$?
55215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55216 (exit $ac_status); }; } &&
55217 { ac_try='test -s conftest.$ac_objext'
55218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55219 (eval $ac_try) 2>&5
55220 ac_status=$?
55221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55222 (exit $ac_status); }; }; then
55223 glibcxx_cv_func_sincos_use=yes
55224 else
55225 echo "$as_me: failed program was:" >&5
55226 sed 's/^/| /' conftest.$ac_ext >&5
55228 glibcxx_cv_func_sincos_use=no
55230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55231 ac_ext=c
55232 ac_cpp='$CPP $CPPFLAGS'
55233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55242 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55244 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55246 for ac_func in sincos
55248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55249 echo "$as_me:$LINENO: checking for $ac_func" >&5
55250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55251 if eval "test \"\${$as_ac_var+set}\" = set"; then
55252 echo $ECHO_N "(cached) $ECHO_C" >&6
55253 else
55254 if test x$gcc_no_link = xyes; then
55255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55257 { (exit 1); exit 1; }; }
55259 cat >conftest.$ac_ext <<_ACEOF
55260 /* confdefs.h. */
55261 _ACEOF
55262 cat confdefs.h >>conftest.$ac_ext
55263 cat >>conftest.$ac_ext <<_ACEOF
55264 /* end confdefs.h. */
55265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55267 #define $ac_func innocuous_$ac_func
55269 /* System header to define __stub macros and hopefully few prototypes,
55270 which can conflict with char $ac_func (); below.
55271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55272 <limits.h> exists even on freestanding compilers. */
55274 #ifdef __STDC__
55275 # include <limits.h>
55276 #else
55277 # include <assert.h>
55278 #endif
55280 #undef $ac_func
55282 /* Override any gcc2 internal prototype to avoid an error. */
55283 #ifdef __cplusplus
55284 extern "C"
55286 #endif
55287 /* We use char because int might match the return type of a gcc2
55288 builtin and then its argument prototype would still apply. */
55289 char $ac_func ();
55290 /* The GNU C library defines this for functions which it implements
55291 to always fail with ENOSYS. Some functions are actually named
55292 something starting with __ and the normal name is an alias. */
55293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55294 choke me
55295 #else
55296 char (*f) () = $ac_func;
55297 #endif
55298 #ifdef __cplusplus
55300 #endif
55303 main ()
55305 return f != $ac_func;
55307 return 0;
55309 _ACEOF
55310 rm -f conftest.$ac_objext conftest$ac_exeext
55311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55312 (eval $ac_link) 2>conftest.er1
55313 ac_status=$?
55314 grep -v '^ *+' conftest.er1 >conftest.err
55315 rm -f conftest.er1
55316 cat conftest.err >&5
55317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55318 (exit $ac_status); } &&
55319 { ac_try='test -z "$ac_c_werror_flag"
55320 || test ! -s conftest.err'
55321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55322 (eval $ac_try) 2>&5
55323 ac_status=$?
55324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55325 (exit $ac_status); }; } &&
55326 { ac_try='test -s conftest$ac_exeext'
55327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55328 (eval $ac_try) 2>&5
55329 ac_status=$?
55330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55331 (exit $ac_status); }; }; then
55332 eval "$as_ac_var=yes"
55333 else
55334 echo "$as_me: failed program was:" >&5
55335 sed 's/^/| /' conftest.$ac_ext >&5
55337 eval "$as_ac_var=no"
55339 rm -f conftest.err conftest.$ac_objext \
55340 conftest$ac_exeext conftest.$ac_ext
55342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55344 if test `eval echo '${'$as_ac_var'}'` = yes; then
55345 cat >>confdefs.h <<_ACEOF
55346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55347 _ACEOF
55350 done
55352 else
55354 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55355 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55356 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55357 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55358 echo $ECHO_N "(cached) $ECHO_C" >&6
55359 else
55363 ac_ext=cc
55364 ac_cpp='$CXXCPP $CPPFLAGS'
55365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55369 cat >conftest.$ac_ext <<_ACEOF
55370 /* confdefs.h. */
55371 _ACEOF
55372 cat confdefs.h >>conftest.$ac_ext
55373 cat >>conftest.$ac_ext <<_ACEOF
55374 /* end confdefs.h. */
55375 #include <math.h>
55377 main ()
55379 _sincos(0, 0, 0);
55381 return 0;
55383 _ACEOF
55384 rm -f conftest.$ac_objext
55385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55386 (eval $ac_compile) 2>conftest.er1
55387 ac_status=$?
55388 grep -v '^ *+' conftest.er1 >conftest.err
55389 rm -f conftest.er1
55390 cat conftest.err >&5
55391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55392 (exit $ac_status); } &&
55393 { ac_try='test -z "$ac_cxx_werror_flag"
55394 || test ! -s conftest.err'
55395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55396 (eval $ac_try) 2>&5
55397 ac_status=$?
55398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55399 (exit $ac_status); }; } &&
55400 { ac_try='test -s conftest.$ac_objext'
55401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55402 (eval $ac_try) 2>&5
55403 ac_status=$?
55404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55405 (exit $ac_status); }; }; then
55406 glibcxx_cv_func__sincos_use=yes
55407 else
55408 echo "$as_me: failed program was:" >&5
55409 sed 's/^/| /' conftest.$ac_ext >&5
55411 glibcxx_cv_func__sincos_use=no
55413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55414 ac_ext=c
55415 ac_cpp='$CPP $CPPFLAGS'
55416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55424 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55425 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55427 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55429 for ac_func in _sincos
55431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55432 echo "$as_me:$LINENO: checking for $ac_func" >&5
55433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55434 if eval "test \"\${$as_ac_var+set}\" = set"; then
55435 echo $ECHO_N "(cached) $ECHO_C" >&6
55436 else
55437 if test x$gcc_no_link = xyes; then
55438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55440 { (exit 1); exit 1; }; }
55442 cat >conftest.$ac_ext <<_ACEOF
55443 /* confdefs.h. */
55444 _ACEOF
55445 cat confdefs.h >>conftest.$ac_ext
55446 cat >>conftest.$ac_ext <<_ACEOF
55447 /* end confdefs.h. */
55448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55450 #define $ac_func innocuous_$ac_func
55452 /* System header to define __stub macros and hopefully few prototypes,
55453 which can conflict with char $ac_func (); below.
55454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55455 <limits.h> exists even on freestanding compilers. */
55457 #ifdef __STDC__
55458 # include <limits.h>
55459 #else
55460 # include <assert.h>
55461 #endif
55463 #undef $ac_func
55465 /* Override any gcc2 internal prototype to avoid an error. */
55466 #ifdef __cplusplus
55467 extern "C"
55469 #endif
55470 /* We use char because int might match the return type of a gcc2
55471 builtin and then its argument prototype would still apply. */
55472 char $ac_func ();
55473 /* The GNU C library defines this for functions which it implements
55474 to always fail with ENOSYS. Some functions are actually named
55475 something starting with __ and the normal name is an alias. */
55476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55477 choke me
55478 #else
55479 char (*f) () = $ac_func;
55480 #endif
55481 #ifdef __cplusplus
55483 #endif
55486 main ()
55488 return f != $ac_func;
55490 return 0;
55492 _ACEOF
55493 rm -f conftest.$ac_objext conftest$ac_exeext
55494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55495 (eval $ac_link) 2>conftest.er1
55496 ac_status=$?
55497 grep -v '^ *+' conftest.er1 >conftest.err
55498 rm -f conftest.er1
55499 cat conftest.err >&5
55500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55501 (exit $ac_status); } &&
55502 { ac_try='test -z "$ac_c_werror_flag"
55503 || test ! -s conftest.err'
55504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55505 (eval $ac_try) 2>&5
55506 ac_status=$?
55507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55508 (exit $ac_status); }; } &&
55509 { ac_try='test -s conftest$ac_exeext'
55510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55511 (eval $ac_try) 2>&5
55512 ac_status=$?
55513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55514 (exit $ac_status); }; }; then
55515 eval "$as_ac_var=yes"
55516 else
55517 echo "$as_me: failed program was:" >&5
55518 sed 's/^/| /' conftest.$ac_ext >&5
55520 eval "$as_ac_var=no"
55522 rm -f conftest.err conftest.$ac_objext \
55523 conftest$ac_exeext conftest.$ac_ext
55525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55527 if test `eval echo '${'$as_ac_var'}'` = yes; then
55528 cat >>confdefs.h <<_ACEOF
55529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55530 _ACEOF
55533 done
55540 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55541 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55542 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55543 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55544 echo $ECHO_N "(cached) $ECHO_C" >&6
55545 else
55549 ac_ext=cc
55550 ac_cpp='$CXXCPP $CPPFLAGS'
55551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55555 cat >conftest.$ac_ext <<_ACEOF
55556 /* confdefs.h. */
55557 _ACEOF
55558 cat confdefs.h >>conftest.$ac_ext
55559 cat >>conftest.$ac_ext <<_ACEOF
55560 /* end confdefs.h. */
55561 #include <math.h>
55562 #ifdef HAVE_IEEEFP_H
55563 #include <ieeefp.h>
55564 #endif
55567 main ()
55569 fpclass(0);
55571 return 0;
55573 _ACEOF
55574 rm -f conftest.$ac_objext
55575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55576 (eval $ac_compile) 2>conftest.er1
55577 ac_status=$?
55578 grep -v '^ *+' conftest.er1 >conftest.err
55579 rm -f conftest.er1
55580 cat conftest.err >&5
55581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55582 (exit $ac_status); } &&
55583 { ac_try='test -z "$ac_cxx_werror_flag"
55584 || test ! -s conftest.err'
55585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55586 (eval $ac_try) 2>&5
55587 ac_status=$?
55588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55589 (exit $ac_status); }; } &&
55590 { ac_try='test -s conftest.$ac_objext'
55591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55592 (eval $ac_try) 2>&5
55593 ac_status=$?
55594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55595 (exit $ac_status); }; }; then
55596 glibcxx_cv_func_fpclass_use=yes
55597 else
55598 echo "$as_me: failed program was:" >&5
55599 sed 's/^/| /' conftest.$ac_ext >&5
55601 glibcxx_cv_func_fpclass_use=no
55603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55604 ac_ext=c
55605 ac_cpp='$CPP $CPPFLAGS'
55606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55614 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55615 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55617 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55619 for ac_func in fpclass
55621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55622 echo "$as_me:$LINENO: checking for $ac_func" >&5
55623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55624 if eval "test \"\${$as_ac_var+set}\" = set"; then
55625 echo $ECHO_N "(cached) $ECHO_C" >&6
55626 else
55627 if test x$gcc_no_link = xyes; then
55628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55630 { (exit 1); exit 1; }; }
55632 cat >conftest.$ac_ext <<_ACEOF
55633 /* confdefs.h. */
55634 _ACEOF
55635 cat confdefs.h >>conftest.$ac_ext
55636 cat >>conftest.$ac_ext <<_ACEOF
55637 /* end confdefs.h. */
55638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55640 #define $ac_func innocuous_$ac_func
55642 /* System header to define __stub macros and hopefully few prototypes,
55643 which can conflict with char $ac_func (); below.
55644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55645 <limits.h> exists even on freestanding compilers. */
55647 #ifdef __STDC__
55648 # include <limits.h>
55649 #else
55650 # include <assert.h>
55651 #endif
55653 #undef $ac_func
55655 /* Override any gcc2 internal prototype to avoid an error. */
55656 #ifdef __cplusplus
55657 extern "C"
55659 #endif
55660 /* We use char because int might match the return type of a gcc2
55661 builtin and then its argument prototype would still apply. */
55662 char $ac_func ();
55663 /* The GNU C library defines this for functions which it implements
55664 to always fail with ENOSYS. Some functions are actually named
55665 something starting with __ and the normal name is an alias. */
55666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55667 choke me
55668 #else
55669 char (*f) () = $ac_func;
55670 #endif
55671 #ifdef __cplusplus
55673 #endif
55676 main ()
55678 return f != $ac_func;
55680 return 0;
55682 _ACEOF
55683 rm -f conftest.$ac_objext conftest$ac_exeext
55684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55685 (eval $ac_link) 2>conftest.er1
55686 ac_status=$?
55687 grep -v '^ *+' conftest.er1 >conftest.err
55688 rm -f conftest.er1
55689 cat conftest.err >&5
55690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55691 (exit $ac_status); } &&
55692 { ac_try='test -z "$ac_c_werror_flag"
55693 || test ! -s conftest.err'
55694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55695 (eval $ac_try) 2>&5
55696 ac_status=$?
55697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55698 (exit $ac_status); }; } &&
55699 { ac_try='test -s conftest$ac_exeext'
55700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55701 (eval $ac_try) 2>&5
55702 ac_status=$?
55703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55704 (exit $ac_status); }; }; then
55705 eval "$as_ac_var=yes"
55706 else
55707 echo "$as_me: failed program was:" >&5
55708 sed 's/^/| /' conftest.$ac_ext >&5
55710 eval "$as_ac_var=no"
55712 rm -f conftest.err conftest.$ac_objext \
55713 conftest$ac_exeext conftest.$ac_ext
55715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55717 if test `eval echo '${'$as_ac_var'}'` = yes; then
55718 cat >>confdefs.h <<_ACEOF
55719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55720 _ACEOF
55723 done
55725 else
55727 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55728 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55729 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55730 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55731 echo $ECHO_N "(cached) $ECHO_C" >&6
55732 else
55736 ac_ext=cc
55737 ac_cpp='$CXXCPP $CPPFLAGS'
55738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55742 cat >conftest.$ac_ext <<_ACEOF
55743 /* confdefs.h. */
55744 _ACEOF
55745 cat confdefs.h >>conftest.$ac_ext
55746 cat >>conftest.$ac_ext <<_ACEOF
55747 /* end confdefs.h. */
55748 #include <math.h>
55749 #ifdef HAVE_IEEEFP_H
55750 #include <ieeefp.h>
55751 #endif
55754 main ()
55756 _fpclass(0);
55758 return 0;
55760 _ACEOF
55761 rm -f conftest.$ac_objext
55762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55763 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fpclass_use=yes
55784 else
55785 echo "$as_me: failed program was:" >&5
55786 sed 's/^/| /' conftest.$ac_ext >&5
55788 glibcxx_cv_func__fpclass_use=no
55790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55791 ac_ext=c
55792 ac_cpp='$CPP $CPPFLAGS'
55793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55802 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55804 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55806 for ac_func in _fpclass
55808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55809 echo "$as_me:$LINENO: checking for $ac_func" >&5
55810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55811 if eval "test \"\${$as_ac_var+set}\" = set"; then
55812 echo $ECHO_N "(cached) $ECHO_C" >&6
55813 else
55814 if test x$gcc_no_link = xyes; then
55815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55817 { (exit 1); exit 1; }; }
55819 cat >conftest.$ac_ext <<_ACEOF
55820 /* confdefs.h. */
55821 _ACEOF
55822 cat confdefs.h >>conftest.$ac_ext
55823 cat >>conftest.$ac_ext <<_ACEOF
55824 /* end confdefs.h. */
55825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55827 #define $ac_func innocuous_$ac_func
55829 /* System header to define __stub macros and hopefully few prototypes,
55830 which can conflict with char $ac_func (); below.
55831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55832 <limits.h> exists even on freestanding compilers. */
55834 #ifdef __STDC__
55835 # include <limits.h>
55836 #else
55837 # include <assert.h>
55838 #endif
55840 #undef $ac_func
55842 /* Override any gcc2 internal prototype to avoid an error. */
55843 #ifdef __cplusplus
55844 extern "C"
55846 #endif
55847 /* We use char because int might match the return type of a gcc2
55848 builtin and then its argument prototype would still apply. */
55849 char $ac_func ();
55850 /* The GNU C library defines this for functions which it implements
55851 to always fail with ENOSYS. Some functions are actually named
55852 something starting with __ and the normal name is an alias. */
55853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55854 choke me
55855 #else
55856 char (*f) () = $ac_func;
55857 #endif
55858 #ifdef __cplusplus
55860 #endif
55863 main ()
55865 return f != $ac_func;
55867 return 0;
55869 _ACEOF
55870 rm -f conftest.$ac_objext conftest$ac_exeext
55871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55872 (eval $ac_link) 2>conftest.er1
55873 ac_status=$?
55874 grep -v '^ *+' conftest.er1 >conftest.err
55875 rm -f conftest.er1
55876 cat conftest.err >&5
55877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55878 (exit $ac_status); } &&
55879 { ac_try='test -z "$ac_c_werror_flag"
55880 || test ! -s conftest.err'
55881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55882 (eval $ac_try) 2>&5
55883 ac_status=$?
55884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55885 (exit $ac_status); }; } &&
55886 { ac_try='test -s conftest$ac_exeext'
55887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55888 (eval $ac_try) 2>&5
55889 ac_status=$?
55890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55891 (exit $ac_status); }; }; then
55892 eval "$as_ac_var=yes"
55893 else
55894 echo "$as_me: failed program was:" >&5
55895 sed 's/^/| /' conftest.$ac_ext >&5
55897 eval "$as_ac_var=no"
55899 rm -f conftest.err conftest.$ac_objext \
55900 conftest$ac_exeext conftest.$ac_ext
55902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55904 if test `eval echo '${'$as_ac_var'}'` = yes; then
55905 cat >>confdefs.h <<_ACEOF
55906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55907 _ACEOF
55910 done
55917 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55918 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55919 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55920 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55921 echo $ECHO_N "(cached) $ECHO_C" >&6
55922 else
55926 ac_ext=cc
55927 ac_cpp='$CXXCPP $CPPFLAGS'
55928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55932 cat >conftest.$ac_ext <<_ACEOF
55933 /* confdefs.h. */
55934 _ACEOF
55935 cat confdefs.h >>conftest.$ac_ext
55936 cat >>conftest.$ac_ext <<_ACEOF
55937 /* end confdefs.h. */
55938 #include <math.h>
55939 #ifdef HAVE_IEEEFP_H
55940 #include <ieeefp.h>
55941 #endif
55944 main ()
55946 qfpclass(0);
55948 return 0;
55950 _ACEOF
55951 rm -f conftest.$ac_objext
55952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55953 (eval $ac_compile) 2>conftest.er1
55954 ac_status=$?
55955 grep -v '^ *+' conftest.er1 >conftest.err
55956 rm -f conftest.er1
55957 cat conftest.err >&5
55958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55959 (exit $ac_status); } &&
55960 { ac_try='test -z "$ac_cxx_werror_flag"
55961 || test ! -s conftest.err'
55962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55963 (eval $ac_try) 2>&5
55964 ac_status=$?
55965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55966 (exit $ac_status); }; } &&
55967 { ac_try='test -s conftest.$ac_objext'
55968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55969 (eval $ac_try) 2>&5
55970 ac_status=$?
55971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55972 (exit $ac_status); }; }; then
55973 glibcxx_cv_func_qfpclass_use=yes
55974 else
55975 echo "$as_me: failed program was:" >&5
55976 sed 's/^/| /' conftest.$ac_ext >&5
55978 glibcxx_cv_func_qfpclass_use=no
55980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55981 ac_ext=c
55982 ac_cpp='$CPP $CPPFLAGS'
55983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55992 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55994 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55996 for ac_func in qfpclass
55998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55999 echo "$as_me:$LINENO: checking for $ac_func" >&5
56000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56001 if eval "test \"\${$as_ac_var+set}\" = set"; then
56002 echo $ECHO_N "(cached) $ECHO_C" >&6
56003 else
56004 if test x$gcc_no_link = xyes; then
56005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56007 { (exit 1); exit 1; }; }
56009 cat >conftest.$ac_ext <<_ACEOF
56010 /* confdefs.h. */
56011 _ACEOF
56012 cat confdefs.h >>conftest.$ac_ext
56013 cat >>conftest.$ac_ext <<_ACEOF
56014 /* end confdefs.h. */
56015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56017 #define $ac_func innocuous_$ac_func
56019 /* System header to define __stub macros and hopefully few prototypes,
56020 which can conflict with char $ac_func (); below.
56021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56022 <limits.h> exists even on freestanding compilers. */
56024 #ifdef __STDC__
56025 # include <limits.h>
56026 #else
56027 # include <assert.h>
56028 #endif
56030 #undef $ac_func
56032 /* Override any gcc2 internal prototype to avoid an error. */
56033 #ifdef __cplusplus
56034 extern "C"
56036 #endif
56037 /* We use char because int might match the return type of a gcc2
56038 builtin and then its argument prototype would still apply. */
56039 char $ac_func ();
56040 /* The GNU C library defines this for functions which it implements
56041 to always fail with ENOSYS. Some functions are actually named
56042 something starting with __ and the normal name is an alias. */
56043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56044 choke me
56045 #else
56046 char (*f) () = $ac_func;
56047 #endif
56048 #ifdef __cplusplus
56050 #endif
56053 main ()
56055 return f != $ac_func;
56057 return 0;
56059 _ACEOF
56060 rm -f conftest.$ac_objext conftest$ac_exeext
56061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56062 (eval $ac_link) 2>conftest.er1
56063 ac_status=$?
56064 grep -v '^ *+' conftest.er1 >conftest.err
56065 rm -f conftest.er1
56066 cat conftest.err >&5
56067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56068 (exit $ac_status); } &&
56069 { ac_try='test -z "$ac_c_werror_flag"
56070 || test ! -s conftest.err'
56071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56072 (eval $ac_try) 2>&5
56073 ac_status=$?
56074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075 (exit $ac_status); }; } &&
56076 { ac_try='test -s conftest$ac_exeext'
56077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56078 (eval $ac_try) 2>&5
56079 ac_status=$?
56080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56081 (exit $ac_status); }; }; then
56082 eval "$as_ac_var=yes"
56083 else
56084 echo "$as_me: failed program was:" >&5
56085 sed 's/^/| /' conftest.$ac_ext >&5
56087 eval "$as_ac_var=no"
56089 rm -f conftest.err conftest.$ac_objext \
56090 conftest$ac_exeext conftest.$ac_ext
56092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56094 if test `eval echo '${'$as_ac_var'}'` = yes; then
56095 cat >>confdefs.h <<_ACEOF
56096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56097 _ACEOF
56100 done
56102 else
56104 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56105 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56106 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56107 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56108 echo $ECHO_N "(cached) $ECHO_C" >&6
56109 else
56113 ac_ext=cc
56114 ac_cpp='$CXXCPP $CPPFLAGS'
56115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56119 cat >conftest.$ac_ext <<_ACEOF
56120 /* confdefs.h. */
56121 _ACEOF
56122 cat confdefs.h >>conftest.$ac_ext
56123 cat >>conftest.$ac_ext <<_ACEOF
56124 /* end confdefs.h. */
56125 #include <math.h>
56126 #ifdef HAVE_IEEEFP_H
56127 #include <ieeefp.h>
56128 #endif
56131 main ()
56133 _qfpclass(0);
56135 return 0;
56137 _ACEOF
56138 rm -f conftest.$ac_objext
56139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56140 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__qfpclass_use=yes
56161 else
56162 echo "$as_me: failed program was:" >&5
56163 sed 's/^/| /' conftest.$ac_ext >&5
56165 glibcxx_cv_func__qfpclass_use=no
56167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56168 ac_ext=c
56169 ac_cpp='$CPP $CPPFLAGS'
56170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56179 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56181 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56183 for ac_func in _qfpclass
56185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56186 echo "$as_me:$LINENO: checking for $ac_func" >&5
56187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56188 if eval "test \"\${$as_ac_var+set}\" = set"; then
56189 echo $ECHO_N "(cached) $ECHO_C" >&6
56190 else
56191 if test x$gcc_no_link = xyes; then
56192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56194 { (exit 1); exit 1; }; }
56196 cat >conftest.$ac_ext <<_ACEOF
56197 /* confdefs.h. */
56198 _ACEOF
56199 cat confdefs.h >>conftest.$ac_ext
56200 cat >>conftest.$ac_ext <<_ACEOF
56201 /* end confdefs.h. */
56202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56204 #define $ac_func innocuous_$ac_func
56206 /* System header to define __stub macros and hopefully few prototypes,
56207 which can conflict with char $ac_func (); below.
56208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56209 <limits.h> exists even on freestanding compilers. */
56211 #ifdef __STDC__
56212 # include <limits.h>
56213 #else
56214 # include <assert.h>
56215 #endif
56217 #undef $ac_func
56219 /* Override any gcc2 internal prototype to avoid an error. */
56220 #ifdef __cplusplus
56221 extern "C"
56223 #endif
56224 /* We use char because int might match the return type of a gcc2
56225 builtin and then its argument prototype would still apply. */
56226 char $ac_func ();
56227 /* The GNU C library defines this for functions which it implements
56228 to always fail with ENOSYS. Some functions are actually named
56229 something starting with __ and the normal name is an alias. */
56230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56231 choke me
56232 #else
56233 char (*f) () = $ac_func;
56234 #endif
56235 #ifdef __cplusplus
56237 #endif
56240 main ()
56242 return f != $ac_func;
56244 return 0;
56246 _ACEOF
56247 rm -f conftest.$ac_objext conftest$ac_exeext
56248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56249 (eval $ac_link) 2>conftest.er1
56250 ac_status=$?
56251 grep -v '^ *+' conftest.er1 >conftest.err
56252 rm -f conftest.er1
56253 cat conftest.err >&5
56254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56255 (exit $ac_status); } &&
56256 { ac_try='test -z "$ac_c_werror_flag"
56257 || test ! -s conftest.err'
56258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56259 (eval $ac_try) 2>&5
56260 ac_status=$?
56261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56262 (exit $ac_status); }; } &&
56263 { ac_try='test -s conftest$ac_exeext'
56264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56265 (eval $ac_try) 2>&5
56266 ac_status=$?
56267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56268 (exit $ac_status); }; }; then
56269 eval "$as_ac_var=yes"
56270 else
56271 echo "$as_me: failed program was:" >&5
56272 sed 's/^/| /' conftest.$ac_ext >&5
56274 eval "$as_ac_var=no"
56276 rm -f conftest.err conftest.$ac_objext \
56277 conftest$ac_exeext conftest.$ac_ext
56279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56281 if test `eval echo '${'$as_ac_var'}'` = yes; then
56282 cat >>confdefs.h <<_ACEOF
56283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56284 _ACEOF
56287 done
56294 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56295 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56296 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56297 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56298 echo $ECHO_N "(cached) $ECHO_C" >&6
56299 else
56303 ac_ext=cc
56304 ac_cpp='$CXXCPP $CPPFLAGS'
56305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56309 cat >conftest.$ac_ext <<_ACEOF
56310 /* confdefs.h. */
56311 _ACEOF
56312 cat confdefs.h >>conftest.$ac_ext
56313 cat >>conftest.$ac_ext <<_ACEOF
56314 /* end confdefs.h. */
56315 #include <math.h>
56317 main ()
56319 hypot(0, 0);
56321 return 0;
56323 _ACEOF
56324 rm -f conftest.$ac_objext
56325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56326 (eval $ac_compile) 2>conftest.er1
56327 ac_status=$?
56328 grep -v '^ *+' conftest.er1 >conftest.err
56329 rm -f conftest.er1
56330 cat conftest.err >&5
56331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56332 (exit $ac_status); } &&
56333 { ac_try='test -z "$ac_cxx_werror_flag"
56334 || test ! -s conftest.err'
56335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56336 (eval $ac_try) 2>&5
56337 ac_status=$?
56338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56339 (exit $ac_status); }; } &&
56340 { ac_try='test -s conftest.$ac_objext'
56341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56342 (eval $ac_try) 2>&5
56343 ac_status=$?
56344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56345 (exit $ac_status); }; }; then
56346 glibcxx_cv_func_hypot_use=yes
56347 else
56348 echo "$as_me: failed program was:" >&5
56349 sed 's/^/| /' conftest.$ac_ext >&5
56351 glibcxx_cv_func_hypot_use=no
56353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56354 ac_ext=c
56355 ac_cpp='$CPP $CPPFLAGS'
56356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56365 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56367 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56369 for ac_func in hypot
56371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56372 echo "$as_me:$LINENO: checking for $ac_func" >&5
56373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56374 if eval "test \"\${$as_ac_var+set}\" = set"; then
56375 echo $ECHO_N "(cached) $ECHO_C" >&6
56376 else
56377 if test x$gcc_no_link = xyes; then
56378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56380 { (exit 1); exit 1; }; }
56382 cat >conftest.$ac_ext <<_ACEOF
56383 /* confdefs.h. */
56384 _ACEOF
56385 cat confdefs.h >>conftest.$ac_ext
56386 cat >>conftest.$ac_ext <<_ACEOF
56387 /* end confdefs.h. */
56388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56390 #define $ac_func innocuous_$ac_func
56392 /* System header to define __stub macros and hopefully few prototypes,
56393 which can conflict with char $ac_func (); below.
56394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56395 <limits.h> exists even on freestanding compilers. */
56397 #ifdef __STDC__
56398 # include <limits.h>
56399 #else
56400 # include <assert.h>
56401 #endif
56403 #undef $ac_func
56405 /* Override any gcc2 internal prototype to avoid an error. */
56406 #ifdef __cplusplus
56407 extern "C"
56409 #endif
56410 /* We use char because int might match the return type of a gcc2
56411 builtin and then its argument prototype would still apply. */
56412 char $ac_func ();
56413 /* The GNU C library defines this for functions which it implements
56414 to always fail with ENOSYS. Some functions are actually named
56415 something starting with __ and the normal name is an alias. */
56416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56417 choke me
56418 #else
56419 char (*f) () = $ac_func;
56420 #endif
56421 #ifdef __cplusplus
56423 #endif
56426 main ()
56428 return f != $ac_func;
56430 return 0;
56432 _ACEOF
56433 rm -f conftest.$ac_objext conftest$ac_exeext
56434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56435 (eval $ac_link) 2>conftest.er1
56436 ac_status=$?
56437 grep -v '^ *+' conftest.er1 >conftest.err
56438 rm -f conftest.er1
56439 cat conftest.err >&5
56440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56441 (exit $ac_status); } &&
56442 { ac_try='test -z "$ac_c_werror_flag"
56443 || test ! -s conftest.err'
56444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56445 (eval $ac_try) 2>&5
56446 ac_status=$?
56447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56448 (exit $ac_status); }; } &&
56449 { ac_try='test -s conftest$ac_exeext'
56450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56451 (eval $ac_try) 2>&5
56452 ac_status=$?
56453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56454 (exit $ac_status); }; }; then
56455 eval "$as_ac_var=yes"
56456 else
56457 echo "$as_me: failed program was:" >&5
56458 sed 's/^/| /' conftest.$ac_ext >&5
56460 eval "$as_ac_var=no"
56462 rm -f conftest.err conftest.$ac_objext \
56463 conftest$ac_exeext conftest.$ac_ext
56465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56467 if test `eval echo '${'$as_ac_var'}'` = yes; then
56468 cat >>confdefs.h <<_ACEOF
56469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56470 _ACEOF
56473 done
56475 else
56477 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56478 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56479 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56480 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56481 echo $ECHO_N "(cached) $ECHO_C" >&6
56482 else
56486 ac_ext=cc
56487 ac_cpp='$CXXCPP $CPPFLAGS'
56488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56492 cat >conftest.$ac_ext <<_ACEOF
56493 /* confdefs.h. */
56494 _ACEOF
56495 cat confdefs.h >>conftest.$ac_ext
56496 cat >>conftest.$ac_ext <<_ACEOF
56497 /* end confdefs.h. */
56498 #include <math.h>
56500 main ()
56502 _hypot(0, 0);
56504 return 0;
56506 _ACEOF
56507 rm -f conftest.$ac_objext
56508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56509 (eval $ac_compile) 2>conftest.er1
56510 ac_status=$?
56511 grep -v '^ *+' conftest.er1 >conftest.err
56512 rm -f conftest.er1
56513 cat conftest.err >&5
56514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56515 (exit $ac_status); } &&
56516 { ac_try='test -z "$ac_cxx_werror_flag"
56517 || test ! -s conftest.err'
56518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56519 (eval $ac_try) 2>&5
56520 ac_status=$?
56521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56522 (exit $ac_status); }; } &&
56523 { ac_try='test -s conftest.$ac_objext'
56524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56525 (eval $ac_try) 2>&5
56526 ac_status=$?
56527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56528 (exit $ac_status); }; }; then
56529 glibcxx_cv_func__hypot_use=yes
56530 else
56531 echo "$as_me: failed program was:" >&5
56532 sed 's/^/| /' conftest.$ac_ext >&5
56534 glibcxx_cv_func__hypot_use=no
56536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56537 ac_ext=c
56538 ac_cpp='$CPP $CPPFLAGS'
56539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56548 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56550 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56552 for ac_func in _hypot
56554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56555 echo "$as_me:$LINENO: checking for $ac_func" >&5
56556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56557 if eval "test \"\${$as_ac_var+set}\" = set"; then
56558 echo $ECHO_N "(cached) $ECHO_C" >&6
56559 else
56560 if test x$gcc_no_link = xyes; then
56561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56563 { (exit 1); exit 1; }; }
56565 cat >conftest.$ac_ext <<_ACEOF
56566 /* confdefs.h. */
56567 _ACEOF
56568 cat confdefs.h >>conftest.$ac_ext
56569 cat >>conftest.$ac_ext <<_ACEOF
56570 /* end confdefs.h. */
56571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56573 #define $ac_func innocuous_$ac_func
56575 /* System header to define __stub macros and hopefully few prototypes,
56576 which can conflict with char $ac_func (); below.
56577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56578 <limits.h> exists even on freestanding compilers. */
56580 #ifdef __STDC__
56581 # include <limits.h>
56582 #else
56583 # include <assert.h>
56584 #endif
56586 #undef $ac_func
56588 /* Override any gcc2 internal prototype to avoid an error. */
56589 #ifdef __cplusplus
56590 extern "C"
56592 #endif
56593 /* We use char because int might match the return type of a gcc2
56594 builtin and then its argument prototype would still apply. */
56595 char $ac_func ();
56596 /* The GNU C library defines this for functions which it implements
56597 to always fail with ENOSYS. Some functions are actually named
56598 something starting with __ and the normal name is an alias. */
56599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56600 choke me
56601 #else
56602 char (*f) () = $ac_func;
56603 #endif
56604 #ifdef __cplusplus
56606 #endif
56609 main ()
56611 return f != $ac_func;
56613 return 0;
56615 _ACEOF
56616 rm -f conftest.$ac_objext conftest$ac_exeext
56617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56618 (eval $ac_link) 2>conftest.er1
56619 ac_status=$?
56620 grep -v '^ *+' conftest.er1 >conftest.err
56621 rm -f conftest.er1
56622 cat conftest.err >&5
56623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56624 (exit $ac_status); } &&
56625 { ac_try='test -z "$ac_c_werror_flag"
56626 || test ! -s conftest.err'
56627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56628 (eval $ac_try) 2>&5
56629 ac_status=$?
56630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56631 (exit $ac_status); }; } &&
56632 { ac_try='test -s conftest$ac_exeext'
56633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56634 (eval $ac_try) 2>&5
56635 ac_status=$?
56636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56637 (exit $ac_status); }; }; then
56638 eval "$as_ac_var=yes"
56639 else
56640 echo "$as_me: failed program was:" >&5
56641 sed 's/^/| /' conftest.$ac_ext >&5
56643 eval "$as_ac_var=no"
56645 rm -f conftest.err conftest.$ac_objext \
56646 conftest$ac_exeext conftest.$ac_ext
56648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56650 if test `eval echo '${'$as_ac_var'}'` = yes; then
56651 cat >>confdefs.h <<_ACEOF
56652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56653 _ACEOF
56656 done
56663 echo "$as_me:$LINENO: checking for float trig functions" >&5
56664 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56665 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56666 echo $ECHO_N "(cached) $ECHO_C" >&6
56667 else
56671 ac_ext=cc
56672 ac_cpp='$CXXCPP $CPPFLAGS'
56673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56677 cat >conftest.$ac_ext <<_ACEOF
56678 /* confdefs.h. */
56679 _ACEOF
56680 cat confdefs.h >>conftest.$ac_ext
56681 cat >>conftest.$ac_ext <<_ACEOF
56682 /* end confdefs.h. */
56683 #include <math.h>
56685 main ()
56687 `for x in acosf asinf atanf \
56688 cosf sinf tanf \
56689 coshf sinhf tanhf; do echo "$x (0);"; done`
56691 return 0;
56693 _ACEOF
56694 rm -f conftest.$ac_objext
56695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56696 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_trig_use=yes
56717 else
56718 echo "$as_me: failed program was:" >&5
56719 sed 's/^/| /' conftest.$ac_ext >&5
56721 glibcxx_cv_func_float_trig_use=no
56723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56724 ac_ext=c
56725 ac_cpp='$CPP $CPPFLAGS'
56726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56733 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56734 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56744 for ac_func in acosf asinf atanf \
56745 cosf sinf tanf \
56746 coshf sinhf tanhf
56748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56749 echo "$as_me:$LINENO: checking for $ac_func" >&5
56750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56751 if eval "test \"\${$as_ac_var+set}\" = set"; then
56752 echo $ECHO_N "(cached) $ECHO_C" >&6
56753 else
56754 if test x$gcc_no_link = xyes; then
56755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56757 { (exit 1); exit 1; }; }
56759 cat >conftest.$ac_ext <<_ACEOF
56760 /* confdefs.h. */
56761 _ACEOF
56762 cat confdefs.h >>conftest.$ac_ext
56763 cat >>conftest.$ac_ext <<_ACEOF
56764 /* end confdefs.h. */
56765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56767 #define $ac_func innocuous_$ac_func
56769 /* System header to define __stub macros and hopefully few prototypes,
56770 which can conflict with char $ac_func (); below.
56771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56772 <limits.h> exists even on freestanding compilers. */
56774 #ifdef __STDC__
56775 # include <limits.h>
56776 #else
56777 # include <assert.h>
56778 #endif
56780 #undef $ac_func
56782 /* Override any gcc2 internal prototype to avoid an error. */
56783 #ifdef __cplusplus
56784 extern "C"
56786 #endif
56787 /* We use char because int might match the return type of a gcc2
56788 builtin and then its argument prototype would still apply. */
56789 char $ac_func ();
56790 /* The GNU C library defines this for functions which it implements
56791 to always fail with ENOSYS. Some functions are actually named
56792 something starting with __ and the normal name is an alias. */
56793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56794 choke me
56795 #else
56796 char (*f) () = $ac_func;
56797 #endif
56798 #ifdef __cplusplus
56800 #endif
56803 main ()
56805 return f != $ac_func;
56807 return 0;
56809 _ACEOF
56810 rm -f conftest.$ac_objext conftest$ac_exeext
56811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56812 (eval $ac_link) 2>conftest.er1
56813 ac_status=$?
56814 grep -v '^ *+' conftest.er1 >conftest.err
56815 rm -f conftest.er1
56816 cat conftest.err >&5
56817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56818 (exit $ac_status); } &&
56819 { ac_try='test -z "$ac_c_werror_flag"
56820 || test ! -s conftest.err'
56821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56822 (eval $ac_try) 2>&5
56823 ac_status=$?
56824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56825 (exit $ac_status); }; } &&
56826 { ac_try='test -s conftest$ac_exeext'
56827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56828 (eval $ac_try) 2>&5
56829 ac_status=$?
56830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56831 (exit $ac_status); }; }; then
56832 eval "$as_ac_var=yes"
56833 else
56834 echo "$as_me: failed program was:" >&5
56835 sed 's/^/| /' conftest.$ac_ext >&5
56837 eval "$as_ac_var=no"
56839 rm -f conftest.err conftest.$ac_objext \
56840 conftest$ac_exeext conftest.$ac_ext
56842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56844 if test `eval echo '${'$as_ac_var'}'` = yes; then
56845 cat >>confdefs.h <<_ACEOF
56846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56847 _ACEOF
56850 done
56855 echo "$as_me:$LINENO: checking for float round functions" >&5
56856 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56857 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56858 echo $ECHO_N "(cached) $ECHO_C" >&6
56859 else
56863 ac_ext=cc
56864 ac_cpp='$CXXCPP $CPPFLAGS'
56865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56869 cat >conftest.$ac_ext <<_ACEOF
56870 /* confdefs.h. */
56871 _ACEOF
56872 cat confdefs.h >>conftest.$ac_ext
56873 cat >>conftest.$ac_ext <<_ACEOF
56874 /* end confdefs.h. */
56875 #include <math.h>
56877 main ()
56879 `for x in ceilf floorf; do echo "$x (0);"; done`
56881 return 0;
56883 _ACEOF
56884 rm -f conftest.$ac_objext
56885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56886 (eval $ac_compile) 2>conftest.er1
56887 ac_status=$?
56888 grep -v '^ *+' conftest.er1 >conftest.err
56889 rm -f conftest.er1
56890 cat conftest.err >&5
56891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56892 (exit $ac_status); } &&
56893 { ac_try='test -z "$ac_cxx_werror_flag"
56894 || test ! -s conftest.err'
56895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56896 (eval $ac_try) 2>&5
56897 ac_status=$?
56898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56899 (exit $ac_status); }; } &&
56900 { ac_try='test -s conftest.$ac_objext'
56901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56902 (eval $ac_try) 2>&5
56903 ac_status=$?
56904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56905 (exit $ac_status); }; }; then
56906 glibcxx_cv_func_float_round_use=yes
56907 else
56908 echo "$as_me: failed program was:" >&5
56909 sed 's/^/| /' conftest.$ac_ext >&5
56911 glibcxx_cv_func_float_round_use=no
56913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56914 ac_ext=c
56915 ac_cpp='$CPP $CPPFLAGS'
56916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56923 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56924 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56927 for ac_func in ceilf floorf
56929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56930 echo "$as_me:$LINENO: checking for $ac_func" >&5
56931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56932 if eval "test \"\${$as_ac_var+set}\" = set"; then
56933 echo $ECHO_N "(cached) $ECHO_C" >&6
56934 else
56935 if test x$gcc_no_link = xyes; then
56936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56938 { (exit 1); exit 1; }; }
56940 cat >conftest.$ac_ext <<_ACEOF
56941 /* confdefs.h. */
56942 _ACEOF
56943 cat confdefs.h >>conftest.$ac_ext
56944 cat >>conftest.$ac_ext <<_ACEOF
56945 /* end confdefs.h. */
56946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56948 #define $ac_func innocuous_$ac_func
56950 /* System header to define __stub macros and hopefully few prototypes,
56951 which can conflict with char $ac_func (); below.
56952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56953 <limits.h> exists even on freestanding compilers. */
56955 #ifdef __STDC__
56956 # include <limits.h>
56957 #else
56958 # include <assert.h>
56959 #endif
56961 #undef $ac_func
56963 /* Override any gcc2 internal prototype to avoid an error. */
56964 #ifdef __cplusplus
56965 extern "C"
56967 #endif
56968 /* We use char because int might match the return type of a gcc2
56969 builtin and then its argument prototype would still apply. */
56970 char $ac_func ();
56971 /* The GNU C library defines this for functions which it implements
56972 to always fail with ENOSYS. Some functions are actually named
56973 something starting with __ and the normal name is an alias. */
56974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56975 choke me
56976 #else
56977 char (*f) () = $ac_func;
56978 #endif
56979 #ifdef __cplusplus
56981 #endif
56984 main ()
56986 return f != $ac_func;
56988 return 0;
56990 _ACEOF
56991 rm -f conftest.$ac_objext conftest$ac_exeext
56992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56993 (eval $ac_link) 2>conftest.er1
56994 ac_status=$?
56995 grep -v '^ *+' conftest.er1 >conftest.err
56996 rm -f conftest.er1
56997 cat conftest.err >&5
56998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56999 (exit $ac_status); } &&
57000 { ac_try='test -z "$ac_c_werror_flag"
57001 || test ! -s conftest.err'
57002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57003 (eval $ac_try) 2>&5
57004 ac_status=$?
57005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57006 (exit $ac_status); }; } &&
57007 { ac_try='test -s conftest$ac_exeext'
57008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57009 (eval $ac_try) 2>&5
57010 ac_status=$?
57011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57012 (exit $ac_status); }; }; then
57013 eval "$as_ac_var=yes"
57014 else
57015 echo "$as_me: failed program was:" >&5
57016 sed 's/^/| /' conftest.$ac_ext >&5
57018 eval "$as_ac_var=no"
57020 rm -f conftest.err conftest.$ac_objext \
57021 conftest$ac_exeext conftest.$ac_ext
57023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57025 if test `eval echo '${'$as_ac_var'}'` = yes; then
57026 cat >>confdefs.h <<_ACEOF
57027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57028 _ACEOF
57031 done
57037 echo "$as_me:$LINENO: checking for expf declaration" >&5
57038 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57039 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57040 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57041 echo $ECHO_N "(cached) $ECHO_C" >&6
57042 else
57046 ac_ext=cc
57047 ac_cpp='$CXXCPP $CPPFLAGS'
57048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57052 cat >conftest.$ac_ext <<_ACEOF
57053 /* confdefs.h. */
57054 _ACEOF
57055 cat confdefs.h >>conftest.$ac_ext
57056 cat >>conftest.$ac_ext <<_ACEOF
57057 /* end confdefs.h. */
57058 #include <math.h>
57059 #ifdef HAVE_IEEEFP_H
57060 #include <ieeefp.h>
57061 #endif
57064 main ()
57066 expf(0);
57068 return 0;
57070 _ACEOF
57071 rm -f conftest.$ac_objext
57072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57073 (eval $ac_compile) 2>conftest.er1
57074 ac_status=$?
57075 grep -v '^ *+' conftest.er1 >conftest.err
57076 rm -f conftest.er1
57077 cat conftest.err >&5
57078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57079 (exit $ac_status); } &&
57080 { ac_try='test -z "$ac_cxx_werror_flag"
57081 || test ! -s conftest.err'
57082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57083 (eval $ac_try) 2>&5
57084 ac_status=$?
57085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57086 (exit $ac_status); }; } &&
57087 { ac_try='test -s conftest.$ac_objext'
57088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57089 (eval $ac_try) 2>&5
57090 ac_status=$?
57091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57092 (exit $ac_status); }; }; then
57093 glibcxx_cv_func_expf_use=yes
57094 else
57095 echo "$as_me: failed program was:" >&5
57096 sed 's/^/| /' conftest.$ac_ext >&5
57098 glibcxx_cv_func_expf_use=no
57100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57101 ac_ext=c
57102 ac_cpp='$CPP $CPPFLAGS'
57103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57112 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57114 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57116 for ac_func in expf
57118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57119 echo "$as_me:$LINENO: checking for $ac_func" >&5
57120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57121 if eval "test \"\${$as_ac_var+set}\" = set"; then
57122 echo $ECHO_N "(cached) $ECHO_C" >&6
57123 else
57124 if test x$gcc_no_link = xyes; then
57125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57127 { (exit 1); exit 1; }; }
57129 cat >conftest.$ac_ext <<_ACEOF
57130 /* confdefs.h. */
57131 _ACEOF
57132 cat confdefs.h >>conftest.$ac_ext
57133 cat >>conftest.$ac_ext <<_ACEOF
57134 /* end confdefs.h. */
57135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57137 #define $ac_func innocuous_$ac_func
57139 /* System header to define __stub macros and hopefully few prototypes,
57140 which can conflict with char $ac_func (); below.
57141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57142 <limits.h> exists even on freestanding compilers. */
57144 #ifdef __STDC__
57145 # include <limits.h>
57146 #else
57147 # include <assert.h>
57148 #endif
57150 #undef $ac_func
57152 /* Override any gcc2 internal prototype to avoid an error. */
57153 #ifdef __cplusplus
57154 extern "C"
57156 #endif
57157 /* We use char because int might match the return type of a gcc2
57158 builtin and then its argument prototype would still apply. */
57159 char $ac_func ();
57160 /* The GNU C library defines this for functions which it implements
57161 to always fail with ENOSYS. Some functions are actually named
57162 something starting with __ and the normal name is an alias. */
57163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57164 choke me
57165 #else
57166 char (*f) () = $ac_func;
57167 #endif
57168 #ifdef __cplusplus
57170 #endif
57173 main ()
57175 return f != $ac_func;
57177 return 0;
57179 _ACEOF
57180 rm -f conftest.$ac_objext conftest$ac_exeext
57181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57182 (eval $ac_link) 2>conftest.er1
57183 ac_status=$?
57184 grep -v '^ *+' conftest.er1 >conftest.err
57185 rm -f conftest.er1
57186 cat conftest.err >&5
57187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57188 (exit $ac_status); } &&
57189 { ac_try='test -z "$ac_c_werror_flag"
57190 || test ! -s conftest.err'
57191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57192 (eval $ac_try) 2>&5
57193 ac_status=$?
57194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57195 (exit $ac_status); }; } &&
57196 { ac_try='test -s conftest$ac_exeext'
57197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57198 (eval $ac_try) 2>&5
57199 ac_status=$?
57200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57201 (exit $ac_status); }; }; then
57202 eval "$as_ac_var=yes"
57203 else
57204 echo "$as_me: failed program was:" >&5
57205 sed 's/^/| /' conftest.$ac_ext >&5
57207 eval "$as_ac_var=no"
57209 rm -f conftest.err conftest.$ac_objext \
57210 conftest$ac_exeext conftest.$ac_ext
57212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57214 if test `eval echo '${'$as_ac_var'}'` = yes; then
57215 cat >>confdefs.h <<_ACEOF
57216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57217 _ACEOF
57220 done
57222 else
57224 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57225 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57226 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57227 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57228 echo $ECHO_N "(cached) $ECHO_C" >&6
57229 else
57233 ac_ext=cc
57234 ac_cpp='$CXXCPP $CPPFLAGS'
57235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57239 cat >conftest.$ac_ext <<_ACEOF
57240 /* confdefs.h. */
57241 _ACEOF
57242 cat confdefs.h >>conftest.$ac_ext
57243 cat >>conftest.$ac_ext <<_ACEOF
57244 /* end confdefs.h. */
57245 #include <math.h>
57246 #ifdef HAVE_IEEEFP_H
57247 #include <ieeefp.h>
57248 #endif
57251 main ()
57253 _expf(0);
57255 return 0;
57257 _ACEOF
57258 rm -f conftest.$ac_objext
57259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57260 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__expf_use=yes
57281 else
57282 echo "$as_me: failed program was:" >&5
57283 sed 's/^/| /' conftest.$ac_ext >&5
57285 glibcxx_cv_func__expf_use=no
57287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57288 ac_ext=c
57289 ac_cpp='$CPP $CPPFLAGS'
57290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57299 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57301 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57303 for ac_func in _expf
57305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57306 echo "$as_me:$LINENO: checking for $ac_func" >&5
57307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57308 if eval "test \"\${$as_ac_var+set}\" = set"; then
57309 echo $ECHO_N "(cached) $ECHO_C" >&6
57310 else
57311 if test x$gcc_no_link = xyes; then
57312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57314 { (exit 1); exit 1; }; }
57316 cat >conftest.$ac_ext <<_ACEOF
57317 /* confdefs.h. */
57318 _ACEOF
57319 cat confdefs.h >>conftest.$ac_ext
57320 cat >>conftest.$ac_ext <<_ACEOF
57321 /* end confdefs.h. */
57322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57324 #define $ac_func innocuous_$ac_func
57326 /* System header to define __stub macros and hopefully few prototypes,
57327 which can conflict with char $ac_func (); below.
57328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57329 <limits.h> exists even on freestanding compilers. */
57331 #ifdef __STDC__
57332 # include <limits.h>
57333 #else
57334 # include <assert.h>
57335 #endif
57337 #undef $ac_func
57339 /* Override any gcc2 internal prototype to avoid an error. */
57340 #ifdef __cplusplus
57341 extern "C"
57343 #endif
57344 /* We use char because int might match the return type of a gcc2
57345 builtin and then its argument prototype would still apply. */
57346 char $ac_func ();
57347 /* The GNU C library defines this for functions which it implements
57348 to always fail with ENOSYS. Some functions are actually named
57349 something starting with __ and the normal name is an alias. */
57350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57351 choke me
57352 #else
57353 char (*f) () = $ac_func;
57354 #endif
57355 #ifdef __cplusplus
57357 #endif
57360 main ()
57362 return f != $ac_func;
57364 return 0;
57366 _ACEOF
57367 rm -f conftest.$ac_objext conftest$ac_exeext
57368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57369 (eval $ac_link) 2>conftest.er1
57370 ac_status=$?
57371 grep -v '^ *+' conftest.er1 >conftest.err
57372 rm -f conftest.er1
57373 cat conftest.err >&5
57374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57375 (exit $ac_status); } &&
57376 { ac_try='test -z "$ac_c_werror_flag"
57377 || test ! -s conftest.err'
57378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57379 (eval $ac_try) 2>&5
57380 ac_status=$?
57381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57382 (exit $ac_status); }; } &&
57383 { ac_try='test -s conftest$ac_exeext'
57384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57385 (eval $ac_try) 2>&5
57386 ac_status=$?
57387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57388 (exit $ac_status); }; }; then
57389 eval "$as_ac_var=yes"
57390 else
57391 echo "$as_me: failed program was:" >&5
57392 sed 's/^/| /' conftest.$ac_ext >&5
57394 eval "$as_ac_var=no"
57396 rm -f conftest.err conftest.$ac_objext \
57397 conftest$ac_exeext conftest.$ac_ext
57399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57401 if test `eval echo '${'$as_ac_var'}'` = yes; then
57402 cat >>confdefs.h <<_ACEOF
57403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57404 _ACEOF
57407 done
57414 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57415 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57416 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57417 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57418 echo $ECHO_N "(cached) $ECHO_C" >&6
57419 else
57423 ac_ext=cc
57424 ac_cpp='$CXXCPP $CPPFLAGS'
57425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57429 cat >conftest.$ac_ext <<_ACEOF
57430 /* confdefs.h. */
57431 _ACEOF
57432 cat confdefs.h >>conftest.$ac_ext
57433 cat >>conftest.$ac_ext <<_ACEOF
57434 /* end confdefs.h. */
57435 #include <math.h>
57436 #ifdef HAVE_IEEEFP_H
57437 #include <ieeefp.h>
57438 #endif
57441 main ()
57443 isnanf(0);
57445 return 0;
57447 _ACEOF
57448 rm -f conftest.$ac_objext
57449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57450 (eval $ac_compile) 2>conftest.er1
57451 ac_status=$?
57452 grep -v '^ *+' conftest.er1 >conftest.err
57453 rm -f conftest.er1
57454 cat conftest.err >&5
57455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57456 (exit $ac_status); } &&
57457 { ac_try='test -z "$ac_cxx_werror_flag"
57458 || test ! -s conftest.err'
57459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57460 (eval $ac_try) 2>&5
57461 ac_status=$?
57462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57463 (exit $ac_status); }; } &&
57464 { ac_try='test -s conftest.$ac_objext'
57465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57466 (eval $ac_try) 2>&5
57467 ac_status=$?
57468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57469 (exit $ac_status); }; }; then
57470 glibcxx_cv_func_isnanf_use=yes
57471 else
57472 echo "$as_me: failed program was:" >&5
57473 sed 's/^/| /' conftest.$ac_ext >&5
57475 glibcxx_cv_func_isnanf_use=no
57477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57478 ac_ext=c
57479 ac_cpp='$CPP $CPPFLAGS'
57480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57489 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57491 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57493 for ac_func in isnanf
57495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57496 echo "$as_me:$LINENO: checking for $ac_func" >&5
57497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57498 if eval "test \"\${$as_ac_var+set}\" = set"; then
57499 echo $ECHO_N "(cached) $ECHO_C" >&6
57500 else
57501 if test x$gcc_no_link = xyes; then
57502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57504 { (exit 1); exit 1; }; }
57506 cat >conftest.$ac_ext <<_ACEOF
57507 /* confdefs.h. */
57508 _ACEOF
57509 cat confdefs.h >>conftest.$ac_ext
57510 cat >>conftest.$ac_ext <<_ACEOF
57511 /* end confdefs.h. */
57512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57514 #define $ac_func innocuous_$ac_func
57516 /* System header to define __stub macros and hopefully few prototypes,
57517 which can conflict with char $ac_func (); below.
57518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57519 <limits.h> exists even on freestanding compilers. */
57521 #ifdef __STDC__
57522 # include <limits.h>
57523 #else
57524 # include <assert.h>
57525 #endif
57527 #undef $ac_func
57529 /* Override any gcc2 internal prototype to avoid an error. */
57530 #ifdef __cplusplus
57531 extern "C"
57533 #endif
57534 /* We use char because int might match the return type of a gcc2
57535 builtin and then its argument prototype would still apply. */
57536 char $ac_func ();
57537 /* The GNU C library defines this for functions which it implements
57538 to always fail with ENOSYS. Some functions are actually named
57539 something starting with __ and the normal name is an alias. */
57540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57541 choke me
57542 #else
57543 char (*f) () = $ac_func;
57544 #endif
57545 #ifdef __cplusplus
57547 #endif
57550 main ()
57552 return f != $ac_func;
57554 return 0;
57556 _ACEOF
57557 rm -f conftest.$ac_objext conftest$ac_exeext
57558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57559 (eval $ac_link) 2>conftest.er1
57560 ac_status=$?
57561 grep -v '^ *+' conftest.er1 >conftest.err
57562 rm -f conftest.er1
57563 cat conftest.err >&5
57564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57565 (exit $ac_status); } &&
57566 { ac_try='test -z "$ac_c_werror_flag"
57567 || test ! -s conftest.err'
57568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57569 (eval $ac_try) 2>&5
57570 ac_status=$?
57571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57572 (exit $ac_status); }; } &&
57573 { ac_try='test -s conftest$ac_exeext'
57574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57575 (eval $ac_try) 2>&5
57576 ac_status=$?
57577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57578 (exit $ac_status); }; }; then
57579 eval "$as_ac_var=yes"
57580 else
57581 echo "$as_me: failed program was:" >&5
57582 sed 's/^/| /' conftest.$ac_ext >&5
57584 eval "$as_ac_var=no"
57586 rm -f conftest.err conftest.$ac_objext \
57587 conftest$ac_exeext conftest.$ac_ext
57589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57591 if test `eval echo '${'$as_ac_var'}'` = yes; then
57592 cat >>confdefs.h <<_ACEOF
57593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57594 _ACEOF
57597 done
57599 else
57601 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57602 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57603 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57604 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57605 echo $ECHO_N "(cached) $ECHO_C" >&6
57606 else
57610 ac_ext=cc
57611 ac_cpp='$CXXCPP $CPPFLAGS'
57612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57616 cat >conftest.$ac_ext <<_ACEOF
57617 /* confdefs.h. */
57618 _ACEOF
57619 cat confdefs.h >>conftest.$ac_ext
57620 cat >>conftest.$ac_ext <<_ACEOF
57621 /* end confdefs.h. */
57622 #include <math.h>
57623 #ifdef HAVE_IEEEFP_H
57624 #include <ieeefp.h>
57625 #endif
57628 main ()
57630 _isnanf(0);
57632 return 0;
57634 _ACEOF
57635 rm -f conftest.$ac_objext
57636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57637 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isnanf_use=yes
57658 else
57659 echo "$as_me: failed program was:" >&5
57660 sed 's/^/| /' conftest.$ac_ext >&5
57662 glibcxx_cv_func__isnanf_use=no
57664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57665 ac_ext=c
57666 ac_cpp='$CPP $CPPFLAGS'
57667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57676 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57678 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57680 for ac_func in _isnanf
57682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57683 echo "$as_me:$LINENO: checking for $ac_func" >&5
57684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57685 if eval "test \"\${$as_ac_var+set}\" = set"; then
57686 echo $ECHO_N "(cached) $ECHO_C" >&6
57687 else
57688 if test x$gcc_no_link = xyes; then
57689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57691 { (exit 1); exit 1; }; }
57693 cat >conftest.$ac_ext <<_ACEOF
57694 /* confdefs.h. */
57695 _ACEOF
57696 cat confdefs.h >>conftest.$ac_ext
57697 cat >>conftest.$ac_ext <<_ACEOF
57698 /* end confdefs.h. */
57699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57701 #define $ac_func innocuous_$ac_func
57703 /* System header to define __stub macros and hopefully few prototypes,
57704 which can conflict with char $ac_func (); below.
57705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57706 <limits.h> exists even on freestanding compilers. */
57708 #ifdef __STDC__
57709 # include <limits.h>
57710 #else
57711 # include <assert.h>
57712 #endif
57714 #undef $ac_func
57716 /* Override any gcc2 internal prototype to avoid an error. */
57717 #ifdef __cplusplus
57718 extern "C"
57720 #endif
57721 /* We use char because int might match the return type of a gcc2
57722 builtin and then its argument prototype would still apply. */
57723 char $ac_func ();
57724 /* The GNU C library defines this for functions which it implements
57725 to always fail with ENOSYS. Some functions are actually named
57726 something starting with __ and the normal name is an alias. */
57727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57728 choke me
57729 #else
57730 char (*f) () = $ac_func;
57731 #endif
57732 #ifdef __cplusplus
57734 #endif
57737 main ()
57739 return f != $ac_func;
57741 return 0;
57743 _ACEOF
57744 rm -f conftest.$ac_objext conftest$ac_exeext
57745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57746 (eval $ac_link) 2>conftest.er1
57747 ac_status=$?
57748 grep -v '^ *+' conftest.er1 >conftest.err
57749 rm -f conftest.er1
57750 cat conftest.err >&5
57751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57752 (exit $ac_status); } &&
57753 { ac_try='test -z "$ac_c_werror_flag"
57754 || test ! -s conftest.err'
57755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57756 (eval $ac_try) 2>&5
57757 ac_status=$?
57758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57759 (exit $ac_status); }; } &&
57760 { ac_try='test -s conftest$ac_exeext'
57761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57762 (eval $ac_try) 2>&5
57763 ac_status=$?
57764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57765 (exit $ac_status); }; }; then
57766 eval "$as_ac_var=yes"
57767 else
57768 echo "$as_me: failed program was:" >&5
57769 sed 's/^/| /' conftest.$ac_ext >&5
57771 eval "$as_ac_var=no"
57773 rm -f conftest.err conftest.$ac_objext \
57774 conftest$ac_exeext conftest.$ac_ext
57776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57778 if test `eval echo '${'$as_ac_var'}'` = yes; then
57779 cat >>confdefs.h <<_ACEOF
57780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57781 _ACEOF
57784 done
57791 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57792 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57793 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57794 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57795 echo $ECHO_N "(cached) $ECHO_C" >&6
57796 else
57800 ac_ext=cc
57801 ac_cpp='$CXXCPP $CPPFLAGS'
57802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57806 cat >conftest.$ac_ext <<_ACEOF
57807 /* confdefs.h. */
57808 _ACEOF
57809 cat confdefs.h >>conftest.$ac_ext
57810 cat >>conftest.$ac_ext <<_ACEOF
57811 /* end confdefs.h. */
57812 #include <math.h>
57813 #ifdef HAVE_IEEEFP_H
57814 #include <ieeefp.h>
57815 #endif
57818 main ()
57820 isinff(0);
57822 return 0;
57824 _ACEOF
57825 rm -f conftest.$ac_objext
57826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57827 (eval $ac_compile) 2>conftest.er1
57828 ac_status=$?
57829 grep -v '^ *+' conftest.er1 >conftest.err
57830 rm -f conftest.er1
57831 cat conftest.err >&5
57832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57833 (exit $ac_status); } &&
57834 { ac_try='test -z "$ac_cxx_werror_flag"
57835 || test ! -s conftest.err'
57836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57837 (eval $ac_try) 2>&5
57838 ac_status=$?
57839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57840 (exit $ac_status); }; } &&
57841 { ac_try='test -s conftest.$ac_objext'
57842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57843 (eval $ac_try) 2>&5
57844 ac_status=$?
57845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57846 (exit $ac_status); }; }; then
57847 glibcxx_cv_func_isinff_use=yes
57848 else
57849 echo "$as_me: failed program was:" >&5
57850 sed 's/^/| /' conftest.$ac_ext >&5
57852 glibcxx_cv_func_isinff_use=no
57854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57855 ac_ext=c
57856 ac_cpp='$CPP $CPPFLAGS'
57857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57866 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57868 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57870 for ac_func in isinff
57872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57873 echo "$as_me:$LINENO: checking for $ac_func" >&5
57874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57875 if eval "test \"\${$as_ac_var+set}\" = set"; then
57876 echo $ECHO_N "(cached) $ECHO_C" >&6
57877 else
57878 if test x$gcc_no_link = xyes; then
57879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57881 { (exit 1); exit 1; }; }
57883 cat >conftest.$ac_ext <<_ACEOF
57884 /* confdefs.h. */
57885 _ACEOF
57886 cat confdefs.h >>conftest.$ac_ext
57887 cat >>conftest.$ac_ext <<_ACEOF
57888 /* end confdefs.h. */
57889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57891 #define $ac_func innocuous_$ac_func
57893 /* System header to define __stub macros and hopefully few prototypes,
57894 which can conflict with char $ac_func (); below.
57895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57896 <limits.h> exists even on freestanding compilers. */
57898 #ifdef __STDC__
57899 # include <limits.h>
57900 #else
57901 # include <assert.h>
57902 #endif
57904 #undef $ac_func
57906 /* Override any gcc2 internal prototype to avoid an error. */
57907 #ifdef __cplusplus
57908 extern "C"
57910 #endif
57911 /* We use char because int might match the return type of a gcc2
57912 builtin and then its argument prototype would still apply. */
57913 char $ac_func ();
57914 /* The GNU C library defines this for functions which it implements
57915 to always fail with ENOSYS. Some functions are actually named
57916 something starting with __ and the normal name is an alias. */
57917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57918 choke me
57919 #else
57920 char (*f) () = $ac_func;
57921 #endif
57922 #ifdef __cplusplus
57924 #endif
57927 main ()
57929 return f != $ac_func;
57931 return 0;
57933 _ACEOF
57934 rm -f conftest.$ac_objext conftest$ac_exeext
57935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57936 (eval $ac_link) 2>conftest.er1
57937 ac_status=$?
57938 grep -v '^ *+' conftest.er1 >conftest.err
57939 rm -f conftest.er1
57940 cat conftest.err >&5
57941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57942 (exit $ac_status); } &&
57943 { ac_try='test -z "$ac_c_werror_flag"
57944 || test ! -s conftest.err'
57945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57946 (eval $ac_try) 2>&5
57947 ac_status=$?
57948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57949 (exit $ac_status); }; } &&
57950 { ac_try='test -s conftest$ac_exeext'
57951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57952 (eval $ac_try) 2>&5
57953 ac_status=$?
57954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57955 (exit $ac_status); }; }; then
57956 eval "$as_ac_var=yes"
57957 else
57958 echo "$as_me: failed program was:" >&5
57959 sed 's/^/| /' conftest.$ac_ext >&5
57961 eval "$as_ac_var=no"
57963 rm -f conftest.err conftest.$ac_objext \
57964 conftest$ac_exeext conftest.$ac_ext
57966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57968 if test `eval echo '${'$as_ac_var'}'` = yes; then
57969 cat >>confdefs.h <<_ACEOF
57970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57971 _ACEOF
57974 done
57976 else
57978 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57979 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57980 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57981 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57982 echo $ECHO_N "(cached) $ECHO_C" >&6
57983 else
57987 ac_ext=cc
57988 ac_cpp='$CXXCPP $CPPFLAGS'
57989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57993 cat >conftest.$ac_ext <<_ACEOF
57994 /* confdefs.h. */
57995 _ACEOF
57996 cat confdefs.h >>conftest.$ac_ext
57997 cat >>conftest.$ac_ext <<_ACEOF
57998 /* end confdefs.h. */
57999 #include <math.h>
58000 #ifdef HAVE_IEEEFP_H
58001 #include <ieeefp.h>
58002 #endif
58005 main ()
58007 _isinff(0);
58009 return 0;
58011 _ACEOF
58012 rm -f conftest.$ac_objext
58013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58014 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isinff_use=yes
58035 else
58036 echo "$as_me: failed program was:" >&5
58037 sed 's/^/| /' conftest.$ac_ext >&5
58039 glibcxx_cv_func__isinff_use=no
58041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58042 ac_ext=c
58043 ac_cpp='$CPP $CPPFLAGS'
58044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58052 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58053 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58055 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58057 for ac_func in _isinff
58059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58060 echo "$as_me:$LINENO: checking for $ac_func" >&5
58061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58062 if eval "test \"\${$as_ac_var+set}\" = set"; then
58063 echo $ECHO_N "(cached) $ECHO_C" >&6
58064 else
58065 if test x$gcc_no_link = xyes; then
58066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58068 { (exit 1); exit 1; }; }
58070 cat >conftest.$ac_ext <<_ACEOF
58071 /* confdefs.h. */
58072 _ACEOF
58073 cat confdefs.h >>conftest.$ac_ext
58074 cat >>conftest.$ac_ext <<_ACEOF
58075 /* end confdefs.h. */
58076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58078 #define $ac_func innocuous_$ac_func
58080 /* System header to define __stub macros and hopefully few prototypes,
58081 which can conflict with char $ac_func (); below.
58082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58083 <limits.h> exists even on freestanding compilers. */
58085 #ifdef __STDC__
58086 # include <limits.h>
58087 #else
58088 # include <assert.h>
58089 #endif
58091 #undef $ac_func
58093 /* Override any gcc2 internal prototype to avoid an error. */
58094 #ifdef __cplusplus
58095 extern "C"
58097 #endif
58098 /* We use char because int might match the return type of a gcc2
58099 builtin and then its argument prototype would still apply. */
58100 char $ac_func ();
58101 /* The GNU C library defines this for functions which it implements
58102 to always fail with ENOSYS. Some functions are actually named
58103 something starting with __ and the normal name is an alias. */
58104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58105 choke me
58106 #else
58107 char (*f) () = $ac_func;
58108 #endif
58109 #ifdef __cplusplus
58111 #endif
58114 main ()
58116 return f != $ac_func;
58118 return 0;
58120 _ACEOF
58121 rm -f conftest.$ac_objext conftest$ac_exeext
58122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58123 (eval $ac_link) 2>conftest.er1
58124 ac_status=$?
58125 grep -v '^ *+' conftest.er1 >conftest.err
58126 rm -f conftest.er1
58127 cat conftest.err >&5
58128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58129 (exit $ac_status); } &&
58130 { ac_try='test -z "$ac_c_werror_flag"
58131 || test ! -s conftest.err'
58132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58133 (eval $ac_try) 2>&5
58134 ac_status=$?
58135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58136 (exit $ac_status); }; } &&
58137 { ac_try='test -s conftest$ac_exeext'
58138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58139 (eval $ac_try) 2>&5
58140 ac_status=$?
58141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58142 (exit $ac_status); }; }; then
58143 eval "$as_ac_var=yes"
58144 else
58145 echo "$as_me: failed program was:" >&5
58146 sed 's/^/| /' conftest.$ac_ext >&5
58148 eval "$as_ac_var=no"
58150 rm -f conftest.err conftest.$ac_objext \
58151 conftest$ac_exeext conftest.$ac_ext
58153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58155 if test `eval echo '${'$as_ac_var'}'` = yes; then
58156 cat >>confdefs.h <<_ACEOF
58157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58158 _ACEOF
58161 done
58168 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58169 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58170 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58171 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58172 echo $ECHO_N "(cached) $ECHO_C" >&6
58173 else
58177 ac_ext=cc
58178 ac_cpp='$CXXCPP $CPPFLAGS'
58179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58183 cat >conftest.$ac_ext <<_ACEOF
58184 /* confdefs.h. */
58185 _ACEOF
58186 cat confdefs.h >>conftest.$ac_ext
58187 cat >>conftest.$ac_ext <<_ACEOF
58188 /* end confdefs.h. */
58189 #include <math.h>
58191 main ()
58193 atan2f(0, 0);
58195 return 0;
58197 _ACEOF
58198 rm -f conftest.$ac_objext
58199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58200 (eval $ac_compile) 2>conftest.er1
58201 ac_status=$?
58202 grep -v '^ *+' conftest.er1 >conftest.err
58203 rm -f conftest.er1
58204 cat conftest.err >&5
58205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58206 (exit $ac_status); } &&
58207 { ac_try='test -z "$ac_cxx_werror_flag"
58208 || test ! -s conftest.err'
58209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58210 (eval $ac_try) 2>&5
58211 ac_status=$?
58212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58213 (exit $ac_status); }; } &&
58214 { ac_try='test -s conftest.$ac_objext'
58215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58216 (eval $ac_try) 2>&5
58217 ac_status=$?
58218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58219 (exit $ac_status); }; }; then
58220 glibcxx_cv_func_atan2f_use=yes
58221 else
58222 echo "$as_me: failed program was:" >&5
58223 sed 's/^/| /' conftest.$ac_ext >&5
58225 glibcxx_cv_func_atan2f_use=no
58227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58228 ac_ext=c
58229 ac_cpp='$CPP $CPPFLAGS'
58230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58239 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58241 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58243 for ac_func in atan2f
58245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58246 echo "$as_me:$LINENO: checking for $ac_func" >&5
58247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58248 if eval "test \"\${$as_ac_var+set}\" = set"; then
58249 echo $ECHO_N "(cached) $ECHO_C" >&6
58250 else
58251 if test x$gcc_no_link = xyes; then
58252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58254 { (exit 1); exit 1; }; }
58256 cat >conftest.$ac_ext <<_ACEOF
58257 /* confdefs.h. */
58258 _ACEOF
58259 cat confdefs.h >>conftest.$ac_ext
58260 cat >>conftest.$ac_ext <<_ACEOF
58261 /* end confdefs.h. */
58262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58264 #define $ac_func innocuous_$ac_func
58266 /* System header to define __stub macros and hopefully few prototypes,
58267 which can conflict with char $ac_func (); below.
58268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58269 <limits.h> exists even on freestanding compilers. */
58271 #ifdef __STDC__
58272 # include <limits.h>
58273 #else
58274 # include <assert.h>
58275 #endif
58277 #undef $ac_func
58279 /* Override any gcc2 internal prototype to avoid an error. */
58280 #ifdef __cplusplus
58281 extern "C"
58283 #endif
58284 /* We use char because int might match the return type of a gcc2
58285 builtin and then its argument prototype would still apply. */
58286 char $ac_func ();
58287 /* The GNU C library defines this for functions which it implements
58288 to always fail with ENOSYS. Some functions are actually named
58289 something starting with __ and the normal name is an alias. */
58290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58291 choke me
58292 #else
58293 char (*f) () = $ac_func;
58294 #endif
58295 #ifdef __cplusplus
58297 #endif
58300 main ()
58302 return f != $ac_func;
58304 return 0;
58306 _ACEOF
58307 rm -f conftest.$ac_objext conftest$ac_exeext
58308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58309 (eval $ac_link) 2>conftest.er1
58310 ac_status=$?
58311 grep -v '^ *+' conftest.er1 >conftest.err
58312 rm -f conftest.er1
58313 cat conftest.err >&5
58314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58315 (exit $ac_status); } &&
58316 { ac_try='test -z "$ac_c_werror_flag"
58317 || test ! -s conftest.err'
58318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58319 (eval $ac_try) 2>&5
58320 ac_status=$?
58321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58322 (exit $ac_status); }; } &&
58323 { ac_try='test -s conftest$ac_exeext'
58324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58325 (eval $ac_try) 2>&5
58326 ac_status=$?
58327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58328 (exit $ac_status); }; }; then
58329 eval "$as_ac_var=yes"
58330 else
58331 echo "$as_me: failed program was:" >&5
58332 sed 's/^/| /' conftest.$ac_ext >&5
58334 eval "$as_ac_var=no"
58336 rm -f conftest.err conftest.$ac_objext \
58337 conftest$ac_exeext conftest.$ac_ext
58339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58341 if test `eval echo '${'$as_ac_var'}'` = yes; then
58342 cat >>confdefs.h <<_ACEOF
58343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58344 _ACEOF
58347 done
58349 else
58351 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58352 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58353 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58354 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58355 echo $ECHO_N "(cached) $ECHO_C" >&6
58356 else
58360 ac_ext=cc
58361 ac_cpp='$CXXCPP $CPPFLAGS'
58362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58366 cat >conftest.$ac_ext <<_ACEOF
58367 /* confdefs.h. */
58368 _ACEOF
58369 cat confdefs.h >>conftest.$ac_ext
58370 cat >>conftest.$ac_ext <<_ACEOF
58371 /* end confdefs.h. */
58372 #include <math.h>
58374 main ()
58376 _atan2f(0, 0);
58378 return 0;
58380 _ACEOF
58381 rm -f conftest.$ac_objext
58382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58383 (eval $ac_compile) 2>conftest.er1
58384 ac_status=$?
58385 grep -v '^ *+' conftest.er1 >conftest.err
58386 rm -f conftest.er1
58387 cat conftest.err >&5
58388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389 (exit $ac_status); } &&
58390 { ac_try='test -z "$ac_cxx_werror_flag"
58391 || test ! -s conftest.err'
58392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58393 (eval $ac_try) 2>&5
58394 ac_status=$?
58395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58396 (exit $ac_status); }; } &&
58397 { ac_try='test -s conftest.$ac_objext'
58398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58399 (eval $ac_try) 2>&5
58400 ac_status=$?
58401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402 (exit $ac_status); }; }; then
58403 glibcxx_cv_func__atan2f_use=yes
58404 else
58405 echo "$as_me: failed program was:" >&5
58406 sed 's/^/| /' conftest.$ac_ext >&5
58408 glibcxx_cv_func__atan2f_use=no
58410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58411 ac_ext=c
58412 ac_cpp='$CPP $CPPFLAGS'
58413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58421 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58422 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58424 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58426 for ac_func in _atan2f
58428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58429 echo "$as_me:$LINENO: checking for $ac_func" >&5
58430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58431 if eval "test \"\${$as_ac_var+set}\" = set"; then
58432 echo $ECHO_N "(cached) $ECHO_C" >&6
58433 else
58434 if test x$gcc_no_link = xyes; then
58435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58437 { (exit 1); exit 1; }; }
58439 cat >conftest.$ac_ext <<_ACEOF
58440 /* confdefs.h. */
58441 _ACEOF
58442 cat confdefs.h >>conftest.$ac_ext
58443 cat >>conftest.$ac_ext <<_ACEOF
58444 /* end confdefs.h. */
58445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58447 #define $ac_func innocuous_$ac_func
58449 /* System header to define __stub macros and hopefully few prototypes,
58450 which can conflict with char $ac_func (); below.
58451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58452 <limits.h> exists even on freestanding compilers. */
58454 #ifdef __STDC__
58455 # include <limits.h>
58456 #else
58457 # include <assert.h>
58458 #endif
58460 #undef $ac_func
58462 /* Override any gcc2 internal prototype to avoid an error. */
58463 #ifdef __cplusplus
58464 extern "C"
58466 #endif
58467 /* We use char because int might match the return type of a gcc2
58468 builtin and then its argument prototype would still apply. */
58469 char $ac_func ();
58470 /* The GNU C library defines this for functions which it implements
58471 to always fail with ENOSYS. Some functions are actually named
58472 something starting with __ and the normal name is an alias. */
58473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58474 choke me
58475 #else
58476 char (*f) () = $ac_func;
58477 #endif
58478 #ifdef __cplusplus
58480 #endif
58483 main ()
58485 return f != $ac_func;
58487 return 0;
58489 _ACEOF
58490 rm -f conftest.$ac_objext conftest$ac_exeext
58491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58492 (eval $ac_link) 2>conftest.er1
58493 ac_status=$?
58494 grep -v '^ *+' conftest.er1 >conftest.err
58495 rm -f conftest.er1
58496 cat conftest.err >&5
58497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58498 (exit $ac_status); } &&
58499 { ac_try='test -z "$ac_c_werror_flag"
58500 || test ! -s conftest.err'
58501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58502 (eval $ac_try) 2>&5
58503 ac_status=$?
58504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58505 (exit $ac_status); }; } &&
58506 { ac_try='test -s conftest$ac_exeext'
58507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58508 (eval $ac_try) 2>&5
58509 ac_status=$?
58510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58511 (exit $ac_status); }; }; then
58512 eval "$as_ac_var=yes"
58513 else
58514 echo "$as_me: failed program was:" >&5
58515 sed 's/^/| /' conftest.$ac_ext >&5
58517 eval "$as_ac_var=no"
58519 rm -f conftest.err conftest.$ac_objext \
58520 conftest$ac_exeext conftest.$ac_ext
58522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58524 if test `eval echo '${'$as_ac_var'}'` = yes; then
58525 cat >>confdefs.h <<_ACEOF
58526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58527 _ACEOF
58530 done
58537 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58538 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58539 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58540 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58541 echo $ECHO_N "(cached) $ECHO_C" >&6
58542 else
58546 ac_ext=cc
58547 ac_cpp='$CXXCPP $CPPFLAGS'
58548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58552 cat >conftest.$ac_ext <<_ACEOF
58553 /* confdefs.h. */
58554 _ACEOF
58555 cat confdefs.h >>conftest.$ac_ext
58556 cat >>conftest.$ac_ext <<_ACEOF
58557 /* end confdefs.h. */
58558 #include <math.h>
58559 #ifdef HAVE_IEEEFP_H
58560 #include <ieeefp.h>
58561 #endif
58564 main ()
58566 fabsf(0);
58568 return 0;
58570 _ACEOF
58571 rm -f conftest.$ac_objext
58572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58573 (eval $ac_compile) 2>conftest.er1
58574 ac_status=$?
58575 grep -v '^ *+' conftest.er1 >conftest.err
58576 rm -f conftest.er1
58577 cat conftest.err >&5
58578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58579 (exit $ac_status); } &&
58580 { ac_try='test -z "$ac_cxx_werror_flag"
58581 || test ! -s conftest.err'
58582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58583 (eval $ac_try) 2>&5
58584 ac_status=$?
58585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58586 (exit $ac_status); }; } &&
58587 { ac_try='test -s conftest.$ac_objext'
58588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58589 (eval $ac_try) 2>&5
58590 ac_status=$?
58591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58592 (exit $ac_status); }; }; then
58593 glibcxx_cv_func_fabsf_use=yes
58594 else
58595 echo "$as_me: failed program was:" >&5
58596 sed 's/^/| /' conftest.$ac_ext >&5
58598 glibcxx_cv_func_fabsf_use=no
58600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58601 ac_ext=c
58602 ac_cpp='$CPP $CPPFLAGS'
58603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58612 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58614 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58616 for ac_func in fabsf
58618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58619 echo "$as_me:$LINENO: checking for $ac_func" >&5
58620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58621 if eval "test \"\${$as_ac_var+set}\" = set"; then
58622 echo $ECHO_N "(cached) $ECHO_C" >&6
58623 else
58624 if test x$gcc_no_link = xyes; then
58625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58627 { (exit 1); exit 1; }; }
58629 cat >conftest.$ac_ext <<_ACEOF
58630 /* confdefs.h. */
58631 _ACEOF
58632 cat confdefs.h >>conftest.$ac_ext
58633 cat >>conftest.$ac_ext <<_ACEOF
58634 /* end confdefs.h. */
58635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58637 #define $ac_func innocuous_$ac_func
58639 /* System header to define __stub macros and hopefully few prototypes,
58640 which can conflict with char $ac_func (); below.
58641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58642 <limits.h> exists even on freestanding compilers. */
58644 #ifdef __STDC__
58645 # include <limits.h>
58646 #else
58647 # include <assert.h>
58648 #endif
58650 #undef $ac_func
58652 /* Override any gcc2 internal prototype to avoid an error. */
58653 #ifdef __cplusplus
58654 extern "C"
58656 #endif
58657 /* We use char because int might match the return type of a gcc2
58658 builtin and then its argument prototype would still apply. */
58659 char $ac_func ();
58660 /* The GNU C library defines this for functions which it implements
58661 to always fail with ENOSYS. Some functions are actually named
58662 something starting with __ and the normal name is an alias. */
58663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58664 choke me
58665 #else
58666 char (*f) () = $ac_func;
58667 #endif
58668 #ifdef __cplusplus
58670 #endif
58673 main ()
58675 return f != $ac_func;
58677 return 0;
58679 _ACEOF
58680 rm -f conftest.$ac_objext conftest$ac_exeext
58681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58682 (eval $ac_link) 2>conftest.er1
58683 ac_status=$?
58684 grep -v '^ *+' conftest.er1 >conftest.err
58685 rm -f conftest.er1
58686 cat conftest.err >&5
58687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58688 (exit $ac_status); } &&
58689 { ac_try='test -z "$ac_c_werror_flag"
58690 || test ! -s conftest.err'
58691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58692 (eval $ac_try) 2>&5
58693 ac_status=$?
58694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58695 (exit $ac_status); }; } &&
58696 { ac_try='test -s conftest$ac_exeext'
58697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58698 (eval $ac_try) 2>&5
58699 ac_status=$?
58700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58701 (exit $ac_status); }; }; then
58702 eval "$as_ac_var=yes"
58703 else
58704 echo "$as_me: failed program was:" >&5
58705 sed 's/^/| /' conftest.$ac_ext >&5
58707 eval "$as_ac_var=no"
58709 rm -f conftest.err conftest.$ac_objext \
58710 conftest$ac_exeext conftest.$ac_ext
58712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58714 if test `eval echo '${'$as_ac_var'}'` = yes; then
58715 cat >>confdefs.h <<_ACEOF
58716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58717 _ACEOF
58720 done
58722 else
58724 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58725 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58726 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58727 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58728 echo $ECHO_N "(cached) $ECHO_C" >&6
58729 else
58733 ac_ext=cc
58734 ac_cpp='$CXXCPP $CPPFLAGS'
58735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58739 cat >conftest.$ac_ext <<_ACEOF
58740 /* confdefs.h. */
58741 _ACEOF
58742 cat confdefs.h >>conftest.$ac_ext
58743 cat >>conftest.$ac_ext <<_ACEOF
58744 /* end confdefs.h. */
58745 #include <math.h>
58746 #ifdef HAVE_IEEEFP_H
58747 #include <ieeefp.h>
58748 #endif
58751 main ()
58753 _fabsf(0);
58755 return 0;
58757 _ACEOF
58758 rm -f conftest.$ac_objext
58759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58760 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fabsf_use=yes
58781 else
58782 echo "$as_me: failed program was:" >&5
58783 sed 's/^/| /' conftest.$ac_ext >&5
58785 glibcxx_cv_func__fabsf_use=no
58787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58788 ac_ext=c
58789 ac_cpp='$CPP $CPPFLAGS'
58790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58799 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58801 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58803 for ac_func in _fabsf
58805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58806 echo "$as_me:$LINENO: checking for $ac_func" >&5
58807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58808 if eval "test \"\${$as_ac_var+set}\" = set"; then
58809 echo $ECHO_N "(cached) $ECHO_C" >&6
58810 else
58811 if test x$gcc_no_link = xyes; then
58812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58814 { (exit 1); exit 1; }; }
58816 cat >conftest.$ac_ext <<_ACEOF
58817 /* confdefs.h. */
58818 _ACEOF
58819 cat confdefs.h >>conftest.$ac_ext
58820 cat >>conftest.$ac_ext <<_ACEOF
58821 /* end confdefs.h. */
58822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58824 #define $ac_func innocuous_$ac_func
58826 /* System header to define __stub macros and hopefully few prototypes,
58827 which can conflict with char $ac_func (); below.
58828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58829 <limits.h> exists even on freestanding compilers. */
58831 #ifdef __STDC__
58832 # include <limits.h>
58833 #else
58834 # include <assert.h>
58835 #endif
58837 #undef $ac_func
58839 /* Override any gcc2 internal prototype to avoid an error. */
58840 #ifdef __cplusplus
58841 extern "C"
58843 #endif
58844 /* We use char because int might match the return type of a gcc2
58845 builtin and then its argument prototype would still apply. */
58846 char $ac_func ();
58847 /* The GNU C library defines this for functions which it implements
58848 to always fail with ENOSYS. Some functions are actually named
58849 something starting with __ and the normal name is an alias. */
58850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58851 choke me
58852 #else
58853 char (*f) () = $ac_func;
58854 #endif
58855 #ifdef __cplusplus
58857 #endif
58860 main ()
58862 return f != $ac_func;
58864 return 0;
58866 _ACEOF
58867 rm -f conftest.$ac_objext conftest$ac_exeext
58868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58869 (eval $ac_link) 2>conftest.er1
58870 ac_status=$?
58871 grep -v '^ *+' conftest.er1 >conftest.err
58872 rm -f conftest.er1
58873 cat conftest.err >&5
58874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58875 (exit $ac_status); } &&
58876 { ac_try='test -z "$ac_c_werror_flag"
58877 || test ! -s conftest.err'
58878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58879 (eval $ac_try) 2>&5
58880 ac_status=$?
58881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58882 (exit $ac_status); }; } &&
58883 { ac_try='test -s conftest$ac_exeext'
58884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58885 (eval $ac_try) 2>&5
58886 ac_status=$?
58887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58888 (exit $ac_status); }; }; then
58889 eval "$as_ac_var=yes"
58890 else
58891 echo "$as_me: failed program was:" >&5
58892 sed 's/^/| /' conftest.$ac_ext >&5
58894 eval "$as_ac_var=no"
58896 rm -f conftest.err conftest.$ac_objext \
58897 conftest$ac_exeext conftest.$ac_ext
58899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58901 if test `eval echo '${'$as_ac_var'}'` = yes; then
58902 cat >>confdefs.h <<_ACEOF
58903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58904 _ACEOF
58907 done
58914 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58915 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58916 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58917 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58918 echo $ECHO_N "(cached) $ECHO_C" >&6
58919 else
58923 ac_ext=cc
58924 ac_cpp='$CXXCPP $CPPFLAGS'
58925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58929 cat >conftest.$ac_ext <<_ACEOF
58930 /* confdefs.h. */
58931 _ACEOF
58932 cat confdefs.h >>conftest.$ac_ext
58933 cat >>conftest.$ac_ext <<_ACEOF
58934 /* end confdefs.h. */
58935 #include <math.h>
58937 main ()
58939 fmodf(0, 0);
58941 return 0;
58943 _ACEOF
58944 rm -f conftest.$ac_objext
58945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58946 (eval $ac_compile) 2>conftest.er1
58947 ac_status=$?
58948 grep -v '^ *+' conftest.er1 >conftest.err
58949 rm -f conftest.er1
58950 cat conftest.err >&5
58951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58952 (exit $ac_status); } &&
58953 { ac_try='test -z "$ac_cxx_werror_flag"
58954 || test ! -s conftest.err'
58955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58956 (eval $ac_try) 2>&5
58957 ac_status=$?
58958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58959 (exit $ac_status); }; } &&
58960 { ac_try='test -s conftest.$ac_objext'
58961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58962 (eval $ac_try) 2>&5
58963 ac_status=$?
58964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58965 (exit $ac_status); }; }; then
58966 glibcxx_cv_func_fmodf_use=yes
58967 else
58968 echo "$as_me: failed program was:" >&5
58969 sed 's/^/| /' conftest.$ac_ext >&5
58971 glibcxx_cv_func_fmodf_use=no
58973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58974 ac_ext=c
58975 ac_cpp='$CPP $CPPFLAGS'
58976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58985 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58987 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58989 for ac_func in fmodf
58991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58992 echo "$as_me:$LINENO: checking for $ac_func" >&5
58993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58994 if eval "test \"\${$as_ac_var+set}\" = set"; then
58995 echo $ECHO_N "(cached) $ECHO_C" >&6
58996 else
58997 if test x$gcc_no_link = xyes; then
58998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59000 { (exit 1); exit 1; }; }
59002 cat >conftest.$ac_ext <<_ACEOF
59003 /* confdefs.h. */
59004 _ACEOF
59005 cat confdefs.h >>conftest.$ac_ext
59006 cat >>conftest.$ac_ext <<_ACEOF
59007 /* end confdefs.h. */
59008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59010 #define $ac_func innocuous_$ac_func
59012 /* System header to define __stub macros and hopefully few prototypes,
59013 which can conflict with char $ac_func (); below.
59014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59015 <limits.h> exists even on freestanding compilers. */
59017 #ifdef __STDC__
59018 # include <limits.h>
59019 #else
59020 # include <assert.h>
59021 #endif
59023 #undef $ac_func
59025 /* Override any gcc2 internal prototype to avoid an error. */
59026 #ifdef __cplusplus
59027 extern "C"
59029 #endif
59030 /* We use char because int might match the return type of a gcc2
59031 builtin and then its argument prototype would still apply. */
59032 char $ac_func ();
59033 /* The GNU C library defines this for functions which it implements
59034 to always fail with ENOSYS. Some functions are actually named
59035 something starting with __ and the normal name is an alias. */
59036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59037 choke me
59038 #else
59039 char (*f) () = $ac_func;
59040 #endif
59041 #ifdef __cplusplus
59043 #endif
59046 main ()
59048 return f != $ac_func;
59050 return 0;
59052 _ACEOF
59053 rm -f conftest.$ac_objext conftest$ac_exeext
59054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59055 (eval $ac_link) 2>conftest.er1
59056 ac_status=$?
59057 grep -v '^ *+' conftest.er1 >conftest.err
59058 rm -f conftest.er1
59059 cat conftest.err >&5
59060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59061 (exit $ac_status); } &&
59062 { ac_try='test -z "$ac_c_werror_flag"
59063 || test ! -s conftest.err'
59064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59065 (eval $ac_try) 2>&5
59066 ac_status=$?
59067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59068 (exit $ac_status); }; } &&
59069 { ac_try='test -s conftest$ac_exeext'
59070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59071 (eval $ac_try) 2>&5
59072 ac_status=$?
59073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59074 (exit $ac_status); }; }; then
59075 eval "$as_ac_var=yes"
59076 else
59077 echo "$as_me: failed program was:" >&5
59078 sed 's/^/| /' conftest.$ac_ext >&5
59080 eval "$as_ac_var=no"
59082 rm -f conftest.err conftest.$ac_objext \
59083 conftest$ac_exeext conftest.$ac_ext
59085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59087 if test `eval echo '${'$as_ac_var'}'` = yes; then
59088 cat >>confdefs.h <<_ACEOF
59089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59090 _ACEOF
59093 done
59095 else
59097 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59098 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59099 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59100 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59101 echo $ECHO_N "(cached) $ECHO_C" >&6
59102 else
59106 ac_ext=cc
59107 ac_cpp='$CXXCPP $CPPFLAGS'
59108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59112 cat >conftest.$ac_ext <<_ACEOF
59113 /* confdefs.h. */
59114 _ACEOF
59115 cat confdefs.h >>conftest.$ac_ext
59116 cat >>conftest.$ac_ext <<_ACEOF
59117 /* end confdefs.h. */
59118 #include <math.h>
59120 main ()
59122 _fmodf(0, 0);
59124 return 0;
59126 _ACEOF
59127 rm -f conftest.$ac_objext
59128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59129 (eval $ac_compile) 2>conftest.er1
59130 ac_status=$?
59131 grep -v '^ *+' conftest.er1 >conftest.err
59132 rm -f conftest.er1
59133 cat conftest.err >&5
59134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59135 (exit $ac_status); } &&
59136 { ac_try='test -z "$ac_cxx_werror_flag"
59137 || test ! -s conftest.err'
59138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59139 (eval $ac_try) 2>&5
59140 ac_status=$?
59141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59142 (exit $ac_status); }; } &&
59143 { ac_try='test -s conftest.$ac_objext'
59144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59145 (eval $ac_try) 2>&5
59146 ac_status=$?
59147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59148 (exit $ac_status); }; }; then
59149 glibcxx_cv_func__fmodf_use=yes
59150 else
59151 echo "$as_me: failed program was:" >&5
59152 sed 's/^/| /' conftest.$ac_ext >&5
59154 glibcxx_cv_func__fmodf_use=no
59156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59157 ac_ext=c
59158 ac_cpp='$CPP $CPPFLAGS'
59159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59168 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59170 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59172 for ac_func in _fmodf
59174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59175 echo "$as_me:$LINENO: checking for $ac_func" >&5
59176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59177 if eval "test \"\${$as_ac_var+set}\" = set"; then
59178 echo $ECHO_N "(cached) $ECHO_C" >&6
59179 else
59180 if test x$gcc_no_link = xyes; then
59181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59183 { (exit 1); exit 1; }; }
59185 cat >conftest.$ac_ext <<_ACEOF
59186 /* confdefs.h. */
59187 _ACEOF
59188 cat confdefs.h >>conftest.$ac_ext
59189 cat >>conftest.$ac_ext <<_ACEOF
59190 /* end confdefs.h. */
59191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59193 #define $ac_func innocuous_$ac_func
59195 /* System header to define __stub macros and hopefully few prototypes,
59196 which can conflict with char $ac_func (); below.
59197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59198 <limits.h> exists even on freestanding compilers. */
59200 #ifdef __STDC__
59201 # include <limits.h>
59202 #else
59203 # include <assert.h>
59204 #endif
59206 #undef $ac_func
59208 /* Override any gcc2 internal prototype to avoid an error. */
59209 #ifdef __cplusplus
59210 extern "C"
59212 #endif
59213 /* We use char because int might match the return type of a gcc2
59214 builtin and then its argument prototype would still apply. */
59215 char $ac_func ();
59216 /* The GNU C library defines this for functions which it implements
59217 to always fail with ENOSYS. Some functions are actually named
59218 something starting with __ and the normal name is an alias. */
59219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59220 choke me
59221 #else
59222 char (*f) () = $ac_func;
59223 #endif
59224 #ifdef __cplusplus
59226 #endif
59229 main ()
59231 return f != $ac_func;
59233 return 0;
59235 _ACEOF
59236 rm -f conftest.$ac_objext conftest$ac_exeext
59237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59238 (eval $ac_link) 2>conftest.er1
59239 ac_status=$?
59240 grep -v '^ *+' conftest.er1 >conftest.err
59241 rm -f conftest.er1
59242 cat conftest.err >&5
59243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59244 (exit $ac_status); } &&
59245 { ac_try='test -z "$ac_c_werror_flag"
59246 || test ! -s conftest.err'
59247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59248 (eval $ac_try) 2>&5
59249 ac_status=$?
59250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59251 (exit $ac_status); }; } &&
59252 { ac_try='test -s conftest$ac_exeext'
59253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59254 (eval $ac_try) 2>&5
59255 ac_status=$?
59256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59257 (exit $ac_status); }; }; then
59258 eval "$as_ac_var=yes"
59259 else
59260 echo "$as_me: failed program was:" >&5
59261 sed 's/^/| /' conftest.$ac_ext >&5
59263 eval "$as_ac_var=no"
59265 rm -f conftest.err conftest.$ac_objext \
59266 conftest$ac_exeext conftest.$ac_ext
59268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59270 if test `eval echo '${'$as_ac_var'}'` = yes; then
59271 cat >>confdefs.h <<_ACEOF
59272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59273 _ACEOF
59276 done
59283 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59284 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59285 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59286 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59287 echo $ECHO_N "(cached) $ECHO_C" >&6
59288 else
59292 ac_ext=cc
59293 ac_cpp='$CXXCPP $CPPFLAGS'
59294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59298 cat >conftest.$ac_ext <<_ACEOF
59299 /* confdefs.h. */
59300 _ACEOF
59301 cat confdefs.h >>conftest.$ac_ext
59302 cat >>conftest.$ac_ext <<_ACEOF
59303 /* end confdefs.h. */
59304 #include <math.h>
59306 main ()
59308 frexpf(0, 0);
59310 return 0;
59312 _ACEOF
59313 rm -f conftest.$ac_objext
59314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59315 (eval $ac_compile) 2>conftest.er1
59316 ac_status=$?
59317 grep -v '^ *+' conftest.er1 >conftest.err
59318 rm -f conftest.er1
59319 cat conftest.err >&5
59320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59321 (exit $ac_status); } &&
59322 { ac_try='test -z "$ac_cxx_werror_flag"
59323 || test ! -s conftest.err'
59324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59325 (eval $ac_try) 2>&5
59326 ac_status=$?
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); }; } &&
59329 { ac_try='test -s conftest.$ac_objext'
59330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59331 (eval $ac_try) 2>&5
59332 ac_status=$?
59333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59334 (exit $ac_status); }; }; then
59335 glibcxx_cv_func_frexpf_use=yes
59336 else
59337 echo "$as_me: failed program was:" >&5
59338 sed 's/^/| /' conftest.$ac_ext >&5
59340 glibcxx_cv_func_frexpf_use=no
59342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59343 ac_ext=c
59344 ac_cpp='$CPP $CPPFLAGS'
59345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59354 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59356 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59358 for ac_func in frexpf
59360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59361 echo "$as_me:$LINENO: checking for $ac_func" >&5
59362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59363 if eval "test \"\${$as_ac_var+set}\" = set"; then
59364 echo $ECHO_N "(cached) $ECHO_C" >&6
59365 else
59366 if test x$gcc_no_link = xyes; then
59367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59369 { (exit 1); exit 1; }; }
59371 cat >conftest.$ac_ext <<_ACEOF
59372 /* confdefs.h. */
59373 _ACEOF
59374 cat confdefs.h >>conftest.$ac_ext
59375 cat >>conftest.$ac_ext <<_ACEOF
59376 /* end confdefs.h. */
59377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59379 #define $ac_func innocuous_$ac_func
59381 /* System header to define __stub macros and hopefully few prototypes,
59382 which can conflict with char $ac_func (); below.
59383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59384 <limits.h> exists even on freestanding compilers. */
59386 #ifdef __STDC__
59387 # include <limits.h>
59388 #else
59389 # include <assert.h>
59390 #endif
59392 #undef $ac_func
59394 /* Override any gcc2 internal prototype to avoid an error. */
59395 #ifdef __cplusplus
59396 extern "C"
59398 #endif
59399 /* We use char because int might match the return type of a gcc2
59400 builtin and then its argument prototype would still apply. */
59401 char $ac_func ();
59402 /* The GNU C library defines this for functions which it implements
59403 to always fail with ENOSYS. Some functions are actually named
59404 something starting with __ and the normal name is an alias. */
59405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59406 choke me
59407 #else
59408 char (*f) () = $ac_func;
59409 #endif
59410 #ifdef __cplusplus
59412 #endif
59415 main ()
59417 return f != $ac_func;
59419 return 0;
59421 _ACEOF
59422 rm -f conftest.$ac_objext conftest$ac_exeext
59423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59424 (eval $ac_link) 2>conftest.er1
59425 ac_status=$?
59426 grep -v '^ *+' conftest.er1 >conftest.err
59427 rm -f conftest.er1
59428 cat conftest.err >&5
59429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59430 (exit $ac_status); } &&
59431 { ac_try='test -z "$ac_c_werror_flag"
59432 || test ! -s conftest.err'
59433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59434 (eval $ac_try) 2>&5
59435 ac_status=$?
59436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59437 (exit $ac_status); }; } &&
59438 { ac_try='test -s conftest$ac_exeext'
59439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59440 (eval $ac_try) 2>&5
59441 ac_status=$?
59442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59443 (exit $ac_status); }; }; then
59444 eval "$as_ac_var=yes"
59445 else
59446 echo "$as_me: failed program was:" >&5
59447 sed 's/^/| /' conftest.$ac_ext >&5
59449 eval "$as_ac_var=no"
59451 rm -f conftest.err conftest.$ac_objext \
59452 conftest$ac_exeext conftest.$ac_ext
59454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59456 if test `eval echo '${'$as_ac_var'}'` = yes; then
59457 cat >>confdefs.h <<_ACEOF
59458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59459 _ACEOF
59462 done
59464 else
59466 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59467 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59468 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59469 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59470 echo $ECHO_N "(cached) $ECHO_C" >&6
59471 else
59475 ac_ext=cc
59476 ac_cpp='$CXXCPP $CPPFLAGS'
59477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59481 cat >conftest.$ac_ext <<_ACEOF
59482 /* confdefs.h. */
59483 _ACEOF
59484 cat confdefs.h >>conftest.$ac_ext
59485 cat >>conftest.$ac_ext <<_ACEOF
59486 /* end confdefs.h. */
59487 #include <math.h>
59489 main ()
59491 _frexpf(0, 0);
59493 return 0;
59495 _ACEOF
59496 rm -f conftest.$ac_objext
59497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59498 (eval $ac_compile) 2>conftest.er1
59499 ac_status=$?
59500 grep -v '^ *+' conftest.er1 >conftest.err
59501 rm -f conftest.er1
59502 cat conftest.err >&5
59503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59504 (exit $ac_status); } &&
59505 { ac_try='test -z "$ac_cxx_werror_flag"
59506 || test ! -s conftest.err'
59507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59508 (eval $ac_try) 2>&5
59509 ac_status=$?
59510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59511 (exit $ac_status); }; } &&
59512 { ac_try='test -s conftest.$ac_objext'
59513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59514 (eval $ac_try) 2>&5
59515 ac_status=$?
59516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59517 (exit $ac_status); }; }; then
59518 glibcxx_cv_func__frexpf_use=yes
59519 else
59520 echo "$as_me: failed program was:" >&5
59521 sed 's/^/| /' conftest.$ac_ext >&5
59523 glibcxx_cv_func__frexpf_use=no
59525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59526 ac_ext=c
59527 ac_cpp='$CPP $CPPFLAGS'
59528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59537 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59539 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59541 for ac_func in _frexpf
59543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59544 echo "$as_me:$LINENO: checking for $ac_func" >&5
59545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59546 if eval "test \"\${$as_ac_var+set}\" = set"; then
59547 echo $ECHO_N "(cached) $ECHO_C" >&6
59548 else
59549 if test x$gcc_no_link = xyes; then
59550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59552 { (exit 1); exit 1; }; }
59554 cat >conftest.$ac_ext <<_ACEOF
59555 /* confdefs.h. */
59556 _ACEOF
59557 cat confdefs.h >>conftest.$ac_ext
59558 cat >>conftest.$ac_ext <<_ACEOF
59559 /* end confdefs.h. */
59560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59562 #define $ac_func innocuous_$ac_func
59564 /* System header to define __stub macros and hopefully few prototypes,
59565 which can conflict with char $ac_func (); below.
59566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59567 <limits.h> exists even on freestanding compilers. */
59569 #ifdef __STDC__
59570 # include <limits.h>
59571 #else
59572 # include <assert.h>
59573 #endif
59575 #undef $ac_func
59577 /* Override any gcc2 internal prototype to avoid an error. */
59578 #ifdef __cplusplus
59579 extern "C"
59581 #endif
59582 /* We use char because int might match the return type of a gcc2
59583 builtin and then its argument prototype would still apply. */
59584 char $ac_func ();
59585 /* The GNU C library defines this for functions which it implements
59586 to always fail with ENOSYS. Some functions are actually named
59587 something starting with __ and the normal name is an alias. */
59588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59589 choke me
59590 #else
59591 char (*f) () = $ac_func;
59592 #endif
59593 #ifdef __cplusplus
59595 #endif
59598 main ()
59600 return f != $ac_func;
59602 return 0;
59604 _ACEOF
59605 rm -f conftest.$ac_objext conftest$ac_exeext
59606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59607 (eval $ac_link) 2>conftest.er1
59608 ac_status=$?
59609 grep -v '^ *+' conftest.er1 >conftest.err
59610 rm -f conftest.er1
59611 cat conftest.err >&5
59612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59613 (exit $ac_status); } &&
59614 { ac_try='test -z "$ac_c_werror_flag"
59615 || test ! -s conftest.err'
59616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59617 (eval $ac_try) 2>&5
59618 ac_status=$?
59619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59620 (exit $ac_status); }; } &&
59621 { ac_try='test -s conftest$ac_exeext'
59622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59623 (eval $ac_try) 2>&5
59624 ac_status=$?
59625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59626 (exit $ac_status); }; }; then
59627 eval "$as_ac_var=yes"
59628 else
59629 echo "$as_me: failed program was:" >&5
59630 sed 's/^/| /' conftest.$ac_ext >&5
59632 eval "$as_ac_var=no"
59634 rm -f conftest.err conftest.$ac_objext \
59635 conftest$ac_exeext conftest.$ac_ext
59637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59639 if test `eval echo '${'$as_ac_var'}'` = yes; then
59640 cat >>confdefs.h <<_ACEOF
59641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59642 _ACEOF
59645 done
59652 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59653 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59654 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59655 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59656 echo $ECHO_N "(cached) $ECHO_C" >&6
59657 else
59661 ac_ext=cc
59662 ac_cpp='$CXXCPP $CPPFLAGS'
59663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59667 cat >conftest.$ac_ext <<_ACEOF
59668 /* confdefs.h. */
59669 _ACEOF
59670 cat confdefs.h >>conftest.$ac_ext
59671 cat >>conftest.$ac_ext <<_ACEOF
59672 /* end confdefs.h. */
59673 #include <math.h>
59675 main ()
59677 hypotf(0, 0);
59679 return 0;
59681 _ACEOF
59682 rm -f conftest.$ac_objext
59683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59684 (eval $ac_compile) 2>conftest.er1
59685 ac_status=$?
59686 grep -v '^ *+' conftest.er1 >conftest.err
59687 rm -f conftest.er1
59688 cat conftest.err >&5
59689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59690 (exit $ac_status); } &&
59691 { ac_try='test -z "$ac_cxx_werror_flag"
59692 || test ! -s conftest.err'
59693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59694 (eval $ac_try) 2>&5
59695 ac_status=$?
59696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59697 (exit $ac_status); }; } &&
59698 { ac_try='test -s conftest.$ac_objext'
59699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59700 (eval $ac_try) 2>&5
59701 ac_status=$?
59702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59703 (exit $ac_status); }; }; then
59704 glibcxx_cv_func_hypotf_use=yes
59705 else
59706 echo "$as_me: failed program was:" >&5
59707 sed 's/^/| /' conftest.$ac_ext >&5
59709 glibcxx_cv_func_hypotf_use=no
59711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59712 ac_ext=c
59713 ac_cpp='$CPP $CPPFLAGS'
59714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59722 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59723 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59725 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59727 for ac_func in hypotf
59729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59730 echo "$as_me:$LINENO: checking for $ac_func" >&5
59731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59732 if eval "test \"\${$as_ac_var+set}\" = set"; then
59733 echo $ECHO_N "(cached) $ECHO_C" >&6
59734 else
59735 if test x$gcc_no_link = xyes; then
59736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59738 { (exit 1); exit 1; }; }
59740 cat >conftest.$ac_ext <<_ACEOF
59741 /* confdefs.h. */
59742 _ACEOF
59743 cat confdefs.h >>conftest.$ac_ext
59744 cat >>conftest.$ac_ext <<_ACEOF
59745 /* end confdefs.h. */
59746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59748 #define $ac_func innocuous_$ac_func
59750 /* System header to define __stub macros and hopefully few prototypes,
59751 which can conflict with char $ac_func (); below.
59752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59753 <limits.h> exists even on freestanding compilers. */
59755 #ifdef __STDC__
59756 # include <limits.h>
59757 #else
59758 # include <assert.h>
59759 #endif
59761 #undef $ac_func
59763 /* Override any gcc2 internal prototype to avoid an error. */
59764 #ifdef __cplusplus
59765 extern "C"
59767 #endif
59768 /* We use char because int might match the return type of a gcc2
59769 builtin and then its argument prototype would still apply. */
59770 char $ac_func ();
59771 /* The GNU C library defines this for functions which it implements
59772 to always fail with ENOSYS. Some functions are actually named
59773 something starting with __ and the normal name is an alias. */
59774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59775 choke me
59776 #else
59777 char (*f) () = $ac_func;
59778 #endif
59779 #ifdef __cplusplus
59781 #endif
59784 main ()
59786 return f != $ac_func;
59788 return 0;
59790 _ACEOF
59791 rm -f conftest.$ac_objext conftest$ac_exeext
59792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59793 (eval $ac_link) 2>conftest.er1
59794 ac_status=$?
59795 grep -v '^ *+' conftest.er1 >conftest.err
59796 rm -f conftest.er1
59797 cat conftest.err >&5
59798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59799 (exit $ac_status); } &&
59800 { ac_try='test -z "$ac_c_werror_flag"
59801 || test ! -s conftest.err'
59802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59803 (eval $ac_try) 2>&5
59804 ac_status=$?
59805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59806 (exit $ac_status); }; } &&
59807 { ac_try='test -s conftest$ac_exeext'
59808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59809 (eval $ac_try) 2>&5
59810 ac_status=$?
59811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59812 (exit $ac_status); }; }; then
59813 eval "$as_ac_var=yes"
59814 else
59815 echo "$as_me: failed program was:" >&5
59816 sed 's/^/| /' conftest.$ac_ext >&5
59818 eval "$as_ac_var=no"
59820 rm -f conftest.err conftest.$ac_objext \
59821 conftest$ac_exeext conftest.$ac_ext
59823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59825 if test `eval echo '${'$as_ac_var'}'` = yes; then
59826 cat >>confdefs.h <<_ACEOF
59827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59828 _ACEOF
59831 done
59833 else
59835 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59836 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59837 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59838 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59839 echo $ECHO_N "(cached) $ECHO_C" >&6
59840 else
59844 ac_ext=cc
59845 ac_cpp='$CXXCPP $CPPFLAGS'
59846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59850 cat >conftest.$ac_ext <<_ACEOF
59851 /* confdefs.h. */
59852 _ACEOF
59853 cat confdefs.h >>conftest.$ac_ext
59854 cat >>conftest.$ac_ext <<_ACEOF
59855 /* end confdefs.h. */
59856 #include <math.h>
59858 main ()
59860 _hypotf(0, 0);
59862 return 0;
59864 _ACEOF
59865 rm -f conftest.$ac_objext
59866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59867 (eval $ac_compile) 2>conftest.er1
59868 ac_status=$?
59869 grep -v '^ *+' conftest.er1 >conftest.err
59870 rm -f conftest.er1
59871 cat conftest.err >&5
59872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873 (exit $ac_status); } &&
59874 { ac_try='test -z "$ac_cxx_werror_flag"
59875 || test ! -s conftest.err'
59876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59877 (eval $ac_try) 2>&5
59878 ac_status=$?
59879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59880 (exit $ac_status); }; } &&
59881 { ac_try='test -s conftest.$ac_objext'
59882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59883 (eval $ac_try) 2>&5
59884 ac_status=$?
59885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59886 (exit $ac_status); }; }; then
59887 glibcxx_cv_func__hypotf_use=yes
59888 else
59889 echo "$as_me: failed program was:" >&5
59890 sed 's/^/| /' conftest.$ac_ext >&5
59892 glibcxx_cv_func__hypotf_use=no
59894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59895 ac_ext=c
59896 ac_cpp='$CPP $CPPFLAGS'
59897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59905 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59906 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59908 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59910 for ac_func in _hypotf
59912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59913 echo "$as_me:$LINENO: checking for $ac_func" >&5
59914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59915 if eval "test \"\${$as_ac_var+set}\" = set"; then
59916 echo $ECHO_N "(cached) $ECHO_C" >&6
59917 else
59918 if test x$gcc_no_link = xyes; then
59919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59921 { (exit 1); exit 1; }; }
59923 cat >conftest.$ac_ext <<_ACEOF
59924 /* confdefs.h. */
59925 _ACEOF
59926 cat confdefs.h >>conftest.$ac_ext
59927 cat >>conftest.$ac_ext <<_ACEOF
59928 /* end confdefs.h. */
59929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59931 #define $ac_func innocuous_$ac_func
59933 /* System header to define __stub macros and hopefully few prototypes,
59934 which can conflict with char $ac_func (); below.
59935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59936 <limits.h> exists even on freestanding compilers. */
59938 #ifdef __STDC__
59939 # include <limits.h>
59940 #else
59941 # include <assert.h>
59942 #endif
59944 #undef $ac_func
59946 /* Override any gcc2 internal prototype to avoid an error. */
59947 #ifdef __cplusplus
59948 extern "C"
59950 #endif
59951 /* We use char because int might match the return type of a gcc2
59952 builtin and then its argument prototype would still apply. */
59953 char $ac_func ();
59954 /* The GNU C library defines this for functions which it implements
59955 to always fail with ENOSYS. Some functions are actually named
59956 something starting with __ and the normal name is an alias. */
59957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59958 choke me
59959 #else
59960 char (*f) () = $ac_func;
59961 #endif
59962 #ifdef __cplusplus
59964 #endif
59967 main ()
59969 return f != $ac_func;
59971 return 0;
59973 _ACEOF
59974 rm -f conftest.$ac_objext conftest$ac_exeext
59975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59976 (eval $ac_link) 2>conftest.er1
59977 ac_status=$?
59978 grep -v '^ *+' conftest.er1 >conftest.err
59979 rm -f conftest.er1
59980 cat conftest.err >&5
59981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59982 (exit $ac_status); } &&
59983 { ac_try='test -z "$ac_c_werror_flag"
59984 || test ! -s conftest.err'
59985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59986 (eval $ac_try) 2>&5
59987 ac_status=$?
59988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59989 (exit $ac_status); }; } &&
59990 { ac_try='test -s conftest$ac_exeext'
59991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59992 (eval $ac_try) 2>&5
59993 ac_status=$?
59994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59995 (exit $ac_status); }; }; then
59996 eval "$as_ac_var=yes"
59997 else
59998 echo "$as_me: failed program was:" >&5
59999 sed 's/^/| /' conftest.$ac_ext >&5
60001 eval "$as_ac_var=no"
60003 rm -f conftest.err conftest.$ac_objext \
60004 conftest$ac_exeext conftest.$ac_ext
60006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60008 if test `eval echo '${'$as_ac_var'}'` = yes; then
60009 cat >>confdefs.h <<_ACEOF
60010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60011 _ACEOF
60014 done
60021 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60022 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60023 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60024 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60025 echo $ECHO_N "(cached) $ECHO_C" >&6
60026 else
60030 ac_ext=cc
60031 ac_cpp='$CXXCPP $CPPFLAGS'
60032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60036 cat >conftest.$ac_ext <<_ACEOF
60037 /* confdefs.h. */
60038 _ACEOF
60039 cat confdefs.h >>conftest.$ac_ext
60040 cat >>conftest.$ac_ext <<_ACEOF
60041 /* end confdefs.h. */
60042 #include <math.h>
60044 main ()
60046 ldexpf(0, 0);
60048 return 0;
60050 _ACEOF
60051 rm -f conftest.$ac_objext
60052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60053 (eval $ac_compile) 2>conftest.er1
60054 ac_status=$?
60055 grep -v '^ *+' conftest.er1 >conftest.err
60056 rm -f conftest.er1
60057 cat conftest.err >&5
60058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60059 (exit $ac_status); } &&
60060 { ac_try='test -z "$ac_cxx_werror_flag"
60061 || test ! -s conftest.err'
60062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60063 (eval $ac_try) 2>&5
60064 ac_status=$?
60065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60066 (exit $ac_status); }; } &&
60067 { ac_try='test -s conftest.$ac_objext'
60068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60069 (eval $ac_try) 2>&5
60070 ac_status=$?
60071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60072 (exit $ac_status); }; }; then
60073 glibcxx_cv_func_ldexpf_use=yes
60074 else
60075 echo "$as_me: failed program was:" >&5
60076 sed 's/^/| /' conftest.$ac_ext >&5
60078 glibcxx_cv_func_ldexpf_use=no
60080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60081 ac_ext=c
60082 ac_cpp='$CPP $CPPFLAGS'
60083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60092 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60094 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60096 for ac_func in ldexpf
60098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60099 echo "$as_me:$LINENO: checking for $ac_func" >&5
60100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60101 if eval "test \"\${$as_ac_var+set}\" = set"; then
60102 echo $ECHO_N "(cached) $ECHO_C" >&6
60103 else
60104 if test x$gcc_no_link = xyes; then
60105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60107 { (exit 1); exit 1; }; }
60109 cat >conftest.$ac_ext <<_ACEOF
60110 /* confdefs.h. */
60111 _ACEOF
60112 cat confdefs.h >>conftest.$ac_ext
60113 cat >>conftest.$ac_ext <<_ACEOF
60114 /* end confdefs.h. */
60115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60117 #define $ac_func innocuous_$ac_func
60119 /* System header to define __stub macros and hopefully few prototypes,
60120 which can conflict with char $ac_func (); below.
60121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60122 <limits.h> exists even on freestanding compilers. */
60124 #ifdef __STDC__
60125 # include <limits.h>
60126 #else
60127 # include <assert.h>
60128 #endif
60130 #undef $ac_func
60132 /* Override any gcc2 internal prototype to avoid an error. */
60133 #ifdef __cplusplus
60134 extern "C"
60136 #endif
60137 /* We use char because int might match the return type of a gcc2
60138 builtin and then its argument prototype would still apply. */
60139 char $ac_func ();
60140 /* The GNU C library defines this for functions which it implements
60141 to always fail with ENOSYS. Some functions are actually named
60142 something starting with __ and the normal name is an alias. */
60143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60144 choke me
60145 #else
60146 char (*f) () = $ac_func;
60147 #endif
60148 #ifdef __cplusplus
60150 #endif
60153 main ()
60155 return f != $ac_func;
60157 return 0;
60159 _ACEOF
60160 rm -f conftest.$ac_objext conftest$ac_exeext
60161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60162 (eval $ac_link) 2>conftest.er1
60163 ac_status=$?
60164 grep -v '^ *+' conftest.er1 >conftest.err
60165 rm -f conftest.er1
60166 cat conftest.err >&5
60167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60168 (exit $ac_status); } &&
60169 { ac_try='test -z "$ac_c_werror_flag"
60170 || test ! -s conftest.err'
60171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60172 (eval $ac_try) 2>&5
60173 ac_status=$?
60174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60175 (exit $ac_status); }; } &&
60176 { ac_try='test -s conftest$ac_exeext'
60177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60178 (eval $ac_try) 2>&5
60179 ac_status=$?
60180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60181 (exit $ac_status); }; }; then
60182 eval "$as_ac_var=yes"
60183 else
60184 echo "$as_me: failed program was:" >&5
60185 sed 's/^/| /' conftest.$ac_ext >&5
60187 eval "$as_ac_var=no"
60189 rm -f conftest.err conftest.$ac_objext \
60190 conftest$ac_exeext conftest.$ac_ext
60192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60194 if test `eval echo '${'$as_ac_var'}'` = yes; then
60195 cat >>confdefs.h <<_ACEOF
60196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60197 _ACEOF
60200 done
60202 else
60204 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60205 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60206 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60207 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60208 echo $ECHO_N "(cached) $ECHO_C" >&6
60209 else
60213 ac_ext=cc
60214 ac_cpp='$CXXCPP $CPPFLAGS'
60215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60219 cat >conftest.$ac_ext <<_ACEOF
60220 /* confdefs.h. */
60221 _ACEOF
60222 cat confdefs.h >>conftest.$ac_ext
60223 cat >>conftest.$ac_ext <<_ACEOF
60224 /* end confdefs.h. */
60225 #include <math.h>
60227 main ()
60229 _ldexpf(0, 0);
60231 return 0;
60233 _ACEOF
60234 rm -f conftest.$ac_objext
60235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60236 (eval $ac_compile) 2>conftest.er1
60237 ac_status=$?
60238 grep -v '^ *+' conftest.er1 >conftest.err
60239 rm -f conftest.er1
60240 cat conftest.err >&5
60241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60242 (exit $ac_status); } &&
60243 { ac_try='test -z "$ac_cxx_werror_flag"
60244 || test ! -s conftest.err'
60245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60246 (eval $ac_try) 2>&5
60247 ac_status=$?
60248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60249 (exit $ac_status); }; } &&
60250 { ac_try='test -s conftest.$ac_objext'
60251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60252 (eval $ac_try) 2>&5
60253 ac_status=$?
60254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60255 (exit $ac_status); }; }; then
60256 glibcxx_cv_func__ldexpf_use=yes
60257 else
60258 echo "$as_me: failed program was:" >&5
60259 sed 's/^/| /' conftest.$ac_ext >&5
60261 glibcxx_cv_func__ldexpf_use=no
60263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60264 ac_ext=c
60265 ac_cpp='$CPP $CPPFLAGS'
60266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60275 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60277 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60279 for ac_func in _ldexpf
60281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 echo "$as_me:$LINENO: checking for $ac_func" >&5
60283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60284 if eval "test \"\${$as_ac_var+set}\" = set"; then
60285 echo $ECHO_N "(cached) $ECHO_C" >&6
60286 else
60287 if test x$gcc_no_link = xyes; then
60288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60290 { (exit 1); exit 1; }; }
60292 cat >conftest.$ac_ext <<_ACEOF
60293 /* confdefs.h. */
60294 _ACEOF
60295 cat confdefs.h >>conftest.$ac_ext
60296 cat >>conftest.$ac_ext <<_ACEOF
60297 /* end confdefs.h. */
60298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60300 #define $ac_func innocuous_$ac_func
60302 /* System header to define __stub macros and hopefully few prototypes,
60303 which can conflict with char $ac_func (); below.
60304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60305 <limits.h> exists even on freestanding compilers. */
60307 #ifdef __STDC__
60308 # include <limits.h>
60309 #else
60310 # include <assert.h>
60311 #endif
60313 #undef $ac_func
60315 /* Override any gcc2 internal prototype to avoid an error. */
60316 #ifdef __cplusplus
60317 extern "C"
60319 #endif
60320 /* We use char because int might match the return type of a gcc2
60321 builtin and then its argument prototype would still apply. */
60322 char $ac_func ();
60323 /* The GNU C library defines this for functions which it implements
60324 to always fail with ENOSYS. Some functions are actually named
60325 something starting with __ and the normal name is an alias. */
60326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60327 choke me
60328 #else
60329 char (*f) () = $ac_func;
60330 #endif
60331 #ifdef __cplusplus
60333 #endif
60336 main ()
60338 return f != $ac_func;
60340 return 0;
60342 _ACEOF
60343 rm -f conftest.$ac_objext conftest$ac_exeext
60344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60345 (eval $ac_link) 2>conftest.er1
60346 ac_status=$?
60347 grep -v '^ *+' conftest.er1 >conftest.err
60348 rm -f conftest.er1
60349 cat conftest.err >&5
60350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60351 (exit $ac_status); } &&
60352 { ac_try='test -z "$ac_c_werror_flag"
60353 || test ! -s conftest.err'
60354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60355 (eval $ac_try) 2>&5
60356 ac_status=$?
60357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60358 (exit $ac_status); }; } &&
60359 { ac_try='test -s conftest$ac_exeext'
60360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60361 (eval $ac_try) 2>&5
60362 ac_status=$?
60363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60364 (exit $ac_status); }; }; then
60365 eval "$as_ac_var=yes"
60366 else
60367 echo "$as_me: failed program was:" >&5
60368 sed 's/^/| /' conftest.$ac_ext >&5
60370 eval "$as_ac_var=no"
60372 rm -f conftest.err conftest.$ac_objext \
60373 conftest$ac_exeext conftest.$ac_ext
60375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60377 if test `eval echo '${'$as_ac_var'}'` = yes; then
60378 cat >>confdefs.h <<_ACEOF
60379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60380 _ACEOF
60383 done
60390 echo "$as_me:$LINENO: checking for logf declaration" >&5
60391 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60392 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60393 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60394 echo $ECHO_N "(cached) $ECHO_C" >&6
60395 else
60399 ac_ext=cc
60400 ac_cpp='$CXXCPP $CPPFLAGS'
60401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60405 cat >conftest.$ac_ext <<_ACEOF
60406 /* confdefs.h. */
60407 _ACEOF
60408 cat confdefs.h >>conftest.$ac_ext
60409 cat >>conftest.$ac_ext <<_ACEOF
60410 /* end confdefs.h. */
60411 #include <math.h>
60412 #ifdef HAVE_IEEEFP_H
60413 #include <ieeefp.h>
60414 #endif
60417 main ()
60419 logf(0);
60421 return 0;
60423 _ACEOF
60424 rm -f conftest.$ac_objext
60425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60426 (eval $ac_compile) 2>conftest.er1
60427 ac_status=$?
60428 grep -v '^ *+' conftest.er1 >conftest.err
60429 rm -f conftest.er1
60430 cat conftest.err >&5
60431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60432 (exit $ac_status); } &&
60433 { ac_try='test -z "$ac_cxx_werror_flag"
60434 || test ! -s conftest.err'
60435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60436 (eval $ac_try) 2>&5
60437 ac_status=$?
60438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60439 (exit $ac_status); }; } &&
60440 { ac_try='test -s conftest.$ac_objext'
60441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60442 (eval $ac_try) 2>&5
60443 ac_status=$?
60444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60445 (exit $ac_status); }; }; then
60446 glibcxx_cv_func_logf_use=yes
60447 else
60448 echo "$as_me: failed program was:" >&5
60449 sed 's/^/| /' conftest.$ac_ext >&5
60451 glibcxx_cv_func_logf_use=no
60453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60454 ac_ext=c
60455 ac_cpp='$CPP $CPPFLAGS'
60456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60465 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60467 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60469 for ac_func in logf
60471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60472 echo "$as_me:$LINENO: checking for $ac_func" >&5
60473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60474 if eval "test \"\${$as_ac_var+set}\" = set"; then
60475 echo $ECHO_N "(cached) $ECHO_C" >&6
60476 else
60477 if test x$gcc_no_link = xyes; then
60478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60480 { (exit 1); exit 1; }; }
60482 cat >conftest.$ac_ext <<_ACEOF
60483 /* confdefs.h. */
60484 _ACEOF
60485 cat confdefs.h >>conftest.$ac_ext
60486 cat >>conftest.$ac_ext <<_ACEOF
60487 /* end confdefs.h. */
60488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60490 #define $ac_func innocuous_$ac_func
60492 /* System header to define __stub macros and hopefully few prototypes,
60493 which can conflict with char $ac_func (); below.
60494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60495 <limits.h> exists even on freestanding compilers. */
60497 #ifdef __STDC__
60498 # include <limits.h>
60499 #else
60500 # include <assert.h>
60501 #endif
60503 #undef $ac_func
60505 /* Override any gcc2 internal prototype to avoid an error. */
60506 #ifdef __cplusplus
60507 extern "C"
60509 #endif
60510 /* We use char because int might match the return type of a gcc2
60511 builtin and then its argument prototype would still apply. */
60512 char $ac_func ();
60513 /* The GNU C library defines this for functions which it implements
60514 to always fail with ENOSYS. Some functions are actually named
60515 something starting with __ and the normal name is an alias. */
60516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60517 choke me
60518 #else
60519 char (*f) () = $ac_func;
60520 #endif
60521 #ifdef __cplusplus
60523 #endif
60526 main ()
60528 return f != $ac_func;
60530 return 0;
60532 _ACEOF
60533 rm -f conftest.$ac_objext conftest$ac_exeext
60534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60535 (eval $ac_link) 2>conftest.er1
60536 ac_status=$?
60537 grep -v '^ *+' conftest.er1 >conftest.err
60538 rm -f conftest.er1
60539 cat conftest.err >&5
60540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60541 (exit $ac_status); } &&
60542 { ac_try='test -z "$ac_c_werror_flag"
60543 || test ! -s conftest.err'
60544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60545 (eval $ac_try) 2>&5
60546 ac_status=$?
60547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60548 (exit $ac_status); }; } &&
60549 { ac_try='test -s conftest$ac_exeext'
60550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60551 (eval $ac_try) 2>&5
60552 ac_status=$?
60553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60554 (exit $ac_status); }; }; then
60555 eval "$as_ac_var=yes"
60556 else
60557 echo "$as_me: failed program was:" >&5
60558 sed 's/^/| /' conftest.$ac_ext >&5
60560 eval "$as_ac_var=no"
60562 rm -f conftest.err conftest.$ac_objext \
60563 conftest$ac_exeext conftest.$ac_ext
60565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60567 if test `eval echo '${'$as_ac_var'}'` = yes; then
60568 cat >>confdefs.h <<_ACEOF
60569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60570 _ACEOF
60573 done
60575 else
60577 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60578 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60579 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60580 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60581 echo $ECHO_N "(cached) $ECHO_C" >&6
60582 else
60586 ac_ext=cc
60587 ac_cpp='$CXXCPP $CPPFLAGS'
60588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60592 cat >conftest.$ac_ext <<_ACEOF
60593 /* confdefs.h. */
60594 _ACEOF
60595 cat confdefs.h >>conftest.$ac_ext
60596 cat >>conftest.$ac_ext <<_ACEOF
60597 /* end confdefs.h. */
60598 #include <math.h>
60599 #ifdef HAVE_IEEEFP_H
60600 #include <ieeefp.h>
60601 #endif
60604 main ()
60606 _logf(0);
60608 return 0;
60610 _ACEOF
60611 rm -f conftest.$ac_objext
60612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60613 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__logf_use=yes
60634 else
60635 echo "$as_me: failed program was:" >&5
60636 sed 's/^/| /' conftest.$ac_ext >&5
60638 glibcxx_cv_func__logf_use=no
60640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60641 ac_ext=c
60642 ac_cpp='$CPP $CPPFLAGS'
60643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60652 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60654 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60656 for ac_func in _logf
60658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60659 echo "$as_me:$LINENO: checking for $ac_func" >&5
60660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60661 if eval "test \"\${$as_ac_var+set}\" = set"; then
60662 echo $ECHO_N "(cached) $ECHO_C" >&6
60663 else
60664 if test x$gcc_no_link = xyes; then
60665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60667 { (exit 1); exit 1; }; }
60669 cat >conftest.$ac_ext <<_ACEOF
60670 /* confdefs.h. */
60671 _ACEOF
60672 cat confdefs.h >>conftest.$ac_ext
60673 cat >>conftest.$ac_ext <<_ACEOF
60674 /* end confdefs.h. */
60675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60677 #define $ac_func innocuous_$ac_func
60679 /* System header to define __stub macros and hopefully few prototypes,
60680 which can conflict with char $ac_func (); below.
60681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60682 <limits.h> exists even on freestanding compilers. */
60684 #ifdef __STDC__
60685 # include <limits.h>
60686 #else
60687 # include <assert.h>
60688 #endif
60690 #undef $ac_func
60692 /* Override any gcc2 internal prototype to avoid an error. */
60693 #ifdef __cplusplus
60694 extern "C"
60696 #endif
60697 /* We use char because int might match the return type of a gcc2
60698 builtin and then its argument prototype would still apply. */
60699 char $ac_func ();
60700 /* The GNU C library defines this for functions which it implements
60701 to always fail with ENOSYS. Some functions are actually named
60702 something starting with __ and the normal name is an alias. */
60703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60704 choke me
60705 #else
60706 char (*f) () = $ac_func;
60707 #endif
60708 #ifdef __cplusplus
60710 #endif
60713 main ()
60715 return f != $ac_func;
60717 return 0;
60719 _ACEOF
60720 rm -f conftest.$ac_objext conftest$ac_exeext
60721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60722 (eval $ac_link) 2>conftest.er1
60723 ac_status=$?
60724 grep -v '^ *+' conftest.er1 >conftest.err
60725 rm -f conftest.er1
60726 cat conftest.err >&5
60727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60728 (exit $ac_status); } &&
60729 { ac_try='test -z "$ac_c_werror_flag"
60730 || test ! -s conftest.err'
60731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60732 (eval $ac_try) 2>&5
60733 ac_status=$?
60734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60735 (exit $ac_status); }; } &&
60736 { ac_try='test -s conftest$ac_exeext'
60737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60738 (eval $ac_try) 2>&5
60739 ac_status=$?
60740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60741 (exit $ac_status); }; }; then
60742 eval "$as_ac_var=yes"
60743 else
60744 echo "$as_me: failed program was:" >&5
60745 sed 's/^/| /' conftest.$ac_ext >&5
60747 eval "$as_ac_var=no"
60749 rm -f conftest.err conftest.$ac_objext \
60750 conftest$ac_exeext conftest.$ac_ext
60752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60754 if test `eval echo '${'$as_ac_var'}'` = yes; then
60755 cat >>confdefs.h <<_ACEOF
60756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60757 _ACEOF
60760 done
60767 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60768 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60769 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60770 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60771 echo $ECHO_N "(cached) $ECHO_C" >&6
60772 else
60776 ac_ext=cc
60777 ac_cpp='$CXXCPP $CPPFLAGS'
60778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60782 cat >conftest.$ac_ext <<_ACEOF
60783 /* confdefs.h. */
60784 _ACEOF
60785 cat confdefs.h >>conftest.$ac_ext
60786 cat >>conftest.$ac_ext <<_ACEOF
60787 /* end confdefs.h. */
60788 #include <math.h>
60789 #ifdef HAVE_IEEEFP_H
60790 #include <ieeefp.h>
60791 #endif
60794 main ()
60796 log10f(0);
60798 return 0;
60800 _ACEOF
60801 rm -f conftest.$ac_objext
60802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60803 (eval $ac_compile) 2>conftest.er1
60804 ac_status=$?
60805 grep -v '^ *+' conftest.er1 >conftest.err
60806 rm -f conftest.er1
60807 cat conftest.err >&5
60808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60809 (exit $ac_status); } &&
60810 { ac_try='test -z "$ac_cxx_werror_flag"
60811 || test ! -s conftest.err'
60812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60813 (eval $ac_try) 2>&5
60814 ac_status=$?
60815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60816 (exit $ac_status); }; } &&
60817 { ac_try='test -s conftest.$ac_objext'
60818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60819 (eval $ac_try) 2>&5
60820 ac_status=$?
60821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60822 (exit $ac_status); }; }; then
60823 glibcxx_cv_func_log10f_use=yes
60824 else
60825 echo "$as_me: failed program was:" >&5
60826 sed 's/^/| /' conftest.$ac_ext >&5
60828 glibcxx_cv_func_log10f_use=no
60830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60831 ac_ext=c
60832 ac_cpp='$CPP $CPPFLAGS'
60833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60842 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60844 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60846 for ac_func in log10f
60848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60849 echo "$as_me:$LINENO: checking for $ac_func" >&5
60850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60851 if eval "test \"\${$as_ac_var+set}\" = set"; then
60852 echo $ECHO_N "(cached) $ECHO_C" >&6
60853 else
60854 if test x$gcc_no_link = xyes; then
60855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60857 { (exit 1); exit 1; }; }
60859 cat >conftest.$ac_ext <<_ACEOF
60860 /* confdefs.h. */
60861 _ACEOF
60862 cat confdefs.h >>conftest.$ac_ext
60863 cat >>conftest.$ac_ext <<_ACEOF
60864 /* end confdefs.h. */
60865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60867 #define $ac_func innocuous_$ac_func
60869 /* System header to define __stub macros and hopefully few prototypes,
60870 which can conflict with char $ac_func (); below.
60871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60872 <limits.h> exists even on freestanding compilers. */
60874 #ifdef __STDC__
60875 # include <limits.h>
60876 #else
60877 # include <assert.h>
60878 #endif
60880 #undef $ac_func
60882 /* Override any gcc2 internal prototype to avoid an error. */
60883 #ifdef __cplusplus
60884 extern "C"
60886 #endif
60887 /* We use char because int might match the return type of a gcc2
60888 builtin and then its argument prototype would still apply. */
60889 char $ac_func ();
60890 /* The GNU C library defines this for functions which it implements
60891 to always fail with ENOSYS. Some functions are actually named
60892 something starting with __ and the normal name is an alias. */
60893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60894 choke me
60895 #else
60896 char (*f) () = $ac_func;
60897 #endif
60898 #ifdef __cplusplus
60900 #endif
60903 main ()
60905 return f != $ac_func;
60907 return 0;
60909 _ACEOF
60910 rm -f conftest.$ac_objext conftest$ac_exeext
60911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60912 (eval $ac_link) 2>conftest.er1
60913 ac_status=$?
60914 grep -v '^ *+' conftest.er1 >conftest.err
60915 rm -f conftest.er1
60916 cat conftest.err >&5
60917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60918 (exit $ac_status); } &&
60919 { ac_try='test -z "$ac_c_werror_flag"
60920 || test ! -s conftest.err'
60921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60922 (eval $ac_try) 2>&5
60923 ac_status=$?
60924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60925 (exit $ac_status); }; } &&
60926 { ac_try='test -s conftest$ac_exeext'
60927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60928 (eval $ac_try) 2>&5
60929 ac_status=$?
60930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60931 (exit $ac_status); }; }; then
60932 eval "$as_ac_var=yes"
60933 else
60934 echo "$as_me: failed program was:" >&5
60935 sed 's/^/| /' conftest.$ac_ext >&5
60937 eval "$as_ac_var=no"
60939 rm -f conftest.err conftest.$ac_objext \
60940 conftest$ac_exeext conftest.$ac_ext
60942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60944 if test `eval echo '${'$as_ac_var'}'` = yes; then
60945 cat >>confdefs.h <<_ACEOF
60946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60947 _ACEOF
60950 done
60952 else
60954 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60955 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60956 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60957 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60958 echo $ECHO_N "(cached) $ECHO_C" >&6
60959 else
60963 ac_ext=cc
60964 ac_cpp='$CXXCPP $CPPFLAGS'
60965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60969 cat >conftest.$ac_ext <<_ACEOF
60970 /* confdefs.h. */
60971 _ACEOF
60972 cat confdefs.h >>conftest.$ac_ext
60973 cat >>conftest.$ac_ext <<_ACEOF
60974 /* end confdefs.h. */
60975 #include <math.h>
60976 #ifdef HAVE_IEEEFP_H
60977 #include <ieeefp.h>
60978 #endif
60981 main ()
60983 _log10f(0);
60985 return 0;
60987 _ACEOF
60988 rm -f conftest.$ac_objext
60989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60990 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__log10f_use=yes
61011 else
61012 echo "$as_me: failed program was:" >&5
61013 sed 's/^/| /' conftest.$ac_ext >&5
61015 glibcxx_cv_func__log10f_use=no
61017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61018 ac_ext=c
61019 ac_cpp='$CPP $CPPFLAGS'
61020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61029 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61031 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61033 for ac_func in _log10f
61035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61036 echo "$as_me:$LINENO: checking for $ac_func" >&5
61037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61038 if eval "test \"\${$as_ac_var+set}\" = set"; then
61039 echo $ECHO_N "(cached) $ECHO_C" >&6
61040 else
61041 if test x$gcc_no_link = xyes; then
61042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61044 { (exit 1); exit 1; }; }
61046 cat >conftest.$ac_ext <<_ACEOF
61047 /* confdefs.h. */
61048 _ACEOF
61049 cat confdefs.h >>conftest.$ac_ext
61050 cat >>conftest.$ac_ext <<_ACEOF
61051 /* end confdefs.h. */
61052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61054 #define $ac_func innocuous_$ac_func
61056 /* System header to define __stub macros and hopefully few prototypes,
61057 which can conflict with char $ac_func (); below.
61058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61059 <limits.h> exists even on freestanding compilers. */
61061 #ifdef __STDC__
61062 # include <limits.h>
61063 #else
61064 # include <assert.h>
61065 #endif
61067 #undef $ac_func
61069 /* Override any gcc2 internal prototype to avoid an error. */
61070 #ifdef __cplusplus
61071 extern "C"
61073 #endif
61074 /* We use char because int might match the return type of a gcc2
61075 builtin and then its argument prototype would still apply. */
61076 char $ac_func ();
61077 /* The GNU C library defines this for functions which it implements
61078 to always fail with ENOSYS. Some functions are actually named
61079 something starting with __ and the normal name is an alias. */
61080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61081 choke me
61082 #else
61083 char (*f) () = $ac_func;
61084 #endif
61085 #ifdef __cplusplus
61087 #endif
61090 main ()
61092 return f != $ac_func;
61094 return 0;
61096 _ACEOF
61097 rm -f conftest.$ac_objext conftest$ac_exeext
61098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61099 (eval $ac_link) 2>conftest.er1
61100 ac_status=$?
61101 grep -v '^ *+' conftest.er1 >conftest.err
61102 rm -f conftest.er1
61103 cat conftest.err >&5
61104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61105 (exit $ac_status); } &&
61106 { ac_try='test -z "$ac_c_werror_flag"
61107 || test ! -s conftest.err'
61108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61109 (eval $ac_try) 2>&5
61110 ac_status=$?
61111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61112 (exit $ac_status); }; } &&
61113 { ac_try='test -s conftest$ac_exeext'
61114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61115 (eval $ac_try) 2>&5
61116 ac_status=$?
61117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61118 (exit $ac_status); }; }; then
61119 eval "$as_ac_var=yes"
61120 else
61121 echo "$as_me: failed program was:" >&5
61122 sed 's/^/| /' conftest.$ac_ext >&5
61124 eval "$as_ac_var=no"
61126 rm -f conftest.err conftest.$ac_objext \
61127 conftest$ac_exeext conftest.$ac_ext
61129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61131 if test `eval echo '${'$as_ac_var'}'` = yes; then
61132 cat >>confdefs.h <<_ACEOF
61133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61134 _ACEOF
61137 done
61144 echo "$as_me:$LINENO: checking for modff declaration" >&5
61145 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61146 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61147 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61148 echo $ECHO_N "(cached) $ECHO_C" >&6
61149 else
61153 ac_ext=cc
61154 ac_cpp='$CXXCPP $CPPFLAGS'
61155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61159 cat >conftest.$ac_ext <<_ACEOF
61160 /* confdefs.h. */
61161 _ACEOF
61162 cat confdefs.h >>conftest.$ac_ext
61163 cat >>conftest.$ac_ext <<_ACEOF
61164 /* end confdefs.h. */
61165 #include <math.h>
61167 main ()
61169 modff(0, 0);
61171 return 0;
61173 _ACEOF
61174 rm -f conftest.$ac_objext
61175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61176 (eval $ac_compile) 2>conftest.er1
61177 ac_status=$?
61178 grep -v '^ *+' conftest.er1 >conftest.err
61179 rm -f conftest.er1
61180 cat conftest.err >&5
61181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61182 (exit $ac_status); } &&
61183 { ac_try='test -z "$ac_cxx_werror_flag"
61184 || test ! -s conftest.err'
61185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61186 (eval $ac_try) 2>&5
61187 ac_status=$?
61188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61189 (exit $ac_status); }; } &&
61190 { ac_try='test -s conftest.$ac_objext'
61191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61192 (eval $ac_try) 2>&5
61193 ac_status=$?
61194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61195 (exit $ac_status); }; }; then
61196 glibcxx_cv_func_modff_use=yes
61197 else
61198 echo "$as_me: failed program was:" >&5
61199 sed 's/^/| /' conftest.$ac_ext >&5
61201 glibcxx_cv_func_modff_use=no
61203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61215 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61217 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61219 for ac_func in modff
61221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61222 echo "$as_me:$LINENO: checking for $ac_func" >&5
61223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61224 if eval "test \"\${$as_ac_var+set}\" = set"; then
61225 echo $ECHO_N "(cached) $ECHO_C" >&6
61226 else
61227 if test x$gcc_no_link = xyes; then
61228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61230 { (exit 1); exit 1; }; }
61232 cat >conftest.$ac_ext <<_ACEOF
61233 /* confdefs.h. */
61234 _ACEOF
61235 cat confdefs.h >>conftest.$ac_ext
61236 cat >>conftest.$ac_ext <<_ACEOF
61237 /* end confdefs.h. */
61238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61240 #define $ac_func innocuous_$ac_func
61242 /* System header to define __stub macros and hopefully few prototypes,
61243 which can conflict with char $ac_func (); below.
61244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61245 <limits.h> exists even on freestanding compilers. */
61247 #ifdef __STDC__
61248 # include <limits.h>
61249 #else
61250 # include <assert.h>
61251 #endif
61253 #undef $ac_func
61255 /* Override any gcc2 internal prototype to avoid an error. */
61256 #ifdef __cplusplus
61257 extern "C"
61259 #endif
61260 /* We use char because int might match the return type of a gcc2
61261 builtin and then its argument prototype would still apply. */
61262 char $ac_func ();
61263 /* The GNU C library defines this for functions which it implements
61264 to always fail with ENOSYS. Some functions are actually named
61265 something starting with __ and the normal name is an alias. */
61266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61267 choke me
61268 #else
61269 char (*f) () = $ac_func;
61270 #endif
61271 #ifdef __cplusplus
61273 #endif
61276 main ()
61278 return f != $ac_func;
61280 return 0;
61282 _ACEOF
61283 rm -f conftest.$ac_objext conftest$ac_exeext
61284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61285 (eval $ac_link) 2>conftest.er1
61286 ac_status=$?
61287 grep -v '^ *+' conftest.er1 >conftest.err
61288 rm -f conftest.er1
61289 cat conftest.err >&5
61290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61291 (exit $ac_status); } &&
61292 { ac_try='test -z "$ac_c_werror_flag"
61293 || test ! -s conftest.err'
61294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61295 (eval $ac_try) 2>&5
61296 ac_status=$?
61297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61298 (exit $ac_status); }; } &&
61299 { ac_try='test -s conftest$ac_exeext'
61300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61301 (eval $ac_try) 2>&5
61302 ac_status=$?
61303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61304 (exit $ac_status); }; }; then
61305 eval "$as_ac_var=yes"
61306 else
61307 echo "$as_me: failed program was:" >&5
61308 sed 's/^/| /' conftest.$ac_ext >&5
61310 eval "$as_ac_var=no"
61312 rm -f conftest.err conftest.$ac_objext \
61313 conftest$ac_exeext conftest.$ac_ext
61315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61317 if test `eval echo '${'$as_ac_var'}'` = yes; then
61318 cat >>confdefs.h <<_ACEOF
61319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61320 _ACEOF
61323 done
61325 else
61327 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61328 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61329 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61330 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61331 echo $ECHO_N "(cached) $ECHO_C" >&6
61332 else
61336 ac_ext=cc
61337 ac_cpp='$CXXCPP $CPPFLAGS'
61338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61342 cat >conftest.$ac_ext <<_ACEOF
61343 /* confdefs.h. */
61344 _ACEOF
61345 cat confdefs.h >>conftest.$ac_ext
61346 cat >>conftest.$ac_ext <<_ACEOF
61347 /* end confdefs.h. */
61348 #include <math.h>
61350 main ()
61352 _modff(0, 0);
61354 return 0;
61356 _ACEOF
61357 rm -f conftest.$ac_objext
61358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61359 (eval $ac_compile) 2>conftest.er1
61360 ac_status=$?
61361 grep -v '^ *+' conftest.er1 >conftest.err
61362 rm -f conftest.er1
61363 cat conftest.err >&5
61364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61365 (exit $ac_status); } &&
61366 { ac_try='test -z "$ac_cxx_werror_flag"
61367 || test ! -s conftest.err'
61368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61369 (eval $ac_try) 2>&5
61370 ac_status=$?
61371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61372 (exit $ac_status); }; } &&
61373 { ac_try='test -s conftest.$ac_objext'
61374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61375 (eval $ac_try) 2>&5
61376 ac_status=$?
61377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61378 (exit $ac_status); }; }; then
61379 glibcxx_cv_func__modff_use=yes
61380 else
61381 echo "$as_me: failed program was:" >&5
61382 sed 's/^/| /' conftest.$ac_ext >&5
61384 glibcxx_cv_func__modff_use=no
61386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61387 ac_ext=c
61388 ac_cpp='$CPP $CPPFLAGS'
61389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61398 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61400 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61402 for ac_func in _modff
61404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61405 echo "$as_me:$LINENO: checking for $ac_func" >&5
61406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61407 if eval "test \"\${$as_ac_var+set}\" = set"; then
61408 echo $ECHO_N "(cached) $ECHO_C" >&6
61409 else
61410 if test x$gcc_no_link = xyes; then
61411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61413 { (exit 1); exit 1; }; }
61415 cat >conftest.$ac_ext <<_ACEOF
61416 /* confdefs.h. */
61417 _ACEOF
61418 cat confdefs.h >>conftest.$ac_ext
61419 cat >>conftest.$ac_ext <<_ACEOF
61420 /* end confdefs.h. */
61421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61423 #define $ac_func innocuous_$ac_func
61425 /* System header to define __stub macros and hopefully few prototypes,
61426 which can conflict with char $ac_func (); below.
61427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61428 <limits.h> exists even on freestanding compilers. */
61430 #ifdef __STDC__
61431 # include <limits.h>
61432 #else
61433 # include <assert.h>
61434 #endif
61436 #undef $ac_func
61438 /* Override any gcc2 internal prototype to avoid an error. */
61439 #ifdef __cplusplus
61440 extern "C"
61442 #endif
61443 /* We use char because int might match the return type of a gcc2
61444 builtin and then its argument prototype would still apply. */
61445 char $ac_func ();
61446 /* The GNU C library defines this for functions which it implements
61447 to always fail with ENOSYS. Some functions are actually named
61448 something starting with __ and the normal name is an alias. */
61449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61450 choke me
61451 #else
61452 char (*f) () = $ac_func;
61453 #endif
61454 #ifdef __cplusplus
61456 #endif
61459 main ()
61461 return f != $ac_func;
61463 return 0;
61465 _ACEOF
61466 rm -f conftest.$ac_objext conftest$ac_exeext
61467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61468 (eval $ac_link) 2>conftest.er1
61469 ac_status=$?
61470 grep -v '^ *+' conftest.er1 >conftest.err
61471 rm -f conftest.er1
61472 cat conftest.err >&5
61473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61474 (exit $ac_status); } &&
61475 { ac_try='test -z "$ac_c_werror_flag"
61476 || test ! -s conftest.err'
61477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61478 (eval $ac_try) 2>&5
61479 ac_status=$?
61480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61481 (exit $ac_status); }; } &&
61482 { ac_try='test -s conftest$ac_exeext'
61483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61484 (eval $ac_try) 2>&5
61485 ac_status=$?
61486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61487 (exit $ac_status); }; }; then
61488 eval "$as_ac_var=yes"
61489 else
61490 echo "$as_me: failed program was:" >&5
61491 sed 's/^/| /' conftest.$ac_ext >&5
61493 eval "$as_ac_var=no"
61495 rm -f conftest.err conftest.$ac_objext \
61496 conftest$ac_exeext conftest.$ac_ext
61498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61500 if test `eval echo '${'$as_ac_var'}'` = yes; then
61501 cat >>confdefs.h <<_ACEOF
61502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61503 _ACEOF
61506 done
61513 echo "$as_me:$LINENO: checking for powf declaration" >&5
61514 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61515 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61516 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61517 echo $ECHO_N "(cached) $ECHO_C" >&6
61518 else
61522 ac_ext=cc
61523 ac_cpp='$CXXCPP $CPPFLAGS'
61524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61528 cat >conftest.$ac_ext <<_ACEOF
61529 /* confdefs.h. */
61530 _ACEOF
61531 cat confdefs.h >>conftest.$ac_ext
61532 cat >>conftest.$ac_ext <<_ACEOF
61533 /* end confdefs.h. */
61534 #include <math.h>
61536 main ()
61538 powf(0, 0);
61540 return 0;
61542 _ACEOF
61543 rm -f conftest.$ac_objext
61544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61545 (eval $ac_compile) 2>conftest.er1
61546 ac_status=$?
61547 grep -v '^ *+' conftest.er1 >conftest.err
61548 rm -f conftest.er1
61549 cat conftest.err >&5
61550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61551 (exit $ac_status); } &&
61552 { ac_try='test -z "$ac_cxx_werror_flag"
61553 || test ! -s conftest.err'
61554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61555 (eval $ac_try) 2>&5
61556 ac_status=$?
61557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61558 (exit $ac_status); }; } &&
61559 { ac_try='test -s conftest.$ac_objext'
61560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61561 (eval $ac_try) 2>&5
61562 ac_status=$?
61563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61564 (exit $ac_status); }; }; then
61565 glibcxx_cv_func_powf_use=yes
61566 else
61567 echo "$as_me: failed program was:" >&5
61568 sed 's/^/| /' conftest.$ac_ext >&5
61570 glibcxx_cv_func_powf_use=no
61572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61573 ac_ext=c
61574 ac_cpp='$CPP $CPPFLAGS'
61575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61584 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61586 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61588 for ac_func in powf
61590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61591 echo "$as_me:$LINENO: checking for $ac_func" >&5
61592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61593 if eval "test \"\${$as_ac_var+set}\" = set"; then
61594 echo $ECHO_N "(cached) $ECHO_C" >&6
61595 else
61596 if test x$gcc_no_link = xyes; then
61597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61599 { (exit 1); exit 1; }; }
61601 cat >conftest.$ac_ext <<_ACEOF
61602 /* confdefs.h. */
61603 _ACEOF
61604 cat confdefs.h >>conftest.$ac_ext
61605 cat >>conftest.$ac_ext <<_ACEOF
61606 /* end confdefs.h. */
61607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61609 #define $ac_func innocuous_$ac_func
61611 /* System header to define __stub macros and hopefully few prototypes,
61612 which can conflict with char $ac_func (); below.
61613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61614 <limits.h> exists even on freestanding compilers. */
61616 #ifdef __STDC__
61617 # include <limits.h>
61618 #else
61619 # include <assert.h>
61620 #endif
61622 #undef $ac_func
61624 /* Override any gcc2 internal prototype to avoid an error. */
61625 #ifdef __cplusplus
61626 extern "C"
61628 #endif
61629 /* We use char because int might match the return type of a gcc2
61630 builtin and then its argument prototype would still apply. */
61631 char $ac_func ();
61632 /* The GNU C library defines this for functions which it implements
61633 to always fail with ENOSYS. Some functions are actually named
61634 something starting with __ and the normal name is an alias. */
61635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61636 choke me
61637 #else
61638 char (*f) () = $ac_func;
61639 #endif
61640 #ifdef __cplusplus
61642 #endif
61645 main ()
61647 return f != $ac_func;
61649 return 0;
61651 _ACEOF
61652 rm -f conftest.$ac_objext conftest$ac_exeext
61653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61654 (eval $ac_link) 2>conftest.er1
61655 ac_status=$?
61656 grep -v '^ *+' conftest.er1 >conftest.err
61657 rm -f conftest.er1
61658 cat conftest.err >&5
61659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61660 (exit $ac_status); } &&
61661 { ac_try='test -z "$ac_c_werror_flag"
61662 || test ! -s conftest.err'
61663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61664 (eval $ac_try) 2>&5
61665 ac_status=$?
61666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61667 (exit $ac_status); }; } &&
61668 { ac_try='test -s conftest$ac_exeext'
61669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61670 (eval $ac_try) 2>&5
61671 ac_status=$?
61672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61673 (exit $ac_status); }; }; then
61674 eval "$as_ac_var=yes"
61675 else
61676 echo "$as_me: failed program was:" >&5
61677 sed 's/^/| /' conftest.$ac_ext >&5
61679 eval "$as_ac_var=no"
61681 rm -f conftest.err conftest.$ac_objext \
61682 conftest$ac_exeext conftest.$ac_ext
61684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61686 if test `eval echo '${'$as_ac_var'}'` = yes; then
61687 cat >>confdefs.h <<_ACEOF
61688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61689 _ACEOF
61692 done
61694 else
61696 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61697 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61698 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61699 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61700 echo $ECHO_N "(cached) $ECHO_C" >&6
61701 else
61705 ac_ext=cc
61706 ac_cpp='$CXXCPP $CPPFLAGS'
61707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61711 cat >conftest.$ac_ext <<_ACEOF
61712 /* confdefs.h. */
61713 _ACEOF
61714 cat confdefs.h >>conftest.$ac_ext
61715 cat >>conftest.$ac_ext <<_ACEOF
61716 /* end confdefs.h. */
61717 #include <math.h>
61719 main ()
61721 _powf(0, 0);
61723 return 0;
61725 _ACEOF
61726 rm -f conftest.$ac_objext
61727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61728 (eval $ac_compile) 2>conftest.er1
61729 ac_status=$?
61730 grep -v '^ *+' conftest.er1 >conftest.err
61731 rm -f conftest.er1
61732 cat conftest.err >&5
61733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61734 (exit $ac_status); } &&
61735 { ac_try='test -z "$ac_cxx_werror_flag"
61736 || test ! -s conftest.err'
61737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61738 (eval $ac_try) 2>&5
61739 ac_status=$?
61740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61741 (exit $ac_status); }; } &&
61742 { ac_try='test -s conftest.$ac_objext'
61743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61744 (eval $ac_try) 2>&5
61745 ac_status=$?
61746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61747 (exit $ac_status); }; }; then
61748 glibcxx_cv_func__powf_use=yes
61749 else
61750 echo "$as_me: failed program was:" >&5
61751 sed 's/^/| /' conftest.$ac_ext >&5
61753 glibcxx_cv_func__powf_use=no
61755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61756 ac_ext=c
61757 ac_cpp='$CPP $CPPFLAGS'
61758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61767 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61769 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61771 for ac_func in _powf
61773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61774 echo "$as_me:$LINENO: checking for $ac_func" >&5
61775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61776 if eval "test \"\${$as_ac_var+set}\" = set"; then
61777 echo $ECHO_N "(cached) $ECHO_C" >&6
61778 else
61779 if test x$gcc_no_link = xyes; then
61780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61782 { (exit 1); exit 1; }; }
61784 cat >conftest.$ac_ext <<_ACEOF
61785 /* confdefs.h. */
61786 _ACEOF
61787 cat confdefs.h >>conftest.$ac_ext
61788 cat >>conftest.$ac_ext <<_ACEOF
61789 /* end confdefs.h. */
61790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61792 #define $ac_func innocuous_$ac_func
61794 /* System header to define __stub macros and hopefully few prototypes,
61795 which can conflict with char $ac_func (); below.
61796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61797 <limits.h> exists even on freestanding compilers. */
61799 #ifdef __STDC__
61800 # include <limits.h>
61801 #else
61802 # include <assert.h>
61803 #endif
61805 #undef $ac_func
61807 /* Override any gcc2 internal prototype to avoid an error. */
61808 #ifdef __cplusplus
61809 extern "C"
61811 #endif
61812 /* We use char because int might match the return type of a gcc2
61813 builtin and then its argument prototype would still apply. */
61814 char $ac_func ();
61815 /* The GNU C library defines this for functions which it implements
61816 to always fail with ENOSYS. Some functions are actually named
61817 something starting with __ and the normal name is an alias. */
61818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61819 choke me
61820 #else
61821 char (*f) () = $ac_func;
61822 #endif
61823 #ifdef __cplusplus
61825 #endif
61828 main ()
61830 return f != $ac_func;
61832 return 0;
61834 _ACEOF
61835 rm -f conftest.$ac_objext conftest$ac_exeext
61836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61837 (eval $ac_link) 2>conftest.er1
61838 ac_status=$?
61839 grep -v '^ *+' conftest.er1 >conftest.err
61840 rm -f conftest.er1
61841 cat conftest.err >&5
61842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61843 (exit $ac_status); } &&
61844 { ac_try='test -z "$ac_c_werror_flag"
61845 || test ! -s conftest.err'
61846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61847 (eval $ac_try) 2>&5
61848 ac_status=$?
61849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61850 (exit $ac_status); }; } &&
61851 { ac_try='test -s conftest$ac_exeext'
61852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61853 (eval $ac_try) 2>&5
61854 ac_status=$?
61855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61856 (exit $ac_status); }; }; then
61857 eval "$as_ac_var=yes"
61858 else
61859 echo "$as_me: failed program was:" >&5
61860 sed 's/^/| /' conftest.$ac_ext >&5
61862 eval "$as_ac_var=no"
61864 rm -f conftest.err conftest.$ac_objext \
61865 conftest$ac_exeext conftest.$ac_ext
61867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61869 if test `eval echo '${'$as_ac_var'}'` = yes; then
61870 cat >>confdefs.h <<_ACEOF
61871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61872 _ACEOF
61875 done
61882 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61883 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61884 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61885 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61886 echo $ECHO_N "(cached) $ECHO_C" >&6
61887 else
61891 ac_ext=cc
61892 ac_cpp='$CXXCPP $CPPFLAGS'
61893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61897 cat >conftest.$ac_ext <<_ACEOF
61898 /* confdefs.h. */
61899 _ACEOF
61900 cat confdefs.h >>conftest.$ac_ext
61901 cat >>conftest.$ac_ext <<_ACEOF
61902 /* end confdefs.h. */
61903 #include <math.h>
61904 #ifdef HAVE_IEEEFP_H
61905 #include <ieeefp.h>
61906 #endif
61909 main ()
61911 sqrtf(0);
61913 return 0;
61915 _ACEOF
61916 rm -f conftest.$ac_objext
61917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61918 (eval $ac_compile) 2>conftest.er1
61919 ac_status=$?
61920 grep -v '^ *+' conftest.er1 >conftest.err
61921 rm -f conftest.er1
61922 cat conftest.err >&5
61923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924 (exit $ac_status); } &&
61925 { ac_try='test -z "$ac_cxx_werror_flag"
61926 || test ! -s conftest.err'
61927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61928 (eval $ac_try) 2>&5
61929 ac_status=$?
61930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61931 (exit $ac_status); }; } &&
61932 { ac_try='test -s conftest.$ac_objext'
61933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61934 (eval $ac_try) 2>&5
61935 ac_status=$?
61936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61937 (exit $ac_status); }; }; then
61938 glibcxx_cv_func_sqrtf_use=yes
61939 else
61940 echo "$as_me: failed program was:" >&5
61941 sed 's/^/| /' conftest.$ac_ext >&5
61943 glibcxx_cv_func_sqrtf_use=no
61945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61946 ac_ext=c
61947 ac_cpp='$CPP $CPPFLAGS'
61948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
61957 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
61959 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61961 for ac_func in sqrtf
61963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61964 echo "$as_me:$LINENO: checking for $ac_func" >&5
61965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61966 if eval "test \"\${$as_ac_var+set}\" = set"; then
61967 echo $ECHO_N "(cached) $ECHO_C" >&6
61968 else
61969 if test x$gcc_no_link = xyes; then
61970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61972 { (exit 1); exit 1; }; }
61974 cat >conftest.$ac_ext <<_ACEOF
61975 /* confdefs.h. */
61976 _ACEOF
61977 cat confdefs.h >>conftest.$ac_ext
61978 cat >>conftest.$ac_ext <<_ACEOF
61979 /* end confdefs.h. */
61980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61982 #define $ac_func innocuous_$ac_func
61984 /* System header to define __stub macros and hopefully few prototypes,
61985 which can conflict with char $ac_func (); below.
61986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61987 <limits.h> exists even on freestanding compilers. */
61989 #ifdef __STDC__
61990 # include <limits.h>
61991 #else
61992 # include <assert.h>
61993 #endif
61995 #undef $ac_func
61997 /* Override any gcc2 internal prototype to avoid an error. */
61998 #ifdef __cplusplus
61999 extern "C"
62001 #endif
62002 /* We use char because int might match the return type of a gcc2
62003 builtin and then its argument prototype would still apply. */
62004 char $ac_func ();
62005 /* The GNU C library defines this for functions which it implements
62006 to always fail with ENOSYS. Some functions are actually named
62007 something starting with __ and the normal name is an alias. */
62008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62009 choke me
62010 #else
62011 char (*f) () = $ac_func;
62012 #endif
62013 #ifdef __cplusplus
62015 #endif
62018 main ()
62020 return f != $ac_func;
62022 return 0;
62024 _ACEOF
62025 rm -f conftest.$ac_objext conftest$ac_exeext
62026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62027 (eval $ac_link) 2>conftest.er1
62028 ac_status=$?
62029 grep -v '^ *+' conftest.er1 >conftest.err
62030 rm -f conftest.er1
62031 cat conftest.err >&5
62032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62033 (exit $ac_status); } &&
62034 { ac_try='test -z "$ac_c_werror_flag"
62035 || test ! -s conftest.err'
62036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62037 (eval $ac_try) 2>&5
62038 ac_status=$?
62039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62040 (exit $ac_status); }; } &&
62041 { ac_try='test -s conftest$ac_exeext'
62042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62043 (eval $ac_try) 2>&5
62044 ac_status=$?
62045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62046 (exit $ac_status); }; }; then
62047 eval "$as_ac_var=yes"
62048 else
62049 echo "$as_me: failed program was:" >&5
62050 sed 's/^/| /' conftest.$ac_ext >&5
62052 eval "$as_ac_var=no"
62054 rm -f conftest.err conftest.$ac_objext \
62055 conftest$ac_exeext conftest.$ac_ext
62057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62059 if test `eval echo '${'$as_ac_var'}'` = yes; then
62060 cat >>confdefs.h <<_ACEOF
62061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62062 _ACEOF
62065 done
62067 else
62069 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62070 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62071 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62072 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62073 echo $ECHO_N "(cached) $ECHO_C" >&6
62074 else
62078 ac_ext=cc
62079 ac_cpp='$CXXCPP $CPPFLAGS'
62080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62084 cat >conftest.$ac_ext <<_ACEOF
62085 /* confdefs.h. */
62086 _ACEOF
62087 cat confdefs.h >>conftest.$ac_ext
62088 cat >>conftest.$ac_ext <<_ACEOF
62089 /* end confdefs.h. */
62090 #include <math.h>
62091 #ifdef HAVE_IEEEFP_H
62092 #include <ieeefp.h>
62093 #endif
62096 main ()
62098 _sqrtf(0);
62100 return 0;
62102 _ACEOF
62103 rm -f conftest.$ac_objext
62104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62105 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sqrtf_use=yes
62126 else
62127 echo "$as_me: failed program was:" >&5
62128 sed 's/^/| /' conftest.$ac_ext >&5
62130 glibcxx_cv_func__sqrtf_use=no
62132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62133 ac_ext=c
62134 ac_cpp='$CPP $CPPFLAGS'
62135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62144 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62146 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62148 for ac_func in _sqrtf
62150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62151 echo "$as_me:$LINENO: checking for $ac_func" >&5
62152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62153 if eval "test \"\${$as_ac_var+set}\" = set"; then
62154 echo $ECHO_N "(cached) $ECHO_C" >&6
62155 else
62156 if test x$gcc_no_link = xyes; then
62157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62159 { (exit 1); exit 1; }; }
62161 cat >conftest.$ac_ext <<_ACEOF
62162 /* confdefs.h. */
62163 _ACEOF
62164 cat confdefs.h >>conftest.$ac_ext
62165 cat >>conftest.$ac_ext <<_ACEOF
62166 /* end confdefs.h. */
62167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62169 #define $ac_func innocuous_$ac_func
62171 /* System header to define __stub macros and hopefully few prototypes,
62172 which can conflict with char $ac_func (); below.
62173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62174 <limits.h> exists even on freestanding compilers. */
62176 #ifdef __STDC__
62177 # include <limits.h>
62178 #else
62179 # include <assert.h>
62180 #endif
62182 #undef $ac_func
62184 /* Override any gcc2 internal prototype to avoid an error. */
62185 #ifdef __cplusplus
62186 extern "C"
62188 #endif
62189 /* We use char because int might match the return type of a gcc2
62190 builtin and then its argument prototype would still apply. */
62191 char $ac_func ();
62192 /* The GNU C library defines this for functions which it implements
62193 to always fail with ENOSYS. Some functions are actually named
62194 something starting with __ and the normal name is an alias. */
62195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62196 choke me
62197 #else
62198 char (*f) () = $ac_func;
62199 #endif
62200 #ifdef __cplusplus
62202 #endif
62205 main ()
62207 return f != $ac_func;
62209 return 0;
62211 _ACEOF
62212 rm -f conftest.$ac_objext conftest$ac_exeext
62213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62214 (eval $ac_link) 2>conftest.er1
62215 ac_status=$?
62216 grep -v '^ *+' conftest.er1 >conftest.err
62217 rm -f conftest.er1
62218 cat conftest.err >&5
62219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62220 (exit $ac_status); } &&
62221 { ac_try='test -z "$ac_c_werror_flag"
62222 || test ! -s conftest.err'
62223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62224 (eval $ac_try) 2>&5
62225 ac_status=$?
62226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62227 (exit $ac_status); }; } &&
62228 { ac_try='test -s conftest$ac_exeext'
62229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62230 (eval $ac_try) 2>&5
62231 ac_status=$?
62232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62233 (exit $ac_status); }; }; then
62234 eval "$as_ac_var=yes"
62235 else
62236 echo "$as_me: failed program was:" >&5
62237 sed 's/^/| /' conftest.$ac_ext >&5
62239 eval "$as_ac_var=no"
62241 rm -f conftest.err conftest.$ac_objext \
62242 conftest$ac_exeext conftest.$ac_ext
62244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62246 if test `eval echo '${'$as_ac_var'}'` = yes; then
62247 cat >>confdefs.h <<_ACEOF
62248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62249 _ACEOF
62252 done
62259 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62260 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62261 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62262 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62263 echo $ECHO_N "(cached) $ECHO_C" >&6
62264 else
62268 ac_ext=cc
62269 ac_cpp='$CXXCPP $CPPFLAGS'
62270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62274 cat >conftest.$ac_ext <<_ACEOF
62275 /* confdefs.h. */
62276 _ACEOF
62277 cat confdefs.h >>conftest.$ac_ext
62278 cat >>conftest.$ac_ext <<_ACEOF
62279 /* end confdefs.h. */
62280 #include <math.h>
62282 main ()
62284 sincosf(0, 0, 0);
62286 return 0;
62288 _ACEOF
62289 rm -f conftest.$ac_objext
62290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62291 (eval $ac_compile) 2>conftest.er1
62292 ac_status=$?
62293 grep -v '^ *+' conftest.er1 >conftest.err
62294 rm -f conftest.er1
62295 cat conftest.err >&5
62296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62297 (exit $ac_status); } &&
62298 { ac_try='test -z "$ac_cxx_werror_flag"
62299 || test ! -s conftest.err'
62300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62301 (eval $ac_try) 2>&5
62302 ac_status=$?
62303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62304 (exit $ac_status); }; } &&
62305 { ac_try='test -s conftest.$ac_objext'
62306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62307 (eval $ac_try) 2>&5
62308 ac_status=$?
62309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62310 (exit $ac_status); }; }; then
62311 glibcxx_cv_func_sincosf_use=yes
62312 else
62313 echo "$as_me: failed program was:" >&5
62314 sed 's/^/| /' conftest.$ac_ext >&5
62316 glibcxx_cv_func_sincosf_use=no
62318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62319 ac_ext=c
62320 ac_cpp='$CPP $CPPFLAGS'
62321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62330 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62332 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62334 for ac_func in sincosf
62336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62337 echo "$as_me:$LINENO: checking for $ac_func" >&5
62338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62339 if eval "test \"\${$as_ac_var+set}\" = set"; then
62340 echo $ECHO_N "(cached) $ECHO_C" >&6
62341 else
62342 if test x$gcc_no_link = xyes; then
62343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62345 { (exit 1); exit 1; }; }
62347 cat >conftest.$ac_ext <<_ACEOF
62348 /* confdefs.h. */
62349 _ACEOF
62350 cat confdefs.h >>conftest.$ac_ext
62351 cat >>conftest.$ac_ext <<_ACEOF
62352 /* end confdefs.h. */
62353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62355 #define $ac_func innocuous_$ac_func
62357 /* System header to define __stub macros and hopefully few prototypes,
62358 which can conflict with char $ac_func (); below.
62359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62360 <limits.h> exists even on freestanding compilers. */
62362 #ifdef __STDC__
62363 # include <limits.h>
62364 #else
62365 # include <assert.h>
62366 #endif
62368 #undef $ac_func
62370 /* Override any gcc2 internal prototype to avoid an error. */
62371 #ifdef __cplusplus
62372 extern "C"
62374 #endif
62375 /* We use char because int might match the return type of a gcc2
62376 builtin and then its argument prototype would still apply. */
62377 char $ac_func ();
62378 /* The GNU C library defines this for functions which it implements
62379 to always fail with ENOSYS. Some functions are actually named
62380 something starting with __ and the normal name is an alias. */
62381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62382 choke me
62383 #else
62384 char (*f) () = $ac_func;
62385 #endif
62386 #ifdef __cplusplus
62388 #endif
62391 main ()
62393 return f != $ac_func;
62395 return 0;
62397 _ACEOF
62398 rm -f conftest.$ac_objext conftest$ac_exeext
62399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62400 (eval $ac_link) 2>conftest.er1
62401 ac_status=$?
62402 grep -v '^ *+' conftest.er1 >conftest.err
62403 rm -f conftest.er1
62404 cat conftest.err >&5
62405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62406 (exit $ac_status); } &&
62407 { ac_try='test -z "$ac_c_werror_flag"
62408 || test ! -s conftest.err'
62409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62410 (eval $ac_try) 2>&5
62411 ac_status=$?
62412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62413 (exit $ac_status); }; } &&
62414 { ac_try='test -s conftest$ac_exeext'
62415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62416 (eval $ac_try) 2>&5
62417 ac_status=$?
62418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62419 (exit $ac_status); }; }; then
62420 eval "$as_ac_var=yes"
62421 else
62422 echo "$as_me: failed program was:" >&5
62423 sed 's/^/| /' conftest.$ac_ext >&5
62425 eval "$as_ac_var=no"
62427 rm -f conftest.err conftest.$ac_objext \
62428 conftest$ac_exeext conftest.$ac_ext
62430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62432 if test `eval echo '${'$as_ac_var'}'` = yes; then
62433 cat >>confdefs.h <<_ACEOF
62434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62435 _ACEOF
62438 done
62440 else
62442 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62443 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62444 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62445 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62446 echo $ECHO_N "(cached) $ECHO_C" >&6
62447 else
62451 ac_ext=cc
62452 ac_cpp='$CXXCPP $CPPFLAGS'
62453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62457 cat >conftest.$ac_ext <<_ACEOF
62458 /* confdefs.h. */
62459 _ACEOF
62460 cat confdefs.h >>conftest.$ac_ext
62461 cat >>conftest.$ac_ext <<_ACEOF
62462 /* end confdefs.h. */
62463 #include <math.h>
62465 main ()
62467 _sincosf(0, 0, 0);
62469 return 0;
62471 _ACEOF
62472 rm -f conftest.$ac_objext
62473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62474 (eval $ac_compile) 2>conftest.er1
62475 ac_status=$?
62476 grep -v '^ *+' conftest.er1 >conftest.err
62477 rm -f conftest.er1
62478 cat conftest.err >&5
62479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480 (exit $ac_status); } &&
62481 { ac_try='test -z "$ac_cxx_werror_flag"
62482 || test ! -s conftest.err'
62483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62484 (eval $ac_try) 2>&5
62485 ac_status=$?
62486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62487 (exit $ac_status); }; } &&
62488 { ac_try='test -s conftest.$ac_objext'
62489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62490 (eval $ac_try) 2>&5
62491 ac_status=$?
62492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493 (exit $ac_status); }; }; then
62494 glibcxx_cv_func__sincosf_use=yes
62495 else
62496 echo "$as_me: failed program was:" >&5
62497 sed 's/^/| /' conftest.$ac_ext >&5
62499 glibcxx_cv_func__sincosf_use=no
62501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62502 ac_ext=c
62503 ac_cpp='$CPP $CPPFLAGS'
62504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62513 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62515 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62517 for ac_func in _sincosf
62519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62520 echo "$as_me:$LINENO: checking for $ac_func" >&5
62521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62522 if eval "test \"\${$as_ac_var+set}\" = set"; then
62523 echo $ECHO_N "(cached) $ECHO_C" >&6
62524 else
62525 if test x$gcc_no_link = xyes; then
62526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62528 { (exit 1); exit 1; }; }
62530 cat >conftest.$ac_ext <<_ACEOF
62531 /* confdefs.h. */
62532 _ACEOF
62533 cat confdefs.h >>conftest.$ac_ext
62534 cat >>conftest.$ac_ext <<_ACEOF
62535 /* end confdefs.h. */
62536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62538 #define $ac_func innocuous_$ac_func
62540 /* System header to define __stub macros and hopefully few prototypes,
62541 which can conflict with char $ac_func (); below.
62542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62543 <limits.h> exists even on freestanding compilers. */
62545 #ifdef __STDC__
62546 # include <limits.h>
62547 #else
62548 # include <assert.h>
62549 #endif
62551 #undef $ac_func
62553 /* Override any gcc2 internal prototype to avoid an error. */
62554 #ifdef __cplusplus
62555 extern "C"
62557 #endif
62558 /* We use char because int might match the return type of a gcc2
62559 builtin and then its argument prototype would still apply. */
62560 char $ac_func ();
62561 /* The GNU C library defines this for functions which it implements
62562 to always fail with ENOSYS. Some functions are actually named
62563 something starting with __ and the normal name is an alias. */
62564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62565 choke me
62566 #else
62567 char (*f) () = $ac_func;
62568 #endif
62569 #ifdef __cplusplus
62571 #endif
62574 main ()
62576 return f != $ac_func;
62578 return 0;
62580 _ACEOF
62581 rm -f conftest.$ac_objext conftest$ac_exeext
62582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62583 (eval $ac_link) 2>conftest.er1
62584 ac_status=$?
62585 grep -v '^ *+' conftest.er1 >conftest.err
62586 rm -f conftest.er1
62587 cat conftest.err >&5
62588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62589 (exit $ac_status); } &&
62590 { ac_try='test -z "$ac_c_werror_flag"
62591 || test ! -s conftest.err'
62592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62593 (eval $ac_try) 2>&5
62594 ac_status=$?
62595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62596 (exit $ac_status); }; } &&
62597 { ac_try='test -s conftest$ac_exeext'
62598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62599 (eval $ac_try) 2>&5
62600 ac_status=$?
62601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62602 (exit $ac_status); }; }; then
62603 eval "$as_ac_var=yes"
62604 else
62605 echo "$as_me: failed program was:" >&5
62606 sed 's/^/| /' conftest.$ac_ext >&5
62608 eval "$as_ac_var=no"
62610 rm -f conftest.err conftest.$ac_objext \
62611 conftest$ac_exeext conftest.$ac_ext
62613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62615 if test `eval echo '${'$as_ac_var'}'` = yes; then
62616 cat >>confdefs.h <<_ACEOF
62617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62618 _ACEOF
62621 done
62628 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62629 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62630 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62631 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62632 echo $ECHO_N "(cached) $ECHO_C" >&6
62633 else
62637 ac_ext=cc
62638 ac_cpp='$CXXCPP $CPPFLAGS'
62639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62643 cat >conftest.$ac_ext <<_ACEOF
62644 /* confdefs.h. */
62645 _ACEOF
62646 cat confdefs.h >>conftest.$ac_ext
62647 cat >>conftest.$ac_ext <<_ACEOF
62648 /* end confdefs.h. */
62649 #include <math.h>
62650 #ifdef HAVE_IEEEFP_H
62651 #include <ieeefp.h>
62652 #endif
62655 main ()
62657 finitef(0);
62659 return 0;
62661 _ACEOF
62662 rm -f conftest.$ac_objext
62663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62664 (eval $ac_compile) 2>conftest.er1
62665 ac_status=$?
62666 grep -v '^ *+' conftest.er1 >conftest.err
62667 rm -f conftest.er1
62668 cat conftest.err >&5
62669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62670 (exit $ac_status); } &&
62671 { ac_try='test -z "$ac_cxx_werror_flag"
62672 || test ! -s conftest.err'
62673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62674 (eval $ac_try) 2>&5
62675 ac_status=$?
62676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62677 (exit $ac_status); }; } &&
62678 { ac_try='test -s conftest.$ac_objext'
62679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62680 (eval $ac_try) 2>&5
62681 ac_status=$?
62682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62683 (exit $ac_status); }; }; then
62684 glibcxx_cv_func_finitef_use=yes
62685 else
62686 echo "$as_me: failed program was:" >&5
62687 sed 's/^/| /' conftest.$ac_ext >&5
62689 glibcxx_cv_func_finitef_use=no
62691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62692 ac_ext=c
62693 ac_cpp='$CPP $CPPFLAGS'
62694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62703 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62705 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62707 for ac_func in finitef
62709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62710 echo "$as_me:$LINENO: checking for $ac_func" >&5
62711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62712 if eval "test \"\${$as_ac_var+set}\" = set"; then
62713 echo $ECHO_N "(cached) $ECHO_C" >&6
62714 else
62715 if test x$gcc_no_link = xyes; then
62716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62718 { (exit 1); exit 1; }; }
62720 cat >conftest.$ac_ext <<_ACEOF
62721 /* confdefs.h. */
62722 _ACEOF
62723 cat confdefs.h >>conftest.$ac_ext
62724 cat >>conftest.$ac_ext <<_ACEOF
62725 /* end confdefs.h. */
62726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62728 #define $ac_func innocuous_$ac_func
62730 /* System header to define __stub macros and hopefully few prototypes,
62731 which can conflict with char $ac_func (); below.
62732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62733 <limits.h> exists even on freestanding compilers. */
62735 #ifdef __STDC__
62736 # include <limits.h>
62737 #else
62738 # include <assert.h>
62739 #endif
62741 #undef $ac_func
62743 /* Override any gcc2 internal prototype to avoid an error. */
62744 #ifdef __cplusplus
62745 extern "C"
62747 #endif
62748 /* We use char because int might match the return type of a gcc2
62749 builtin and then its argument prototype would still apply. */
62750 char $ac_func ();
62751 /* The GNU C library defines this for functions which it implements
62752 to always fail with ENOSYS. Some functions are actually named
62753 something starting with __ and the normal name is an alias. */
62754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62755 choke me
62756 #else
62757 char (*f) () = $ac_func;
62758 #endif
62759 #ifdef __cplusplus
62761 #endif
62764 main ()
62766 return f != $ac_func;
62768 return 0;
62770 _ACEOF
62771 rm -f conftest.$ac_objext conftest$ac_exeext
62772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62773 (eval $ac_link) 2>conftest.er1
62774 ac_status=$?
62775 grep -v '^ *+' conftest.er1 >conftest.err
62776 rm -f conftest.er1
62777 cat conftest.err >&5
62778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62779 (exit $ac_status); } &&
62780 { ac_try='test -z "$ac_c_werror_flag"
62781 || test ! -s conftest.err'
62782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62783 (eval $ac_try) 2>&5
62784 ac_status=$?
62785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62786 (exit $ac_status); }; } &&
62787 { ac_try='test -s conftest$ac_exeext'
62788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62789 (eval $ac_try) 2>&5
62790 ac_status=$?
62791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62792 (exit $ac_status); }; }; then
62793 eval "$as_ac_var=yes"
62794 else
62795 echo "$as_me: failed program was:" >&5
62796 sed 's/^/| /' conftest.$ac_ext >&5
62798 eval "$as_ac_var=no"
62800 rm -f conftest.err conftest.$ac_objext \
62801 conftest$ac_exeext conftest.$ac_ext
62803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62805 if test `eval echo '${'$as_ac_var'}'` = yes; then
62806 cat >>confdefs.h <<_ACEOF
62807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62808 _ACEOF
62811 done
62813 else
62815 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62816 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62817 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62818 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62819 echo $ECHO_N "(cached) $ECHO_C" >&6
62820 else
62824 ac_ext=cc
62825 ac_cpp='$CXXCPP $CPPFLAGS'
62826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62830 cat >conftest.$ac_ext <<_ACEOF
62831 /* confdefs.h. */
62832 _ACEOF
62833 cat confdefs.h >>conftest.$ac_ext
62834 cat >>conftest.$ac_ext <<_ACEOF
62835 /* end confdefs.h. */
62836 #include <math.h>
62837 #ifdef HAVE_IEEEFP_H
62838 #include <ieeefp.h>
62839 #endif
62842 main ()
62844 _finitef(0);
62846 return 0;
62848 _ACEOF
62849 rm -f conftest.$ac_objext
62850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62851 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__finitef_use=yes
62872 else
62873 echo "$as_me: failed program was:" >&5
62874 sed 's/^/| /' conftest.$ac_ext >&5
62876 glibcxx_cv_func__finitef_use=no
62878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62879 ac_ext=c
62880 ac_cpp='$CPP $CPPFLAGS'
62881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62890 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62892 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62894 for ac_func in _finitef
62896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62897 echo "$as_me:$LINENO: checking for $ac_func" >&5
62898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62899 if eval "test \"\${$as_ac_var+set}\" = set"; then
62900 echo $ECHO_N "(cached) $ECHO_C" >&6
62901 else
62902 if test x$gcc_no_link = xyes; then
62903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62905 { (exit 1); exit 1; }; }
62907 cat >conftest.$ac_ext <<_ACEOF
62908 /* confdefs.h. */
62909 _ACEOF
62910 cat confdefs.h >>conftest.$ac_ext
62911 cat >>conftest.$ac_ext <<_ACEOF
62912 /* end confdefs.h. */
62913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62915 #define $ac_func innocuous_$ac_func
62917 /* System header to define __stub macros and hopefully few prototypes,
62918 which can conflict with char $ac_func (); below.
62919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62920 <limits.h> exists even on freestanding compilers. */
62922 #ifdef __STDC__
62923 # include <limits.h>
62924 #else
62925 # include <assert.h>
62926 #endif
62928 #undef $ac_func
62930 /* Override any gcc2 internal prototype to avoid an error. */
62931 #ifdef __cplusplus
62932 extern "C"
62934 #endif
62935 /* We use char because int might match the return type of a gcc2
62936 builtin and then its argument prototype would still apply. */
62937 char $ac_func ();
62938 /* The GNU C library defines this for functions which it implements
62939 to always fail with ENOSYS. Some functions are actually named
62940 something starting with __ and the normal name is an alias. */
62941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62942 choke me
62943 #else
62944 char (*f) () = $ac_func;
62945 #endif
62946 #ifdef __cplusplus
62948 #endif
62951 main ()
62953 return f != $ac_func;
62955 return 0;
62957 _ACEOF
62958 rm -f conftest.$ac_objext conftest$ac_exeext
62959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62960 (eval $ac_link) 2>conftest.er1
62961 ac_status=$?
62962 grep -v '^ *+' conftest.er1 >conftest.err
62963 rm -f conftest.er1
62964 cat conftest.err >&5
62965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62966 (exit $ac_status); } &&
62967 { ac_try='test -z "$ac_c_werror_flag"
62968 || test ! -s conftest.err'
62969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62970 (eval $ac_try) 2>&5
62971 ac_status=$?
62972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62973 (exit $ac_status); }; } &&
62974 { ac_try='test -s conftest$ac_exeext'
62975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62976 (eval $ac_try) 2>&5
62977 ac_status=$?
62978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62979 (exit $ac_status); }; }; then
62980 eval "$as_ac_var=yes"
62981 else
62982 echo "$as_me: failed program was:" >&5
62983 sed 's/^/| /' conftest.$ac_ext >&5
62985 eval "$as_ac_var=no"
62987 rm -f conftest.err conftest.$ac_objext \
62988 conftest$ac_exeext conftest.$ac_ext
62990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62992 if test `eval echo '${'$as_ac_var'}'` = yes; then
62993 cat >>confdefs.h <<_ACEOF
62994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62995 _ACEOF
62998 done
63005 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63006 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63007 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63008 echo $ECHO_N "(cached) $ECHO_C" >&6
63009 else
63013 ac_ext=cc
63014 ac_cpp='$CXXCPP $CPPFLAGS'
63015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63019 cat >conftest.$ac_ext <<_ACEOF
63020 /* confdefs.h. */
63021 _ACEOF
63022 cat confdefs.h >>conftest.$ac_ext
63023 cat >>conftest.$ac_ext <<_ACEOF
63024 /* end confdefs.h. */
63025 #include <math.h>
63027 main ()
63029 `for x in acosl asinl atanl \
63030 cosl sinl tanl \
63031 coshl sinhl tanhl; do echo "$x (0);"; done`
63033 return 0;
63035 _ACEOF
63036 rm -f conftest.$ac_objext
63037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63038 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_long_double_trig_use=yes
63059 else
63060 echo "$as_me: failed program was:" >&5
63061 sed 's/^/| /' conftest.$ac_ext >&5
63063 glibcxx_cv_func_long_double_trig_use=no
63065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63066 ac_ext=c
63067 ac_cpp='$CPP $CPPFLAGS'
63068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63075 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63076 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63086 for ac_func in acosl asinl atanl \
63087 cosl sinl tanl \
63088 coshl sinhl tanhl
63090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63091 echo "$as_me:$LINENO: checking for $ac_func" >&5
63092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63093 if eval "test \"\${$as_ac_var+set}\" = set"; then
63094 echo $ECHO_N "(cached) $ECHO_C" >&6
63095 else
63096 if test x$gcc_no_link = xyes; then
63097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63099 { (exit 1); exit 1; }; }
63101 cat >conftest.$ac_ext <<_ACEOF
63102 /* confdefs.h. */
63103 _ACEOF
63104 cat confdefs.h >>conftest.$ac_ext
63105 cat >>conftest.$ac_ext <<_ACEOF
63106 /* end confdefs.h. */
63107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63109 #define $ac_func innocuous_$ac_func
63111 /* System header to define __stub macros and hopefully few prototypes,
63112 which can conflict with char $ac_func (); below.
63113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63114 <limits.h> exists even on freestanding compilers. */
63116 #ifdef __STDC__
63117 # include <limits.h>
63118 #else
63119 # include <assert.h>
63120 #endif
63122 #undef $ac_func
63124 /* Override any gcc2 internal prototype to avoid an error. */
63125 #ifdef __cplusplus
63126 extern "C"
63128 #endif
63129 /* We use char because int might match the return type of a gcc2
63130 builtin and then its argument prototype would still apply. */
63131 char $ac_func ();
63132 /* The GNU C library defines this for functions which it implements
63133 to always fail with ENOSYS. Some functions are actually named
63134 something starting with __ and the normal name is an alias. */
63135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63136 choke me
63137 #else
63138 char (*f) () = $ac_func;
63139 #endif
63140 #ifdef __cplusplus
63142 #endif
63145 main ()
63147 return f != $ac_func;
63149 return 0;
63151 _ACEOF
63152 rm -f conftest.$ac_objext conftest$ac_exeext
63153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63154 (eval $ac_link) 2>conftest.er1
63155 ac_status=$?
63156 grep -v '^ *+' conftest.er1 >conftest.err
63157 rm -f conftest.er1
63158 cat conftest.err >&5
63159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63160 (exit $ac_status); } &&
63161 { ac_try='test -z "$ac_c_werror_flag"
63162 || test ! -s conftest.err'
63163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63164 (eval $ac_try) 2>&5
63165 ac_status=$?
63166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63167 (exit $ac_status); }; } &&
63168 { ac_try='test -s conftest$ac_exeext'
63169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63170 (eval $ac_try) 2>&5
63171 ac_status=$?
63172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63173 (exit $ac_status); }; }; then
63174 eval "$as_ac_var=yes"
63175 else
63176 echo "$as_me: failed program was:" >&5
63177 sed 's/^/| /' conftest.$ac_ext >&5
63179 eval "$as_ac_var=no"
63181 rm -f conftest.err conftest.$ac_objext \
63182 conftest$ac_exeext conftest.$ac_ext
63184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63186 if test `eval echo '${'$as_ac_var'}'` = yes; then
63187 cat >>confdefs.h <<_ACEOF
63188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63189 _ACEOF
63192 done
63197 echo "$as_me:$LINENO: checking for long double round functions" >&5
63198 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63199 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63200 echo $ECHO_N "(cached) $ECHO_C" >&6
63201 else
63205 ac_ext=cc
63206 ac_cpp='$CXXCPP $CPPFLAGS'
63207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63211 cat >conftest.$ac_ext <<_ACEOF
63212 /* confdefs.h. */
63213 _ACEOF
63214 cat confdefs.h >>conftest.$ac_ext
63215 cat >>conftest.$ac_ext <<_ACEOF
63216 /* end confdefs.h. */
63217 #include <math.h>
63219 main ()
63221 `for x in ceill floorl; do echo "$x (0);"; done`
63223 return 0;
63225 _ACEOF
63226 rm -f conftest.$ac_objext
63227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63228 (eval $ac_compile) 2>conftest.er1
63229 ac_status=$?
63230 grep -v '^ *+' conftest.er1 >conftest.err
63231 rm -f conftest.er1
63232 cat conftest.err >&5
63233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63234 (exit $ac_status); } &&
63235 { ac_try='test -z "$ac_cxx_werror_flag"
63236 || test ! -s conftest.err'
63237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63238 (eval $ac_try) 2>&5
63239 ac_status=$?
63240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63241 (exit $ac_status); }; } &&
63242 { ac_try='test -s conftest.$ac_objext'
63243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63244 (eval $ac_try) 2>&5
63245 ac_status=$?
63246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63247 (exit $ac_status); }; }; then
63248 glibcxx_cv_func_long_double_round_use=yes
63249 else
63250 echo "$as_me: failed program was:" >&5
63251 sed 's/^/| /' conftest.$ac_ext >&5
63253 glibcxx_cv_func_long_double_round_use=no
63255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63256 ac_ext=c
63257 ac_cpp='$CPP $CPPFLAGS'
63258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63265 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63266 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63269 for ac_func in ceill floorl
63271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63272 echo "$as_me:$LINENO: checking for $ac_func" >&5
63273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63274 if eval "test \"\${$as_ac_var+set}\" = set"; then
63275 echo $ECHO_N "(cached) $ECHO_C" >&6
63276 else
63277 if test x$gcc_no_link = xyes; then
63278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63280 { (exit 1); exit 1; }; }
63282 cat >conftest.$ac_ext <<_ACEOF
63283 /* confdefs.h. */
63284 _ACEOF
63285 cat confdefs.h >>conftest.$ac_ext
63286 cat >>conftest.$ac_ext <<_ACEOF
63287 /* end confdefs.h. */
63288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63290 #define $ac_func innocuous_$ac_func
63292 /* System header to define __stub macros and hopefully few prototypes,
63293 which can conflict with char $ac_func (); below.
63294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63295 <limits.h> exists even on freestanding compilers. */
63297 #ifdef __STDC__
63298 # include <limits.h>
63299 #else
63300 # include <assert.h>
63301 #endif
63303 #undef $ac_func
63305 /* Override any gcc2 internal prototype to avoid an error. */
63306 #ifdef __cplusplus
63307 extern "C"
63309 #endif
63310 /* We use char because int might match the return type of a gcc2
63311 builtin and then its argument prototype would still apply. */
63312 char $ac_func ();
63313 /* The GNU C library defines this for functions which it implements
63314 to always fail with ENOSYS. Some functions are actually named
63315 something starting with __ and the normal name is an alias. */
63316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63317 choke me
63318 #else
63319 char (*f) () = $ac_func;
63320 #endif
63321 #ifdef __cplusplus
63323 #endif
63326 main ()
63328 return f != $ac_func;
63330 return 0;
63332 _ACEOF
63333 rm -f conftest.$ac_objext conftest$ac_exeext
63334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63335 (eval $ac_link) 2>conftest.er1
63336 ac_status=$?
63337 grep -v '^ *+' conftest.er1 >conftest.err
63338 rm -f conftest.er1
63339 cat conftest.err >&5
63340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63341 (exit $ac_status); } &&
63342 { ac_try='test -z "$ac_c_werror_flag"
63343 || test ! -s conftest.err'
63344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63345 (eval $ac_try) 2>&5
63346 ac_status=$?
63347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63348 (exit $ac_status); }; } &&
63349 { ac_try='test -s conftest$ac_exeext'
63350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63351 (eval $ac_try) 2>&5
63352 ac_status=$?
63353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63354 (exit $ac_status); }; }; then
63355 eval "$as_ac_var=yes"
63356 else
63357 echo "$as_me: failed program was:" >&5
63358 sed 's/^/| /' conftest.$ac_ext >&5
63360 eval "$as_ac_var=no"
63362 rm -f conftest.err conftest.$ac_objext \
63363 conftest$ac_exeext conftest.$ac_ext
63365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63367 if test `eval echo '${'$as_ac_var'}'` = yes; then
63368 cat >>confdefs.h <<_ACEOF
63369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63370 _ACEOF
63373 done
63379 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63380 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63381 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63382 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63383 echo $ECHO_N "(cached) $ECHO_C" >&6
63384 else
63388 ac_ext=cc
63389 ac_cpp='$CXXCPP $CPPFLAGS'
63390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63394 cat >conftest.$ac_ext <<_ACEOF
63395 /* confdefs.h. */
63396 _ACEOF
63397 cat confdefs.h >>conftest.$ac_ext
63398 cat >>conftest.$ac_ext <<_ACEOF
63399 /* end confdefs.h. */
63400 #include <math.h>
63401 #ifdef HAVE_IEEEFP_H
63402 #include <ieeefp.h>
63403 #endif
63406 main ()
63408 isnanl(0);
63410 return 0;
63412 _ACEOF
63413 rm -f conftest.$ac_objext
63414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63415 (eval $ac_compile) 2>conftest.er1
63416 ac_status=$?
63417 grep -v '^ *+' conftest.er1 >conftest.err
63418 rm -f conftest.er1
63419 cat conftest.err >&5
63420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63421 (exit $ac_status); } &&
63422 { ac_try='test -z "$ac_cxx_werror_flag"
63423 || test ! -s conftest.err'
63424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63425 (eval $ac_try) 2>&5
63426 ac_status=$?
63427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63428 (exit $ac_status); }; } &&
63429 { ac_try='test -s conftest.$ac_objext'
63430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63431 (eval $ac_try) 2>&5
63432 ac_status=$?
63433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63434 (exit $ac_status); }; }; then
63435 glibcxx_cv_func_isnanl_use=yes
63436 else
63437 echo "$as_me: failed program was:" >&5
63438 sed 's/^/| /' conftest.$ac_ext >&5
63440 glibcxx_cv_func_isnanl_use=no
63442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63443 ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63454 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63456 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63458 for ac_func in isnanl
63460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63461 echo "$as_me:$LINENO: checking for $ac_func" >&5
63462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63463 if eval "test \"\${$as_ac_var+set}\" = set"; then
63464 echo $ECHO_N "(cached) $ECHO_C" >&6
63465 else
63466 if test x$gcc_no_link = xyes; then
63467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63469 { (exit 1); exit 1; }; }
63471 cat >conftest.$ac_ext <<_ACEOF
63472 /* confdefs.h. */
63473 _ACEOF
63474 cat confdefs.h >>conftest.$ac_ext
63475 cat >>conftest.$ac_ext <<_ACEOF
63476 /* end confdefs.h. */
63477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63479 #define $ac_func innocuous_$ac_func
63481 /* System header to define __stub macros and hopefully few prototypes,
63482 which can conflict with char $ac_func (); below.
63483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63484 <limits.h> exists even on freestanding compilers. */
63486 #ifdef __STDC__
63487 # include <limits.h>
63488 #else
63489 # include <assert.h>
63490 #endif
63492 #undef $ac_func
63494 /* Override any gcc2 internal prototype to avoid an error. */
63495 #ifdef __cplusplus
63496 extern "C"
63498 #endif
63499 /* We use char because int might match the return type of a gcc2
63500 builtin and then its argument prototype would still apply. */
63501 char $ac_func ();
63502 /* The GNU C library defines this for functions which it implements
63503 to always fail with ENOSYS. Some functions are actually named
63504 something starting with __ and the normal name is an alias. */
63505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63506 choke me
63507 #else
63508 char (*f) () = $ac_func;
63509 #endif
63510 #ifdef __cplusplus
63512 #endif
63515 main ()
63517 return f != $ac_func;
63519 return 0;
63521 _ACEOF
63522 rm -f conftest.$ac_objext conftest$ac_exeext
63523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63524 (eval $ac_link) 2>conftest.er1
63525 ac_status=$?
63526 grep -v '^ *+' conftest.er1 >conftest.err
63527 rm -f conftest.er1
63528 cat conftest.err >&5
63529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63530 (exit $ac_status); } &&
63531 { ac_try='test -z "$ac_c_werror_flag"
63532 || test ! -s conftest.err'
63533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63534 (eval $ac_try) 2>&5
63535 ac_status=$?
63536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63537 (exit $ac_status); }; } &&
63538 { ac_try='test -s conftest$ac_exeext'
63539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63540 (eval $ac_try) 2>&5
63541 ac_status=$?
63542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63543 (exit $ac_status); }; }; then
63544 eval "$as_ac_var=yes"
63545 else
63546 echo "$as_me: failed program was:" >&5
63547 sed 's/^/| /' conftest.$ac_ext >&5
63549 eval "$as_ac_var=no"
63551 rm -f conftest.err conftest.$ac_objext \
63552 conftest$ac_exeext conftest.$ac_ext
63554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63556 if test `eval echo '${'$as_ac_var'}'` = yes; then
63557 cat >>confdefs.h <<_ACEOF
63558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63559 _ACEOF
63562 done
63564 else
63566 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63567 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63568 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63569 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63570 echo $ECHO_N "(cached) $ECHO_C" >&6
63571 else
63575 ac_ext=cc
63576 ac_cpp='$CXXCPP $CPPFLAGS'
63577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63581 cat >conftest.$ac_ext <<_ACEOF
63582 /* confdefs.h. */
63583 _ACEOF
63584 cat confdefs.h >>conftest.$ac_ext
63585 cat >>conftest.$ac_ext <<_ACEOF
63586 /* end confdefs.h. */
63587 #include <math.h>
63588 #ifdef HAVE_IEEEFP_H
63589 #include <ieeefp.h>
63590 #endif
63593 main ()
63595 _isnanl(0);
63597 return 0;
63599 _ACEOF
63600 rm -f conftest.$ac_objext
63601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63602 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isnanl_use=yes
63623 else
63624 echo "$as_me: failed program was:" >&5
63625 sed 's/^/| /' conftest.$ac_ext >&5
63627 glibcxx_cv_func__isnanl_use=no
63629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63630 ac_ext=c
63631 ac_cpp='$CPP $CPPFLAGS'
63632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63641 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63643 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63645 for ac_func in _isnanl
63647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63648 echo "$as_me:$LINENO: checking for $ac_func" >&5
63649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63650 if eval "test \"\${$as_ac_var+set}\" = set"; then
63651 echo $ECHO_N "(cached) $ECHO_C" >&6
63652 else
63653 if test x$gcc_no_link = xyes; then
63654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63656 { (exit 1); exit 1; }; }
63658 cat >conftest.$ac_ext <<_ACEOF
63659 /* confdefs.h. */
63660 _ACEOF
63661 cat confdefs.h >>conftest.$ac_ext
63662 cat >>conftest.$ac_ext <<_ACEOF
63663 /* end confdefs.h. */
63664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63666 #define $ac_func innocuous_$ac_func
63668 /* System header to define __stub macros and hopefully few prototypes,
63669 which can conflict with char $ac_func (); below.
63670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63671 <limits.h> exists even on freestanding compilers. */
63673 #ifdef __STDC__
63674 # include <limits.h>
63675 #else
63676 # include <assert.h>
63677 #endif
63679 #undef $ac_func
63681 /* Override any gcc2 internal prototype to avoid an error. */
63682 #ifdef __cplusplus
63683 extern "C"
63685 #endif
63686 /* We use char because int might match the return type of a gcc2
63687 builtin and then its argument prototype would still apply. */
63688 char $ac_func ();
63689 /* The GNU C library defines this for functions which it implements
63690 to always fail with ENOSYS. Some functions are actually named
63691 something starting with __ and the normal name is an alias. */
63692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63693 choke me
63694 #else
63695 char (*f) () = $ac_func;
63696 #endif
63697 #ifdef __cplusplus
63699 #endif
63702 main ()
63704 return f != $ac_func;
63706 return 0;
63708 _ACEOF
63709 rm -f conftest.$ac_objext conftest$ac_exeext
63710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63711 (eval $ac_link) 2>conftest.er1
63712 ac_status=$?
63713 grep -v '^ *+' conftest.er1 >conftest.err
63714 rm -f conftest.er1
63715 cat conftest.err >&5
63716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63717 (exit $ac_status); } &&
63718 { ac_try='test -z "$ac_c_werror_flag"
63719 || test ! -s conftest.err'
63720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63721 (eval $ac_try) 2>&5
63722 ac_status=$?
63723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63724 (exit $ac_status); }; } &&
63725 { ac_try='test -s conftest$ac_exeext'
63726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63727 (eval $ac_try) 2>&5
63728 ac_status=$?
63729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63730 (exit $ac_status); }; }; then
63731 eval "$as_ac_var=yes"
63732 else
63733 echo "$as_me: failed program was:" >&5
63734 sed 's/^/| /' conftest.$ac_ext >&5
63736 eval "$as_ac_var=no"
63738 rm -f conftest.err conftest.$ac_objext \
63739 conftest$ac_exeext conftest.$ac_ext
63741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63743 if test `eval echo '${'$as_ac_var'}'` = yes; then
63744 cat >>confdefs.h <<_ACEOF
63745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63746 _ACEOF
63749 done
63756 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63757 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63758 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63759 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63760 echo $ECHO_N "(cached) $ECHO_C" >&6
63761 else
63765 ac_ext=cc
63766 ac_cpp='$CXXCPP $CPPFLAGS'
63767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63771 cat >conftest.$ac_ext <<_ACEOF
63772 /* confdefs.h. */
63773 _ACEOF
63774 cat confdefs.h >>conftest.$ac_ext
63775 cat >>conftest.$ac_ext <<_ACEOF
63776 /* end confdefs.h. */
63777 #include <math.h>
63778 #ifdef HAVE_IEEEFP_H
63779 #include <ieeefp.h>
63780 #endif
63783 main ()
63785 isinfl(0);
63787 return 0;
63789 _ACEOF
63790 rm -f conftest.$ac_objext
63791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63792 (eval $ac_compile) 2>conftest.er1
63793 ac_status=$?
63794 grep -v '^ *+' conftest.er1 >conftest.err
63795 rm -f conftest.er1
63796 cat conftest.err >&5
63797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63798 (exit $ac_status); } &&
63799 { ac_try='test -z "$ac_cxx_werror_flag"
63800 || test ! -s conftest.err'
63801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63802 (eval $ac_try) 2>&5
63803 ac_status=$?
63804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63805 (exit $ac_status); }; } &&
63806 { ac_try='test -s conftest.$ac_objext'
63807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63808 (eval $ac_try) 2>&5
63809 ac_status=$?
63810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63811 (exit $ac_status); }; }; then
63812 glibcxx_cv_func_isinfl_use=yes
63813 else
63814 echo "$as_me: failed program was:" >&5
63815 sed 's/^/| /' conftest.$ac_ext >&5
63817 glibcxx_cv_func_isinfl_use=no
63819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63820 ac_ext=c
63821 ac_cpp='$CPP $CPPFLAGS'
63822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63831 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63833 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63835 for ac_func in isinfl
63837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63838 echo "$as_me:$LINENO: checking for $ac_func" >&5
63839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63840 if eval "test \"\${$as_ac_var+set}\" = set"; then
63841 echo $ECHO_N "(cached) $ECHO_C" >&6
63842 else
63843 if test x$gcc_no_link = xyes; then
63844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63846 { (exit 1); exit 1; }; }
63848 cat >conftest.$ac_ext <<_ACEOF
63849 /* confdefs.h. */
63850 _ACEOF
63851 cat confdefs.h >>conftest.$ac_ext
63852 cat >>conftest.$ac_ext <<_ACEOF
63853 /* end confdefs.h. */
63854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63856 #define $ac_func innocuous_$ac_func
63858 /* System header to define __stub macros and hopefully few prototypes,
63859 which can conflict with char $ac_func (); below.
63860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63861 <limits.h> exists even on freestanding compilers. */
63863 #ifdef __STDC__
63864 # include <limits.h>
63865 #else
63866 # include <assert.h>
63867 #endif
63869 #undef $ac_func
63871 /* Override any gcc2 internal prototype to avoid an error. */
63872 #ifdef __cplusplus
63873 extern "C"
63875 #endif
63876 /* We use char because int might match the return type of a gcc2
63877 builtin and then its argument prototype would still apply. */
63878 char $ac_func ();
63879 /* The GNU C library defines this for functions which it implements
63880 to always fail with ENOSYS. Some functions are actually named
63881 something starting with __ and the normal name is an alias. */
63882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63883 choke me
63884 #else
63885 char (*f) () = $ac_func;
63886 #endif
63887 #ifdef __cplusplus
63889 #endif
63892 main ()
63894 return f != $ac_func;
63896 return 0;
63898 _ACEOF
63899 rm -f conftest.$ac_objext conftest$ac_exeext
63900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63901 (eval $ac_link) 2>conftest.er1
63902 ac_status=$?
63903 grep -v '^ *+' conftest.er1 >conftest.err
63904 rm -f conftest.er1
63905 cat conftest.err >&5
63906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63907 (exit $ac_status); } &&
63908 { ac_try='test -z "$ac_c_werror_flag"
63909 || test ! -s conftest.err'
63910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63911 (eval $ac_try) 2>&5
63912 ac_status=$?
63913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63914 (exit $ac_status); }; } &&
63915 { ac_try='test -s conftest$ac_exeext'
63916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63917 (eval $ac_try) 2>&5
63918 ac_status=$?
63919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63920 (exit $ac_status); }; }; then
63921 eval "$as_ac_var=yes"
63922 else
63923 echo "$as_me: failed program was:" >&5
63924 sed 's/^/| /' conftest.$ac_ext >&5
63926 eval "$as_ac_var=no"
63928 rm -f conftest.err conftest.$ac_objext \
63929 conftest$ac_exeext conftest.$ac_ext
63931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63933 if test `eval echo '${'$as_ac_var'}'` = yes; then
63934 cat >>confdefs.h <<_ACEOF
63935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63936 _ACEOF
63939 done
63941 else
63943 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63944 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63945 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63946 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63947 echo $ECHO_N "(cached) $ECHO_C" >&6
63948 else
63952 ac_ext=cc
63953 ac_cpp='$CXXCPP $CPPFLAGS'
63954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63958 cat >conftest.$ac_ext <<_ACEOF
63959 /* confdefs.h. */
63960 _ACEOF
63961 cat confdefs.h >>conftest.$ac_ext
63962 cat >>conftest.$ac_ext <<_ACEOF
63963 /* end confdefs.h. */
63964 #include <math.h>
63965 #ifdef HAVE_IEEEFP_H
63966 #include <ieeefp.h>
63967 #endif
63970 main ()
63972 _isinfl(0);
63974 return 0;
63976 _ACEOF
63977 rm -f conftest.$ac_objext
63978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63979 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isinfl_use=yes
64000 else
64001 echo "$as_me: failed program was:" >&5
64002 sed 's/^/| /' conftest.$ac_ext >&5
64004 glibcxx_cv_func__isinfl_use=no
64006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64007 ac_ext=c
64008 ac_cpp='$CPP $CPPFLAGS'
64009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64017 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64018 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64020 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64022 for ac_func in _isinfl
64024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64025 echo "$as_me:$LINENO: checking for $ac_func" >&5
64026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64027 if eval "test \"\${$as_ac_var+set}\" = set"; then
64028 echo $ECHO_N "(cached) $ECHO_C" >&6
64029 else
64030 if test x$gcc_no_link = xyes; then
64031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64033 { (exit 1); exit 1; }; }
64035 cat >conftest.$ac_ext <<_ACEOF
64036 /* confdefs.h. */
64037 _ACEOF
64038 cat confdefs.h >>conftest.$ac_ext
64039 cat >>conftest.$ac_ext <<_ACEOF
64040 /* end confdefs.h. */
64041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64043 #define $ac_func innocuous_$ac_func
64045 /* System header to define __stub macros and hopefully few prototypes,
64046 which can conflict with char $ac_func (); below.
64047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64048 <limits.h> exists even on freestanding compilers. */
64050 #ifdef __STDC__
64051 # include <limits.h>
64052 #else
64053 # include <assert.h>
64054 #endif
64056 #undef $ac_func
64058 /* Override any gcc2 internal prototype to avoid an error. */
64059 #ifdef __cplusplus
64060 extern "C"
64062 #endif
64063 /* We use char because int might match the return type of a gcc2
64064 builtin and then its argument prototype would still apply. */
64065 char $ac_func ();
64066 /* The GNU C library defines this for functions which it implements
64067 to always fail with ENOSYS. Some functions are actually named
64068 something starting with __ and the normal name is an alias. */
64069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64070 choke me
64071 #else
64072 char (*f) () = $ac_func;
64073 #endif
64074 #ifdef __cplusplus
64076 #endif
64079 main ()
64081 return f != $ac_func;
64083 return 0;
64085 _ACEOF
64086 rm -f conftest.$ac_objext conftest$ac_exeext
64087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64088 (eval $ac_link) 2>conftest.er1
64089 ac_status=$?
64090 grep -v '^ *+' conftest.er1 >conftest.err
64091 rm -f conftest.er1
64092 cat conftest.err >&5
64093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64094 (exit $ac_status); } &&
64095 { ac_try='test -z "$ac_c_werror_flag"
64096 || test ! -s conftest.err'
64097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64098 (eval $ac_try) 2>&5
64099 ac_status=$?
64100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64101 (exit $ac_status); }; } &&
64102 { ac_try='test -s conftest$ac_exeext'
64103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64104 (eval $ac_try) 2>&5
64105 ac_status=$?
64106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64107 (exit $ac_status); }; }; then
64108 eval "$as_ac_var=yes"
64109 else
64110 echo "$as_me: failed program was:" >&5
64111 sed 's/^/| /' conftest.$ac_ext >&5
64113 eval "$as_ac_var=no"
64115 rm -f conftest.err conftest.$ac_objext \
64116 conftest$ac_exeext conftest.$ac_ext
64118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64120 if test `eval echo '${'$as_ac_var'}'` = yes; then
64121 cat >>confdefs.h <<_ACEOF
64122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64123 _ACEOF
64126 done
64133 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64134 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64135 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64136 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64137 echo $ECHO_N "(cached) $ECHO_C" >&6
64138 else
64142 ac_ext=cc
64143 ac_cpp='$CXXCPP $CPPFLAGS'
64144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64148 cat >conftest.$ac_ext <<_ACEOF
64149 /* confdefs.h. */
64150 _ACEOF
64151 cat confdefs.h >>conftest.$ac_ext
64152 cat >>conftest.$ac_ext <<_ACEOF
64153 /* end confdefs.h. */
64154 #include <math.h>
64156 main ()
64158 copysignl(0, 0);
64160 return 0;
64162 _ACEOF
64163 rm -f conftest.$ac_objext
64164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64165 (eval $ac_compile) 2>conftest.er1
64166 ac_status=$?
64167 grep -v '^ *+' conftest.er1 >conftest.err
64168 rm -f conftest.er1
64169 cat conftest.err >&5
64170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64171 (exit $ac_status); } &&
64172 { ac_try='test -z "$ac_cxx_werror_flag"
64173 || test ! -s conftest.err'
64174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64175 (eval $ac_try) 2>&5
64176 ac_status=$?
64177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64178 (exit $ac_status); }; } &&
64179 { ac_try='test -s conftest.$ac_objext'
64180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64181 (eval $ac_try) 2>&5
64182 ac_status=$?
64183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64184 (exit $ac_status); }; }; then
64185 glibcxx_cv_func_copysignl_use=yes
64186 else
64187 echo "$as_me: failed program was:" >&5
64188 sed 's/^/| /' conftest.$ac_ext >&5
64190 glibcxx_cv_func_copysignl_use=no
64192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64193 ac_ext=c
64194 ac_cpp='$CPP $CPPFLAGS'
64195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64204 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64206 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64208 for ac_func in copysignl
64210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64211 echo "$as_me:$LINENO: checking for $ac_func" >&5
64212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64213 if eval "test \"\${$as_ac_var+set}\" = set"; then
64214 echo $ECHO_N "(cached) $ECHO_C" >&6
64215 else
64216 if test x$gcc_no_link = xyes; then
64217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64219 { (exit 1); exit 1; }; }
64221 cat >conftest.$ac_ext <<_ACEOF
64222 /* confdefs.h. */
64223 _ACEOF
64224 cat confdefs.h >>conftest.$ac_ext
64225 cat >>conftest.$ac_ext <<_ACEOF
64226 /* end confdefs.h. */
64227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64229 #define $ac_func innocuous_$ac_func
64231 /* System header to define __stub macros and hopefully few prototypes,
64232 which can conflict with char $ac_func (); below.
64233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64234 <limits.h> exists even on freestanding compilers. */
64236 #ifdef __STDC__
64237 # include <limits.h>
64238 #else
64239 # include <assert.h>
64240 #endif
64242 #undef $ac_func
64244 /* Override any gcc2 internal prototype to avoid an error. */
64245 #ifdef __cplusplus
64246 extern "C"
64248 #endif
64249 /* We use char because int might match the return type of a gcc2
64250 builtin and then its argument prototype would still apply. */
64251 char $ac_func ();
64252 /* The GNU C library defines this for functions which it implements
64253 to always fail with ENOSYS. Some functions are actually named
64254 something starting with __ and the normal name is an alias. */
64255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64256 choke me
64257 #else
64258 char (*f) () = $ac_func;
64259 #endif
64260 #ifdef __cplusplus
64262 #endif
64265 main ()
64267 return f != $ac_func;
64269 return 0;
64271 _ACEOF
64272 rm -f conftest.$ac_objext conftest$ac_exeext
64273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64274 (eval $ac_link) 2>conftest.er1
64275 ac_status=$?
64276 grep -v '^ *+' conftest.er1 >conftest.err
64277 rm -f conftest.er1
64278 cat conftest.err >&5
64279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64280 (exit $ac_status); } &&
64281 { ac_try='test -z "$ac_c_werror_flag"
64282 || test ! -s conftest.err'
64283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64284 (eval $ac_try) 2>&5
64285 ac_status=$?
64286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64287 (exit $ac_status); }; } &&
64288 { ac_try='test -s conftest$ac_exeext'
64289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64290 (eval $ac_try) 2>&5
64291 ac_status=$?
64292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64293 (exit $ac_status); }; }; then
64294 eval "$as_ac_var=yes"
64295 else
64296 echo "$as_me: failed program was:" >&5
64297 sed 's/^/| /' conftest.$ac_ext >&5
64299 eval "$as_ac_var=no"
64301 rm -f conftest.err conftest.$ac_objext \
64302 conftest$ac_exeext conftest.$ac_ext
64304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64306 if test `eval echo '${'$as_ac_var'}'` = yes; then
64307 cat >>confdefs.h <<_ACEOF
64308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64309 _ACEOF
64312 done
64314 else
64316 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64317 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64318 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64319 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64320 echo $ECHO_N "(cached) $ECHO_C" >&6
64321 else
64325 ac_ext=cc
64326 ac_cpp='$CXXCPP $CPPFLAGS'
64327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64331 cat >conftest.$ac_ext <<_ACEOF
64332 /* confdefs.h. */
64333 _ACEOF
64334 cat confdefs.h >>conftest.$ac_ext
64335 cat >>conftest.$ac_ext <<_ACEOF
64336 /* end confdefs.h. */
64337 #include <math.h>
64339 main ()
64341 _copysignl(0, 0);
64343 return 0;
64345 _ACEOF
64346 rm -f conftest.$ac_objext
64347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64348 (eval $ac_compile) 2>conftest.er1
64349 ac_status=$?
64350 grep -v '^ *+' conftest.er1 >conftest.err
64351 rm -f conftest.er1
64352 cat conftest.err >&5
64353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64354 (exit $ac_status); } &&
64355 { ac_try='test -z "$ac_cxx_werror_flag"
64356 || test ! -s conftest.err'
64357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64358 (eval $ac_try) 2>&5
64359 ac_status=$?
64360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64361 (exit $ac_status); }; } &&
64362 { ac_try='test -s conftest.$ac_objext'
64363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64364 (eval $ac_try) 2>&5
64365 ac_status=$?
64366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64367 (exit $ac_status); }; }; then
64368 glibcxx_cv_func__copysignl_use=yes
64369 else
64370 echo "$as_me: failed program was:" >&5
64371 sed 's/^/| /' conftest.$ac_ext >&5
64373 glibcxx_cv_func__copysignl_use=no
64375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64376 ac_ext=c
64377 ac_cpp='$CPP $CPPFLAGS'
64378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64386 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64387 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64389 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64391 for ac_func in _copysignl
64393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64394 echo "$as_me:$LINENO: checking for $ac_func" >&5
64395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64396 if eval "test \"\${$as_ac_var+set}\" = set"; then
64397 echo $ECHO_N "(cached) $ECHO_C" >&6
64398 else
64399 if test x$gcc_no_link = xyes; then
64400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64402 { (exit 1); exit 1; }; }
64404 cat >conftest.$ac_ext <<_ACEOF
64405 /* confdefs.h. */
64406 _ACEOF
64407 cat confdefs.h >>conftest.$ac_ext
64408 cat >>conftest.$ac_ext <<_ACEOF
64409 /* end confdefs.h. */
64410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64412 #define $ac_func innocuous_$ac_func
64414 /* System header to define __stub macros and hopefully few prototypes,
64415 which can conflict with char $ac_func (); below.
64416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64417 <limits.h> exists even on freestanding compilers. */
64419 #ifdef __STDC__
64420 # include <limits.h>
64421 #else
64422 # include <assert.h>
64423 #endif
64425 #undef $ac_func
64427 /* Override any gcc2 internal prototype to avoid an error. */
64428 #ifdef __cplusplus
64429 extern "C"
64431 #endif
64432 /* We use char because int might match the return type of a gcc2
64433 builtin and then its argument prototype would still apply. */
64434 char $ac_func ();
64435 /* The GNU C library defines this for functions which it implements
64436 to always fail with ENOSYS. Some functions are actually named
64437 something starting with __ and the normal name is an alias. */
64438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64439 choke me
64440 #else
64441 char (*f) () = $ac_func;
64442 #endif
64443 #ifdef __cplusplus
64445 #endif
64448 main ()
64450 return f != $ac_func;
64452 return 0;
64454 _ACEOF
64455 rm -f conftest.$ac_objext conftest$ac_exeext
64456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64457 (eval $ac_link) 2>conftest.er1
64458 ac_status=$?
64459 grep -v '^ *+' conftest.er1 >conftest.err
64460 rm -f conftest.er1
64461 cat conftest.err >&5
64462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64463 (exit $ac_status); } &&
64464 { ac_try='test -z "$ac_c_werror_flag"
64465 || test ! -s conftest.err'
64466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64467 (eval $ac_try) 2>&5
64468 ac_status=$?
64469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64470 (exit $ac_status); }; } &&
64471 { ac_try='test -s conftest$ac_exeext'
64472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64473 (eval $ac_try) 2>&5
64474 ac_status=$?
64475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64476 (exit $ac_status); }; }; then
64477 eval "$as_ac_var=yes"
64478 else
64479 echo "$as_me: failed program was:" >&5
64480 sed 's/^/| /' conftest.$ac_ext >&5
64482 eval "$as_ac_var=no"
64484 rm -f conftest.err conftest.$ac_objext \
64485 conftest$ac_exeext conftest.$ac_ext
64487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64489 if test `eval echo '${'$as_ac_var'}'` = yes; then
64490 cat >>confdefs.h <<_ACEOF
64491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64492 _ACEOF
64495 done
64502 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64503 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64504 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64505 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64506 echo $ECHO_N "(cached) $ECHO_C" >&6
64507 else
64511 ac_ext=cc
64512 ac_cpp='$CXXCPP $CPPFLAGS'
64513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64517 cat >conftest.$ac_ext <<_ACEOF
64518 /* confdefs.h. */
64519 _ACEOF
64520 cat confdefs.h >>conftest.$ac_ext
64521 cat >>conftest.$ac_ext <<_ACEOF
64522 /* end confdefs.h. */
64523 #include <math.h>
64525 main ()
64527 atan2l(0, 0);
64529 return 0;
64531 _ACEOF
64532 rm -f conftest.$ac_objext
64533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64534 (eval $ac_compile) 2>conftest.er1
64535 ac_status=$?
64536 grep -v '^ *+' conftest.er1 >conftest.err
64537 rm -f conftest.er1
64538 cat conftest.err >&5
64539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64540 (exit $ac_status); } &&
64541 { ac_try='test -z "$ac_cxx_werror_flag"
64542 || test ! -s conftest.err'
64543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64544 (eval $ac_try) 2>&5
64545 ac_status=$?
64546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64547 (exit $ac_status); }; } &&
64548 { ac_try='test -s conftest.$ac_objext'
64549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64550 (eval $ac_try) 2>&5
64551 ac_status=$?
64552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64553 (exit $ac_status); }; }; then
64554 glibcxx_cv_func_atan2l_use=yes
64555 else
64556 echo "$as_me: failed program was:" >&5
64557 sed 's/^/| /' conftest.$ac_ext >&5
64559 glibcxx_cv_func_atan2l_use=no
64561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64562 ac_ext=c
64563 ac_cpp='$CPP $CPPFLAGS'
64564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64572 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64573 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64575 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64577 for ac_func in atan2l
64579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64580 echo "$as_me:$LINENO: checking for $ac_func" >&5
64581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64582 if eval "test \"\${$as_ac_var+set}\" = set"; then
64583 echo $ECHO_N "(cached) $ECHO_C" >&6
64584 else
64585 if test x$gcc_no_link = xyes; then
64586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64588 { (exit 1); exit 1; }; }
64590 cat >conftest.$ac_ext <<_ACEOF
64591 /* confdefs.h. */
64592 _ACEOF
64593 cat confdefs.h >>conftest.$ac_ext
64594 cat >>conftest.$ac_ext <<_ACEOF
64595 /* end confdefs.h. */
64596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64598 #define $ac_func innocuous_$ac_func
64600 /* System header to define __stub macros and hopefully few prototypes,
64601 which can conflict with char $ac_func (); below.
64602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64603 <limits.h> exists even on freestanding compilers. */
64605 #ifdef __STDC__
64606 # include <limits.h>
64607 #else
64608 # include <assert.h>
64609 #endif
64611 #undef $ac_func
64613 /* Override any gcc2 internal prototype to avoid an error. */
64614 #ifdef __cplusplus
64615 extern "C"
64617 #endif
64618 /* We use char because int might match the return type of a gcc2
64619 builtin and then its argument prototype would still apply. */
64620 char $ac_func ();
64621 /* The GNU C library defines this for functions which it implements
64622 to always fail with ENOSYS. Some functions are actually named
64623 something starting with __ and the normal name is an alias. */
64624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64625 choke me
64626 #else
64627 char (*f) () = $ac_func;
64628 #endif
64629 #ifdef __cplusplus
64631 #endif
64634 main ()
64636 return f != $ac_func;
64638 return 0;
64640 _ACEOF
64641 rm -f conftest.$ac_objext conftest$ac_exeext
64642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64643 (eval $ac_link) 2>conftest.er1
64644 ac_status=$?
64645 grep -v '^ *+' conftest.er1 >conftest.err
64646 rm -f conftest.er1
64647 cat conftest.err >&5
64648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64649 (exit $ac_status); } &&
64650 { ac_try='test -z "$ac_c_werror_flag"
64651 || test ! -s conftest.err'
64652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64653 (eval $ac_try) 2>&5
64654 ac_status=$?
64655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64656 (exit $ac_status); }; } &&
64657 { ac_try='test -s conftest$ac_exeext'
64658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64659 (eval $ac_try) 2>&5
64660 ac_status=$?
64661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64662 (exit $ac_status); }; }; then
64663 eval "$as_ac_var=yes"
64664 else
64665 echo "$as_me: failed program was:" >&5
64666 sed 's/^/| /' conftest.$ac_ext >&5
64668 eval "$as_ac_var=no"
64670 rm -f conftest.err conftest.$ac_objext \
64671 conftest$ac_exeext conftest.$ac_ext
64673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64675 if test `eval echo '${'$as_ac_var'}'` = yes; then
64676 cat >>confdefs.h <<_ACEOF
64677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64678 _ACEOF
64681 done
64683 else
64685 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64686 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64687 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64688 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64689 echo $ECHO_N "(cached) $ECHO_C" >&6
64690 else
64694 ac_ext=cc
64695 ac_cpp='$CXXCPP $CPPFLAGS'
64696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64700 cat >conftest.$ac_ext <<_ACEOF
64701 /* confdefs.h. */
64702 _ACEOF
64703 cat confdefs.h >>conftest.$ac_ext
64704 cat >>conftest.$ac_ext <<_ACEOF
64705 /* end confdefs.h. */
64706 #include <math.h>
64708 main ()
64710 _atan2l(0, 0);
64712 return 0;
64714 _ACEOF
64715 rm -f conftest.$ac_objext
64716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64717 (eval $ac_compile) 2>conftest.er1
64718 ac_status=$?
64719 grep -v '^ *+' conftest.er1 >conftest.err
64720 rm -f conftest.er1
64721 cat conftest.err >&5
64722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64723 (exit $ac_status); } &&
64724 { ac_try='test -z "$ac_cxx_werror_flag"
64725 || test ! -s conftest.err'
64726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64727 (eval $ac_try) 2>&5
64728 ac_status=$?
64729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64730 (exit $ac_status); }; } &&
64731 { ac_try='test -s conftest.$ac_objext'
64732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64733 (eval $ac_try) 2>&5
64734 ac_status=$?
64735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64736 (exit $ac_status); }; }; then
64737 glibcxx_cv_func__atan2l_use=yes
64738 else
64739 echo "$as_me: failed program was:" >&5
64740 sed 's/^/| /' conftest.$ac_ext >&5
64742 glibcxx_cv_func__atan2l_use=no
64744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64745 ac_ext=c
64746 ac_cpp='$CPP $CPPFLAGS'
64747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64755 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64756 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64758 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64760 for ac_func in _atan2l
64762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64763 echo "$as_me:$LINENO: checking for $ac_func" >&5
64764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64765 if eval "test \"\${$as_ac_var+set}\" = set"; then
64766 echo $ECHO_N "(cached) $ECHO_C" >&6
64767 else
64768 if test x$gcc_no_link = xyes; then
64769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64771 { (exit 1); exit 1; }; }
64773 cat >conftest.$ac_ext <<_ACEOF
64774 /* confdefs.h. */
64775 _ACEOF
64776 cat confdefs.h >>conftest.$ac_ext
64777 cat >>conftest.$ac_ext <<_ACEOF
64778 /* end confdefs.h. */
64779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64781 #define $ac_func innocuous_$ac_func
64783 /* System header to define __stub macros and hopefully few prototypes,
64784 which can conflict with char $ac_func (); below.
64785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64786 <limits.h> exists even on freestanding compilers. */
64788 #ifdef __STDC__
64789 # include <limits.h>
64790 #else
64791 # include <assert.h>
64792 #endif
64794 #undef $ac_func
64796 /* Override any gcc2 internal prototype to avoid an error. */
64797 #ifdef __cplusplus
64798 extern "C"
64800 #endif
64801 /* We use char because int might match the return type of a gcc2
64802 builtin and then its argument prototype would still apply. */
64803 char $ac_func ();
64804 /* The GNU C library defines this for functions which it implements
64805 to always fail with ENOSYS. Some functions are actually named
64806 something starting with __ and the normal name is an alias. */
64807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64808 choke me
64809 #else
64810 char (*f) () = $ac_func;
64811 #endif
64812 #ifdef __cplusplus
64814 #endif
64817 main ()
64819 return f != $ac_func;
64821 return 0;
64823 _ACEOF
64824 rm -f conftest.$ac_objext conftest$ac_exeext
64825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64826 (eval $ac_link) 2>conftest.er1
64827 ac_status=$?
64828 grep -v '^ *+' conftest.er1 >conftest.err
64829 rm -f conftest.er1
64830 cat conftest.err >&5
64831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64832 (exit $ac_status); } &&
64833 { ac_try='test -z "$ac_c_werror_flag"
64834 || test ! -s conftest.err'
64835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64836 (eval $ac_try) 2>&5
64837 ac_status=$?
64838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64839 (exit $ac_status); }; } &&
64840 { ac_try='test -s conftest$ac_exeext'
64841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64842 (eval $ac_try) 2>&5
64843 ac_status=$?
64844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64845 (exit $ac_status); }; }; then
64846 eval "$as_ac_var=yes"
64847 else
64848 echo "$as_me: failed program was:" >&5
64849 sed 's/^/| /' conftest.$ac_ext >&5
64851 eval "$as_ac_var=no"
64853 rm -f conftest.err conftest.$ac_objext \
64854 conftest$ac_exeext conftest.$ac_ext
64856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64858 if test `eval echo '${'$as_ac_var'}'` = yes; then
64859 cat >>confdefs.h <<_ACEOF
64860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64861 _ACEOF
64864 done
64871 echo "$as_me:$LINENO: checking for expl declaration" >&5
64872 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64873 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64874 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64875 echo $ECHO_N "(cached) $ECHO_C" >&6
64876 else
64880 ac_ext=cc
64881 ac_cpp='$CXXCPP $CPPFLAGS'
64882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64886 cat >conftest.$ac_ext <<_ACEOF
64887 /* confdefs.h. */
64888 _ACEOF
64889 cat confdefs.h >>conftest.$ac_ext
64890 cat >>conftest.$ac_ext <<_ACEOF
64891 /* end confdefs.h. */
64892 #include <math.h>
64893 #ifdef HAVE_IEEEFP_H
64894 #include <ieeefp.h>
64895 #endif
64898 main ()
64900 expl(0);
64902 return 0;
64904 _ACEOF
64905 rm -f conftest.$ac_objext
64906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64907 (eval $ac_compile) 2>conftest.er1
64908 ac_status=$?
64909 grep -v '^ *+' conftest.er1 >conftest.err
64910 rm -f conftest.er1
64911 cat conftest.err >&5
64912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64913 (exit $ac_status); } &&
64914 { ac_try='test -z "$ac_cxx_werror_flag"
64915 || test ! -s conftest.err'
64916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64917 (eval $ac_try) 2>&5
64918 ac_status=$?
64919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920 (exit $ac_status); }; } &&
64921 { ac_try='test -s conftest.$ac_objext'
64922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64923 (eval $ac_try) 2>&5
64924 ac_status=$?
64925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64926 (exit $ac_status); }; }; then
64927 glibcxx_cv_func_expl_use=yes
64928 else
64929 echo "$as_me: failed program was:" >&5
64930 sed 's/^/| /' conftest.$ac_ext >&5
64932 glibcxx_cv_func_expl_use=no
64934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64935 ac_ext=c
64936 ac_cpp='$CPP $CPPFLAGS'
64937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64946 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
64948 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64950 for ac_func in expl
64952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64953 echo "$as_me:$LINENO: checking for $ac_func" >&5
64954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64955 if eval "test \"\${$as_ac_var+set}\" = set"; then
64956 echo $ECHO_N "(cached) $ECHO_C" >&6
64957 else
64958 if test x$gcc_no_link = xyes; then
64959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64961 { (exit 1); exit 1; }; }
64963 cat >conftest.$ac_ext <<_ACEOF
64964 /* confdefs.h. */
64965 _ACEOF
64966 cat confdefs.h >>conftest.$ac_ext
64967 cat >>conftest.$ac_ext <<_ACEOF
64968 /* end confdefs.h. */
64969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64971 #define $ac_func innocuous_$ac_func
64973 /* System header to define __stub macros and hopefully few prototypes,
64974 which can conflict with char $ac_func (); below.
64975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64976 <limits.h> exists even on freestanding compilers. */
64978 #ifdef __STDC__
64979 # include <limits.h>
64980 #else
64981 # include <assert.h>
64982 #endif
64984 #undef $ac_func
64986 /* Override any gcc2 internal prototype to avoid an error. */
64987 #ifdef __cplusplus
64988 extern "C"
64990 #endif
64991 /* We use char because int might match the return type of a gcc2
64992 builtin and then its argument prototype would still apply. */
64993 char $ac_func ();
64994 /* The GNU C library defines this for functions which it implements
64995 to always fail with ENOSYS. Some functions are actually named
64996 something starting with __ and the normal name is an alias. */
64997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64998 choke me
64999 #else
65000 char (*f) () = $ac_func;
65001 #endif
65002 #ifdef __cplusplus
65004 #endif
65007 main ()
65009 return f != $ac_func;
65011 return 0;
65013 _ACEOF
65014 rm -f conftest.$ac_objext conftest$ac_exeext
65015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65016 (eval $ac_link) 2>conftest.er1
65017 ac_status=$?
65018 grep -v '^ *+' conftest.er1 >conftest.err
65019 rm -f conftest.er1
65020 cat conftest.err >&5
65021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65022 (exit $ac_status); } &&
65023 { ac_try='test -z "$ac_c_werror_flag"
65024 || test ! -s conftest.err'
65025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65026 (eval $ac_try) 2>&5
65027 ac_status=$?
65028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65029 (exit $ac_status); }; } &&
65030 { ac_try='test -s conftest$ac_exeext'
65031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65032 (eval $ac_try) 2>&5
65033 ac_status=$?
65034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65035 (exit $ac_status); }; }; then
65036 eval "$as_ac_var=yes"
65037 else
65038 echo "$as_me: failed program was:" >&5
65039 sed 's/^/| /' conftest.$ac_ext >&5
65041 eval "$as_ac_var=no"
65043 rm -f conftest.err conftest.$ac_objext \
65044 conftest$ac_exeext conftest.$ac_ext
65046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65048 if test `eval echo '${'$as_ac_var'}'` = yes; then
65049 cat >>confdefs.h <<_ACEOF
65050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65051 _ACEOF
65054 done
65056 else
65058 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65059 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65061 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65062 echo $ECHO_N "(cached) $ECHO_C" >&6
65063 else
65067 ac_ext=cc
65068 ac_cpp='$CXXCPP $CPPFLAGS'
65069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65073 cat >conftest.$ac_ext <<_ACEOF
65074 /* confdefs.h. */
65075 _ACEOF
65076 cat confdefs.h >>conftest.$ac_ext
65077 cat >>conftest.$ac_ext <<_ACEOF
65078 /* end confdefs.h. */
65079 #include <math.h>
65080 #ifdef HAVE_IEEEFP_H
65081 #include <ieeefp.h>
65082 #endif
65085 main ()
65087 _expl(0);
65089 return 0;
65091 _ACEOF
65092 rm -f conftest.$ac_objext
65093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65094 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__expl_use=yes
65115 else
65116 echo "$as_me: failed program was:" >&5
65117 sed 's/^/| /' conftest.$ac_ext >&5
65119 glibcxx_cv_func__expl_use=no
65121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65122 ac_ext=c
65123 ac_cpp='$CPP $CPPFLAGS'
65124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65133 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65135 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65137 for ac_func in _expl
65139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65140 echo "$as_me:$LINENO: checking for $ac_func" >&5
65141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65142 if eval "test \"\${$as_ac_var+set}\" = set"; then
65143 echo $ECHO_N "(cached) $ECHO_C" >&6
65144 else
65145 if test x$gcc_no_link = xyes; then
65146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65148 { (exit 1); exit 1; }; }
65150 cat >conftest.$ac_ext <<_ACEOF
65151 /* confdefs.h. */
65152 _ACEOF
65153 cat confdefs.h >>conftest.$ac_ext
65154 cat >>conftest.$ac_ext <<_ACEOF
65155 /* end confdefs.h. */
65156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65158 #define $ac_func innocuous_$ac_func
65160 /* System header to define __stub macros and hopefully few prototypes,
65161 which can conflict with char $ac_func (); below.
65162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65163 <limits.h> exists even on freestanding compilers. */
65165 #ifdef __STDC__
65166 # include <limits.h>
65167 #else
65168 # include <assert.h>
65169 #endif
65171 #undef $ac_func
65173 /* Override any gcc2 internal prototype to avoid an error. */
65174 #ifdef __cplusplus
65175 extern "C"
65177 #endif
65178 /* We use char because int might match the return type of a gcc2
65179 builtin and then its argument prototype would still apply. */
65180 char $ac_func ();
65181 /* The GNU C library defines this for functions which it implements
65182 to always fail with ENOSYS. Some functions are actually named
65183 something starting with __ and the normal name is an alias. */
65184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65185 choke me
65186 #else
65187 char (*f) () = $ac_func;
65188 #endif
65189 #ifdef __cplusplus
65191 #endif
65194 main ()
65196 return f != $ac_func;
65198 return 0;
65200 _ACEOF
65201 rm -f conftest.$ac_objext conftest$ac_exeext
65202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65203 (eval $ac_link) 2>conftest.er1
65204 ac_status=$?
65205 grep -v '^ *+' conftest.er1 >conftest.err
65206 rm -f conftest.er1
65207 cat conftest.err >&5
65208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65209 (exit $ac_status); } &&
65210 { ac_try='test -z "$ac_c_werror_flag"
65211 || test ! -s conftest.err'
65212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65213 (eval $ac_try) 2>&5
65214 ac_status=$?
65215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65216 (exit $ac_status); }; } &&
65217 { ac_try='test -s conftest$ac_exeext'
65218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65219 (eval $ac_try) 2>&5
65220 ac_status=$?
65221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65222 (exit $ac_status); }; }; then
65223 eval "$as_ac_var=yes"
65224 else
65225 echo "$as_me: failed program was:" >&5
65226 sed 's/^/| /' conftest.$ac_ext >&5
65228 eval "$as_ac_var=no"
65230 rm -f conftest.err conftest.$ac_objext \
65231 conftest$ac_exeext conftest.$ac_ext
65233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65235 if test `eval echo '${'$as_ac_var'}'` = yes; then
65236 cat >>confdefs.h <<_ACEOF
65237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65238 _ACEOF
65241 done
65248 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65249 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65250 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65251 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65252 echo $ECHO_N "(cached) $ECHO_C" >&6
65253 else
65257 ac_ext=cc
65258 ac_cpp='$CXXCPP $CPPFLAGS'
65259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65263 cat >conftest.$ac_ext <<_ACEOF
65264 /* confdefs.h. */
65265 _ACEOF
65266 cat confdefs.h >>conftest.$ac_ext
65267 cat >>conftest.$ac_ext <<_ACEOF
65268 /* end confdefs.h. */
65269 #include <math.h>
65270 #ifdef HAVE_IEEEFP_H
65271 #include <ieeefp.h>
65272 #endif
65275 main ()
65277 fabsl(0);
65279 return 0;
65281 _ACEOF
65282 rm -f conftest.$ac_objext
65283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65284 (eval $ac_compile) 2>conftest.er1
65285 ac_status=$?
65286 grep -v '^ *+' conftest.er1 >conftest.err
65287 rm -f conftest.er1
65288 cat conftest.err >&5
65289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65290 (exit $ac_status); } &&
65291 { ac_try='test -z "$ac_cxx_werror_flag"
65292 || test ! -s conftest.err'
65293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65294 (eval $ac_try) 2>&5
65295 ac_status=$?
65296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65297 (exit $ac_status); }; } &&
65298 { ac_try='test -s conftest.$ac_objext'
65299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65300 (eval $ac_try) 2>&5
65301 ac_status=$?
65302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65303 (exit $ac_status); }; }; then
65304 glibcxx_cv_func_fabsl_use=yes
65305 else
65306 echo "$as_me: failed program was:" >&5
65307 sed 's/^/| /' conftest.$ac_ext >&5
65309 glibcxx_cv_func_fabsl_use=no
65311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65312 ac_ext=c
65313 ac_cpp='$CPP $CPPFLAGS'
65314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65323 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65325 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65327 for ac_func in fabsl
65329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65330 echo "$as_me:$LINENO: checking for $ac_func" >&5
65331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65332 if eval "test \"\${$as_ac_var+set}\" = set"; then
65333 echo $ECHO_N "(cached) $ECHO_C" >&6
65334 else
65335 if test x$gcc_no_link = xyes; then
65336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65338 { (exit 1); exit 1; }; }
65340 cat >conftest.$ac_ext <<_ACEOF
65341 /* confdefs.h. */
65342 _ACEOF
65343 cat confdefs.h >>conftest.$ac_ext
65344 cat >>conftest.$ac_ext <<_ACEOF
65345 /* end confdefs.h. */
65346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65348 #define $ac_func innocuous_$ac_func
65350 /* System header to define __stub macros and hopefully few prototypes,
65351 which can conflict with char $ac_func (); below.
65352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65353 <limits.h> exists even on freestanding compilers. */
65355 #ifdef __STDC__
65356 # include <limits.h>
65357 #else
65358 # include <assert.h>
65359 #endif
65361 #undef $ac_func
65363 /* Override any gcc2 internal prototype to avoid an error. */
65364 #ifdef __cplusplus
65365 extern "C"
65367 #endif
65368 /* We use char because int might match the return type of a gcc2
65369 builtin and then its argument prototype would still apply. */
65370 char $ac_func ();
65371 /* The GNU C library defines this for functions which it implements
65372 to always fail with ENOSYS. Some functions are actually named
65373 something starting with __ and the normal name is an alias. */
65374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65375 choke me
65376 #else
65377 char (*f) () = $ac_func;
65378 #endif
65379 #ifdef __cplusplus
65381 #endif
65384 main ()
65386 return f != $ac_func;
65388 return 0;
65390 _ACEOF
65391 rm -f conftest.$ac_objext conftest$ac_exeext
65392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65393 (eval $ac_link) 2>conftest.er1
65394 ac_status=$?
65395 grep -v '^ *+' conftest.er1 >conftest.err
65396 rm -f conftest.er1
65397 cat conftest.err >&5
65398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65399 (exit $ac_status); } &&
65400 { ac_try='test -z "$ac_c_werror_flag"
65401 || test ! -s conftest.err'
65402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65403 (eval $ac_try) 2>&5
65404 ac_status=$?
65405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65406 (exit $ac_status); }; } &&
65407 { ac_try='test -s conftest$ac_exeext'
65408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65409 (eval $ac_try) 2>&5
65410 ac_status=$?
65411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65412 (exit $ac_status); }; }; then
65413 eval "$as_ac_var=yes"
65414 else
65415 echo "$as_me: failed program was:" >&5
65416 sed 's/^/| /' conftest.$ac_ext >&5
65418 eval "$as_ac_var=no"
65420 rm -f conftest.err conftest.$ac_objext \
65421 conftest$ac_exeext conftest.$ac_ext
65423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65425 if test `eval echo '${'$as_ac_var'}'` = yes; then
65426 cat >>confdefs.h <<_ACEOF
65427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65428 _ACEOF
65431 done
65433 else
65435 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65436 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65437 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65438 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65439 echo $ECHO_N "(cached) $ECHO_C" >&6
65440 else
65444 ac_ext=cc
65445 ac_cpp='$CXXCPP $CPPFLAGS'
65446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65450 cat >conftest.$ac_ext <<_ACEOF
65451 /* confdefs.h. */
65452 _ACEOF
65453 cat confdefs.h >>conftest.$ac_ext
65454 cat >>conftest.$ac_ext <<_ACEOF
65455 /* end confdefs.h. */
65456 #include <math.h>
65457 #ifdef HAVE_IEEEFP_H
65458 #include <ieeefp.h>
65459 #endif
65462 main ()
65464 _fabsl(0);
65466 return 0;
65468 _ACEOF
65469 rm -f conftest.$ac_objext
65470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65471 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fabsl_use=yes
65492 else
65493 echo "$as_me: failed program was:" >&5
65494 sed 's/^/| /' conftest.$ac_ext >&5
65496 glibcxx_cv_func__fabsl_use=no
65498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65499 ac_ext=c
65500 ac_cpp='$CPP $CPPFLAGS'
65501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65510 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65512 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65514 for ac_func in _fabsl
65516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65517 echo "$as_me:$LINENO: checking for $ac_func" >&5
65518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65519 if eval "test \"\${$as_ac_var+set}\" = set"; then
65520 echo $ECHO_N "(cached) $ECHO_C" >&6
65521 else
65522 if test x$gcc_no_link = xyes; then
65523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65525 { (exit 1); exit 1; }; }
65527 cat >conftest.$ac_ext <<_ACEOF
65528 /* confdefs.h. */
65529 _ACEOF
65530 cat confdefs.h >>conftest.$ac_ext
65531 cat >>conftest.$ac_ext <<_ACEOF
65532 /* end confdefs.h. */
65533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65535 #define $ac_func innocuous_$ac_func
65537 /* System header to define __stub macros and hopefully few prototypes,
65538 which can conflict with char $ac_func (); below.
65539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65540 <limits.h> exists even on freestanding compilers. */
65542 #ifdef __STDC__
65543 # include <limits.h>
65544 #else
65545 # include <assert.h>
65546 #endif
65548 #undef $ac_func
65550 /* Override any gcc2 internal prototype to avoid an error. */
65551 #ifdef __cplusplus
65552 extern "C"
65554 #endif
65555 /* We use char because int might match the return type of a gcc2
65556 builtin and then its argument prototype would still apply. */
65557 char $ac_func ();
65558 /* The GNU C library defines this for functions which it implements
65559 to always fail with ENOSYS. Some functions are actually named
65560 something starting with __ and the normal name is an alias. */
65561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65562 choke me
65563 #else
65564 char (*f) () = $ac_func;
65565 #endif
65566 #ifdef __cplusplus
65568 #endif
65571 main ()
65573 return f != $ac_func;
65575 return 0;
65577 _ACEOF
65578 rm -f conftest.$ac_objext conftest$ac_exeext
65579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65580 (eval $ac_link) 2>conftest.er1
65581 ac_status=$?
65582 grep -v '^ *+' conftest.er1 >conftest.err
65583 rm -f conftest.er1
65584 cat conftest.err >&5
65585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65586 (exit $ac_status); } &&
65587 { ac_try='test -z "$ac_c_werror_flag"
65588 || test ! -s conftest.err'
65589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65590 (eval $ac_try) 2>&5
65591 ac_status=$?
65592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65593 (exit $ac_status); }; } &&
65594 { ac_try='test -s conftest$ac_exeext'
65595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65596 (eval $ac_try) 2>&5
65597 ac_status=$?
65598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65599 (exit $ac_status); }; }; then
65600 eval "$as_ac_var=yes"
65601 else
65602 echo "$as_me: failed program was:" >&5
65603 sed 's/^/| /' conftest.$ac_ext >&5
65605 eval "$as_ac_var=no"
65607 rm -f conftest.err conftest.$ac_objext \
65608 conftest$ac_exeext conftest.$ac_ext
65610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65612 if test `eval echo '${'$as_ac_var'}'` = yes; then
65613 cat >>confdefs.h <<_ACEOF
65614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65615 _ACEOF
65618 done
65625 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65626 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65627 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65628 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65629 echo $ECHO_N "(cached) $ECHO_C" >&6
65630 else
65634 ac_ext=cc
65635 ac_cpp='$CXXCPP $CPPFLAGS'
65636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65640 cat >conftest.$ac_ext <<_ACEOF
65641 /* confdefs.h. */
65642 _ACEOF
65643 cat confdefs.h >>conftest.$ac_ext
65644 cat >>conftest.$ac_ext <<_ACEOF
65645 /* end confdefs.h. */
65646 #include <math.h>
65648 main ()
65650 fmodl(0, 0);
65652 return 0;
65654 _ACEOF
65655 rm -f conftest.$ac_objext
65656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65657 (eval $ac_compile) 2>conftest.er1
65658 ac_status=$?
65659 grep -v '^ *+' conftest.er1 >conftest.err
65660 rm -f conftest.er1
65661 cat conftest.err >&5
65662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65663 (exit $ac_status); } &&
65664 { ac_try='test -z "$ac_cxx_werror_flag"
65665 || test ! -s conftest.err'
65666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65667 (eval $ac_try) 2>&5
65668 ac_status=$?
65669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65670 (exit $ac_status); }; } &&
65671 { ac_try='test -s conftest.$ac_objext'
65672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65673 (eval $ac_try) 2>&5
65674 ac_status=$?
65675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65676 (exit $ac_status); }; }; then
65677 glibcxx_cv_func_fmodl_use=yes
65678 else
65679 echo "$as_me: failed program was:" >&5
65680 sed 's/^/| /' conftest.$ac_ext >&5
65682 glibcxx_cv_func_fmodl_use=no
65684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65685 ac_ext=c
65686 ac_cpp='$CPP $CPPFLAGS'
65687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65696 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65698 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65700 for ac_func in fmodl
65702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65703 echo "$as_me:$LINENO: checking for $ac_func" >&5
65704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65705 if eval "test \"\${$as_ac_var+set}\" = set"; then
65706 echo $ECHO_N "(cached) $ECHO_C" >&6
65707 else
65708 if test x$gcc_no_link = xyes; then
65709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65711 { (exit 1); exit 1; }; }
65713 cat >conftest.$ac_ext <<_ACEOF
65714 /* confdefs.h. */
65715 _ACEOF
65716 cat confdefs.h >>conftest.$ac_ext
65717 cat >>conftest.$ac_ext <<_ACEOF
65718 /* end confdefs.h. */
65719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65721 #define $ac_func innocuous_$ac_func
65723 /* System header to define __stub macros and hopefully few prototypes,
65724 which can conflict with char $ac_func (); below.
65725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65726 <limits.h> exists even on freestanding compilers. */
65728 #ifdef __STDC__
65729 # include <limits.h>
65730 #else
65731 # include <assert.h>
65732 #endif
65734 #undef $ac_func
65736 /* Override any gcc2 internal prototype to avoid an error. */
65737 #ifdef __cplusplus
65738 extern "C"
65740 #endif
65741 /* We use char because int might match the return type of a gcc2
65742 builtin and then its argument prototype would still apply. */
65743 char $ac_func ();
65744 /* The GNU C library defines this for functions which it implements
65745 to always fail with ENOSYS. Some functions are actually named
65746 something starting with __ and the normal name is an alias. */
65747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65748 choke me
65749 #else
65750 char (*f) () = $ac_func;
65751 #endif
65752 #ifdef __cplusplus
65754 #endif
65757 main ()
65759 return f != $ac_func;
65761 return 0;
65763 _ACEOF
65764 rm -f conftest.$ac_objext conftest$ac_exeext
65765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65766 (eval $ac_link) 2>conftest.er1
65767 ac_status=$?
65768 grep -v '^ *+' conftest.er1 >conftest.err
65769 rm -f conftest.er1
65770 cat conftest.err >&5
65771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65772 (exit $ac_status); } &&
65773 { ac_try='test -z "$ac_c_werror_flag"
65774 || test ! -s conftest.err'
65775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65776 (eval $ac_try) 2>&5
65777 ac_status=$?
65778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65779 (exit $ac_status); }; } &&
65780 { ac_try='test -s conftest$ac_exeext'
65781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65782 (eval $ac_try) 2>&5
65783 ac_status=$?
65784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65785 (exit $ac_status); }; }; then
65786 eval "$as_ac_var=yes"
65787 else
65788 echo "$as_me: failed program was:" >&5
65789 sed 's/^/| /' conftest.$ac_ext >&5
65791 eval "$as_ac_var=no"
65793 rm -f conftest.err conftest.$ac_objext \
65794 conftest$ac_exeext conftest.$ac_ext
65796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65798 if test `eval echo '${'$as_ac_var'}'` = yes; then
65799 cat >>confdefs.h <<_ACEOF
65800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65801 _ACEOF
65804 done
65806 else
65808 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65809 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65810 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65811 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65812 echo $ECHO_N "(cached) $ECHO_C" >&6
65813 else
65817 ac_ext=cc
65818 ac_cpp='$CXXCPP $CPPFLAGS'
65819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65823 cat >conftest.$ac_ext <<_ACEOF
65824 /* confdefs.h. */
65825 _ACEOF
65826 cat confdefs.h >>conftest.$ac_ext
65827 cat >>conftest.$ac_ext <<_ACEOF
65828 /* end confdefs.h. */
65829 #include <math.h>
65831 main ()
65833 _fmodl(0, 0);
65835 return 0;
65837 _ACEOF
65838 rm -f conftest.$ac_objext
65839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65840 (eval $ac_compile) 2>conftest.er1
65841 ac_status=$?
65842 grep -v '^ *+' conftest.er1 >conftest.err
65843 rm -f conftest.er1
65844 cat conftest.err >&5
65845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65846 (exit $ac_status); } &&
65847 { ac_try='test -z "$ac_cxx_werror_flag"
65848 || test ! -s conftest.err'
65849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65850 (eval $ac_try) 2>&5
65851 ac_status=$?
65852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65853 (exit $ac_status); }; } &&
65854 { ac_try='test -s conftest.$ac_objext'
65855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65856 (eval $ac_try) 2>&5
65857 ac_status=$?
65858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65859 (exit $ac_status); }; }; then
65860 glibcxx_cv_func__fmodl_use=yes
65861 else
65862 echo "$as_me: failed program was:" >&5
65863 sed 's/^/| /' conftest.$ac_ext >&5
65865 glibcxx_cv_func__fmodl_use=no
65867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65868 ac_ext=c
65869 ac_cpp='$CPP $CPPFLAGS'
65870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65879 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65881 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65883 for ac_func in _fmodl
65885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65886 echo "$as_me:$LINENO: checking for $ac_func" >&5
65887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65888 if eval "test \"\${$as_ac_var+set}\" = set"; then
65889 echo $ECHO_N "(cached) $ECHO_C" >&6
65890 else
65891 if test x$gcc_no_link = xyes; then
65892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65894 { (exit 1); exit 1; }; }
65896 cat >conftest.$ac_ext <<_ACEOF
65897 /* confdefs.h. */
65898 _ACEOF
65899 cat confdefs.h >>conftest.$ac_ext
65900 cat >>conftest.$ac_ext <<_ACEOF
65901 /* end confdefs.h. */
65902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65904 #define $ac_func innocuous_$ac_func
65906 /* System header to define __stub macros and hopefully few prototypes,
65907 which can conflict with char $ac_func (); below.
65908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65909 <limits.h> exists even on freestanding compilers. */
65911 #ifdef __STDC__
65912 # include <limits.h>
65913 #else
65914 # include <assert.h>
65915 #endif
65917 #undef $ac_func
65919 /* Override any gcc2 internal prototype to avoid an error. */
65920 #ifdef __cplusplus
65921 extern "C"
65923 #endif
65924 /* We use char because int might match the return type of a gcc2
65925 builtin and then its argument prototype would still apply. */
65926 char $ac_func ();
65927 /* The GNU C library defines this for functions which it implements
65928 to always fail with ENOSYS. Some functions are actually named
65929 something starting with __ and the normal name is an alias. */
65930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65931 choke me
65932 #else
65933 char (*f) () = $ac_func;
65934 #endif
65935 #ifdef __cplusplus
65937 #endif
65940 main ()
65942 return f != $ac_func;
65944 return 0;
65946 _ACEOF
65947 rm -f conftest.$ac_objext conftest$ac_exeext
65948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65949 (eval $ac_link) 2>conftest.er1
65950 ac_status=$?
65951 grep -v '^ *+' conftest.er1 >conftest.err
65952 rm -f conftest.er1
65953 cat conftest.err >&5
65954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65955 (exit $ac_status); } &&
65956 { ac_try='test -z "$ac_c_werror_flag"
65957 || test ! -s conftest.err'
65958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65959 (eval $ac_try) 2>&5
65960 ac_status=$?
65961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65962 (exit $ac_status); }; } &&
65963 { ac_try='test -s conftest$ac_exeext'
65964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65965 (eval $ac_try) 2>&5
65966 ac_status=$?
65967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65968 (exit $ac_status); }; }; then
65969 eval "$as_ac_var=yes"
65970 else
65971 echo "$as_me: failed program was:" >&5
65972 sed 's/^/| /' conftest.$ac_ext >&5
65974 eval "$as_ac_var=no"
65976 rm -f conftest.err conftest.$ac_objext \
65977 conftest$ac_exeext conftest.$ac_ext
65979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65981 if test `eval echo '${'$as_ac_var'}'` = yes; then
65982 cat >>confdefs.h <<_ACEOF
65983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65984 _ACEOF
65987 done
65994 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
65995 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
65996 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65997 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
65998 echo $ECHO_N "(cached) $ECHO_C" >&6
65999 else
66003 ac_ext=cc
66004 ac_cpp='$CXXCPP $CPPFLAGS'
66005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66009 cat >conftest.$ac_ext <<_ACEOF
66010 /* confdefs.h. */
66011 _ACEOF
66012 cat confdefs.h >>conftest.$ac_ext
66013 cat >>conftest.$ac_ext <<_ACEOF
66014 /* end confdefs.h. */
66015 #include <math.h>
66017 main ()
66019 frexpl(0, 0);
66021 return 0;
66023 _ACEOF
66024 rm -f conftest.$ac_objext
66025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66026 (eval $ac_compile) 2>conftest.er1
66027 ac_status=$?
66028 grep -v '^ *+' conftest.er1 >conftest.err
66029 rm -f conftest.er1
66030 cat conftest.err >&5
66031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66032 (exit $ac_status); } &&
66033 { ac_try='test -z "$ac_cxx_werror_flag"
66034 || test ! -s conftest.err'
66035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66036 (eval $ac_try) 2>&5
66037 ac_status=$?
66038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66039 (exit $ac_status); }; } &&
66040 { ac_try='test -s conftest.$ac_objext'
66041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66042 (eval $ac_try) 2>&5
66043 ac_status=$?
66044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66045 (exit $ac_status); }; }; then
66046 glibcxx_cv_func_frexpl_use=yes
66047 else
66048 echo "$as_me: failed program was:" >&5
66049 sed 's/^/| /' conftest.$ac_ext >&5
66051 glibcxx_cv_func_frexpl_use=no
66053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66054 ac_ext=c
66055 ac_cpp='$CPP $CPPFLAGS'
66056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66065 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66067 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66069 for ac_func in frexpl
66071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66072 echo "$as_me:$LINENO: checking for $ac_func" >&5
66073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66074 if eval "test \"\${$as_ac_var+set}\" = set"; then
66075 echo $ECHO_N "(cached) $ECHO_C" >&6
66076 else
66077 if test x$gcc_no_link = xyes; then
66078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66080 { (exit 1); exit 1; }; }
66082 cat >conftest.$ac_ext <<_ACEOF
66083 /* confdefs.h. */
66084 _ACEOF
66085 cat confdefs.h >>conftest.$ac_ext
66086 cat >>conftest.$ac_ext <<_ACEOF
66087 /* end confdefs.h. */
66088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66090 #define $ac_func innocuous_$ac_func
66092 /* System header to define __stub macros and hopefully few prototypes,
66093 which can conflict with char $ac_func (); below.
66094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66095 <limits.h> exists even on freestanding compilers. */
66097 #ifdef __STDC__
66098 # include <limits.h>
66099 #else
66100 # include <assert.h>
66101 #endif
66103 #undef $ac_func
66105 /* Override any gcc2 internal prototype to avoid an error. */
66106 #ifdef __cplusplus
66107 extern "C"
66109 #endif
66110 /* We use char because int might match the return type of a gcc2
66111 builtin and then its argument prototype would still apply. */
66112 char $ac_func ();
66113 /* The GNU C library defines this for functions which it implements
66114 to always fail with ENOSYS. Some functions are actually named
66115 something starting with __ and the normal name is an alias. */
66116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66117 choke me
66118 #else
66119 char (*f) () = $ac_func;
66120 #endif
66121 #ifdef __cplusplus
66123 #endif
66126 main ()
66128 return f != $ac_func;
66130 return 0;
66132 _ACEOF
66133 rm -f conftest.$ac_objext conftest$ac_exeext
66134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66135 (eval $ac_link) 2>conftest.er1
66136 ac_status=$?
66137 grep -v '^ *+' conftest.er1 >conftest.err
66138 rm -f conftest.er1
66139 cat conftest.err >&5
66140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66141 (exit $ac_status); } &&
66142 { ac_try='test -z "$ac_c_werror_flag"
66143 || test ! -s conftest.err'
66144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66145 (eval $ac_try) 2>&5
66146 ac_status=$?
66147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66148 (exit $ac_status); }; } &&
66149 { ac_try='test -s conftest$ac_exeext'
66150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66151 (eval $ac_try) 2>&5
66152 ac_status=$?
66153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66154 (exit $ac_status); }; }; then
66155 eval "$as_ac_var=yes"
66156 else
66157 echo "$as_me: failed program was:" >&5
66158 sed 's/^/| /' conftest.$ac_ext >&5
66160 eval "$as_ac_var=no"
66162 rm -f conftest.err conftest.$ac_objext \
66163 conftest$ac_exeext conftest.$ac_ext
66165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66167 if test `eval echo '${'$as_ac_var'}'` = yes; then
66168 cat >>confdefs.h <<_ACEOF
66169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66170 _ACEOF
66173 done
66175 else
66177 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66178 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66179 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66180 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66181 echo $ECHO_N "(cached) $ECHO_C" >&6
66182 else
66186 ac_ext=cc
66187 ac_cpp='$CXXCPP $CPPFLAGS'
66188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66192 cat >conftest.$ac_ext <<_ACEOF
66193 /* confdefs.h. */
66194 _ACEOF
66195 cat confdefs.h >>conftest.$ac_ext
66196 cat >>conftest.$ac_ext <<_ACEOF
66197 /* end confdefs.h. */
66198 #include <math.h>
66200 main ()
66202 _frexpl(0, 0);
66204 return 0;
66206 _ACEOF
66207 rm -f conftest.$ac_objext
66208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66209 (eval $ac_compile) 2>conftest.er1
66210 ac_status=$?
66211 grep -v '^ *+' conftest.er1 >conftest.err
66212 rm -f conftest.er1
66213 cat conftest.err >&5
66214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66215 (exit $ac_status); } &&
66216 { ac_try='test -z "$ac_cxx_werror_flag"
66217 || test ! -s conftest.err'
66218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66219 (eval $ac_try) 2>&5
66220 ac_status=$?
66221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66222 (exit $ac_status); }; } &&
66223 { ac_try='test -s conftest.$ac_objext'
66224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66225 (eval $ac_try) 2>&5
66226 ac_status=$?
66227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66228 (exit $ac_status); }; }; then
66229 glibcxx_cv_func__frexpl_use=yes
66230 else
66231 echo "$as_me: failed program was:" >&5
66232 sed 's/^/| /' conftest.$ac_ext >&5
66234 glibcxx_cv_func__frexpl_use=no
66236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66237 ac_ext=c
66238 ac_cpp='$CPP $CPPFLAGS'
66239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66248 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66250 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66252 for ac_func in _frexpl
66254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66255 echo "$as_me:$LINENO: checking for $ac_func" >&5
66256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66257 if eval "test \"\${$as_ac_var+set}\" = set"; then
66258 echo $ECHO_N "(cached) $ECHO_C" >&6
66259 else
66260 if test x$gcc_no_link = xyes; then
66261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66263 { (exit 1); exit 1; }; }
66265 cat >conftest.$ac_ext <<_ACEOF
66266 /* confdefs.h. */
66267 _ACEOF
66268 cat confdefs.h >>conftest.$ac_ext
66269 cat >>conftest.$ac_ext <<_ACEOF
66270 /* end confdefs.h. */
66271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66273 #define $ac_func innocuous_$ac_func
66275 /* System header to define __stub macros and hopefully few prototypes,
66276 which can conflict with char $ac_func (); below.
66277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66278 <limits.h> exists even on freestanding compilers. */
66280 #ifdef __STDC__
66281 # include <limits.h>
66282 #else
66283 # include <assert.h>
66284 #endif
66286 #undef $ac_func
66288 /* Override any gcc2 internal prototype to avoid an error. */
66289 #ifdef __cplusplus
66290 extern "C"
66292 #endif
66293 /* We use char because int might match the return type of a gcc2
66294 builtin and then its argument prototype would still apply. */
66295 char $ac_func ();
66296 /* The GNU C library defines this for functions which it implements
66297 to always fail with ENOSYS. Some functions are actually named
66298 something starting with __ and the normal name is an alias. */
66299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66300 choke me
66301 #else
66302 char (*f) () = $ac_func;
66303 #endif
66304 #ifdef __cplusplus
66306 #endif
66309 main ()
66311 return f != $ac_func;
66313 return 0;
66315 _ACEOF
66316 rm -f conftest.$ac_objext conftest$ac_exeext
66317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66318 (eval $ac_link) 2>conftest.er1
66319 ac_status=$?
66320 grep -v '^ *+' conftest.er1 >conftest.err
66321 rm -f conftest.er1
66322 cat conftest.err >&5
66323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66324 (exit $ac_status); } &&
66325 { ac_try='test -z "$ac_c_werror_flag"
66326 || test ! -s conftest.err'
66327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66328 (eval $ac_try) 2>&5
66329 ac_status=$?
66330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66331 (exit $ac_status); }; } &&
66332 { ac_try='test -s conftest$ac_exeext'
66333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66334 (eval $ac_try) 2>&5
66335 ac_status=$?
66336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66337 (exit $ac_status); }; }; then
66338 eval "$as_ac_var=yes"
66339 else
66340 echo "$as_me: failed program was:" >&5
66341 sed 's/^/| /' conftest.$ac_ext >&5
66343 eval "$as_ac_var=no"
66345 rm -f conftest.err conftest.$ac_objext \
66346 conftest$ac_exeext conftest.$ac_ext
66348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66350 if test `eval echo '${'$as_ac_var'}'` = yes; then
66351 cat >>confdefs.h <<_ACEOF
66352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66353 _ACEOF
66356 done
66363 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66364 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66365 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66366 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66367 echo $ECHO_N "(cached) $ECHO_C" >&6
66368 else
66372 ac_ext=cc
66373 ac_cpp='$CXXCPP $CPPFLAGS'
66374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66378 cat >conftest.$ac_ext <<_ACEOF
66379 /* confdefs.h. */
66380 _ACEOF
66381 cat confdefs.h >>conftest.$ac_ext
66382 cat >>conftest.$ac_ext <<_ACEOF
66383 /* end confdefs.h. */
66384 #include <math.h>
66386 main ()
66388 hypotl(0, 0);
66390 return 0;
66392 _ACEOF
66393 rm -f conftest.$ac_objext
66394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66395 (eval $ac_compile) 2>conftest.er1
66396 ac_status=$?
66397 grep -v '^ *+' conftest.er1 >conftest.err
66398 rm -f conftest.er1
66399 cat conftest.err >&5
66400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66401 (exit $ac_status); } &&
66402 { ac_try='test -z "$ac_cxx_werror_flag"
66403 || test ! -s conftest.err'
66404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66405 (eval $ac_try) 2>&5
66406 ac_status=$?
66407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66408 (exit $ac_status); }; } &&
66409 { ac_try='test -s conftest.$ac_objext'
66410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66411 (eval $ac_try) 2>&5
66412 ac_status=$?
66413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66414 (exit $ac_status); }; }; then
66415 glibcxx_cv_func_hypotl_use=yes
66416 else
66417 echo "$as_me: failed program was:" >&5
66418 sed 's/^/| /' conftest.$ac_ext >&5
66420 glibcxx_cv_func_hypotl_use=no
66422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66423 ac_ext=c
66424 ac_cpp='$CPP $CPPFLAGS'
66425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66434 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66436 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66438 for ac_func in hypotl
66440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66441 echo "$as_me:$LINENO: checking for $ac_func" >&5
66442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66443 if eval "test \"\${$as_ac_var+set}\" = set"; then
66444 echo $ECHO_N "(cached) $ECHO_C" >&6
66445 else
66446 if test x$gcc_no_link = xyes; then
66447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66449 { (exit 1); exit 1; }; }
66451 cat >conftest.$ac_ext <<_ACEOF
66452 /* confdefs.h. */
66453 _ACEOF
66454 cat confdefs.h >>conftest.$ac_ext
66455 cat >>conftest.$ac_ext <<_ACEOF
66456 /* end confdefs.h. */
66457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66459 #define $ac_func innocuous_$ac_func
66461 /* System header to define __stub macros and hopefully few prototypes,
66462 which can conflict with char $ac_func (); below.
66463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66464 <limits.h> exists even on freestanding compilers. */
66466 #ifdef __STDC__
66467 # include <limits.h>
66468 #else
66469 # include <assert.h>
66470 #endif
66472 #undef $ac_func
66474 /* Override any gcc2 internal prototype to avoid an error. */
66475 #ifdef __cplusplus
66476 extern "C"
66478 #endif
66479 /* We use char because int might match the return type of a gcc2
66480 builtin and then its argument prototype would still apply. */
66481 char $ac_func ();
66482 /* The GNU C library defines this for functions which it implements
66483 to always fail with ENOSYS. Some functions are actually named
66484 something starting with __ and the normal name is an alias. */
66485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66486 choke me
66487 #else
66488 char (*f) () = $ac_func;
66489 #endif
66490 #ifdef __cplusplus
66492 #endif
66495 main ()
66497 return f != $ac_func;
66499 return 0;
66501 _ACEOF
66502 rm -f conftest.$ac_objext conftest$ac_exeext
66503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66504 (eval $ac_link) 2>conftest.er1
66505 ac_status=$?
66506 grep -v '^ *+' conftest.er1 >conftest.err
66507 rm -f conftest.er1
66508 cat conftest.err >&5
66509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66510 (exit $ac_status); } &&
66511 { ac_try='test -z "$ac_c_werror_flag"
66512 || test ! -s conftest.err'
66513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66514 (eval $ac_try) 2>&5
66515 ac_status=$?
66516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66517 (exit $ac_status); }; } &&
66518 { ac_try='test -s conftest$ac_exeext'
66519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66520 (eval $ac_try) 2>&5
66521 ac_status=$?
66522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66523 (exit $ac_status); }; }; then
66524 eval "$as_ac_var=yes"
66525 else
66526 echo "$as_me: failed program was:" >&5
66527 sed 's/^/| /' conftest.$ac_ext >&5
66529 eval "$as_ac_var=no"
66531 rm -f conftest.err conftest.$ac_objext \
66532 conftest$ac_exeext conftest.$ac_ext
66534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66536 if test `eval echo '${'$as_ac_var'}'` = yes; then
66537 cat >>confdefs.h <<_ACEOF
66538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66539 _ACEOF
66542 done
66544 else
66546 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66547 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66548 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66549 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66550 echo $ECHO_N "(cached) $ECHO_C" >&6
66551 else
66555 ac_ext=cc
66556 ac_cpp='$CXXCPP $CPPFLAGS'
66557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66561 cat >conftest.$ac_ext <<_ACEOF
66562 /* confdefs.h. */
66563 _ACEOF
66564 cat confdefs.h >>conftest.$ac_ext
66565 cat >>conftest.$ac_ext <<_ACEOF
66566 /* end confdefs.h. */
66567 #include <math.h>
66569 main ()
66571 _hypotl(0, 0);
66573 return 0;
66575 _ACEOF
66576 rm -f conftest.$ac_objext
66577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66578 (eval $ac_compile) 2>conftest.er1
66579 ac_status=$?
66580 grep -v '^ *+' conftest.er1 >conftest.err
66581 rm -f conftest.er1
66582 cat conftest.err >&5
66583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66584 (exit $ac_status); } &&
66585 { ac_try='test -z "$ac_cxx_werror_flag"
66586 || test ! -s conftest.err'
66587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66588 (eval $ac_try) 2>&5
66589 ac_status=$?
66590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66591 (exit $ac_status); }; } &&
66592 { ac_try='test -s conftest.$ac_objext'
66593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66594 (eval $ac_try) 2>&5
66595 ac_status=$?
66596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66597 (exit $ac_status); }; }; then
66598 glibcxx_cv_func__hypotl_use=yes
66599 else
66600 echo "$as_me: failed program was:" >&5
66601 sed 's/^/| /' conftest.$ac_ext >&5
66603 glibcxx_cv_func__hypotl_use=no
66605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66606 ac_ext=c
66607 ac_cpp='$CPP $CPPFLAGS'
66608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66616 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66617 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66619 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66621 for ac_func in _hypotl
66623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66624 echo "$as_me:$LINENO: checking for $ac_func" >&5
66625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66626 if eval "test \"\${$as_ac_var+set}\" = set"; then
66627 echo $ECHO_N "(cached) $ECHO_C" >&6
66628 else
66629 if test x$gcc_no_link = xyes; then
66630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66632 { (exit 1); exit 1; }; }
66634 cat >conftest.$ac_ext <<_ACEOF
66635 /* confdefs.h. */
66636 _ACEOF
66637 cat confdefs.h >>conftest.$ac_ext
66638 cat >>conftest.$ac_ext <<_ACEOF
66639 /* end confdefs.h. */
66640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66642 #define $ac_func innocuous_$ac_func
66644 /* System header to define __stub macros and hopefully few prototypes,
66645 which can conflict with char $ac_func (); below.
66646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66647 <limits.h> exists even on freestanding compilers. */
66649 #ifdef __STDC__
66650 # include <limits.h>
66651 #else
66652 # include <assert.h>
66653 #endif
66655 #undef $ac_func
66657 /* Override any gcc2 internal prototype to avoid an error. */
66658 #ifdef __cplusplus
66659 extern "C"
66661 #endif
66662 /* We use char because int might match the return type of a gcc2
66663 builtin and then its argument prototype would still apply. */
66664 char $ac_func ();
66665 /* The GNU C library defines this for functions which it implements
66666 to always fail with ENOSYS. Some functions are actually named
66667 something starting with __ and the normal name is an alias. */
66668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66669 choke me
66670 #else
66671 char (*f) () = $ac_func;
66672 #endif
66673 #ifdef __cplusplus
66675 #endif
66678 main ()
66680 return f != $ac_func;
66682 return 0;
66684 _ACEOF
66685 rm -f conftest.$ac_objext conftest$ac_exeext
66686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66687 (eval $ac_link) 2>conftest.er1
66688 ac_status=$?
66689 grep -v '^ *+' conftest.er1 >conftest.err
66690 rm -f conftest.er1
66691 cat conftest.err >&5
66692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66693 (exit $ac_status); } &&
66694 { ac_try='test -z "$ac_c_werror_flag"
66695 || test ! -s conftest.err'
66696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66697 (eval $ac_try) 2>&5
66698 ac_status=$?
66699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66700 (exit $ac_status); }; } &&
66701 { ac_try='test -s conftest$ac_exeext'
66702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66703 (eval $ac_try) 2>&5
66704 ac_status=$?
66705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66706 (exit $ac_status); }; }; then
66707 eval "$as_ac_var=yes"
66708 else
66709 echo "$as_me: failed program was:" >&5
66710 sed 's/^/| /' conftest.$ac_ext >&5
66712 eval "$as_ac_var=no"
66714 rm -f conftest.err conftest.$ac_objext \
66715 conftest$ac_exeext conftest.$ac_ext
66717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66719 if test `eval echo '${'$as_ac_var'}'` = yes; then
66720 cat >>confdefs.h <<_ACEOF
66721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66722 _ACEOF
66725 done
66732 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66733 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66734 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66735 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66736 echo $ECHO_N "(cached) $ECHO_C" >&6
66737 else
66741 ac_ext=cc
66742 ac_cpp='$CXXCPP $CPPFLAGS'
66743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66747 cat >conftest.$ac_ext <<_ACEOF
66748 /* confdefs.h. */
66749 _ACEOF
66750 cat confdefs.h >>conftest.$ac_ext
66751 cat >>conftest.$ac_ext <<_ACEOF
66752 /* end confdefs.h. */
66753 #include <math.h>
66755 main ()
66757 ldexpl(0, 0);
66759 return 0;
66761 _ACEOF
66762 rm -f conftest.$ac_objext
66763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66764 (eval $ac_compile) 2>conftest.er1
66765 ac_status=$?
66766 grep -v '^ *+' conftest.er1 >conftest.err
66767 rm -f conftest.er1
66768 cat conftest.err >&5
66769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66770 (exit $ac_status); } &&
66771 { ac_try='test -z "$ac_cxx_werror_flag"
66772 || test ! -s conftest.err'
66773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66774 (eval $ac_try) 2>&5
66775 ac_status=$?
66776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66777 (exit $ac_status); }; } &&
66778 { ac_try='test -s conftest.$ac_objext'
66779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66780 (eval $ac_try) 2>&5
66781 ac_status=$?
66782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66783 (exit $ac_status); }; }; then
66784 glibcxx_cv_func_ldexpl_use=yes
66785 else
66786 echo "$as_me: failed program was:" >&5
66787 sed 's/^/| /' conftest.$ac_ext >&5
66789 glibcxx_cv_func_ldexpl_use=no
66791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66792 ac_ext=c
66793 ac_cpp='$CPP $CPPFLAGS'
66794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66803 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66805 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66807 for ac_func in ldexpl
66809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66810 echo "$as_me:$LINENO: checking for $ac_func" >&5
66811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66812 if eval "test \"\${$as_ac_var+set}\" = set"; then
66813 echo $ECHO_N "(cached) $ECHO_C" >&6
66814 else
66815 if test x$gcc_no_link = xyes; then
66816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66818 { (exit 1); exit 1; }; }
66820 cat >conftest.$ac_ext <<_ACEOF
66821 /* confdefs.h. */
66822 _ACEOF
66823 cat confdefs.h >>conftest.$ac_ext
66824 cat >>conftest.$ac_ext <<_ACEOF
66825 /* end confdefs.h. */
66826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66828 #define $ac_func innocuous_$ac_func
66830 /* System header to define __stub macros and hopefully few prototypes,
66831 which can conflict with char $ac_func (); below.
66832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66833 <limits.h> exists even on freestanding compilers. */
66835 #ifdef __STDC__
66836 # include <limits.h>
66837 #else
66838 # include <assert.h>
66839 #endif
66841 #undef $ac_func
66843 /* Override any gcc2 internal prototype to avoid an error. */
66844 #ifdef __cplusplus
66845 extern "C"
66847 #endif
66848 /* We use char because int might match the return type of a gcc2
66849 builtin and then its argument prototype would still apply. */
66850 char $ac_func ();
66851 /* The GNU C library defines this for functions which it implements
66852 to always fail with ENOSYS. Some functions are actually named
66853 something starting with __ and the normal name is an alias. */
66854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66855 choke me
66856 #else
66857 char (*f) () = $ac_func;
66858 #endif
66859 #ifdef __cplusplus
66861 #endif
66864 main ()
66866 return f != $ac_func;
66868 return 0;
66870 _ACEOF
66871 rm -f conftest.$ac_objext conftest$ac_exeext
66872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66873 (eval $ac_link) 2>conftest.er1
66874 ac_status=$?
66875 grep -v '^ *+' conftest.er1 >conftest.err
66876 rm -f conftest.er1
66877 cat conftest.err >&5
66878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66879 (exit $ac_status); } &&
66880 { ac_try='test -z "$ac_c_werror_flag"
66881 || test ! -s conftest.err'
66882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66883 (eval $ac_try) 2>&5
66884 ac_status=$?
66885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66886 (exit $ac_status); }; } &&
66887 { ac_try='test -s conftest$ac_exeext'
66888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66889 (eval $ac_try) 2>&5
66890 ac_status=$?
66891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66892 (exit $ac_status); }; }; then
66893 eval "$as_ac_var=yes"
66894 else
66895 echo "$as_me: failed program was:" >&5
66896 sed 's/^/| /' conftest.$ac_ext >&5
66898 eval "$as_ac_var=no"
66900 rm -f conftest.err conftest.$ac_objext \
66901 conftest$ac_exeext conftest.$ac_ext
66903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66905 if test `eval echo '${'$as_ac_var'}'` = yes; then
66906 cat >>confdefs.h <<_ACEOF
66907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66908 _ACEOF
66911 done
66913 else
66915 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66916 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66917 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66918 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66919 echo $ECHO_N "(cached) $ECHO_C" >&6
66920 else
66924 ac_ext=cc
66925 ac_cpp='$CXXCPP $CPPFLAGS'
66926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66930 cat >conftest.$ac_ext <<_ACEOF
66931 /* confdefs.h. */
66932 _ACEOF
66933 cat confdefs.h >>conftest.$ac_ext
66934 cat >>conftest.$ac_ext <<_ACEOF
66935 /* end confdefs.h. */
66936 #include <math.h>
66938 main ()
66940 _ldexpl(0, 0);
66942 return 0;
66944 _ACEOF
66945 rm -f conftest.$ac_objext
66946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66947 (eval $ac_compile) 2>conftest.er1
66948 ac_status=$?
66949 grep -v '^ *+' conftest.er1 >conftest.err
66950 rm -f conftest.er1
66951 cat conftest.err >&5
66952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66953 (exit $ac_status); } &&
66954 { ac_try='test -z "$ac_cxx_werror_flag"
66955 || test ! -s conftest.err'
66956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66957 (eval $ac_try) 2>&5
66958 ac_status=$?
66959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66960 (exit $ac_status); }; } &&
66961 { ac_try='test -s conftest.$ac_objext'
66962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66963 (eval $ac_try) 2>&5
66964 ac_status=$?
66965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66966 (exit $ac_status); }; }; then
66967 glibcxx_cv_func__ldexpl_use=yes
66968 else
66969 echo "$as_me: failed program was:" >&5
66970 sed 's/^/| /' conftest.$ac_ext >&5
66972 glibcxx_cv_func__ldexpl_use=no
66974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66975 ac_ext=c
66976 ac_cpp='$CPP $CPPFLAGS'
66977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
66986 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
66988 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66990 for ac_func in _ldexpl
66992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66993 echo "$as_me:$LINENO: checking for $ac_func" >&5
66994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66995 if eval "test \"\${$as_ac_var+set}\" = set"; then
66996 echo $ECHO_N "(cached) $ECHO_C" >&6
66997 else
66998 if test x$gcc_no_link = xyes; then
66999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67001 { (exit 1); exit 1; }; }
67003 cat >conftest.$ac_ext <<_ACEOF
67004 /* confdefs.h. */
67005 _ACEOF
67006 cat confdefs.h >>conftest.$ac_ext
67007 cat >>conftest.$ac_ext <<_ACEOF
67008 /* end confdefs.h. */
67009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67011 #define $ac_func innocuous_$ac_func
67013 /* System header to define __stub macros and hopefully few prototypes,
67014 which can conflict with char $ac_func (); below.
67015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67016 <limits.h> exists even on freestanding compilers. */
67018 #ifdef __STDC__
67019 # include <limits.h>
67020 #else
67021 # include <assert.h>
67022 #endif
67024 #undef $ac_func
67026 /* Override any gcc2 internal prototype to avoid an error. */
67027 #ifdef __cplusplus
67028 extern "C"
67030 #endif
67031 /* We use char because int might match the return type of a gcc2
67032 builtin and then its argument prototype would still apply. */
67033 char $ac_func ();
67034 /* The GNU C library defines this for functions which it implements
67035 to always fail with ENOSYS. Some functions are actually named
67036 something starting with __ and the normal name is an alias. */
67037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67038 choke me
67039 #else
67040 char (*f) () = $ac_func;
67041 #endif
67042 #ifdef __cplusplus
67044 #endif
67047 main ()
67049 return f != $ac_func;
67051 return 0;
67053 _ACEOF
67054 rm -f conftest.$ac_objext conftest$ac_exeext
67055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67056 (eval $ac_link) 2>conftest.er1
67057 ac_status=$?
67058 grep -v '^ *+' conftest.er1 >conftest.err
67059 rm -f conftest.er1
67060 cat conftest.err >&5
67061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67062 (exit $ac_status); } &&
67063 { ac_try='test -z "$ac_c_werror_flag"
67064 || test ! -s conftest.err'
67065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67066 (eval $ac_try) 2>&5
67067 ac_status=$?
67068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67069 (exit $ac_status); }; } &&
67070 { ac_try='test -s conftest$ac_exeext'
67071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67072 (eval $ac_try) 2>&5
67073 ac_status=$?
67074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075 (exit $ac_status); }; }; then
67076 eval "$as_ac_var=yes"
67077 else
67078 echo "$as_me: failed program was:" >&5
67079 sed 's/^/| /' conftest.$ac_ext >&5
67081 eval "$as_ac_var=no"
67083 rm -f conftest.err conftest.$ac_objext \
67084 conftest$ac_exeext conftest.$ac_ext
67086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67088 if test `eval echo '${'$as_ac_var'}'` = yes; then
67089 cat >>confdefs.h <<_ACEOF
67090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67091 _ACEOF
67094 done
67101 echo "$as_me:$LINENO: checking for logl declaration" >&5
67102 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67103 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67104 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67105 echo $ECHO_N "(cached) $ECHO_C" >&6
67106 else
67110 ac_ext=cc
67111 ac_cpp='$CXXCPP $CPPFLAGS'
67112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67116 cat >conftest.$ac_ext <<_ACEOF
67117 /* confdefs.h. */
67118 _ACEOF
67119 cat confdefs.h >>conftest.$ac_ext
67120 cat >>conftest.$ac_ext <<_ACEOF
67121 /* end confdefs.h. */
67122 #include <math.h>
67123 #ifdef HAVE_IEEEFP_H
67124 #include <ieeefp.h>
67125 #endif
67128 main ()
67130 logl(0);
67132 return 0;
67134 _ACEOF
67135 rm -f conftest.$ac_objext
67136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67137 (eval $ac_compile) 2>conftest.er1
67138 ac_status=$?
67139 grep -v '^ *+' conftest.er1 >conftest.err
67140 rm -f conftest.er1
67141 cat conftest.err >&5
67142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67143 (exit $ac_status); } &&
67144 { ac_try='test -z "$ac_cxx_werror_flag"
67145 || test ! -s conftest.err'
67146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67147 (eval $ac_try) 2>&5
67148 ac_status=$?
67149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67150 (exit $ac_status); }; } &&
67151 { ac_try='test -s conftest.$ac_objext'
67152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67153 (eval $ac_try) 2>&5
67154 ac_status=$?
67155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67156 (exit $ac_status); }; }; then
67157 glibcxx_cv_func_logl_use=yes
67158 else
67159 echo "$as_me: failed program was:" >&5
67160 sed 's/^/| /' conftest.$ac_ext >&5
67162 glibcxx_cv_func_logl_use=no
67164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67165 ac_ext=c
67166 ac_cpp='$CPP $CPPFLAGS'
67167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67176 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67178 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67180 for ac_func in logl
67182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67183 echo "$as_me:$LINENO: checking for $ac_func" >&5
67184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67185 if eval "test \"\${$as_ac_var+set}\" = set"; then
67186 echo $ECHO_N "(cached) $ECHO_C" >&6
67187 else
67188 if test x$gcc_no_link = xyes; then
67189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67191 { (exit 1); exit 1; }; }
67193 cat >conftest.$ac_ext <<_ACEOF
67194 /* confdefs.h. */
67195 _ACEOF
67196 cat confdefs.h >>conftest.$ac_ext
67197 cat >>conftest.$ac_ext <<_ACEOF
67198 /* end confdefs.h. */
67199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67201 #define $ac_func innocuous_$ac_func
67203 /* System header to define __stub macros and hopefully few prototypes,
67204 which can conflict with char $ac_func (); below.
67205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67206 <limits.h> exists even on freestanding compilers. */
67208 #ifdef __STDC__
67209 # include <limits.h>
67210 #else
67211 # include <assert.h>
67212 #endif
67214 #undef $ac_func
67216 /* Override any gcc2 internal prototype to avoid an error. */
67217 #ifdef __cplusplus
67218 extern "C"
67220 #endif
67221 /* We use char because int might match the return type of a gcc2
67222 builtin and then its argument prototype would still apply. */
67223 char $ac_func ();
67224 /* The GNU C library defines this for functions which it implements
67225 to always fail with ENOSYS. Some functions are actually named
67226 something starting with __ and the normal name is an alias. */
67227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67228 choke me
67229 #else
67230 char (*f) () = $ac_func;
67231 #endif
67232 #ifdef __cplusplus
67234 #endif
67237 main ()
67239 return f != $ac_func;
67241 return 0;
67243 _ACEOF
67244 rm -f conftest.$ac_objext conftest$ac_exeext
67245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67246 (eval $ac_link) 2>conftest.er1
67247 ac_status=$?
67248 grep -v '^ *+' conftest.er1 >conftest.err
67249 rm -f conftest.er1
67250 cat conftest.err >&5
67251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67252 (exit $ac_status); } &&
67253 { ac_try='test -z "$ac_c_werror_flag"
67254 || test ! -s conftest.err'
67255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67256 (eval $ac_try) 2>&5
67257 ac_status=$?
67258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67259 (exit $ac_status); }; } &&
67260 { ac_try='test -s conftest$ac_exeext'
67261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67262 (eval $ac_try) 2>&5
67263 ac_status=$?
67264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67265 (exit $ac_status); }; }; then
67266 eval "$as_ac_var=yes"
67267 else
67268 echo "$as_me: failed program was:" >&5
67269 sed 's/^/| /' conftest.$ac_ext >&5
67271 eval "$as_ac_var=no"
67273 rm -f conftest.err conftest.$ac_objext \
67274 conftest$ac_exeext conftest.$ac_ext
67276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67278 if test `eval echo '${'$as_ac_var'}'` = yes; then
67279 cat >>confdefs.h <<_ACEOF
67280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67281 _ACEOF
67284 done
67286 else
67288 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67289 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67290 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67291 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67292 echo $ECHO_N "(cached) $ECHO_C" >&6
67293 else
67297 ac_ext=cc
67298 ac_cpp='$CXXCPP $CPPFLAGS'
67299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67303 cat >conftest.$ac_ext <<_ACEOF
67304 /* confdefs.h. */
67305 _ACEOF
67306 cat confdefs.h >>conftest.$ac_ext
67307 cat >>conftest.$ac_ext <<_ACEOF
67308 /* end confdefs.h. */
67309 #include <math.h>
67310 #ifdef HAVE_IEEEFP_H
67311 #include <ieeefp.h>
67312 #endif
67315 main ()
67317 _logl(0);
67319 return 0;
67321 _ACEOF
67322 rm -f conftest.$ac_objext
67323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67324 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__logl_use=yes
67345 else
67346 echo "$as_me: failed program was:" >&5
67347 sed 's/^/| /' conftest.$ac_ext >&5
67349 glibcxx_cv_func__logl_use=no
67351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67352 ac_ext=c
67353 ac_cpp='$CPP $CPPFLAGS'
67354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67363 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67365 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67367 for ac_func in _logl
67369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67370 echo "$as_me:$LINENO: checking for $ac_func" >&5
67371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67372 if eval "test \"\${$as_ac_var+set}\" = set"; then
67373 echo $ECHO_N "(cached) $ECHO_C" >&6
67374 else
67375 if test x$gcc_no_link = xyes; then
67376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67378 { (exit 1); exit 1; }; }
67380 cat >conftest.$ac_ext <<_ACEOF
67381 /* confdefs.h. */
67382 _ACEOF
67383 cat confdefs.h >>conftest.$ac_ext
67384 cat >>conftest.$ac_ext <<_ACEOF
67385 /* end confdefs.h. */
67386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67388 #define $ac_func innocuous_$ac_func
67390 /* System header to define __stub macros and hopefully few prototypes,
67391 which can conflict with char $ac_func (); below.
67392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67393 <limits.h> exists even on freestanding compilers. */
67395 #ifdef __STDC__
67396 # include <limits.h>
67397 #else
67398 # include <assert.h>
67399 #endif
67401 #undef $ac_func
67403 /* Override any gcc2 internal prototype to avoid an error. */
67404 #ifdef __cplusplus
67405 extern "C"
67407 #endif
67408 /* We use char because int might match the return type of a gcc2
67409 builtin and then its argument prototype would still apply. */
67410 char $ac_func ();
67411 /* The GNU C library defines this for functions which it implements
67412 to always fail with ENOSYS. Some functions are actually named
67413 something starting with __ and the normal name is an alias. */
67414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67415 choke me
67416 #else
67417 char (*f) () = $ac_func;
67418 #endif
67419 #ifdef __cplusplus
67421 #endif
67424 main ()
67426 return f != $ac_func;
67428 return 0;
67430 _ACEOF
67431 rm -f conftest.$ac_objext conftest$ac_exeext
67432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67433 (eval $ac_link) 2>conftest.er1
67434 ac_status=$?
67435 grep -v '^ *+' conftest.er1 >conftest.err
67436 rm -f conftest.er1
67437 cat conftest.err >&5
67438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67439 (exit $ac_status); } &&
67440 { ac_try='test -z "$ac_c_werror_flag"
67441 || test ! -s conftest.err'
67442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67443 (eval $ac_try) 2>&5
67444 ac_status=$?
67445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67446 (exit $ac_status); }; } &&
67447 { ac_try='test -s conftest$ac_exeext'
67448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67449 (eval $ac_try) 2>&5
67450 ac_status=$?
67451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67452 (exit $ac_status); }; }; then
67453 eval "$as_ac_var=yes"
67454 else
67455 echo "$as_me: failed program was:" >&5
67456 sed 's/^/| /' conftest.$ac_ext >&5
67458 eval "$as_ac_var=no"
67460 rm -f conftest.err conftest.$ac_objext \
67461 conftest$ac_exeext conftest.$ac_ext
67463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67465 if test `eval echo '${'$as_ac_var'}'` = yes; then
67466 cat >>confdefs.h <<_ACEOF
67467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67468 _ACEOF
67471 done
67478 echo "$as_me:$LINENO: checking for log10l declaration" >&5
67479 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67480 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67481 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67482 echo $ECHO_N "(cached) $ECHO_C" >&6
67483 else
67487 ac_ext=cc
67488 ac_cpp='$CXXCPP $CPPFLAGS'
67489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67493 cat >conftest.$ac_ext <<_ACEOF
67494 /* confdefs.h. */
67495 _ACEOF
67496 cat confdefs.h >>conftest.$ac_ext
67497 cat >>conftest.$ac_ext <<_ACEOF
67498 /* end confdefs.h. */
67499 #include <math.h>
67500 #ifdef HAVE_IEEEFP_H
67501 #include <ieeefp.h>
67502 #endif
67505 main ()
67507 log10l(0);
67509 return 0;
67511 _ACEOF
67512 rm -f conftest.$ac_objext
67513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67514 (eval $ac_compile) 2>conftest.er1
67515 ac_status=$?
67516 grep -v '^ *+' conftest.er1 >conftest.err
67517 rm -f conftest.er1
67518 cat conftest.err >&5
67519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67520 (exit $ac_status); } &&
67521 { ac_try='test -z "$ac_cxx_werror_flag"
67522 || test ! -s conftest.err'
67523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67524 (eval $ac_try) 2>&5
67525 ac_status=$?
67526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67527 (exit $ac_status); }; } &&
67528 { ac_try='test -s conftest.$ac_objext'
67529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67530 (eval $ac_try) 2>&5
67531 ac_status=$?
67532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67533 (exit $ac_status); }; }; then
67534 glibcxx_cv_func_log10l_use=yes
67535 else
67536 echo "$as_me: failed program was:" >&5
67537 sed 's/^/| /' conftest.$ac_ext >&5
67539 glibcxx_cv_func_log10l_use=no
67541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67542 ac_ext=c
67543 ac_cpp='$CPP $CPPFLAGS'
67544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67553 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67555 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67557 for ac_func in log10l
67559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67560 echo "$as_me:$LINENO: checking for $ac_func" >&5
67561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67562 if eval "test \"\${$as_ac_var+set}\" = set"; then
67563 echo $ECHO_N "(cached) $ECHO_C" >&6
67564 else
67565 if test x$gcc_no_link = xyes; then
67566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67568 { (exit 1); exit 1; }; }
67570 cat >conftest.$ac_ext <<_ACEOF
67571 /* confdefs.h. */
67572 _ACEOF
67573 cat confdefs.h >>conftest.$ac_ext
67574 cat >>conftest.$ac_ext <<_ACEOF
67575 /* end confdefs.h. */
67576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67578 #define $ac_func innocuous_$ac_func
67580 /* System header to define __stub macros and hopefully few prototypes,
67581 which can conflict with char $ac_func (); below.
67582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67583 <limits.h> exists even on freestanding compilers. */
67585 #ifdef __STDC__
67586 # include <limits.h>
67587 #else
67588 # include <assert.h>
67589 #endif
67591 #undef $ac_func
67593 /* Override any gcc2 internal prototype to avoid an error. */
67594 #ifdef __cplusplus
67595 extern "C"
67597 #endif
67598 /* We use char because int might match the return type of a gcc2
67599 builtin and then its argument prototype would still apply. */
67600 char $ac_func ();
67601 /* The GNU C library defines this for functions which it implements
67602 to always fail with ENOSYS. Some functions are actually named
67603 something starting with __ and the normal name is an alias. */
67604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67605 choke me
67606 #else
67607 char (*f) () = $ac_func;
67608 #endif
67609 #ifdef __cplusplus
67611 #endif
67614 main ()
67616 return f != $ac_func;
67618 return 0;
67620 _ACEOF
67621 rm -f conftest.$ac_objext conftest$ac_exeext
67622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67623 (eval $ac_link) 2>conftest.er1
67624 ac_status=$?
67625 grep -v '^ *+' conftest.er1 >conftest.err
67626 rm -f conftest.er1
67627 cat conftest.err >&5
67628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67629 (exit $ac_status); } &&
67630 { ac_try='test -z "$ac_c_werror_flag"
67631 || test ! -s conftest.err'
67632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67633 (eval $ac_try) 2>&5
67634 ac_status=$?
67635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67636 (exit $ac_status); }; } &&
67637 { ac_try='test -s conftest$ac_exeext'
67638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67639 (eval $ac_try) 2>&5
67640 ac_status=$?
67641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67642 (exit $ac_status); }; }; then
67643 eval "$as_ac_var=yes"
67644 else
67645 echo "$as_me: failed program was:" >&5
67646 sed 's/^/| /' conftest.$ac_ext >&5
67648 eval "$as_ac_var=no"
67650 rm -f conftest.err conftest.$ac_objext \
67651 conftest$ac_exeext conftest.$ac_ext
67653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67655 if test `eval echo '${'$as_ac_var'}'` = yes; then
67656 cat >>confdefs.h <<_ACEOF
67657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67658 _ACEOF
67661 done
67663 else
67665 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67666 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67667 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67668 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67669 echo $ECHO_N "(cached) $ECHO_C" >&6
67670 else
67674 ac_ext=cc
67675 ac_cpp='$CXXCPP $CPPFLAGS'
67676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67680 cat >conftest.$ac_ext <<_ACEOF
67681 /* confdefs.h. */
67682 _ACEOF
67683 cat confdefs.h >>conftest.$ac_ext
67684 cat >>conftest.$ac_ext <<_ACEOF
67685 /* end confdefs.h. */
67686 #include <math.h>
67687 #ifdef HAVE_IEEEFP_H
67688 #include <ieeefp.h>
67689 #endif
67692 main ()
67694 _log10l(0);
67696 return 0;
67698 _ACEOF
67699 rm -f conftest.$ac_objext
67700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67701 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__log10l_use=yes
67722 else
67723 echo "$as_me: failed program was:" >&5
67724 sed 's/^/| /' conftest.$ac_ext >&5
67726 glibcxx_cv_func__log10l_use=no
67728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67729 ac_ext=c
67730 ac_cpp='$CPP $CPPFLAGS'
67731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67740 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67742 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67744 for ac_func in _log10l
67746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67747 echo "$as_me:$LINENO: checking for $ac_func" >&5
67748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67749 if eval "test \"\${$as_ac_var+set}\" = set"; then
67750 echo $ECHO_N "(cached) $ECHO_C" >&6
67751 else
67752 if test x$gcc_no_link = xyes; then
67753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67755 { (exit 1); exit 1; }; }
67757 cat >conftest.$ac_ext <<_ACEOF
67758 /* confdefs.h. */
67759 _ACEOF
67760 cat confdefs.h >>conftest.$ac_ext
67761 cat >>conftest.$ac_ext <<_ACEOF
67762 /* end confdefs.h. */
67763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67765 #define $ac_func innocuous_$ac_func
67767 /* System header to define __stub macros and hopefully few prototypes,
67768 which can conflict with char $ac_func (); below.
67769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67770 <limits.h> exists even on freestanding compilers. */
67772 #ifdef __STDC__
67773 # include <limits.h>
67774 #else
67775 # include <assert.h>
67776 #endif
67778 #undef $ac_func
67780 /* Override any gcc2 internal prototype to avoid an error. */
67781 #ifdef __cplusplus
67782 extern "C"
67784 #endif
67785 /* We use char because int might match the return type of a gcc2
67786 builtin and then its argument prototype would still apply. */
67787 char $ac_func ();
67788 /* The GNU C library defines this for functions which it implements
67789 to always fail with ENOSYS. Some functions are actually named
67790 something starting with __ and the normal name is an alias. */
67791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67792 choke me
67793 #else
67794 char (*f) () = $ac_func;
67795 #endif
67796 #ifdef __cplusplus
67798 #endif
67801 main ()
67803 return f != $ac_func;
67805 return 0;
67807 _ACEOF
67808 rm -f conftest.$ac_objext conftest$ac_exeext
67809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67810 (eval $ac_link) 2>conftest.er1
67811 ac_status=$?
67812 grep -v '^ *+' conftest.er1 >conftest.err
67813 rm -f conftest.er1
67814 cat conftest.err >&5
67815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67816 (exit $ac_status); } &&
67817 { ac_try='test -z "$ac_c_werror_flag"
67818 || test ! -s conftest.err'
67819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67820 (eval $ac_try) 2>&5
67821 ac_status=$?
67822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67823 (exit $ac_status); }; } &&
67824 { ac_try='test -s conftest$ac_exeext'
67825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67826 (eval $ac_try) 2>&5
67827 ac_status=$?
67828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67829 (exit $ac_status); }; }; then
67830 eval "$as_ac_var=yes"
67831 else
67832 echo "$as_me: failed program was:" >&5
67833 sed 's/^/| /' conftest.$ac_ext >&5
67835 eval "$as_ac_var=no"
67837 rm -f conftest.err conftest.$ac_objext \
67838 conftest$ac_exeext conftest.$ac_ext
67840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67842 if test `eval echo '${'$as_ac_var'}'` = yes; then
67843 cat >>confdefs.h <<_ACEOF
67844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67845 _ACEOF
67848 done
67855 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67856 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67857 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67858 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67859 echo $ECHO_N "(cached) $ECHO_C" >&6
67860 else
67864 ac_ext=cc
67865 ac_cpp='$CXXCPP $CPPFLAGS'
67866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67870 cat >conftest.$ac_ext <<_ACEOF
67871 /* confdefs.h. */
67872 _ACEOF
67873 cat confdefs.h >>conftest.$ac_ext
67874 cat >>conftest.$ac_ext <<_ACEOF
67875 /* end confdefs.h. */
67876 #include <math.h>
67878 main ()
67880 modfl(0, 0);
67882 return 0;
67884 _ACEOF
67885 rm -f conftest.$ac_objext
67886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67887 (eval $ac_compile) 2>conftest.er1
67888 ac_status=$?
67889 grep -v '^ *+' conftest.er1 >conftest.err
67890 rm -f conftest.er1
67891 cat conftest.err >&5
67892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67893 (exit $ac_status); } &&
67894 { ac_try='test -z "$ac_cxx_werror_flag"
67895 || test ! -s conftest.err'
67896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67897 (eval $ac_try) 2>&5
67898 ac_status=$?
67899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67900 (exit $ac_status); }; } &&
67901 { ac_try='test -s conftest.$ac_objext'
67902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67903 (eval $ac_try) 2>&5
67904 ac_status=$?
67905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67906 (exit $ac_status); }; }; then
67907 glibcxx_cv_func_modfl_use=yes
67908 else
67909 echo "$as_me: failed program was:" >&5
67910 sed 's/^/| /' conftest.$ac_ext >&5
67912 glibcxx_cv_func_modfl_use=no
67914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67915 ac_ext=c
67916 ac_cpp='$CPP $CPPFLAGS'
67917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67926 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67928 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67930 for ac_func in modfl
67932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67933 echo "$as_me:$LINENO: checking for $ac_func" >&5
67934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67935 if eval "test \"\${$as_ac_var+set}\" = set"; then
67936 echo $ECHO_N "(cached) $ECHO_C" >&6
67937 else
67938 if test x$gcc_no_link = xyes; then
67939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67941 { (exit 1); exit 1; }; }
67943 cat >conftest.$ac_ext <<_ACEOF
67944 /* confdefs.h. */
67945 _ACEOF
67946 cat confdefs.h >>conftest.$ac_ext
67947 cat >>conftest.$ac_ext <<_ACEOF
67948 /* end confdefs.h. */
67949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67951 #define $ac_func innocuous_$ac_func
67953 /* System header to define __stub macros and hopefully few prototypes,
67954 which can conflict with char $ac_func (); below.
67955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67956 <limits.h> exists even on freestanding compilers. */
67958 #ifdef __STDC__
67959 # include <limits.h>
67960 #else
67961 # include <assert.h>
67962 #endif
67964 #undef $ac_func
67966 /* Override any gcc2 internal prototype to avoid an error. */
67967 #ifdef __cplusplus
67968 extern "C"
67970 #endif
67971 /* We use char because int might match the return type of a gcc2
67972 builtin and then its argument prototype would still apply. */
67973 char $ac_func ();
67974 /* The GNU C library defines this for functions which it implements
67975 to always fail with ENOSYS. Some functions are actually named
67976 something starting with __ and the normal name is an alias. */
67977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67978 choke me
67979 #else
67980 char (*f) () = $ac_func;
67981 #endif
67982 #ifdef __cplusplus
67984 #endif
67987 main ()
67989 return f != $ac_func;
67991 return 0;
67993 _ACEOF
67994 rm -f conftest.$ac_objext conftest$ac_exeext
67995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67996 (eval $ac_link) 2>conftest.er1
67997 ac_status=$?
67998 grep -v '^ *+' conftest.er1 >conftest.err
67999 rm -f conftest.er1
68000 cat conftest.err >&5
68001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68002 (exit $ac_status); } &&
68003 { ac_try='test -z "$ac_c_werror_flag"
68004 || test ! -s conftest.err'
68005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68006 (eval $ac_try) 2>&5
68007 ac_status=$?
68008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68009 (exit $ac_status); }; } &&
68010 { ac_try='test -s conftest$ac_exeext'
68011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68012 (eval $ac_try) 2>&5
68013 ac_status=$?
68014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68015 (exit $ac_status); }; }; then
68016 eval "$as_ac_var=yes"
68017 else
68018 echo "$as_me: failed program was:" >&5
68019 sed 's/^/| /' conftest.$ac_ext >&5
68021 eval "$as_ac_var=no"
68023 rm -f conftest.err conftest.$ac_objext \
68024 conftest$ac_exeext conftest.$ac_ext
68026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68028 if test `eval echo '${'$as_ac_var'}'` = yes; then
68029 cat >>confdefs.h <<_ACEOF
68030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68031 _ACEOF
68034 done
68036 else
68038 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68039 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68040 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68041 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68042 echo $ECHO_N "(cached) $ECHO_C" >&6
68043 else
68047 ac_ext=cc
68048 ac_cpp='$CXXCPP $CPPFLAGS'
68049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68053 cat >conftest.$ac_ext <<_ACEOF
68054 /* confdefs.h. */
68055 _ACEOF
68056 cat confdefs.h >>conftest.$ac_ext
68057 cat >>conftest.$ac_ext <<_ACEOF
68058 /* end confdefs.h. */
68059 #include <math.h>
68061 main ()
68063 _modfl(0, 0);
68065 return 0;
68067 _ACEOF
68068 rm -f conftest.$ac_objext
68069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68070 (eval $ac_compile) 2>conftest.er1
68071 ac_status=$?
68072 grep -v '^ *+' conftest.er1 >conftest.err
68073 rm -f conftest.er1
68074 cat conftest.err >&5
68075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68076 (exit $ac_status); } &&
68077 { ac_try='test -z "$ac_cxx_werror_flag"
68078 || test ! -s conftest.err'
68079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68080 (eval $ac_try) 2>&5
68081 ac_status=$?
68082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68083 (exit $ac_status); }; } &&
68084 { ac_try='test -s conftest.$ac_objext'
68085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68086 (eval $ac_try) 2>&5
68087 ac_status=$?
68088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68089 (exit $ac_status); }; }; then
68090 glibcxx_cv_func__modfl_use=yes
68091 else
68092 echo "$as_me: failed program was:" >&5
68093 sed 's/^/| /' conftest.$ac_ext >&5
68095 glibcxx_cv_func__modfl_use=no
68097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68098 ac_ext=c
68099 ac_cpp='$CPP $CPPFLAGS'
68100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68109 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68111 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68113 for ac_func in _modfl
68115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68116 echo "$as_me:$LINENO: checking for $ac_func" >&5
68117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68118 if eval "test \"\${$as_ac_var+set}\" = set"; then
68119 echo $ECHO_N "(cached) $ECHO_C" >&6
68120 else
68121 if test x$gcc_no_link = xyes; then
68122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68124 { (exit 1); exit 1; }; }
68126 cat >conftest.$ac_ext <<_ACEOF
68127 /* confdefs.h. */
68128 _ACEOF
68129 cat confdefs.h >>conftest.$ac_ext
68130 cat >>conftest.$ac_ext <<_ACEOF
68131 /* end confdefs.h. */
68132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68134 #define $ac_func innocuous_$ac_func
68136 /* System header to define __stub macros and hopefully few prototypes,
68137 which can conflict with char $ac_func (); below.
68138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68139 <limits.h> exists even on freestanding compilers. */
68141 #ifdef __STDC__
68142 # include <limits.h>
68143 #else
68144 # include <assert.h>
68145 #endif
68147 #undef $ac_func
68149 /* Override any gcc2 internal prototype to avoid an error. */
68150 #ifdef __cplusplus
68151 extern "C"
68153 #endif
68154 /* We use char because int might match the return type of a gcc2
68155 builtin and then its argument prototype would still apply. */
68156 char $ac_func ();
68157 /* The GNU C library defines this for functions which it implements
68158 to always fail with ENOSYS. Some functions are actually named
68159 something starting with __ and the normal name is an alias. */
68160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68161 choke me
68162 #else
68163 char (*f) () = $ac_func;
68164 #endif
68165 #ifdef __cplusplus
68167 #endif
68170 main ()
68172 return f != $ac_func;
68174 return 0;
68176 _ACEOF
68177 rm -f conftest.$ac_objext conftest$ac_exeext
68178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68179 (eval $ac_link) 2>conftest.er1
68180 ac_status=$?
68181 grep -v '^ *+' conftest.er1 >conftest.err
68182 rm -f conftest.er1
68183 cat conftest.err >&5
68184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68185 (exit $ac_status); } &&
68186 { ac_try='test -z "$ac_c_werror_flag"
68187 || test ! -s conftest.err'
68188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68189 (eval $ac_try) 2>&5
68190 ac_status=$?
68191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68192 (exit $ac_status); }; } &&
68193 { ac_try='test -s conftest$ac_exeext'
68194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68195 (eval $ac_try) 2>&5
68196 ac_status=$?
68197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68198 (exit $ac_status); }; }; then
68199 eval "$as_ac_var=yes"
68200 else
68201 echo "$as_me: failed program was:" >&5
68202 sed 's/^/| /' conftest.$ac_ext >&5
68204 eval "$as_ac_var=no"
68206 rm -f conftest.err conftest.$ac_objext \
68207 conftest$ac_exeext conftest.$ac_ext
68209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68211 if test `eval echo '${'$as_ac_var'}'` = yes; then
68212 cat >>confdefs.h <<_ACEOF
68213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68214 _ACEOF
68217 done
68224 echo "$as_me:$LINENO: checking for powl declaration" >&5
68225 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68226 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68227 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68228 echo $ECHO_N "(cached) $ECHO_C" >&6
68229 else
68233 ac_ext=cc
68234 ac_cpp='$CXXCPP $CPPFLAGS'
68235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68239 cat >conftest.$ac_ext <<_ACEOF
68240 /* confdefs.h. */
68241 _ACEOF
68242 cat confdefs.h >>conftest.$ac_ext
68243 cat >>conftest.$ac_ext <<_ACEOF
68244 /* end confdefs.h. */
68245 #include <math.h>
68247 main ()
68249 powl(0, 0);
68251 return 0;
68253 _ACEOF
68254 rm -f conftest.$ac_objext
68255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68256 (eval $ac_compile) 2>conftest.er1
68257 ac_status=$?
68258 grep -v '^ *+' conftest.er1 >conftest.err
68259 rm -f conftest.er1
68260 cat conftest.err >&5
68261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68262 (exit $ac_status); } &&
68263 { ac_try='test -z "$ac_cxx_werror_flag"
68264 || test ! -s conftest.err'
68265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68266 (eval $ac_try) 2>&5
68267 ac_status=$?
68268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68269 (exit $ac_status); }; } &&
68270 { ac_try='test -s conftest.$ac_objext'
68271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68272 (eval $ac_try) 2>&5
68273 ac_status=$?
68274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68275 (exit $ac_status); }; }; then
68276 glibcxx_cv_func_powl_use=yes
68277 else
68278 echo "$as_me: failed program was:" >&5
68279 sed 's/^/| /' conftest.$ac_ext >&5
68281 glibcxx_cv_func_powl_use=no
68283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68284 ac_ext=c
68285 ac_cpp='$CPP $CPPFLAGS'
68286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68295 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68297 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68299 for ac_func in powl
68301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68302 echo "$as_me:$LINENO: checking for $ac_func" >&5
68303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68304 if eval "test \"\${$as_ac_var+set}\" = set"; then
68305 echo $ECHO_N "(cached) $ECHO_C" >&6
68306 else
68307 if test x$gcc_no_link = xyes; then
68308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68310 { (exit 1); exit 1; }; }
68312 cat >conftest.$ac_ext <<_ACEOF
68313 /* confdefs.h. */
68314 _ACEOF
68315 cat confdefs.h >>conftest.$ac_ext
68316 cat >>conftest.$ac_ext <<_ACEOF
68317 /* end confdefs.h. */
68318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68320 #define $ac_func innocuous_$ac_func
68322 /* System header to define __stub macros and hopefully few prototypes,
68323 which can conflict with char $ac_func (); below.
68324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68325 <limits.h> exists even on freestanding compilers. */
68327 #ifdef __STDC__
68328 # include <limits.h>
68329 #else
68330 # include <assert.h>
68331 #endif
68333 #undef $ac_func
68335 /* Override any gcc2 internal prototype to avoid an error. */
68336 #ifdef __cplusplus
68337 extern "C"
68339 #endif
68340 /* We use char because int might match the return type of a gcc2
68341 builtin and then its argument prototype would still apply. */
68342 char $ac_func ();
68343 /* The GNU C library defines this for functions which it implements
68344 to always fail with ENOSYS. Some functions are actually named
68345 something starting with __ and the normal name is an alias. */
68346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68347 choke me
68348 #else
68349 char (*f) () = $ac_func;
68350 #endif
68351 #ifdef __cplusplus
68353 #endif
68356 main ()
68358 return f != $ac_func;
68360 return 0;
68362 _ACEOF
68363 rm -f conftest.$ac_objext conftest$ac_exeext
68364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68365 (eval $ac_link) 2>conftest.er1
68366 ac_status=$?
68367 grep -v '^ *+' conftest.er1 >conftest.err
68368 rm -f conftest.er1
68369 cat conftest.err >&5
68370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68371 (exit $ac_status); } &&
68372 { ac_try='test -z "$ac_c_werror_flag"
68373 || test ! -s conftest.err'
68374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68375 (eval $ac_try) 2>&5
68376 ac_status=$?
68377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68378 (exit $ac_status); }; } &&
68379 { ac_try='test -s conftest$ac_exeext'
68380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68381 (eval $ac_try) 2>&5
68382 ac_status=$?
68383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68384 (exit $ac_status); }; }; then
68385 eval "$as_ac_var=yes"
68386 else
68387 echo "$as_me: failed program was:" >&5
68388 sed 's/^/| /' conftest.$ac_ext >&5
68390 eval "$as_ac_var=no"
68392 rm -f conftest.err conftest.$ac_objext \
68393 conftest$ac_exeext conftest.$ac_ext
68395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68397 if test `eval echo '${'$as_ac_var'}'` = yes; then
68398 cat >>confdefs.h <<_ACEOF
68399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68400 _ACEOF
68403 done
68405 else
68407 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68408 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68409 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68410 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68411 echo $ECHO_N "(cached) $ECHO_C" >&6
68412 else
68416 ac_ext=cc
68417 ac_cpp='$CXXCPP $CPPFLAGS'
68418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68422 cat >conftest.$ac_ext <<_ACEOF
68423 /* confdefs.h. */
68424 _ACEOF
68425 cat confdefs.h >>conftest.$ac_ext
68426 cat >>conftest.$ac_ext <<_ACEOF
68427 /* end confdefs.h. */
68428 #include <math.h>
68430 main ()
68432 _powl(0, 0);
68434 return 0;
68436 _ACEOF
68437 rm -f conftest.$ac_objext
68438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68439 (eval $ac_compile) 2>conftest.er1
68440 ac_status=$?
68441 grep -v '^ *+' conftest.er1 >conftest.err
68442 rm -f conftest.er1
68443 cat conftest.err >&5
68444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68445 (exit $ac_status); } &&
68446 { ac_try='test -z "$ac_cxx_werror_flag"
68447 || test ! -s conftest.err'
68448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68449 (eval $ac_try) 2>&5
68450 ac_status=$?
68451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68452 (exit $ac_status); }; } &&
68453 { ac_try='test -s conftest.$ac_objext'
68454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68455 (eval $ac_try) 2>&5
68456 ac_status=$?
68457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68458 (exit $ac_status); }; }; then
68459 glibcxx_cv_func__powl_use=yes
68460 else
68461 echo "$as_me: failed program was:" >&5
68462 sed 's/^/| /' conftest.$ac_ext >&5
68464 glibcxx_cv_func__powl_use=no
68466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68467 ac_ext=c
68468 ac_cpp='$CPP $CPPFLAGS'
68469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68478 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68480 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68482 for ac_func in _powl
68484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68485 echo "$as_me:$LINENO: checking for $ac_func" >&5
68486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68487 if eval "test \"\${$as_ac_var+set}\" = set"; then
68488 echo $ECHO_N "(cached) $ECHO_C" >&6
68489 else
68490 if test x$gcc_no_link = xyes; then
68491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68493 { (exit 1); exit 1; }; }
68495 cat >conftest.$ac_ext <<_ACEOF
68496 /* confdefs.h. */
68497 _ACEOF
68498 cat confdefs.h >>conftest.$ac_ext
68499 cat >>conftest.$ac_ext <<_ACEOF
68500 /* end confdefs.h. */
68501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68503 #define $ac_func innocuous_$ac_func
68505 /* System header to define __stub macros and hopefully few prototypes,
68506 which can conflict with char $ac_func (); below.
68507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68508 <limits.h> exists even on freestanding compilers. */
68510 #ifdef __STDC__
68511 # include <limits.h>
68512 #else
68513 # include <assert.h>
68514 #endif
68516 #undef $ac_func
68518 /* Override any gcc2 internal prototype to avoid an error. */
68519 #ifdef __cplusplus
68520 extern "C"
68522 #endif
68523 /* We use char because int might match the return type of a gcc2
68524 builtin and then its argument prototype would still apply. */
68525 char $ac_func ();
68526 /* The GNU C library defines this for functions which it implements
68527 to always fail with ENOSYS. Some functions are actually named
68528 something starting with __ and the normal name is an alias. */
68529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68530 choke me
68531 #else
68532 char (*f) () = $ac_func;
68533 #endif
68534 #ifdef __cplusplus
68536 #endif
68539 main ()
68541 return f != $ac_func;
68543 return 0;
68545 _ACEOF
68546 rm -f conftest.$ac_objext conftest$ac_exeext
68547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68548 (eval $ac_link) 2>conftest.er1
68549 ac_status=$?
68550 grep -v '^ *+' conftest.er1 >conftest.err
68551 rm -f conftest.er1
68552 cat conftest.err >&5
68553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68554 (exit $ac_status); } &&
68555 { ac_try='test -z "$ac_c_werror_flag"
68556 || test ! -s conftest.err'
68557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68558 (eval $ac_try) 2>&5
68559 ac_status=$?
68560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68561 (exit $ac_status); }; } &&
68562 { ac_try='test -s conftest$ac_exeext'
68563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68564 (eval $ac_try) 2>&5
68565 ac_status=$?
68566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68567 (exit $ac_status); }; }; then
68568 eval "$as_ac_var=yes"
68569 else
68570 echo "$as_me: failed program was:" >&5
68571 sed 's/^/| /' conftest.$ac_ext >&5
68573 eval "$as_ac_var=no"
68575 rm -f conftest.err conftest.$ac_objext \
68576 conftest$ac_exeext conftest.$ac_ext
68578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68580 if test `eval echo '${'$as_ac_var'}'` = yes; then
68581 cat >>confdefs.h <<_ACEOF
68582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68583 _ACEOF
68586 done
68593 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68594 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68595 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68596 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68597 echo $ECHO_N "(cached) $ECHO_C" >&6
68598 else
68602 ac_ext=cc
68603 ac_cpp='$CXXCPP $CPPFLAGS'
68604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68608 cat >conftest.$ac_ext <<_ACEOF
68609 /* confdefs.h. */
68610 _ACEOF
68611 cat confdefs.h >>conftest.$ac_ext
68612 cat >>conftest.$ac_ext <<_ACEOF
68613 /* end confdefs.h. */
68614 #include <math.h>
68615 #ifdef HAVE_IEEEFP_H
68616 #include <ieeefp.h>
68617 #endif
68620 main ()
68622 sqrtl(0);
68624 return 0;
68626 _ACEOF
68627 rm -f conftest.$ac_objext
68628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68629 (eval $ac_compile) 2>conftest.er1
68630 ac_status=$?
68631 grep -v '^ *+' conftest.er1 >conftest.err
68632 rm -f conftest.er1
68633 cat conftest.err >&5
68634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68635 (exit $ac_status); } &&
68636 { ac_try='test -z "$ac_cxx_werror_flag"
68637 || test ! -s conftest.err'
68638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68639 (eval $ac_try) 2>&5
68640 ac_status=$?
68641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68642 (exit $ac_status); }; } &&
68643 { ac_try='test -s conftest.$ac_objext'
68644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68645 (eval $ac_try) 2>&5
68646 ac_status=$?
68647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68648 (exit $ac_status); }; }; then
68649 glibcxx_cv_func_sqrtl_use=yes
68650 else
68651 echo "$as_me: failed program was:" >&5
68652 sed 's/^/| /' conftest.$ac_ext >&5
68654 glibcxx_cv_func_sqrtl_use=no
68656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68657 ac_ext=c
68658 ac_cpp='$CPP $CPPFLAGS'
68659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68668 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68670 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68672 for ac_func in sqrtl
68674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68675 echo "$as_me:$LINENO: checking for $ac_func" >&5
68676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68677 if eval "test \"\${$as_ac_var+set}\" = set"; then
68678 echo $ECHO_N "(cached) $ECHO_C" >&6
68679 else
68680 if test x$gcc_no_link = xyes; then
68681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68683 { (exit 1); exit 1; }; }
68685 cat >conftest.$ac_ext <<_ACEOF
68686 /* confdefs.h. */
68687 _ACEOF
68688 cat confdefs.h >>conftest.$ac_ext
68689 cat >>conftest.$ac_ext <<_ACEOF
68690 /* end confdefs.h. */
68691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68693 #define $ac_func innocuous_$ac_func
68695 /* System header to define __stub macros and hopefully few prototypes,
68696 which can conflict with char $ac_func (); below.
68697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68698 <limits.h> exists even on freestanding compilers. */
68700 #ifdef __STDC__
68701 # include <limits.h>
68702 #else
68703 # include <assert.h>
68704 #endif
68706 #undef $ac_func
68708 /* Override any gcc2 internal prototype to avoid an error. */
68709 #ifdef __cplusplus
68710 extern "C"
68712 #endif
68713 /* We use char because int might match the return type of a gcc2
68714 builtin and then its argument prototype would still apply. */
68715 char $ac_func ();
68716 /* The GNU C library defines this for functions which it implements
68717 to always fail with ENOSYS. Some functions are actually named
68718 something starting with __ and the normal name is an alias. */
68719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68720 choke me
68721 #else
68722 char (*f) () = $ac_func;
68723 #endif
68724 #ifdef __cplusplus
68726 #endif
68729 main ()
68731 return f != $ac_func;
68733 return 0;
68735 _ACEOF
68736 rm -f conftest.$ac_objext conftest$ac_exeext
68737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68738 (eval $ac_link) 2>conftest.er1
68739 ac_status=$?
68740 grep -v '^ *+' conftest.er1 >conftest.err
68741 rm -f conftest.er1
68742 cat conftest.err >&5
68743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68744 (exit $ac_status); } &&
68745 { ac_try='test -z "$ac_c_werror_flag"
68746 || test ! -s conftest.err'
68747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68748 (eval $ac_try) 2>&5
68749 ac_status=$?
68750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68751 (exit $ac_status); }; } &&
68752 { ac_try='test -s conftest$ac_exeext'
68753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68754 (eval $ac_try) 2>&5
68755 ac_status=$?
68756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68757 (exit $ac_status); }; }; then
68758 eval "$as_ac_var=yes"
68759 else
68760 echo "$as_me: failed program was:" >&5
68761 sed 's/^/| /' conftest.$ac_ext >&5
68763 eval "$as_ac_var=no"
68765 rm -f conftest.err conftest.$ac_objext \
68766 conftest$ac_exeext conftest.$ac_ext
68768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68770 if test `eval echo '${'$as_ac_var'}'` = yes; then
68771 cat >>confdefs.h <<_ACEOF
68772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68773 _ACEOF
68776 done
68778 else
68780 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68781 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68782 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68783 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68784 echo $ECHO_N "(cached) $ECHO_C" >&6
68785 else
68789 ac_ext=cc
68790 ac_cpp='$CXXCPP $CPPFLAGS'
68791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68795 cat >conftest.$ac_ext <<_ACEOF
68796 /* confdefs.h. */
68797 _ACEOF
68798 cat confdefs.h >>conftest.$ac_ext
68799 cat >>conftest.$ac_ext <<_ACEOF
68800 /* end confdefs.h. */
68801 #include <math.h>
68802 #ifdef HAVE_IEEEFP_H
68803 #include <ieeefp.h>
68804 #endif
68807 main ()
68809 _sqrtl(0);
68811 return 0;
68813 _ACEOF
68814 rm -f conftest.$ac_objext
68815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68816 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sqrtl_use=yes
68837 else
68838 echo "$as_me: failed program was:" >&5
68839 sed 's/^/| /' conftest.$ac_ext >&5
68841 glibcxx_cv_func__sqrtl_use=no
68843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68844 ac_ext=c
68845 ac_cpp='$CPP $CPPFLAGS'
68846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68855 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68857 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68859 for ac_func in _sqrtl
68861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68862 echo "$as_me:$LINENO: checking for $ac_func" >&5
68863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68864 if eval "test \"\${$as_ac_var+set}\" = set"; then
68865 echo $ECHO_N "(cached) $ECHO_C" >&6
68866 else
68867 if test x$gcc_no_link = xyes; then
68868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68870 { (exit 1); exit 1; }; }
68872 cat >conftest.$ac_ext <<_ACEOF
68873 /* confdefs.h. */
68874 _ACEOF
68875 cat confdefs.h >>conftest.$ac_ext
68876 cat >>conftest.$ac_ext <<_ACEOF
68877 /* end confdefs.h. */
68878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68880 #define $ac_func innocuous_$ac_func
68882 /* System header to define __stub macros and hopefully few prototypes,
68883 which can conflict with char $ac_func (); below.
68884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68885 <limits.h> exists even on freestanding compilers. */
68887 #ifdef __STDC__
68888 # include <limits.h>
68889 #else
68890 # include <assert.h>
68891 #endif
68893 #undef $ac_func
68895 /* Override any gcc2 internal prototype to avoid an error. */
68896 #ifdef __cplusplus
68897 extern "C"
68899 #endif
68900 /* We use char because int might match the return type of a gcc2
68901 builtin and then its argument prototype would still apply. */
68902 char $ac_func ();
68903 /* The GNU C library defines this for functions which it implements
68904 to always fail with ENOSYS. Some functions are actually named
68905 something starting with __ and the normal name is an alias. */
68906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68907 choke me
68908 #else
68909 char (*f) () = $ac_func;
68910 #endif
68911 #ifdef __cplusplus
68913 #endif
68916 main ()
68918 return f != $ac_func;
68920 return 0;
68922 _ACEOF
68923 rm -f conftest.$ac_objext conftest$ac_exeext
68924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68925 (eval $ac_link) 2>conftest.er1
68926 ac_status=$?
68927 grep -v '^ *+' conftest.er1 >conftest.err
68928 rm -f conftest.er1
68929 cat conftest.err >&5
68930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68931 (exit $ac_status); } &&
68932 { ac_try='test -z "$ac_c_werror_flag"
68933 || test ! -s conftest.err'
68934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68935 (eval $ac_try) 2>&5
68936 ac_status=$?
68937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68938 (exit $ac_status); }; } &&
68939 { ac_try='test -s conftest$ac_exeext'
68940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68941 (eval $ac_try) 2>&5
68942 ac_status=$?
68943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68944 (exit $ac_status); }; }; then
68945 eval "$as_ac_var=yes"
68946 else
68947 echo "$as_me: failed program was:" >&5
68948 sed 's/^/| /' conftest.$ac_ext >&5
68950 eval "$as_ac_var=no"
68952 rm -f conftest.err conftest.$ac_objext \
68953 conftest$ac_exeext conftest.$ac_ext
68955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68957 if test `eval echo '${'$as_ac_var'}'` = yes; then
68958 cat >>confdefs.h <<_ACEOF
68959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68960 _ACEOF
68963 done
68970 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
68971 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
68972 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68973 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
68974 echo $ECHO_N "(cached) $ECHO_C" >&6
68975 else
68979 ac_ext=cc
68980 ac_cpp='$CXXCPP $CPPFLAGS'
68981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68985 cat >conftest.$ac_ext <<_ACEOF
68986 /* confdefs.h. */
68987 _ACEOF
68988 cat confdefs.h >>conftest.$ac_ext
68989 cat >>conftest.$ac_ext <<_ACEOF
68990 /* end confdefs.h. */
68991 #include <math.h>
68993 main ()
68995 sincosl(0, 0, 0);
68997 return 0;
68999 _ACEOF
69000 rm -f conftest.$ac_objext
69001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69002 (eval $ac_compile) 2>conftest.er1
69003 ac_status=$?
69004 grep -v '^ *+' conftest.er1 >conftest.err
69005 rm -f conftest.er1
69006 cat conftest.err >&5
69007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69008 (exit $ac_status); } &&
69009 { ac_try='test -z "$ac_cxx_werror_flag"
69010 || test ! -s conftest.err'
69011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69012 (eval $ac_try) 2>&5
69013 ac_status=$?
69014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69015 (exit $ac_status); }; } &&
69016 { ac_try='test -s conftest.$ac_objext'
69017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69018 (eval $ac_try) 2>&5
69019 ac_status=$?
69020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69021 (exit $ac_status); }; }; then
69022 glibcxx_cv_func_sincosl_use=yes
69023 else
69024 echo "$as_me: failed program was:" >&5
69025 sed 's/^/| /' conftest.$ac_ext >&5
69027 glibcxx_cv_func_sincosl_use=no
69029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69030 ac_ext=c
69031 ac_cpp='$CPP $CPPFLAGS'
69032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69041 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69043 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69045 for ac_func in sincosl
69047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69048 echo "$as_me:$LINENO: checking for $ac_func" >&5
69049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69050 if eval "test \"\${$as_ac_var+set}\" = set"; then
69051 echo $ECHO_N "(cached) $ECHO_C" >&6
69052 else
69053 if test x$gcc_no_link = xyes; then
69054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69056 { (exit 1); exit 1; }; }
69058 cat >conftest.$ac_ext <<_ACEOF
69059 /* confdefs.h. */
69060 _ACEOF
69061 cat confdefs.h >>conftest.$ac_ext
69062 cat >>conftest.$ac_ext <<_ACEOF
69063 /* end confdefs.h. */
69064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69066 #define $ac_func innocuous_$ac_func
69068 /* System header to define __stub macros and hopefully few prototypes,
69069 which can conflict with char $ac_func (); below.
69070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69071 <limits.h> exists even on freestanding compilers. */
69073 #ifdef __STDC__
69074 # include <limits.h>
69075 #else
69076 # include <assert.h>
69077 #endif
69079 #undef $ac_func
69081 /* Override any gcc2 internal prototype to avoid an error. */
69082 #ifdef __cplusplus
69083 extern "C"
69085 #endif
69086 /* We use char because int might match the return type of a gcc2
69087 builtin and then its argument prototype would still apply. */
69088 char $ac_func ();
69089 /* The GNU C library defines this for functions which it implements
69090 to always fail with ENOSYS. Some functions are actually named
69091 something starting with __ and the normal name is an alias. */
69092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69093 choke me
69094 #else
69095 char (*f) () = $ac_func;
69096 #endif
69097 #ifdef __cplusplus
69099 #endif
69102 main ()
69104 return f != $ac_func;
69106 return 0;
69108 _ACEOF
69109 rm -f conftest.$ac_objext conftest$ac_exeext
69110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69111 (eval $ac_link) 2>conftest.er1
69112 ac_status=$?
69113 grep -v '^ *+' conftest.er1 >conftest.err
69114 rm -f conftest.er1
69115 cat conftest.err >&5
69116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69117 (exit $ac_status); } &&
69118 { ac_try='test -z "$ac_c_werror_flag"
69119 || test ! -s conftest.err'
69120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69121 (eval $ac_try) 2>&5
69122 ac_status=$?
69123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69124 (exit $ac_status); }; } &&
69125 { ac_try='test -s conftest$ac_exeext'
69126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69127 (eval $ac_try) 2>&5
69128 ac_status=$?
69129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69130 (exit $ac_status); }; }; then
69131 eval "$as_ac_var=yes"
69132 else
69133 echo "$as_me: failed program was:" >&5
69134 sed 's/^/| /' conftest.$ac_ext >&5
69136 eval "$as_ac_var=no"
69138 rm -f conftest.err conftest.$ac_objext \
69139 conftest$ac_exeext conftest.$ac_ext
69141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69143 if test `eval echo '${'$as_ac_var'}'` = yes; then
69144 cat >>confdefs.h <<_ACEOF
69145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69146 _ACEOF
69149 done
69151 else
69153 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69154 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69155 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69156 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69157 echo $ECHO_N "(cached) $ECHO_C" >&6
69158 else
69162 ac_ext=cc
69163 ac_cpp='$CXXCPP $CPPFLAGS'
69164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69168 cat >conftest.$ac_ext <<_ACEOF
69169 /* confdefs.h. */
69170 _ACEOF
69171 cat confdefs.h >>conftest.$ac_ext
69172 cat >>conftest.$ac_ext <<_ACEOF
69173 /* end confdefs.h. */
69174 #include <math.h>
69176 main ()
69178 _sincosl(0, 0, 0);
69180 return 0;
69182 _ACEOF
69183 rm -f conftest.$ac_objext
69184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69185 (eval $ac_compile) 2>conftest.er1
69186 ac_status=$?
69187 grep -v '^ *+' conftest.er1 >conftest.err
69188 rm -f conftest.er1
69189 cat conftest.err >&5
69190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191 (exit $ac_status); } &&
69192 { ac_try='test -z "$ac_cxx_werror_flag"
69193 || test ! -s conftest.err'
69194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69195 (eval $ac_try) 2>&5
69196 ac_status=$?
69197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69198 (exit $ac_status); }; } &&
69199 { ac_try='test -s conftest.$ac_objext'
69200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69201 (eval $ac_try) 2>&5
69202 ac_status=$?
69203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69204 (exit $ac_status); }; }; then
69205 glibcxx_cv_func__sincosl_use=yes
69206 else
69207 echo "$as_me: failed program was:" >&5
69208 sed 's/^/| /' conftest.$ac_ext >&5
69210 glibcxx_cv_func__sincosl_use=no
69212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69213 ac_ext=c
69214 ac_cpp='$CPP $CPPFLAGS'
69215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69224 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69226 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69228 for ac_func in _sincosl
69230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69231 echo "$as_me:$LINENO: checking for $ac_func" >&5
69232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69233 if eval "test \"\${$as_ac_var+set}\" = set"; then
69234 echo $ECHO_N "(cached) $ECHO_C" >&6
69235 else
69236 if test x$gcc_no_link = xyes; then
69237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69239 { (exit 1); exit 1; }; }
69241 cat >conftest.$ac_ext <<_ACEOF
69242 /* confdefs.h. */
69243 _ACEOF
69244 cat confdefs.h >>conftest.$ac_ext
69245 cat >>conftest.$ac_ext <<_ACEOF
69246 /* end confdefs.h. */
69247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69249 #define $ac_func innocuous_$ac_func
69251 /* System header to define __stub macros and hopefully few prototypes,
69252 which can conflict with char $ac_func (); below.
69253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69254 <limits.h> exists even on freestanding compilers. */
69256 #ifdef __STDC__
69257 # include <limits.h>
69258 #else
69259 # include <assert.h>
69260 #endif
69262 #undef $ac_func
69264 /* Override any gcc2 internal prototype to avoid an error. */
69265 #ifdef __cplusplus
69266 extern "C"
69268 #endif
69269 /* We use char because int might match the return type of a gcc2
69270 builtin and then its argument prototype would still apply. */
69271 char $ac_func ();
69272 /* The GNU C library defines this for functions which it implements
69273 to always fail with ENOSYS. Some functions are actually named
69274 something starting with __ and the normal name is an alias. */
69275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69276 choke me
69277 #else
69278 char (*f) () = $ac_func;
69279 #endif
69280 #ifdef __cplusplus
69282 #endif
69285 main ()
69287 return f != $ac_func;
69289 return 0;
69291 _ACEOF
69292 rm -f conftest.$ac_objext conftest$ac_exeext
69293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69294 (eval $ac_link) 2>conftest.er1
69295 ac_status=$?
69296 grep -v '^ *+' conftest.er1 >conftest.err
69297 rm -f conftest.er1
69298 cat conftest.err >&5
69299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69300 (exit $ac_status); } &&
69301 { ac_try='test -z "$ac_c_werror_flag"
69302 || test ! -s conftest.err'
69303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69304 (eval $ac_try) 2>&5
69305 ac_status=$?
69306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69307 (exit $ac_status); }; } &&
69308 { ac_try='test -s conftest$ac_exeext'
69309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69310 (eval $ac_try) 2>&5
69311 ac_status=$?
69312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69313 (exit $ac_status); }; }; then
69314 eval "$as_ac_var=yes"
69315 else
69316 echo "$as_me: failed program was:" >&5
69317 sed 's/^/| /' conftest.$ac_ext >&5
69319 eval "$as_ac_var=no"
69321 rm -f conftest.err conftest.$ac_objext \
69322 conftest$ac_exeext conftest.$ac_ext
69324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69326 if test `eval echo '${'$as_ac_var'}'` = yes; then
69327 cat >>confdefs.h <<_ACEOF
69328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69329 _ACEOF
69332 done
69339 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69340 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69341 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69342 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69343 echo $ECHO_N "(cached) $ECHO_C" >&6
69344 else
69348 ac_ext=cc
69349 ac_cpp='$CXXCPP $CPPFLAGS'
69350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69354 cat >conftest.$ac_ext <<_ACEOF
69355 /* confdefs.h. */
69356 _ACEOF
69357 cat confdefs.h >>conftest.$ac_ext
69358 cat >>conftest.$ac_ext <<_ACEOF
69359 /* end confdefs.h. */
69360 #include <math.h>
69361 #ifdef HAVE_IEEEFP_H
69362 #include <ieeefp.h>
69363 #endif
69366 main ()
69368 finitel(0);
69370 return 0;
69372 _ACEOF
69373 rm -f conftest.$ac_objext
69374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69375 (eval $ac_compile) 2>conftest.er1
69376 ac_status=$?
69377 grep -v '^ *+' conftest.er1 >conftest.err
69378 rm -f conftest.er1
69379 cat conftest.err >&5
69380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69381 (exit $ac_status); } &&
69382 { ac_try='test -z "$ac_cxx_werror_flag"
69383 || test ! -s conftest.err'
69384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69385 (eval $ac_try) 2>&5
69386 ac_status=$?
69387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69388 (exit $ac_status); }; } &&
69389 { ac_try='test -s conftest.$ac_objext'
69390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69391 (eval $ac_try) 2>&5
69392 ac_status=$?
69393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69394 (exit $ac_status); }; }; then
69395 glibcxx_cv_func_finitel_use=yes
69396 else
69397 echo "$as_me: failed program was:" >&5
69398 sed 's/^/| /' conftest.$ac_ext >&5
69400 glibcxx_cv_func_finitel_use=no
69402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69403 ac_ext=c
69404 ac_cpp='$CPP $CPPFLAGS'
69405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69413 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69414 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69416 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69418 for ac_func in finitel
69420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69421 echo "$as_me:$LINENO: checking for $ac_func" >&5
69422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69423 if eval "test \"\${$as_ac_var+set}\" = set"; then
69424 echo $ECHO_N "(cached) $ECHO_C" >&6
69425 else
69426 if test x$gcc_no_link = xyes; then
69427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69429 { (exit 1); exit 1; }; }
69431 cat >conftest.$ac_ext <<_ACEOF
69432 /* confdefs.h. */
69433 _ACEOF
69434 cat confdefs.h >>conftest.$ac_ext
69435 cat >>conftest.$ac_ext <<_ACEOF
69436 /* end confdefs.h. */
69437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69439 #define $ac_func innocuous_$ac_func
69441 /* System header to define __stub macros and hopefully few prototypes,
69442 which can conflict with char $ac_func (); below.
69443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69444 <limits.h> exists even on freestanding compilers. */
69446 #ifdef __STDC__
69447 # include <limits.h>
69448 #else
69449 # include <assert.h>
69450 #endif
69452 #undef $ac_func
69454 /* Override any gcc2 internal prototype to avoid an error. */
69455 #ifdef __cplusplus
69456 extern "C"
69458 #endif
69459 /* We use char because int might match the return type of a gcc2
69460 builtin and then its argument prototype would still apply. */
69461 char $ac_func ();
69462 /* The GNU C library defines this for functions which it implements
69463 to always fail with ENOSYS. Some functions are actually named
69464 something starting with __ and the normal name is an alias. */
69465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69466 choke me
69467 #else
69468 char (*f) () = $ac_func;
69469 #endif
69470 #ifdef __cplusplus
69472 #endif
69475 main ()
69477 return f != $ac_func;
69479 return 0;
69481 _ACEOF
69482 rm -f conftest.$ac_objext conftest$ac_exeext
69483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69484 (eval $ac_link) 2>conftest.er1
69485 ac_status=$?
69486 grep -v '^ *+' conftest.er1 >conftest.err
69487 rm -f conftest.er1
69488 cat conftest.err >&5
69489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69490 (exit $ac_status); } &&
69491 { ac_try='test -z "$ac_c_werror_flag"
69492 || test ! -s conftest.err'
69493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69494 (eval $ac_try) 2>&5
69495 ac_status=$?
69496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69497 (exit $ac_status); }; } &&
69498 { ac_try='test -s conftest$ac_exeext'
69499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69500 (eval $ac_try) 2>&5
69501 ac_status=$?
69502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69503 (exit $ac_status); }; }; then
69504 eval "$as_ac_var=yes"
69505 else
69506 echo "$as_me: failed program was:" >&5
69507 sed 's/^/| /' conftest.$ac_ext >&5
69509 eval "$as_ac_var=no"
69511 rm -f conftest.err conftest.$ac_objext \
69512 conftest$ac_exeext conftest.$ac_ext
69514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69516 if test `eval echo '${'$as_ac_var'}'` = yes; then
69517 cat >>confdefs.h <<_ACEOF
69518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69519 _ACEOF
69522 done
69524 else
69526 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69527 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69528 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69529 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69530 echo $ECHO_N "(cached) $ECHO_C" >&6
69531 else
69535 ac_ext=cc
69536 ac_cpp='$CXXCPP $CPPFLAGS'
69537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69541 cat >conftest.$ac_ext <<_ACEOF
69542 /* confdefs.h. */
69543 _ACEOF
69544 cat confdefs.h >>conftest.$ac_ext
69545 cat >>conftest.$ac_ext <<_ACEOF
69546 /* end confdefs.h. */
69547 #include <math.h>
69548 #ifdef HAVE_IEEEFP_H
69549 #include <ieeefp.h>
69550 #endif
69553 main ()
69555 _finitel(0);
69557 return 0;
69559 _ACEOF
69560 rm -f conftest.$ac_objext
69561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69562 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__finitel_use=yes
69583 else
69584 echo "$as_me: failed program was:" >&5
69585 sed 's/^/| /' conftest.$ac_ext >&5
69587 glibcxx_cv_func__finitel_use=no
69589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69590 ac_ext=c
69591 ac_cpp='$CPP $CPPFLAGS'
69592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69601 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69603 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69605 for ac_func in _finitel
69607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69608 echo "$as_me:$LINENO: checking for $ac_func" >&5
69609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69610 if eval "test \"\${$as_ac_var+set}\" = set"; then
69611 echo $ECHO_N "(cached) $ECHO_C" >&6
69612 else
69613 if test x$gcc_no_link = xyes; then
69614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69616 { (exit 1); exit 1; }; }
69618 cat >conftest.$ac_ext <<_ACEOF
69619 /* confdefs.h. */
69620 _ACEOF
69621 cat confdefs.h >>conftest.$ac_ext
69622 cat >>conftest.$ac_ext <<_ACEOF
69623 /* end confdefs.h. */
69624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69626 #define $ac_func innocuous_$ac_func
69628 /* System header to define __stub macros and hopefully few prototypes,
69629 which can conflict with char $ac_func (); below.
69630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69631 <limits.h> exists even on freestanding compilers. */
69633 #ifdef __STDC__
69634 # include <limits.h>
69635 #else
69636 # include <assert.h>
69637 #endif
69639 #undef $ac_func
69641 /* Override any gcc2 internal prototype to avoid an error. */
69642 #ifdef __cplusplus
69643 extern "C"
69645 #endif
69646 /* We use char because int might match the return type of a gcc2
69647 builtin and then its argument prototype would still apply. */
69648 char $ac_func ();
69649 /* The GNU C library defines this for functions which it implements
69650 to always fail with ENOSYS. Some functions are actually named
69651 something starting with __ and the normal name is an alias. */
69652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69653 choke me
69654 #else
69655 char (*f) () = $ac_func;
69656 #endif
69657 #ifdef __cplusplus
69659 #endif
69662 main ()
69664 return f != $ac_func;
69666 return 0;
69668 _ACEOF
69669 rm -f conftest.$ac_objext conftest$ac_exeext
69670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69671 (eval $ac_link) 2>conftest.er1
69672 ac_status=$?
69673 grep -v '^ *+' conftest.er1 >conftest.err
69674 rm -f conftest.er1
69675 cat conftest.err >&5
69676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69677 (exit $ac_status); } &&
69678 { ac_try='test -z "$ac_c_werror_flag"
69679 || test ! -s conftest.err'
69680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69681 (eval $ac_try) 2>&5
69682 ac_status=$?
69683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69684 (exit $ac_status); }; } &&
69685 { ac_try='test -s conftest$ac_exeext'
69686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69687 (eval $ac_try) 2>&5
69688 ac_status=$?
69689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69690 (exit $ac_status); }; }; then
69691 eval "$as_ac_var=yes"
69692 else
69693 echo "$as_me: failed program was:" >&5
69694 sed 's/^/| /' conftest.$ac_ext >&5
69696 eval "$as_ac_var=no"
69698 rm -f conftest.err conftest.$ac_objext \
69699 conftest$ac_exeext conftest.$ac_ext
69701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69703 if test `eval echo '${'$as_ac_var'}'` = yes; then
69704 cat >>confdefs.h <<_ACEOF
69705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69706 _ACEOF
69709 done
69717 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69718 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69719 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69720 echo $ECHO_N "(cached) $ECHO_C" >&6
69721 else
69725 ac_ext=cc
69726 ac_cpp='$CXXCPP $CPPFLAGS'
69727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69731 cat >conftest.$ac_ext <<_ACEOF
69732 /* confdefs.h. */
69733 _ACEOF
69734 cat confdefs.h >>conftest.$ac_ext
69735 cat >>conftest.$ac_ext <<_ACEOF
69736 /* end confdefs.h. */
69737 #include <math.h>
69739 main ()
69741 `for x in _acosf _asinf _atanf \
69742 _cosf _sinf _tanf \
69743 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69745 return 0;
69747 _ACEOF
69748 rm -f conftest.$ac_objext
69749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69750 (eval $ac_compile) 2>conftest.er1
69751 ac_status=$?
69752 grep -v '^ *+' conftest.er1 >conftest.err
69753 rm -f conftest.er1
69754 cat conftest.err >&5
69755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756 (exit $ac_status); } &&
69757 { ac_try='test -z "$ac_cxx_werror_flag"
69758 || test ! -s conftest.err'
69759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69760 (eval $ac_try) 2>&5
69761 ac_status=$?
69762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69763 (exit $ac_status); }; } &&
69764 { ac_try='test -s conftest.$ac_objext'
69765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69766 (eval $ac_try) 2>&5
69767 ac_status=$?
69768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69769 (exit $ac_status); }; }; then
69770 glibcxx_cv_func__float_trig_use=yes
69771 else
69772 echo "$as_me: failed program was:" >&5
69773 sed 's/^/| /' conftest.$ac_ext >&5
69775 glibcxx_cv_func__float_trig_use=no
69777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69778 ac_ext=c
69779 ac_cpp='$CPP $CPPFLAGS'
69780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69787 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69788 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69798 for ac_func in _acosf _asinf _atanf \
69799 _cosf _sinf _tanf \
69800 _coshf _sinhf _tanhf
69802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69803 echo "$as_me:$LINENO: checking for $ac_func" >&5
69804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69805 if eval "test \"\${$as_ac_var+set}\" = set"; then
69806 echo $ECHO_N "(cached) $ECHO_C" >&6
69807 else
69808 if test x$gcc_no_link = xyes; then
69809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69811 { (exit 1); exit 1; }; }
69813 cat >conftest.$ac_ext <<_ACEOF
69814 /* confdefs.h. */
69815 _ACEOF
69816 cat confdefs.h >>conftest.$ac_ext
69817 cat >>conftest.$ac_ext <<_ACEOF
69818 /* end confdefs.h. */
69819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69821 #define $ac_func innocuous_$ac_func
69823 /* System header to define __stub macros and hopefully few prototypes,
69824 which can conflict with char $ac_func (); below.
69825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69826 <limits.h> exists even on freestanding compilers. */
69828 #ifdef __STDC__
69829 # include <limits.h>
69830 #else
69831 # include <assert.h>
69832 #endif
69834 #undef $ac_func
69836 /* Override any gcc2 internal prototype to avoid an error. */
69837 #ifdef __cplusplus
69838 extern "C"
69840 #endif
69841 /* We use char because int might match the return type of a gcc2
69842 builtin and then its argument prototype would still apply. */
69843 char $ac_func ();
69844 /* The GNU C library defines this for functions which it implements
69845 to always fail with ENOSYS. Some functions are actually named
69846 something starting with __ and the normal name is an alias. */
69847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69848 choke me
69849 #else
69850 char (*f) () = $ac_func;
69851 #endif
69852 #ifdef __cplusplus
69854 #endif
69857 main ()
69859 return f != $ac_func;
69861 return 0;
69863 _ACEOF
69864 rm -f conftest.$ac_objext conftest$ac_exeext
69865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69866 (eval $ac_link) 2>conftest.er1
69867 ac_status=$?
69868 grep -v '^ *+' conftest.er1 >conftest.err
69869 rm -f conftest.er1
69870 cat conftest.err >&5
69871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69872 (exit $ac_status); } &&
69873 { ac_try='test -z "$ac_c_werror_flag"
69874 || test ! -s conftest.err'
69875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69876 (eval $ac_try) 2>&5
69877 ac_status=$?
69878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69879 (exit $ac_status); }; } &&
69880 { ac_try='test -s conftest$ac_exeext'
69881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69882 (eval $ac_try) 2>&5
69883 ac_status=$?
69884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69885 (exit $ac_status); }; }; then
69886 eval "$as_ac_var=yes"
69887 else
69888 echo "$as_me: failed program was:" >&5
69889 sed 's/^/| /' conftest.$ac_ext >&5
69891 eval "$as_ac_var=no"
69893 rm -f conftest.err conftest.$ac_objext \
69894 conftest$ac_exeext conftest.$ac_ext
69896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69898 if test `eval echo '${'$as_ac_var'}'` = yes; then
69899 cat >>confdefs.h <<_ACEOF
69900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69901 _ACEOF
69904 done
69909 echo "$as_me:$LINENO: checking for _float round functions" >&5
69910 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69911 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69912 echo $ECHO_N "(cached) $ECHO_C" >&6
69913 else
69917 ac_ext=cc
69918 ac_cpp='$CXXCPP $CPPFLAGS'
69919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69923 cat >conftest.$ac_ext <<_ACEOF
69924 /* confdefs.h. */
69925 _ACEOF
69926 cat confdefs.h >>conftest.$ac_ext
69927 cat >>conftest.$ac_ext <<_ACEOF
69928 /* end confdefs.h. */
69929 #include <math.h>
69931 main ()
69933 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69935 return 0;
69937 _ACEOF
69938 rm -f conftest.$ac_objext
69939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69940 (eval $ac_compile) 2>conftest.er1
69941 ac_status=$?
69942 grep -v '^ *+' conftest.er1 >conftest.err
69943 rm -f conftest.er1
69944 cat conftest.err >&5
69945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69946 (exit $ac_status); } &&
69947 { ac_try='test -z "$ac_cxx_werror_flag"
69948 || test ! -s conftest.err'
69949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69950 (eval $ac_try) 2>&5
69951 ac_status=$?
69952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69953 (exit $ac_status); }; } &&
69954 { ac_try='test -s conftest.$ac_objext'
69955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69956 (eval $ac_try) 2>&5
69957 ac_status=$?
69958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69959 (exit $ac_status); }; }; then
69960 glibcxx_cv_func__float_round_use=yes
69961 else
69962 echo "$as_me: failed program was:" >&5
69963 sed 's/^/| /' conftest.$ac_ext >&5
69965 glibcxx_cv_func__float_round_use=no
69967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69968 ac_ext=c
69969 ac_cpp='$CPP $CPPFLAGS'
69970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69977 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69978 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69981 for ac_func in _ceilf _floorf
69983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69984 echo "$as_me:$LINENO: checking for $ac_func" >&5
69985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69986 if eval "test \"\${$as_ac_var+set}\" = set"; then
69987 echo $ECHO_N "(cached) $ECHO_C" >&6
69988 else
69989 if test x$gcc_no_link = xyes; then
69990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69992 { (exit 1); exit 1; }; }
69994 cat >conftest.$ac_ext <<_ACEOF
69995 /* confdefs.h. */
69996 _ACEOF
69997 cat confdefs.h >>conftest.$ac_ext
69998 cat >>conftest.$ac_ext <<_ACEOF
69999 /* end confdefs.h. */
70000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70002 #define $ac_func innocuous_$ac_func
70004 /* System header to define __stub macros and hopefully few prototypes,
70005 which can conflict with char $ac_func (); below.
70006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70007 <limits.h> exists even on freestanding compilers. */
70009 #ifdef __STDC__
70010 # include <limits.h>
70011 #else
70012 # include <assert.h>
70013 #endif
70015 #undef $ac_func
70017 /* Override any gcc2 internal prototype to avoid an error. */
70018 #ifdef __cplusplus
70019 extern "C"
70021 #endif
70022 /* We use char because int might match the return type of a gcc2
70023 builtin and then its argument prototype would still apply. */
70024 char $ac_func ();
70025 /* The GNU C library defines this for functions which it implements
70026 to always fail with ENOSYS. Some functions are actually named
70027 something starting with __ and the normal name is an alias. */
70028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70029 choke me
70030 #else
70031 char (*f) () = $ac_func;
70032 #endif
70033 #ifdef __cplusplus
70035 #endif
70038 main ()
70040 return f != $ac_func;
70042 return 0;
70044 _ACEOF
70045 rm -f conftest.$ac_objext conftest$ac_exeext
70046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70047 (eval $ac_link) 2>conftest.er1
70048 ac_status=$?
70049 grep -v '^ *+' conftest.er1 >conftest.err
70050 rm -f conftest.er1
70051 cat conftest.err >&5
70052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70053 (exit $ac_status); } &&
70054 { ac_try='test -z "$ac_c_werror_flag"
70055 || test ! -s conftest.err'
70056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70057 (eval $ac_try) 2>&5
70058 ac_status=$?
70059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70060 (exit $ac_status); }; } &&
70061 { ac_try='test -s conftest$ac_exeext'
70062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70063 (eval $ac_try) 2>&5
70064 ac_status=$?
70065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70066 (exit $ac_status); }; }; then
70067 eval "$as_ac_var=yes"
70068 else
70069 echo "$as_me: failed program was:" >&5
70070 sed 's/^/| /' conftest.$ac_ext >&5
70072 eval "$as_ac_var=no"
70074 rm -f conftest.err conftest.$ac_objext \
70075 conftest$ac_exeext conftest.$ac_ext
70077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70079 if test `eval echo '${'$as_ac_var'}'` = yes; then
70080 cat >>confdefs.h <<_ACEOF
70081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70082 _ACEOF
70085 done
70091 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70092 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70093 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70094 echo $ECHO_N "(cached) $ECHO_C" >&6
70095 else
70099 ac_ext=cc
70100 ac_cpp='$CXXCPP $CPPFLAGS'
70101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70105 cat >conftest.$ac_ext <<_ACEOF
70106 /* confdefs.h. */
70107 _ACEOF
70108 cat confdefs.h >>conftest.$ac_ext
70109 cat >>conftest.$ac_ext <<_ACEOF
70110 /* end confdefs.h. */
70111 #include <math.h>
70113 main ()
70115 `for x in _acosl _asinl _atanl \
70116 _cosl _sinl _tanl \
70117 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70119 return 0;
70121 _ACEOF
70122 rm -f conftest.$ac_objext
70123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70124 (eval $ac_compile) 2>conftest.er1
70125 ac_status=$?
70126 grep -v '^ *+' conftest.er1 >conftest.err
70127 rm -f conftest.er1
70128 cat conftest.err >&5
70129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70130 (exit $ac_status); } &&
70131 { ac_try='test -z "$ac_cxx_werror_flag"
70132 || test ! -s conftest.err'
70133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70134 (eval $ac_try) 2>&5
70135 ac_status=$?
70136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70137 (exit $ac_status); }; } &&
70138 { ac_try='test -s conftest.$ac_objext'
70139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70140 (eval $ac_try) 2>&5
70141 ac_status=$?
70142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70143 (exit $ac_status); }; }; then
70144 glibcxx_cv_func__long_double_trig_use=yes
70145 else
70146 echo "$as_me: failed program was:" >&5
70147 sed 's/^/| /' conftest.$ac_ext >&5
70149 glibcxx_cv_func__long_double_trig_use=no
70151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70152 ac_ext=c
70153 ac_cpp='$CPP $CPPFLAGS'
70154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70161 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70162 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70172 for ac_func in _acosl _asinl _atanl \
70173 _cosl _sinl _tanl \
70174 _coshl _sinhl _tanhl
70176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70177 echo "$as_me:$LINENO: checking for $ac_func" >&5
70178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70179 if eval "test \"\${$as_ac_var+set}\" = set"; then
70180 echo $ECHO_N "(cached) $ECHO_C" >&6
70181 else
70182 if test x$gcc_no_link = xyes; then
70183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70185 { (exit 1); exit 1; }; }
70187 cat >conftest.$ac_ext <<_ACEOF
70188 /* confdefs.h. */
70189 _ACEOF
70190 cat confdefs.h >>conftest.$ac_ext
70191 cat >>conftest.$ac_ext <<_ACEOF
70192 /* end confdefs.h. */
70193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70195 #define $ac_func innocuous_$ac_func
70197 /* System header to define __stub macros and hopefully few prototypes,
70198 which can conflict with char $ac_func (); below.
70199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70200 <limits.h> exists even on freestanding compilers. */
70202 #ifdef __STDC__
70203 # include <limits.h>
70204 #else
70205 # include <assert.h>
70206 #endif
70208 #undef $ac_func
70210 /* Override any gcc2 internal prototype to avoid an error. */
70211 #ifdef __cplusplus
70212 extern "C"
70214 #endif
70215 /* We use char because int might match the return type of a gcc2
70216 builtin and then its argument prototype would still apply. */
70217 char $ac_func ();
70218 /* The GNU C library defines this for functions which it implements
70219 to always fail with ENOSYS. Some functions are actually named
70220 something starting with __ and the normal name is an alias. */
70221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70222 choke me
70223 #else
70224 char (*f) () = $ac_func;
70225 #endif
70226 #ifdef __cplusplus
70228 #endif
70231 main ()
70233 return f != $ac_func;
70235 return 0;
70237 _ACEOF
70238 rm -f conftest.$ac_objext conftest$ac_exeext
70239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70240 (eval $ac_link) 2>conftest.er1
70241 ac_status=$?
70242 grep -v '^ *+' conftest.er1 >conftest.err
70243 rm -f conftest.er1
70244 cat conftest.err >&5
70245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70246 (exit $ac_status); } &&
70247 { ac_try='test -z "$ac_c_werror_flag"
70248 || test ! -s conftest.err'
70249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70250 (eval $ac_try) 2>&5
70251 ac_status=$?
70252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70253 (exit $ac_status); }; } &&
70254 { ac_try='test -s conftest$ac_exeext'
70255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70256 (eval $ac_try) 2>&5
70257 ac_status=$?
70258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70259 (exit $ac_status); }; }; then
70260 eval "$as_ac_var=yes"
70261 else
70262 echo "$as_me: failed program was:" >&5
70263 sed 's/^/| /' conftest.$ac_ext >&5
70265 eval "$as_ac_var=no"
70267 rm -f conftest.err conftest.$ac_objext \
70268 conftest$ac_exeext conftest.$ac_ext
70270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70272 if test `eval echo '${'$as_ac_var'}'` = yes; then
70273 cat >>confdefs.h <<_ACEOF
70274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70275 _ACEOF
70278 done
70283 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70284 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70285 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70286 echo $ECHO_N "(cached) $ECHO_C" >&6
70287 else
70291 ac_ext=cc
70292 ac_cpp='$CXXCPP $CPPFLAGS'
70293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70297 cat >conftest.$ac_ext <<_ACEOF
70298 /* confdefs.h. */
70299 _ACEOF
70300 cat confdefs.h >>conftest.$ac_ext
70301 cat >>conftest.$ac_ext <<_ACEOF
70302 /* end confdefs.h. */
70303 #include <math.h>
70305 main ()
70307 `for x in _ceill _floorl; do echo "$x (0);"; done`
70309 return 0;
70311 _ACEOF
70312 rm -f conftest.$ac_objext
70313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70314 (eval $ac_compile) 2>conftest.er1
70315 ac_status=$?
70316 grep -v '^ *+' conftest.er1 >conftest.err
70317 rm -f conftest.er1
70318 cat conftest.err >&5
70319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70320 (exit $ac_status); } &&
70321 { ac_try='test -z "$ac_cxx_werror_flag"
70322 || test ! -s conftest.err'
70323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70324 (eval $ac_try) 2>&5
70325 ac_status=$?
70326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70327 (exit $ac_status); }; } &&
70328 { ac_try='test -s conftest.$ac_objext'
70329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70330 (eval $ac_try) 2>&5
70331 ac_status=$?
70332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70333 (exit $ac_status); }; }; then
70334 glibcxx_cv_func__long_double_round_use=yes
70335 else
70336 echo "$as_me: failed program was:" >&5
70337 sed 's/^/| /' conftest.$ac_ext >&5
70339 glibcxx_cv_func__long_double_round_use=no
70341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70342 ac_ext=c
70343 ac_cpp='$CPP $CPPFLAGS'
70344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70351 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70352 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70355 for ac_func in _ceill _floorl
70357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70358 echo "$as_me:$LINENO: checking for $ac_func" >&5
70359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70360 if eval "test \"\${$as_ac_var+set}\" = set"; then
70361 echo $ECHO_N "(cached) $ECHO_C" >&6
70362 else
70363 if test x$gcc_no_link = xyes; then
70364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70366 { (exit 1); exit 1; }; }
70368 cat >conftest.$ac_ext <<_ACEOF
70369 /* confdefs.h. */
70370 _ACEOF
70371 cat confdefs.h >>conftest.$ac_ext
70372 cat >>conftest.$ac_ext <<_ACEOF
70373 /* end confdefs.h. */
70374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70376 #define $ac_func innocuous_$ac_func
70378 /* System header to define __stub macros and hopefully few prototypes,
70379 which can conflict with char $ac_func (); below.
70380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70381 <limits.h> exists even on freestanding compilers. */
70383 #ifdef __STDC__
70384 # include <limits.h>
70385 #else
70386 # include <assert.h>
70387 #endif
70389 #undef $ac_func
70391 /* Override any gcc2 internal prototype to avoid an error. */
70392 #ifdef __cplusplus
70393 extern "C"
70395 #endif
70396 /* We use char because int might match the return type of a gcc2
70397 builtin and then its argument prototype would still apply. */
70398 char $ac_func ();
70399 /* The GNU C library defines this for functions which it implements
70400 to always fail with ENOSYS. Some functions are actually named
70401 something starting with __ and the normal name is an alias. */
70402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70403 choke me
70404 #else
70405 char (*f) () = $ac_func;
70406 #endif
70407 #ifdef __cplusplus
70409 #endif
70412 main ()
70414 return f != $ac_func;
70416 return 0;
70418 _ACEOF
70419 rm -f conftest.$ac_objext conftest$ac_exeext
70420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70421 (eval $ac_link) 2>conftest.er1
70422 ac_status=$?
70423 grep -v '^ *+' conftest.er1 >conftest.err
70424 rm -f conftest.er1
70425 cat conftest.err >&5
70426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70427 (exit $ac_status); } &&
70428 { ac_try='test -z "$ac_c_werror_flag"
70429 || test ! -s conftest.err'
70430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70431 (eval $ac_try) 2>&5
70432 ac_status=$?
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); }; } &&
70435 { ac_try='test -s conftest$ac_exeext'
70436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70437 (eval $ac_try) 2>&5
70438 ac_status=$?
70439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70440 (exit $ac_status); }; }; then
70441 eval "$as_ac_var=yes"
70442 else
70443 echo "$as_me: failed program was:" >&5
70444 sed 's/^/| /' conftest.$ac_ext >&5
70446 eval "$as_ac_var=no"
70448 rm -f conftest.err conftest.$ac_objext \
70449 conftest$ac_exeext conftest.$ac_ext
70451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70453 if test `eval echo '${'$as_ac_var'}'` = yes; then
70454 cat >>confdefs.h <<_ACEOF
70455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70456 _ACEOF
70459 done
70464 LIBS="$ac_save_LIBS"
70465 CXXFLAGS="$ac_save_CXXFLAGS"
70469 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70470 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70471 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70472 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70473 echo $ECHO_N "(cached) $ECHO_C" >&6
70474 else
70478 ac_ext=cc
70479 ac_cpp='$CXXCPP $CPPFLAGS'
70480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70484 cat >conftest.$ac_ext <<_ACEOF
70485 /* confdefs.h. */
70486 _ACEOF
70487 cat confdefs.h >>conftest.$ac_ext
70488 cat >>conftest.$ac_ext <<_ACEOF
70489 /* end confdefs.h. */
70490 #include <math.h>
70492 main ()
70494 __builtin_abs(0);
70496 return 0;
70498 _ACEOF
70499 rm -f conftest.$ac_objext
70500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70501 (eval $ac_compile) 2>conftest.er1
70502 ac_status=$?
70503 grep -v '^ *+' conftest.er1 >conftest.err
70504 rm -f conftest.er1
70505 cat conftest.err >&5
70506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70507 (exit $ac_status); } &&
70508 { ac_try='test -z "$ac_cxx_werror_flag"
70509 || test ! -s conftest.err'
70510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70511 (eval $ac_try) 2>&5
70512 ac_status=$?
70513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70514 (exit $ac_status); }; } &&
70515 { ac_try='test -s conftest.$ac_objext'
70516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70517 (eval $ac_try) 2>&5
70518 ac_status=$?
70519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70520 (exit $ac_status); }; }; then
70521 glibcxx_cv_func___builtin_abs_use=yes
70522 else
70523 echo "$as_me: failed program was:" >&5
70524 sed 's/^/| /' conftest.$ac_ext >&5
70526 glibcxx_cv_func___builtin_abs_use=no
70528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70529 ac_ext=c
70530 ac_cpp='$CPP $CPPFLAGS'
70531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70539 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70540 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70541 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70542 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70543 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70544 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70545 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70546 echo $ECHO_N "(cached) $ECHO_C" >&6
70547 else
70549 if test x$gcc_no_link = xyes; then
70550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70552 { (exit 1); exit 1; }; }
70554 cat >conftest.$ac_ext <<_ACEOF
70555 /* confdefs.h. */
70556 _ACEOF
70557 cat confdefs.h >>conftest.$ac_ext
70558 cat >>conftest.$ac_ext <<_ACEOF
70559 /* end confdefs.h. */
70560 #include <math.h>
70562 main ()
70564 __builtin_abs(0);
70566 return 0;
70568 _ACEOF
70569 rm -f conftest.$ac_objext conftest$ac_exeext
70570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70571 (eval $ac_link) 2>conftest.er1
70572 ac_status=$?
70573 grep -v '^ *+' conftest.er1 >conftest.err
70574 rm -f conftest.er1
70575 cat conftest.err >&5
70576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577 (exit $ac_status); } &&
70578 { ac_try='test -z "$ac_c_werror_flag"
70579 || test ! -s conftest.err'
70580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70581 (eval $ac_try) 2>&5
70582 ac_status=$?
70583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70584 (exit $ac_status); }; } &&
70585 { ac_try='test -s conftest$ac_exeext'
70586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70587 (eval $ac_try) 2>&5
70588 ac_status=$?
70589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70590 (exit $ac_status); }; }; then
70591 glibcxx_cv_func___builtin_abs_link=yes
70592 else
70593 echo "$as_me: failed program was:" >&5
70594 sed 's/^/| /' conftest.$ac_ext >&5
70596 glibcxx_cv_func___builtin_abs_link=no
70598 rm -f conftest.err conftest.$ac_objext \
70599 conftest$ac_exeext conftest.$ac_ext
70604 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70605 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70606 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70607 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70609 cat >>confdefs.h <<_ACEOF
70610 #define ${ac_tr_func} 1
70611 _ACEOF
70617 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70618 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70619 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70620 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70621 echo $ECHO_N "(cached) $ECHO_C" >&6
70622 else
70626 ac_ext=cc
70627 ac_cpp='$CXXCPP $CPPFLAGS'
70628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_fabsf(0);
70644 return 0;
70646 _ACEOF
70647 rm -f conftest.$ac_objext
70648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70649 (eval $ac_compile) 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_cxx_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_objext'
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_fabsf_use=yes
70670 else
70671 echo "$as_me: failed program was:" >&5
70672 sed 's/^/| /' conftest.$ac_ext >&5
70674 glibcxx_cv_func___builtin_fabsf_use=no
70676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70677 ac_ext=c
70678 ac_cpp='$CPP $CPPFLAGS'
70679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70687 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70688 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70689 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70690 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70691 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70692 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70693 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70694 echo $ECHO_N "(cached) $ECHO_C" >&6
70695 else
70697 if test x$gcc_no_link = xyes; then
70698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70700 { (exit 1); exit 1; }; }
70702 cat >conftest.$ac_ext <<_ACEOF
70703 /* confdefs.h. */
70704 _ACEOF
70705 cat confdefs.h >>conftest.$ac_ext
70706 cat >>conftest.$ac_ext <<_ACEOF
70707 /* end confdefs.h. */
70708 #include <math.h>
70710 main ()
70712 __builtin_fabsf(0);
70714 return 0;
70716 _ACEOF
70717 rm -f conftest.$ac_objext conftest$ac_exeext
70718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70719 (eval $ac_link) 2>conftest.er1
70720 ac_status=$?
70721 grep -v '^ *+' conftest.er1 >conftest.err
70722 rm -f conftest.er1
70723 cat conftest.err >&5
70724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70725 (exit $ac_status); } &&
70726 { ac_try='test -z "$ac_c_werror_flag"
70727 || test ! -s conftest.err'
70728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70729 (eval $ac_try) 2>&5
70730 ac_status=$?
70731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70732 (exit $ac_status); }; } &&
70733 { ac_try='test -s conftest$ac_exeext'
70734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70735 (eval $ac_try) 2>&5
70736 ac_status=$?
70737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70738 (exit $ac_status); }; }; then
70739 glibcxx_cv_func___builtin_fabsf_link=yes
70740 else
70741 echo "$as_me: failed program was:" >&5
70742 sed 's/^/| /' conftest.$ac_ext >&5
70744 glibcxx_cv_func___builtin_fabsf_link=no
70746 rm -f conftest.err conftest.$ac_objext \
70747 conftest$ac_exeext conftest.$ac_ext
70752 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70753 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70754 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70755 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70757 cat >>confdefs.h <<_ACEOF
70758 #define ${ac_tr_func} 1
70759 _ACEOF
70765 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70766 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70767 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70768 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70769 echo $ECHO_N "(cached) $ECHO_C" >&6
70770 else
70774 ac_ext=cc
70775 ac_cpp='$CXXCPP $CPPFLAGS'
70776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_fabs(0);
70792 return 0;
70794 _ACEOF
70795 rm -f conftest.$ac_objext
70796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70797 (eval $ac_compile) 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_cxx_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_objext'
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_fabs_use=yes
70818 else
70819 echo "$as_me: failed program was:" >&5
70820 sed 's/^/| /' conftest.$ac_ext >&5
70822 glibcxx_cv_func___builtin_fabs_use=no
70824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70825 ac_ext=c
70826 ac_cpp='$CPP $CPPFLAGS'
70827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70836 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70837 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70838 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70839 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70840 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70841 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70842 echo $ECHO_N "(cached) $ECHO_C" >&6
70843 else
70845 if test x$gcc_no_link = xyes; then
70846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70848 { (exit 1); exit 1; }; }
70850 cat >conftest.$ac_ext <<_ACEOF
70851 /* confdefs.h. */
70852 _ACEOF
70853 cat confdefs.h >>conftest.$ac_ext
70854 cat >>conftest.$ac_ext <<_ACEOF
70855 /* end confdefs.h. */
70856 #include <math.h>
70858 main ()
70860 __builtin_fabs(0);
70862 return 0;
70864 _ACEOF
70865 rm -f conftest.$ac_objext conftest$ac_exeext
70866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70867 (eval $ac_link) 2>conftest.er1
70868 ac_status=$?
70869 grep -v '^ *+' conftest.er1 >conftest.err
70870 rm -f conftest.er1
70871 cat conftest.err >&5
70872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70873 (exit $ac_status); } &&
70874 { ac_try='test -z "$ac_c_werror_flag"
70875 || test ! -s conftest.err'
70876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70877 (eval $ac_try) 2>&5
70878 ac_status=$?
70879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880 (exit $ac_status); }; } &&
70881 { ac_try='test -s conftest$ac_exeext'
70882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70883 (eval $ac_try) 2>&5
70884 ac_status=$?
70885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70886 (exit $ac_status); }; }; then
70887 glibcxx_cv_func___builtin_fabs_link=yes
70888 else
70889 echo "$as_me: failed program was:" >&5
70890 sed 's/^/| /' conftest.$ac_ext >&5
70892 glibcxx_cv_func___builtin_fabs_link=no
70894 rm -f conftest.err conftest.$ac_objext \
70895 conftest$ac_exeext conftest.$ac_ext
70900 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70901 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70902 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70903 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70905 cat >>confdefs.h <<_ACEOF
70906 #define ${ac_tr_func} 1
70907 _ACEOF
70913 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70914 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70915 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70916 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70917 echo $ECHO_N "(cached) $ECHO_C" >&6
70918 else
70922 ac_ext=cc
70923 ac_cpp='$CXXCPP $CPPFLAGS'
70924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_fabsl(0);
70940 return 0;
70942 _ACEOF
70943 rm -f conftest.$ac_objext
70944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70945 (eval $ac_compile) 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_cxx_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_objext'
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_fabsl_use=yes
70966 else
70967 echo "$as_me: failed program was:" >&5
70968 sed 's/^/| /' conftest.$ac_ext >&5
70970 glibcxx_cv_func___builtin_fabsl_use=no
70972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70973 ac_ext=c
70974 ac_cpp='$CPP $CPPFLAGS'
70975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70984 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70985 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70986 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70987 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70988 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70989 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70990 echo $ECHO_N "(cached) $ECHO_C" >&6
70991 else
70993 if test x$gcc_no_link = xyes; then
70994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70996 { (exit 1); exit 1; }; }
70998 cat >conftest.$ac_ext <<_ACEOF
70999 /* confdefs.h. */
71000 _ACEOF
71001 cat confdefs.h >>conftest.$ac_ext
71002 cat >>conftest.$ac_ext <<_ACEOF
71003 /* end confdefs.h. */
71004 #include <math.h>
71006 main ()
71008 __builtin_fabsl(0);
71010 return 0;
71012 _ACEOF
71013 rm -f conftest.$ac_objext conftest$ac_exeext
71014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71015 (eval $ac_link) 2>conftest.er1
71016 ac_status=$?
71017 grep -v '^ *+' conftest.er1 >conftest.err
71018 rm -f conftest.er1
71019 cat conftest.err >&5
71020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71021 (exit $ac_status); } &&
71022 { ac_try='test -z "$ac_c_werror_flag"
71023 || test ! -s conftest.err'
71024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71025 (eval $ac_try) 2>&5
71026 ac_status=$?
71027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71028 (exit $ac_status); }; } &&
71029 { ac_try='test -s conftest$ac_exeext'
71030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71031 (eval $ac_try) 2>&5
71032 ac_status=$?
71033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71034 (exit $ac_status); }; }; then
71035 glibcxx_cv_func___builtin_fabsl_link=yes
71036 else
71037 echo "$as_me: failed program was:" >&5
71038 sed 's/^/| /' conftest.$ac_ext >&5
71040 glibcxx_cv_func___builtin_fabsl_link=no
71042 rm -f conftest.err conftest.$ac_objext \
71043 conftest$ac_exeext conftest.$ac_ext
71048 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71049 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71050 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71051 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71053 cat >>confdefs.h <<_ACEOF
71054 #define ${ac_tr_func} 1
71055 _ACEOF
71061 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71062 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71063 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71064 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71065 echo $ECHO_N "(cached) $ECHO_C" >&6
71066 else
71070 ac_ext=cc
71071 ac_cpp='$CXXCPP $CPPFLAGS'
71072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_labs(0);
71088 return 0;
71090 _ACEOF
71091 rm -f conftest.$ac_objext
71092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71093 (eval $ac_compile) 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_cxx_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_objext'
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_labs_use=yes
71114 else
71115 echo "$as_me: failed program was:" >&5
71116 sed 's/^/| /' conftest.$ac_ext >&5
71118 glibcxx_cv_func___builtin_labs_use=no
71120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71121 ac_ext=c
71122 ac_cpp='$CPP $CPPFLAGS'
71123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71132 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71133 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71134 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71135 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71136 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71137 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71138 echo $ECHO_N "(cached) $ECHO_C" >&6
71139 else
71141 if test x$gcc_no_link = xyes; then
71142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71144 { (exit 1); exit 1; }; }
71146 cat >conftest.$ac_ext <<_ACEOF
71147 /* confdefs.h. */
71148 _ACEOF
71149 cat confdefs.h >>conftest.$ac_ext
71150 cat >>conftest.$ac_ext <<_ACEOF
71151 /* end confdefs.h. */
71152 #include <math.h>
71154 main ()
71156 __builtin_labs(0);
71158 return 0;
71160 _ACEOF
71161 rm -f conftest.$ac_objext conftest$ac_exeext
71162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71163 (eval $ac_link) 2>conftest.er1
71164 ac_status=$?
71165 grep -v '^ *+' conftest.er1 >conftest.err
71166 rm -f conftest.er1
71167 cat conftest.err >&5
71168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71169 (exit $ac_status); } &&
71170 { ac_try='test -z "$ac_c_werror_flag"
71171 || test ! -s conftest.err'
71172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71173 (eval $ac_try) 2>&5
71174 ac_status=$?
71175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71176 (exit $ac_status); }; } &&
71177 { ac_try='test -s conftest$ac_exeext'
71178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71179 (eval $ac_try) 2>&5
71180 ac_status=$?
71181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71182 (exit $ac_status); }; }; then
71183 glibcxx_cv_func___builtin_labs_link=yes
71184 else
71185 echo "$as_me: failed program was:" >&5
71186 sed 's/^/| /' conftest.$ac_ext >&5
71188 glibcxx_cv_func___builtin_labs_link=no
71190 rm -f conftest.err conftest.$ac_objext \
71191 conftest$ac_exeext conftest.$ac_ext
71196 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71197 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71198 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71199 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71201 cat >>confdefs.h <<_ACEOF
71202 #define ${ac_tr_func} 1
71203 _ACEOF
71210 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71211 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71212 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71213 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71214 echo $ECHO_N "(cached) $ECHO_C" >&6
71215 else
71219 ac_ext=cc
71220 ac_cpp='$CXXCPP $CPPFLAGS'
71221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71225 cat >conftest.$ac_ext <<_ACEOF
71226 /* confdefs.h. */
71227 _ACEOF
71228 cat confdefs.h >>conftest.$ac_ext
71229 cat >>conftest.$ac_ext <<_ACEOF
71230 /* end confdefs.h. */
71231 #include <math.h>
71233 main ()
71235 __builtin_sqrtf(0);
71237 return 0;
71239 _ACEOF
71240 rm -f conftest.$ac_objext
71241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71242 (eval $ac_compile) 2>conftest.er1
71243 ac_status=$?
71244 grep -v '^ *+' conftest.er1 >conftest.err
71245 rm -f conftest.er1
71246 cat conftest.err >&5
71247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71248 (exit $ac_status); } &&
71249 { ac_try='test -z "$ac_cxx_werror_flag"
71250 || test ! -s conftest.err'
71251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71252 (eval $ac_try) 2>&5
71253 ac_status=$?
71254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71255 (exit $ac_status); }; } &&
71256 { ac_try='test -s conftest.$ac_objext'
71257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71258 (eval $ac_try) 2>&5
71259 ac_status=$?
71260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71261 (exit $ac_status); }; }; then
71262 glibcxx_cv_func___builtin_sqrtf_use=yes
71263 else
71264 echo "$as_me: failed program was:" >&5
71265 sed 's/^/| /' conftest.$ac_ext >&5
71267 glibcxx_cv_func___builtin_sqrtf_use=no
71269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71270 ac_ext=c
71271 ac_cpp='$CPP $CPPFLAGS'
71272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71280 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71281 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71282 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71283 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71284 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71285 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71286 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71287 echo $ECHO_N "(cached) $ECHO_C" >&6
71288 else
71290 if test x$gcc_no_link = xyes; then
71291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71293 { (exit 1); exit 1; }; }
71295 cat >conftest.$ac_ext <<_ACEOF
71296 /* confdefs.h. */
71297 _ACEOF
71298 cat confdefs.h >>conftest.$ac_ext
71299 cat >>conftest.$ac_ext <<_ACEOF
71300 /* end confdefs.h. */
71301 #include <math.h>
71303 main ()
71305 __builtin_sqrtf(0);
71307 return 0;
71309 _ACEOF
71310 rm -f conftest.$ac_objext conftest$ac_exeext
71311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71312 (eval $ac_link) 2>conftest.er1
71313 ac_status=$?
71314 grep -v '^ *+' conftest.er1 >conftest.err
71315 rm -f conftest.er1
71316 cat conftest.err >&5
71317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71318 (exit $ac_status); } &&
71319 { ac_try='test -z "$ac_c_werror_flag"
71320 || test ! -s conftest.err'
71321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71322 (eval $ac_try) 2>&5
71323 ac_status=$?
71324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71325 (exit $ac_status); }; } &&
71326 { ac_try='test -s conftest$ac_exeext'
71327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71328 (eval $ac_try) 2>&5
71329 ac_status=$?
71330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71331 (exit $ac_status); }; }; then
71332 glibcxx_cv_func___builtin_sqrtf_link=yes
71333 else
71334 echo "$as_me: failed program was:" >&5
71335 sed 's/^/| /' conftest.$ac_ext >&5
71337 glibcxx_cv_func___builtin_sqrtf_link=no
71339 rm -f conftest.err conftest.$ac_objext \
71340 conftest$ac_exeext conftest.$ac_ext
71345 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71346 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71347 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71348 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71350 cat >>confdefs.h <<_ACEOF
71351 #define ${ac_tr_func} 1
71352 _ACEOF
71358 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71359 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71360 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71361 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71362 echo $ECHO_N "(cached) $ECHO_C" >&6
71363 else
71367 ac_ext=cc
71368 ac_cpp='$CXXCPP $CPPFLAGS'
71369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sqrt(0);
71385 return 0;
71387 _ACEOF
71388 rm -f conftest.$ac_objext
71389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71390 (eval $ac_compile) 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_cxx_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_objext'
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_sqrt_use=yes
71411 else
71412 echo "$as_me: failed program was:" >&5
71413 sed 's/^/| /' conftest.$ac_ext >&5
71415 glibcxx_cv_func___builtin_sqrt_use=no
71417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71418 ac_ext=c
71419 ac_cpp='$CPP $CPPFLAGS'
71420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71428 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71429 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71430 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71431 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71432 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71433 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71434 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71435 echo $ECHO_N "(cached) $ECHO_C" >&6
71436 else
71438 if test x$gcc_no_link = xyes; then
71439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71441 { (exit 1); exit 1; }; }
71443 cat >conftest.$ac_ext <<_ACEOF
71444 /* confdefs.h. */
71445 _ACEOF
71446 cat confdefs.h >>conftest.$ac_ext
71447 cat >>conftest.$ac_ext <<_ACEOF
71448 /* end confdefs.h. */
71449 #include <math.h>
71451 main ()
71453 __builtin_sqrt(0);
71455 return 0;
71457 _ACEOF
71458 rm -f conftest.$ac_objext conftest$ac_exeext
71459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71460 (eval $ac_link) 2>conftest.er1
71461 ac_status=$?
71462 grep -v '^ *+' conftest.er1 >conftest.err
71463 rm -f conftest.er1
71464 cat conftest.err >&5
71465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71466 (exit $ac_status); } &&
71467 { ac_try='test -z "$ac_c_werror_flag"
71468 || test ! -s conftest.err'
71469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71470 (eval $ac_try) 2>&5
71471 ac_status=$?
71472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71473 (exit $ac_status); }; } &&
71474 { ac_try='test -s conftest$ac_exeext'
71475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71476 (eval $ac_try) 2>&5
71477 ac_status=$?
71478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71479 (exit $ac_status); }; }; then
71480 glibcxx_cv_func___builtin_sqrt_link=yes
71481 else
71482 echo "$as_me: failed program was:" >&5
71483 sed 's/^/| /' conftest.$ac_ext >&5
71485 glibcxx_cv_func___builtin_sqrt_link=no
71487 rm -f conftest.err conftest.$ac_objext \
71488 conftest$ac_exeext conftest.$ac_ext
71493 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71494 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71495 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71496 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71498 cat >>confdefs.h <<_ACEOF
71499 #define ${ac_tr_func} 1
71500 _ACEOF
71506 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71507 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71508 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71509 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71510 echo $ECHO_N "(cached) $ECHO_C" >&6
71511 else
71515 ac_ext=cc
71516 ac_cpp='$CXXCPP $CPPFLAGS'
71517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sqrtl(0);
71533 return 0;
71535 _ACEOF
71536 rm -f conftest.$ac_objext
71537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71538 (eval $ac_compile) 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_cxx_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_objext'
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_sqrtl_use=yes
71559 else
71560 echo "$as_me: failed program was:" >&5
71561 sed 's/^/| /' conftest.$ac_ext >&5
71563 glibcxx_cv_func___builtin_sqrtl_use=no
71565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71566 ac_ext=c
71567 ac_cpp='$CPP $CPPFLAGS'
71568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71578 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71579 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71580 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71581 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71582 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71583 echo $ECHO_N "(cached) $ECHO_C" >&6
71584 else
71586 if test x$gcc_no_link = xyes; then
71587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71589 { (exit 1); exit 1; }; }
71591 cat >conftest.$ac_ext <<_ACEOF
71592 /* confdefs.h. */
71593 _ACEOF
71594 cat confdefs.h >>conftest.$ac_ext
71595 cat >>conftest.$ac_ext <<_ACEOF
71596 /* end confdefs.h. */
71597 #include <math.h>
71599 main ()
71601 __builtin_sqrtl(0);
71603 return 0;
71605 _ACEOF
71606 rm -f conftest.$ac_objext conftest$ac_exeext
71607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71608 (eval $ac_link) 2>conftest.er1
71609 ac_status=$?
71610 grep -v '^ *+' conftest.er1 >conftest.err
71611 rm -f conftest.er1
71612 cat conftest.err >&5
71613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71614 (exit $ac_status); } &&
71615 { ac_try='test -z "$ac_c_werror_flag"
71616 || test ! -s conftest.err'
71617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71618 (eval $ac_try) 2>&5
71619 ac_status=$?
71620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71621 (exit $ac_status); }; } &&
71622 { ac_try='test -s conftest$ac_exeext'
71623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71624 (eval $ac_try) 2>&5
71625 ac_status=$?
71626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71627 (exit $ac_status); }; }; then
71628 glibcxx_cv_func___builtin_sqrtl_link=yes
71629 else
71630 echo "$as_me: failed program was:" >&5
71631 sed 's/^/| /' conftest.$ac_ext >&5
71633 glibcxx_cv_func___builtin_sqrtl_link=no
71635 rm -f conftest.err conftest.$ac_objext \
71636 conftest$ac_exeext conftest.$ac_ext
71641 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71642 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71643 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71644 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71646 cat >>confdefs.h <<_ACEOF
71647 #define ${ac_tr_func} 1
71648 _ACEOF
71655 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71656 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71657 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71658 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71659 echo $ECHO_N "(cached) $ECHO_C" >&6
71660 else
71664 ac_ext=cc
71665 ac_cpp='$CXXCPP $CPPFLAGS'
71666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71670 cat >conftest.$ac_ext <<_ACEOF
71671 /* confdefs.h. */
71672 _ACEOF
71673 cat confdefs.h >>conftest.$ac_ext
71674 cat >>conftest.$ac_ext <<_ACEOF
71675 /* end confdefs.h. */
71676 #include <math.h>
71678 main ()
71680 __builtin_sinf(0);
71682 return 0;
71684 _ACEOF
71685 rm -f conftest.$ac_objext
71686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71687 (eval $ac_compile) 2>conftest.er1
71688 ac_status=$?
71689 grep -v '^ *+' conftest.er1 >conftest.err
71690 rm -f conftest.er1
71691 cat conftest.err >&5
71692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71693 (exit $ac_status); } &&
71694 { ac_try='test -z "$ac_cxx_werror_flag"
71695 || test ! -s conftest.err'
71696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71697 (eval $ac_try) 2>&5
71698 ac_status=$?
71699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71700 (exit $ac_status); }; } &&
71701 { ac_try='test -s conftest.$ac_objext'
71702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71703 (eval $ac_try) 2>&5
71704 ac_status=$?
71705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706 (exit $ac_status); }; }; then
71707 glibcxx_cv_func___builtin_sinf_use=yes
71708 else
71709 echo "$as_me: failed program was:" >&5
71710 sed 's/^/| /' conftest.$ac_ext >&5
71712 glibcxx_cv_func___builtin_sinf_use=no
71714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71715 ac_ext=c
71716 ac_cpp='$CPP $CPPFLAGS'
71717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71726 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71727 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71728 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71729 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71730 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71731 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71732 echo $ECHO_N "(cached) $ECHO_C" >&6
71733 else
71735 if test x$gcc_no_link = xyes; then
71736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71738 { (exit 1); exit 1; }; }
71740 cat >conftest.$ac_ext <<_ACEOF
71741 /* confdefs.h. */
71742 _ACEOF
71743 cat confdefs.h >>conftest.$ac_ext
71744 cat >>conftest.$ac_ext <<_ACEOF
71745 /* end confdefs.h. */
71746 #include <math.h>
71748 main ()
71750 __builtin_sinf(0);
71752 return 0;
71754 _ACEOF
71755 rm -f conftest.$ac_objext conftest$ac_exeext
71756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71757 (eval $ac_link) 2>conftest.er1
71758 ac_status=$?
71759 grep -v '^ *+' conftest.er1 >conftest.err
71760 rm -f conftest.er1
71761 cat conftest.err >&5
71762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71763 (exit $ac_status); } &&
71764 { ac_try='test -z "$ac_c_werror_flag"
71765 || test ! -s conftest.err'
71766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71767 (eval $ac_try) 2>&5
71768 ac_status=$?
71769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71770 (exit $ac_status); }; } &&
71771 { ac_try='test -s conftest$ac_exeext'
71772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71773 (eval $ac_try) 2>&5
71774 ac_status=$?
71775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71776 (exit $ac_status); }; }; then
71777 glibcxx_cv_func___builtin_sinf_link=yes
71778 else
71779 echo "$as_me: failed program was:" >&5
71780 sed 's/^/| /' conftest.$ac_ext >&5
71782 glibcxx_cv_func___builtin_sinf_link=no
71784 rm -f conftest.err conftest.$ac_objext \
71785 conftest$ac_exeext conftest.$ac_ext
71790 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71791 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71792 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71793 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71795 cat >>confdefs.h <<_ACEOF
71796 #define ${ac_tr_func} 1
71797 _ACEOF
71803 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71804 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71805 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71806 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71807 echo $ECHO_N "(cached) $ECHO_C" >&6
71808 else
71812 ac_ext=cc
71813 ac_cpp='$CXXCPP $CPPFLAGS'
71814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sin(0);
71830 return 0;
71832 _ACEOF
71833 rm -f conftest.$ac_objext
71834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71835 (eval $ac_compile) 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_cxx_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_objext'
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_sin_use=yes
71856 else
71857 echo "$as_me: failed program was:" >&5
71858 sed 's/^/| /' conftest.$ac_ext >&5
71860 glibcxx_cv_func___builtin_sin_use=no
71862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71873 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71874 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71875 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71876 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71877 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71878 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71879 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71880 echo $ECHO_N "(cached) $ECHO_C" >&6
71881 else
71883 if test x$gcc_no_link = xyes; then
71884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71886 { (exit 1); exit 1; }; }
71888 cat >conftest.$ac_ext <<_ACEOF
71889 /* confdefs.h. */
71890 _ACEOF
71891 cat confdefs.h >>conftest.$ac_ext
71892 cat >>conftest.$ac_ext <<_ACEOF
71893 /* end confdefs.h. */
71894 #include <math.h>
71896 main ()
71898 __builtin_sin(0);
71900 return 0;
71902 _ACEOF
71903 rm -f conftest.$ac_objext conftest$ac_exeext
71904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71905 (eval $ac_link) 2>conftest.er1
71906 ac_status=$?
71907 grep -v '^ *+' conftest.er1 >conftest.err
71908 rm -f conftest.er1
71909 cat conftest.err >&5
71910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71911 (exit $ac_status); } &&
71912 { ac_try='test -z "$ac_c_werror_flag"
71913 || test ! -s conftest.err'
71914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71915 (eval $ac_try) 2>&5
71916 ac_status=$?
71917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71918 (exit $ac_status); }; } &&
71919 { ac_try='test -s conftest$ac_exeext'
71920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71921 (eval $ac_try) 2>&5
71922 ac_status=$?
71923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71924 (exit $ac_status); }; }; then
71925 glibcxx_cv_func___builtin_sin_link=yes
71926 else
71927 echo "$as_me: failed program was:" >&5
71928 sed 's/^/| /' conftest.$ac_ext >&5
71930 glibcxx_cv_func___builtin_sin_link=no
71932 rm -f conftest.err conftest.$ac_objext \
71933 conftest$ac_exeext conftest.$ac_ext
71938 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71939 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71940 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71941 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71943 cat >>confdefs.h <<_ACEOF
71944 #define ${ac_tr_func} 1
71945 _ACEOF
71951 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71952 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71953 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71954 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71955 echo $ECHO_N "(cached) $ECHO_C" >&6
71956 else
71960 ac_ext=cc
71961 ac_cpp='$CXXCPP $CPPFLAGS'
71962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_sinl(0);
71978 return 0;
71980 _ACEOF
71981 rm -f conftest.$ac_objext
71982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71983 (eval $ac_compile) 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_cxx_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_objext'
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_sinl_use=yes
72004 else
72005 echo "$as_me: failed program was:" >&5
72006 sed 's/^/| /' conftest.$ac_ext >&5
72008 glibcxx_cv_func___builtin_sinl_use=no
72010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72011 ac_ext=c
72012 ac_cpp='$CPP $CPPFLAGS'
72013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72022 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72023 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72024 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72025 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72026 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72027 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72028 echo $ECHO_N "(cached) $ECHO_C" >&6
72029 else
72031 if test x$gcc_no_link = xyes; then
72032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72034 { (exit 1); exit 1; }; }
72036 cat >conftest.$ac_ext <<_ACEOF
72037 /* confdefs.h. */
72038 _ACEOF
72039 cat confdefs.h >>conftest.$ac_ext
72040 cat >>conftest.$ac_ext <<_ACEOF
72041 /* end confdefs.h. */
72042 #include <math.h>
72044 main ()
72046 __builtin_sinl(0);
72048 return 0;
72050 _ACEOF
72051 rm -f conftest.$ac_objext conftest$ac_exeext
72052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72053 (eval $ac_link) 2>conftest.er1
72054 ac_status=$?
72055 grep -v '^ *+' conftest.er1 >conftest.err
72056 rm -f conftest.er1
72057 cat conftest.err >&5
72058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72059 (exit $ac_status); } &&
72060 { ac_try='test -z "$ac_c_werror_flag"
72061 || test ! -s conftest.err'
72062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72063 (eval $ac_try) 2>&5
72064 ac_status=$?
72065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72066 (exit $ac_status); }; } &&
72067 { ac_try='test -s conftest$ac_exeext'
72068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72069 (eval $ac_try) 2>&5
72070 ac_status=$?
72071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72072 (exit $ac_status); }; }; then
72073 glibcxx_cv_func___builtin_sinl_link=yes
72074 else
72075 echo "$as_me: failed program was:" >&5
72076 sed 's/^/| /' conftest.$ac_ext >&5
72078 glibcxx_cv_func___builtin_sinl_link=no
72080 rm -f conftest.err conftest.$ac_objext \
72081 conftest$ac_exeext conftest.$ac_ext
72086 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72087 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72088 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72089 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72091 cat >>confdefs.h <<_ACEOF
72092 #define ${ac_tr_func} 1
72093 _ACEOF
72100 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72101 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72102 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72103 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72104 echo $ECHO_N "(cached) $ECHO_C" >&6
72105 else
72109 ac_ext=cc
72110 ac_cpp='$CXXCPP $CPPFLAGS'
72111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72115 cat >conftest.$ac_ext <<_ACEOF
72116 /* confdefs.h. */
72117 _ACEOF
72118 cat confdefs.h >>conftest.$ac_ext
72119 cat >>conftest.$ac_ext <<_ACEOF
72120 /* end confdefs.h. */
72121 #include <math.h>
72123 main ()
72125 __builtin_cosf(0);
72127 return 0;
72129 _ACEOF
72130 rm -f conftest.$ac_objext
72131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72132 (eval $ac_compile) 2>conftest.er1
72133 ac_status=$?
72134 grep -v '^ *+' conftest.er1 >conftest.err
72135 rm -f conftest.er1
72136 cat conftest.err >&5
72137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72138 (exit $ac_status); } &&
72139 { ac_try='test -z "$ac_cxx_werror_flag"
72140 || test ! -s conftest.err'
72141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72142 (eval $ac_try) 2>&5
72143 ac_status=$?
72144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72145 (exit $ac_status); }; } &&
72146 { ac_try='test -s conftest.$ac_objext'
72147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72148 (eval $ac_try) 2>&5
72149 ac_status=$?
72150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72151 (exit $ac_status); }; }; then
72152 glibcxx_cv_func___builtin_cosf_use=yes
72153 else
72154 echo "$as_me: failed program was:" >&5
72155 sed 's/^/| /' conftest.$ac_ext >&5
72157 glibcxx_cv_func___builtin_cosf_use=no
72159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72160 ac_ext=c
72161 ac_cpp='$CPP $CPPFLAGS'
72162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72171 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72172 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72173 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72174 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72175 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72176 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72177 echo $ECHO_N "(cached) $ECHO_C" >&6
72178 else
72180 if test x$gcc_no_link = xyes; then
72181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72183 { (exit 1); exit 1; }; }
72185 cat >conftest.$ac_ext <<_ACEOF
72186 /* confdefs.h. */
72187 _ACEOF
72188 cat confdefs.h >>conftest.$ac_ext
72189 cat >>conftest.$ac_ext <<_ACEOF
72190 /* end confdefs.h. */
72191 #include <math.h>
72193 main ()
72195 __builtin_cosf(0);
72197 return 0;
72199 _ACEOF
72200 rm -f conftest.$ac_objext conftest$ac_exeext
72201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72202 (eval $ac_link) 2>conftest.er1
72203 ac_status=$?
72204 grep -v '^ *+' conftest.er1 >conftest.err
72205 rm -f conftest.er1
72206 cat conftest.err >&5
72207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208 (exit $ac_status); } &&
72209 { ac_try='test -z "$ac_c_werror_flag"
72210 || test ! -s conftest.err'
72211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72212 (eval $ac_try) 2>&5
72213 ac_status=$?
72214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72215 (exit $ac_status); }; } &&
72216 { ac_try='test -s conftest$ac_exeext'
72217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72218 (eval $ac_try) 2>&5
72219 ac_status=$?
72220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72221 (exit $ac_status); }; }; then
72222 glibcxx_cv_func___builtin_cosf_link=yes
72223 else
72224 echo "$as_me: failed program was:" >&5
72225 sed 's/^/| /' conftest.$ac_ext >&5
72227 glibcxx_cv_func___builtin_cosf_link=no
72229 rm -f conftest.err conftest.$ac_objext \
72230 conftest$ac_exeext conftest.$ac_ext
72235 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72236 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72237 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72238 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72240 cat >>confdefs.h <<_ACEOF
72241 #define ${ac_tr_func} 1
72242 _ACEOF
72248 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72249 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72250 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72251 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72252 echo $ECHO_N "(cached) $ECHO_C" >&6
72253 else
72257 ac_ext=cc
72258 ac_cpp='$CXXCPP $CPPFLAGS'
72259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_cos(0);
72275 return 0;
72277 _ACEOF
72278 rm -f conftest.$ac_objext
72279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72280 (eval $ac_compile) 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_cxx_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_objext'
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_cos_use=yes
72301 else
72302 echo "$as_me: failed program was:" >&5
72303 sed 's/^/| /' conftest.$ac_ext >&5
72305 glibcxx_cv_func___builtin_cos_use=no
72307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72308 ac_ext=c
72309 ac_cpp='$CPP $CPPFLAGS'
72310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72318 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72319 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72320 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72321 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72322 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72323 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72324 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72325 echo $ECHO_N "(cached) $ECHO_C" >&6
72326 else
72328 if test x$gcc_no_link = xyes; then
72329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72331 { (exit 1); exit 1; }; }
72333 cat >conftest.$ac_ext <<_ACEOF
72334 /* confdefs.h. */
72335 _ACEOF
72336 cat confdefs.h >>conftest.$ac_ext
72337 cat >>conftest.$ac_ext <<_ACEOF
72338 /* end confdefs.h. */
72339 #include <math.h>
72341 main ()
72343 __builtin_cos(0);
72345 return 0;
72347 _ACEOF
72348 rm -f conftest.$ac_objext conftest$ac_exeext
72349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72350 (eval $ac_link) 2>conftest.er1
72351 ac_status=$?
72352 grep -v '^ *+' conftest.er1 >conftest.err
72353 rm -f conftest.er1
72354 cat conftest.err >&5
72355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72356 (exit $ac_status); } &&
72357 { ac_try='test -z "$ac_c_werror_flag"
72358 || test ! -s conftest.err'
72359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72360 (eval $ac_try) 2>&5
72361 ac_status=$?
72362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72363 (exit $ac_status); }; } &&
72364 { ac_try='test -s conftest$ac_exeext'
72365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72366 (eval $ac_try) 2>&5
72367 ac_status=$?
72368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72369 (exit $ac_status); }; }; then
72370 glibcxx_cv_func___builtin_cos_link=yes
72371 else
72372 echo "$as_me: failed program was:" >&5
72373 sed 's/^/| /' conftest.$ac_ext >&5
72375 glibcxx_cv_func___builtin_cos_link=no
72377 rm -f conftest.err conftest.$ac_objext \
72378 conftest$ac_exeext conftest.$ac_ext
72383 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72384 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72385 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72386 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72388 cat >>confdefs.h <<_ACEOF
72389 #define ${ac_tr_func} 1
72390 _ACEOF
72396 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72397 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72398 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72399 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72400 echo $ECHO_N "(cached) $ECHO_C" >&6
72401 else
72405 ac_ext=cc
72406 ac_cpp='$CXXCPP $CPPFLAGS'
72407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_cosl(0);
72423 return 0;
72425 _ACEOF
72426 rm -f conftest.$ac_objext
72427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72428 (eval $ac_compile) 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_cxx_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_objext'
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_cosl_use=yes
72449 else
72450 echo "$as_me: failed program was:" >&5
72451 sed 's/^/| /' conftest.$ac_ext >&5
72453 glibcxx_cv_func___builtin_cosl_use=no
72455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72456 ac_ext=c
72457 ac_cpp='$CPP $CPPFLAGS'
72458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72466 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72467 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72468 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72469 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72470 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72471 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72472 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72473 echo $ECHO_N "(cached) $ECHO_C" >&6
72474 else
72476 if test x$gcc_no_link = xyes; then
72477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72479 { (exit 1); exit 1; }; }
72481 cat >conftest.$ac_ext <<_ACEOF
72482 /* confdefs.h. */
72483 _ACEOF
72484 cat confdefs.h >>conftest.$ac_ext
72485 cat >>conftest.$ac_ext <<_ACEOF
72486 /* end confdefs.h. */
72487 #include <math.h>
72489 main ()
72491 __builtin_cosl(0);
72493 return 0;
72495 _ACEOF
72496 rm -f conftest.$ac_objext conftest$ac_exeext
72497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72498 (eval $ac_link) 2>conftest.er1
72499 ac_status=$?
72500 grep -v '^ *+' conftest.er1 >conftest.err
72501 rm -f conftest.er1
72502 cat conftest.err >&5
72503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72504 (exit $ac_status); } &&
72505 { ac_try='test -z "$ac_c_werror_flag"
72506 || test ! -s conftest.err'
72507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72508 (eval $ac_try) 2>&5
72509 ac_status=$?
72510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72511 (exit $ac_status); }; } &&
72512 { ac_try='test -s conftest$ac_exeext'
72513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72514 (eval $ac_try) 2>&5
72515 ac_status=$?
72516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72517 (exit $ac_status); }; }; then
72518 glibcxx_cv_func___builtin_cosl_link=yes
72519 else
72520 echo "$as_me: failed program was:" >&5
72521 sed 's/^/| /' conftest.$ac_ext >&5
72523 glibcxx_cv_func___builtin_cosl_link=no
72525 rm -f conftest.err conftest.$ac_objext \
72526 conftest$ac_exeext conftest.$ac_ext
72531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72532 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72533 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72534 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72536 cat >>confdefs.h <<_ACEOF
72537 #define ${ac_tr_func} 1
72538 _ACEOF
72546 echo "$as_me:$LINENO: checking for main in -lm" >&5
72547 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72548 if test "${ac_cv_lib_m_main+set}" = set; then
72549 echo $ECHO_N "(cached) $ECHO_C" >&6
72550 else
72551 ac_check_lib_save_LIBS=$LIBS
72552 LIBS="-lm $LIBS"
72553 if test x$gcc_no_link = xyes; then
72554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72556 { (exit 1); exit 1; }; }
72558 cat >conftest.$ac_ext <<_ACEOF
72559 /* confdefs.h. */
72560 _ACEOF
72561 cat confdefs.h >>conftest.$ac_ext
72562 cat >>conftest.$ac_ext <<_ACEOF
72563 /* end confdefs.h. */
72567 main ()
72569 main ();
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 ac_cv_lib_m_main=yes
72597 else
72598 echo "$as_me: failed program was:" >&5
72599 sed 's/^/| /' conftest.$ac_ext >&5
72601 ac_cv_lib_m_main=no
72603 rm -f conftest.err conftest.$ac_objext \
72604 conftest$ac_exeext conftest.$ac_ext
72605 LIBS=$ac_check_lib_save_LIBS
72607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72608 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72609 if test $ac_cv_lib_m_main = yes; then
72610 cat >>confdefs.h <<_ACEOF
72611 #define HAVE_LIBM 1
72612 _ACEOF
72614 LIBS="-lm $LIBS"
72619 for ac_func in copysignf
72621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72622 echo "$as_me:$LINENO: checking for $ac_func" >&5
72623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72624 if eval "test \"\${$as_ac_var+set}\" = set"; then
72625 echo $ECHO_N "(cached) $ECHO_C" >&6
72626 else
72627 if test x$gcc_no_link = xyes; then
72628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72630 { (exit 1); exit 1; }; }
72632 cat >conftest.$ac_ext <<_ACEOF
72633 /* confdefs.h. */
72634 _ACEOF
72635 cat confdefs.h >>conftest.$ac_ext
72636 cat >>conftest.$ac_ext <<_ACEOF
72637 /* end confdefs.h. */
72638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72640 #define $ac_func innocuous_$ac_func
72642 /* System header to define __stub macros and hopefully few prototypes,
72643 which can conflict with char $ac_func (); below.
72644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72645 <limits.h> exists even on freestanding compilers. */
72647 #ifdef __STDC__
72648 # include <limits.h>
72649 #else
72650 # include <assert.h>
72651 #endif
72653 #undef $ac_func
72655 /* Override any gcc2 internal prototype to avoid an error. */
72656 #ifdef __cplusplus
72657 extern "C"
72659 #endif
72660 /* We use char because int might match the return type of a gcc2
72661 builtin and then its argument prototype would still apply. */
72662 char $ac_func ();
72663 /* The GNU C library defines this for functions which it implements
72664 to always fail with ENOSYS. Some functions are actually named
72665 something starting with __ and the normal name is an alias. */
72666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72667 choke me
72668 #else
72669 char (*f) () = $ac_func;
72670 #endif
72671 #ifdef __cplusplus
72673 #endif
72676 main ()
72678 return f != $ac_func;
72680 return 0;
72682 _ACEOF
72683 rm -f conftest.$ac_objext conftest$ac_exeext
72684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72685 (eval $ac_link) 2>conftest.er1
72686 ac_status=$?
72687 grep -v '^ *+' conftest.er1 >conftest.err
72688 rm -f conftest.er1
72689 cat conftest.err >&5
72690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72691 (exit $ac_status); } &&
72692 { ac_try='test -z "$ac_c_werror_flag"
72693 || test ! -s conftest.err'
72694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72695 (eval $ac_try) 2>&5
72696 ac_status=$?
72697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72698 (exit $ac_status); }; } &&
72699 { ac_try='test -s conftest$ac_exeext'
72700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72701 (eval $ac_try) 2>&5
72702 ac_status=$?
72703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72704 (exit $ac_status); }; }; then
72705 eval "$as_ac_var=yes"
72706 else
72707 echo "$as_me: failed program was:" >&5
72708 sed 's/^/| /' conftest.$ac_ext >&5
72710 eval "$as_ac_var=no"
72712 rm -f conftest.err conftest.$ac_objext \
72713 conftest$ac_exeext conftest.$ac_ext
72715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72717 if test `eval echo '${'$as_ac_var'}'` = yes; then
72718 cat >>confdefs.h <<_ACEOF
72719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72720 _ACEOF
72722 else
72723 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72725 done
72729 for ac_func in __signbit
72731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72732 echo "$as_me:$LINENO: checking for $ac_func" >&5
72733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72734 if eval "test \"\${$as_ac_var+set}\" = set"; then
72735 echo $ECHO_N "(cached) $ECHO_C" >&6
72736 else
72737 if test x$gcc_no_link = xyes; then
72738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72740 { (exit 1); exit 1; }; }
72742 cat >conftest.$ac_ext <<_ACEOF
72743 /* confdefs.h. */
72744 _ACEOF
72745 cat confdefs.h >>conftest.$ac_ext
72746 cat >>conftest.$ac_ext <<_ACEOF
72747 /* end confdefs.h. */
72748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72750 #define $ac_func innocuous_$ac_func
72752 /* System header to define __stub macros and hopefully few prototypes,
72753 which can conflict with char $ac_func (); below.
72754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72755 <limits.h> exists even on freestanding compilers. */
72757 #ifdef __STDC__
72758 # include <limits.h>
72759 #else
72760 # include <assert.h>
72761 #endif
72763 #undef $ac_func
72765 /* Override any gcc2 internal prototype to avoid an error. */
72766 #ifdef __cplusplus
72767 extern "C"
72769 #endif
72770 /* We use char because int might match the return type of a gcc2
72771 builtin and then its argument prototype would still apply. */
72772 char $ac_func ();
72773 /* The GNU C library defines this for functions which it implements
72774 to always fail with ENOSYS. Some functions are actually named
72775 something starting with __ and the normal name is an alias. */
72776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72777 choke me
72778 #else
72779 char (*f) () = $ac_func;
72780 #endif
72781 #ifdef __cplusplus
72783 #endif
72786 main ()
72788 return f != $ac_func;
72790 return 0;
72792 _ACEOF
72793 rm -f conftest.$ac_objext conftest$ac_exeext
72794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72795 (eval $ac_link) 2>conftest.er1
72796 ac_status=$?
72797 grep -v '^ *+' conftest.er1 >conftest.err
72798 rm -f conftest.er1
72799 cat conftest.err >&5
72800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72801 (exit $ac_status); } &&
72802 { ac_try='test -z "$ac_c_werror_flag"
72803 || test ! -s conftest.err'
72804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72805 (eval $ac_try) 2>&5
72806 ac_status=$?
72807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72808 (exit $ac_status); }; } &&
72809 { ac_try='test -s conftest$ac_exeext'
72810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72811 (eval $ac_try) 2>&5
72812 ac_status=$?
72813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72814 (exit $ac_status); }; }; then
72815 eval "$as_ac_var=yes"
72816 else
72817 echo "$as_me: failed program was:" >&5
72818 sed 's/^/| /' conftest.$ac_ext >&5
72820 eval "$as_ac_var=no"
72822 rm -f conftest.err conftest.$ac_objext \
72823 conftest$ac_exeext conftest.$ac_ext
72825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72827 if test `eval echo '${'$as_ac_var'}'` = yes; then
72828 cat >>confdefs.h <<_ACEOF
72829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72830 _ACEOF
72832 else
72833 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72835 done
72839 for ac_func in __signbitf
72841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72842 echo "$as_me:$LINENO: checking for $ac_func" >&5
72843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72844 if eval "test \"\${$as_ac_var+set}\" = set"; then
72845 echo $ECHO_N "(cached) $ECHO_C" >&6
72846 else
72847 if test x$gcc_no_link = xyes; then
72848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72850 { (exit 1); exit 1; }; }
72852 cat >conftest.$ac_ext <<_ACEOF
72853 /* confdefs.h. */
72854 _ACEOF
72855 cat confdefs.h >>conftest.$ac_ext
72856 cat >>conftest.$ac_ext <<_ACEOF
72857 /* end confdefs.h. */
72858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72860 #define $ac_func innocuous_$ac_func
72862 /* System header to define __stub macros and hopefully few prototypes,
72863 which can conflict with char $ac_func (); below.
72864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72865 <limits.h> exists even on freestanding compilers. */
72867 #ifdef __STDC__
72868 # include <limits.h>
72869 #else
72870 # include <assert.h>
72871 #endif
72873 #undef $ac_func
72875 /* Override any gcc2 internal prototype to avoid an error. */
72876 #ifdef __cplusplus
72877 extern "C"
72879 #endif
72880 /* We use char because int might match the return type of a gcc2
72881 builtin and then its argument prototype would still apply. */
72882 char $ac_func ();
72883 /* The GNU C library defines this for functions which it implements
72884 to always fail with ENOSYS. Some functions are actually named
72885 something starting with __ and the normal name is an alias. */
72886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72887 choke me
72888 #else
72889 char (*f) () = $ac_func;
72890 #endif
72891 #ifdef __cplusplus
72893 #endif
72896 main ()
72898 return f != $ac_func;
72900 return 0;
72902 _ACEOF
72903 rm -f conftest.$ac_objext conftest$ac_exeext
72904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72905 (eval $ac_link) 2>conftest.er1
72906 ac_status=$?
72907 grep -v '^ *+' conftest.er1 >conftest.err
72908 rm -f conftest.er1
72909 cat conftest.err >&5
72910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72911 (exit $ac_status); } &&
72912 { ac_try='test -z "$ac_c_werror_flag"
72913 || test ! -s conftest.err'
72914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72915 (eval $ac_try) 2>&5
72916 ac_status=$?
72917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72918 (exit $ac_status); }; } &&
72919 { ac_try='test -s conftest$ac_exeext'
72920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72921 (eval $ac_try) 2>&5
72922 ac_status=$?
72923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72924 (exit $ac_status); }; }; then
72925 eval "$as_ac_var=yes"
72926 else
72927 echo "$as_me: failed program was:" >&5
72928 sed 's/^/| /' conftest.$ac_ext >&5
72930 eval "$as_ac_var=no"
72932 rm -f conftest.err conftest.$ac_objext \
72933 conftest$ac_exeext conftest.$ac_ext
72935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72937 if test `eval echo '${'$as_ac_var'}'` = yes; then
72938 cat >>confdefs.h <<_ACEOF
72939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72940 _ACEOF
72942 else
72943 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72945 done
72948 if test x$ac_cv_func_copysignl = x"yes"; then
72950 for ac_func in __signbitl
72952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72953 echo "$as_me:$LINENO: checking for $ac_func" >&5
72954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72955 if eval "test \"\${$as_ac_var+set}\" = set"; then
72956 echo $ECHO_N "(cached) $ECHO_C" >&6
72957 else
72958 if test x$gcc_no_link = xyes; then
72959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72961 { (exit 1); exit 1; }; }
72963 cat >conftest.$ac_ext <<_ACEOF
72964 /* confdefs.h. */
72965 _ACEOF
72966 cat confdefs.h >>conftest.$ac_ext
72967 cat >>conftest.$ac_ext <<_ACEOF
72968 /* end confdefs.h. */
72969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72971 #define $ac_func innocuous_$ac_func
72973 /* System header to define __stub macros and hopefully few prototypes,
72974 which can conflict with char $ac_func (); below.
72975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72976 <limits.h> exists even on freestanding compilers. */
72978 #ifdef __STDC__
72979 # include <limits.h>
72980 #else
72981 # include <assert.h>
72982 #endif
72984 #undef $ac_func
72986 /* Override any gcc2 internal prototype to avoid an error. */
72987 #ifdef __cplusplus
72988 extern "C"
72990 #endif
72991 /* We use char because int might match the return type of a gcc2
72992 builtin and then its argument prototype would still apply. */
72993 char $ac_func ();
72994 /* The GNU C library defines this for functions which it implements
72995 to always fail with ENOSYS. Some functions are actually named
72996 something starting with __ and the normal name is an alias. */
72997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72998 choke me
72999 #else
73000 char (*f) () = $ac_func;
73001 #endif
73002 #ifdef __cplusplus
73004 #endif
73007 main ()
73009 return f != $ac_func;
73011 return 0;
73013 _ACEOF
73014 rm -f conftest.$ac_objext conftest$ac_exeext
73015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73016 (eval $ac_link) 2>conftest.er1
73017 ac_status=$?
73018 grep -v '^ *+' conftest.er1 >conftest.err
73019 rm -f conftest.er1
73020 cat conftest.err >&5
73021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73022 (exit $ac_status); } &&
73023 { ac_try='test -z "$ac_c_werror_flag"
73024 || test ! -s conftest.err'
73025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73026 (eval $ac_try) 2>&5
73027 ac_status=$?
73028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73029 (exit $ac_status); }; } &&
73030 { ac_try='test -s conftest$ac_exeext'
73031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73032 (eval $ac_try) 2>&5
73033 ac_status=$?
73034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73035 (exit $ac_status); }; }; then
73036 eval "$as_ac_var=yes"
73037 else
73038 echo "$as_me: failed program was:" >&5
73039 sed 's/^/| /' conftest.$ac_ext >&5
73041 eval "$as_ac_var=no"
73043 rm -f conftest.err conftest.$ac_objext \
73044 conftest$ac_exeext conftest.$ac_ext
73046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73048 if test `eval echo '${'$as_ac_var'}'` = yes; then
73049 cat >>confdefs.h <<_ACEOF
73050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73051 _ACEOF
73053 else
73054 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73056 done
73060 # Used in libmath/Makefile.am.
73061 if test -n "$LIBMATHOBJS"; then
73062 need_libmath=yes
73067 # Test wchar.h for mbstate_t, which is needed for char_traits and
73068 # others even if wchar_t support is not on.
73069 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73070 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73071 cat >conftest.$ac_ext <<_ACEOF
73072 /* confdefs.h. */
73073 _ACEOF
73074 cat confdefs.h >>conftest.$ac_ext
73075 cat >>conftest.$ac_ext <<_ACEOF
73076 /* end confdefs.h. */
73077 #include <wchar.h>
73079 main ()
73081 mbstate_t teststate;
73083 return 0;
73085 _ACEOF
73086 rm -f conftest.$ac_objext
73087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73088 (eval $ac_compile) 2>conftest.er1
73089 ac_status=$?
73090 grep -v '^ *+' conftest.er1 >conftest.err
73091 rm -f conftest.er1
73092 cat conftest.err >&5
73093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73094 (exit $ac_status); } &&
73095 { ac_try='test -z "$ac_c_werror_flag"
73096 || test ! -s conftest.err'
73097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73098 (eval $ac_try) 2>&5
73099 ac_status=$?
73100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73101 (exit $ac_status); }; } &&
73102 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
73108 have_mbstate_t=yes
73109 else
73110 echo "$as_me: failed program was:" >&5
73111 sed 's/^/| /' conftest.$ac_ext >&5
73113 have_mbstate_t=no
73115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73116 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73117 echo "${ECHO_T}$have_mbstate_t" >&6
73118 if test x"$have_mbstate_t" = xyes; then
73119 cat >>confdefs.h <<\_ACEOF
73120 #define HAVE_MBSTATE_T 1
73121 _ACEOF
73125 # Sanity check for existence of ISO C99 headers for extended encoding.
73127 for ac_header in wchar.h
73129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73131 echo "$as_me:$LINENO: checking for $ac_header" >&5
73132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73134 echo $ECHO_N "(cached) $ECHO_C" >&6
73136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73138 else
73139 # Is the header compilable?
73140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73142 cat >conftest.$ac_ext <<_ACEOF
73143 /* confdefs.h. */
73144 _ACEOF
73145 cat confdefs.h >>conftest.$ac_ext
73146 cat >>conftest.$ac_ext <<_ACEOF
73147 /* end confdefs.h. */
73148 $ac_includes_default
73149 #include <$ac_header>
73150 _ACEOF
73151 rm -f conftest.$ac_objext
73152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73153 (eval $ac_compile) 2>conftest.er1
73154 ac_status=$?
73155 grep -v '^ *+' conftest.er1 >conftest.err
73156 rm -f conftest.er1
73157 cat conftest.err >&5
73158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159 (exit $ac_status); } &&
73160 { ac_try='test -z "$ac_c_werror_flag"
73161 || test ! -s conftest.err'
73162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73163 (eval $ac_try) 2>&5
73164 ac_status=$?
73165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73166 (exit $ac_status); }; } &&
73167 { ac_try='test -s conftest.$ac_objext'
73168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73169 (eval $ac_try) 2>&5
73170 ac_status=$?
73171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172 (exit $ac_status); }; }; then
73173 ac_header_compiler=yes
73174 else
73175 echo "$as_me: failed program was:" >&5
73176 sed 's/^/| /' conftest.$ac_ext >&5
73178 ac_header_compiler=no
73180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73182 echo "${ECHO_T}$ac_header_compiler" >&6
73184 # Is the header present?
73185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73187 cat >conftest.$ac_ext <<_ACEOF
73188 /* confdefs.h. */
73189 _ACEOF
73190 cat confdefs.h >>conftest.$ac_ext
73191 cat >>conftest.$ac_ext <<_ACEOF
73192 /* end confdefs.h. */
73193 #include <$ac_header>
73194 _ACEOF
73195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73197 ac_status=$?
73198 grep -v '^ *+' conftest.er1 >conftest.err
73199 rm -f conftest.er1
73200 cat conftest.err >&5
73201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73202 (exit $ac_status); } >/dev/null; then
73203 if test -s conftest.err; then
73204 ac_cpp_err=$ac_c_preproc_warn_flag
73205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73206 else
73207 ac_cpp_err=
73209 else
73210 ac_cpp_err=yes
73212 if test -z "$ac_cpp_err"; then
73213 ac_header_preproc=yes
73214 else
73215 echo "$as_me: failed program was:" >&5
73216 sed 's/^/| /' conftest.$ac_ext >&5
73218 ac_header_preproc=no
73220 rm -f conftest.err conftest.$ac_ext
73221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73222 echo "${ECHO_T}$ac_header_preproc" >&6
73224 # So? What about this header?
73225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73226 yes:no: )
73227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73231 ac_header_preproc=yes
73233 no:yes:* )
73234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73247 cat <<\_ASBOX
73248 ## ----------------------------------------- ##
73249 ## Report this to the package-unused lists. ##
73250 ## ----------------------------------------- ##
73251 _ASBOX
73253 sed "s/^/$as_me: WARNING: /" >&2
73255 esac
73256 echo "$as_me:$LINENO: checking for $ac_header" >&5
73257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73259 echo $ECHO_N "(cached) $ECHO_C" >&6
73260 else
73261 eval "$as_ac_Header=\$ac_header_preproc"
73263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73268 cat >>confdefs.h <<_ACEOF
73269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73270 _ACEOF
73271 ac_has_wchar_h=yes
73272 else
73273 ac_has_wchar_h=no
73276 done
73279 for ac_header in wctype.h
73281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73283 echo "$as_me:$LINENO: checking for $ac_header" >&5
73284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73286 echo $ECHO_N "(cached) $ECHO_C" >&6
73288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73290 else
73291 # Is the header compilable?
73292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73294 cat >conftest.$ac_ext <<_ACEOF
73295 /* confdefs.h. */
73296 _ACEOF
73297 cat confdefs.h >>conftest.$ac_ext
73298 cat >>conftest.$ac_ext <<_ACEOF
73299 /* end confdefs.h. */
73300 $ac_includes_default
73301 #include <$ac_header>
73302 _ACEOF
73303 rm -f conftest.$ac_objext
73304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73305 (eval $ac_compile) 2>conftest.er1
73306 ac_status=$?
73307 grep -v '^ *+' conftest.er1 >conftest.err
73308 rm -f conftest.er1
73309 cat conftest.err >&5
73310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73311 (exit $ac_status); } &&
73312 { ac_try='test -z "$ac_c_werror_flag"
73313 || test ! -s conftest.err'
73314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73315 (eval $ac_try) 2>&5
73316 ac_status=$?
73317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73318 (exit $ac_status); }; } &&
73319 { ac_try='test -s conftest.$ac_objext'
73320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73321 (eval $ac_try) 2>&5
73322 ac_status=$?
73323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73324 (exit $ac_status); }; }; then
73325 ac_header_compiler=yes
73326 else
73327 echo "$as_me: failed program was:" >&5
73328 sed 's/^/| /' conftest.$ac_ext >&5
73330 ac_header_compiler=no
73332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73334 echo "${ECHO_T}$ac_header_compiler" >&6
73336 # Is the header present?
73337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73339 cat >conftest.$ac_ext <<_ACEOF
73340 /* confdefs.h. */
73341 _ACEOF
73342 cat confdefs.h >>conftest.$ac_ext
73343 cat >>conftest.$ac_ext <<_ACEOF
73344 /* end confdefs.h. */
73345 #include <$ac_header>
73346 _ACEOF
73347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73349 ac_status=$?
73350 grep -v '^ *+' conftest.er1 >conftest.err
73351 rm -f conftest.er1
73352 cat conftest.err >&5
73353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73354 (exit $ac_status); } >/dev/null; then
73355 if test -s conftest.err; then
73356 ac_cpp_err=$ac_c_preproc_warn_flag
73357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73358 else
73359 ac_cpp_err=
73361 else
73362 ac_cpp_err=yes
73364 if test -z "$ac_cpp_err"; then
73365 ac_header_preproc=yes
73366 else
73367 echo "$as_me: failed program was:" >&5
73368 sed 's/^/| /' conftest.$ac_ext >&5
73370 ac_header_preproc=no
73372 rm -f conftest.err conftest.$ac_ext
73373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73374 echo "${ECHO_T}$ac_header_preproc" >&6
73376 # So? What about this header?
73377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73378 yes:no: )
73379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73383 ac_header_preproc=yes
73385 no:yes:* )
73386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73399 cat <<\_ASBOX
73400 ## ----------------------------------------- ##
73401 ## Report this to the package-unused lists. ##
73402 ## ----------------------------------------- ##
73403 _ASBOX
73405 sed "s/^/$as_me: WARNING: /" >&2
73407 esac
73408 echo "$as_me:$LINENO: checking for $ac_header" >&5
73409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73411 echo $ECHO_N "(cached) $ECHO_C" >&6
73412 else
73413 eval "$as_ac_Header=\$ac_header_preproc"
73415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73420 cat >>confdefs.h <<_ACEOF
73421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73422 _ACEOF
73423 ac_has_wctype_h=yes
73424 else
73425 ac_has_wctype_h=no
73428 done
73431 # Only continue checking if the ISO C99 headers exist and support is on.
73432 if test x"$ac_has_wchar_h" = xyes &&
73433 test x"$ac_has_wctype_h" = xyes &&
73434 test x"$enable_c_mbchar" != xno; then
73436 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73437 # numeric_limits can instantiate type_traits<wchar_t>
73438 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73439 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73440 cat >conftest.$ac_ext <<_ACEOF
73441 /* confdefs.h. */
73442 _ACEOF
73443 cat confdefs.h >>conftest.$ac_ext
73444 cat >>conftest.$ac_ext <<_ACEOF
73445 /* end confdefs.h. */
73446 #include <wchar.h>
73448 main ()
73450 int i = WCHAR_MIN; int j = WCHAR_MAX;
73452 return 0;
73454 _ACEOF
73455 rm -f conftest.$ac_objext
73456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73457 (eval $ac_compile) 2>conftest.er1
73458 ac_status=$?
73459 grep -v '^ *+' conftest.er1 >conftest.err
73460 rm -f conftest.er1
73461 cat conftest.err >&5
73462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73463 (exit $ac_status); } &&
73464 { ac_try='test -z "$ac_c_werror_flag"
73465 || test ! -s conftest.err'
73466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73467 (eval $ac_try) 2>&5
73468 ac_status=$?
73469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73470 (exit $ac_status); }; } &&
73471 { ac_try='test -s conftest.$ac_objext'
73472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73473 (eval $ac_try) 2>&5
73474 ac_status=$?
73475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73476 (exit $ac_status); }; }; then
73477 has_wchar_minmax=yes
73478 else
73479 echo "$as_me: failed program was:" >&5
73480 sed 's/^/| /' conftest.$ac_ext >&5
73482 has_wchar_minmax=no
73484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73485 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73486 echo "${ECHO_T}$has_wchar_minmax" >&6
73488 # Test wchar.h for WEOF, which is what we use to determine whether
73489 # to specialize for char_traits<wchar_t> or not.
73490 echo "$as_me:$LINENO: checking for WEOF" >&5
73491 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73492 cat >conftest.$ac_ext <<_ACEOF
73493 /* confdefs.h. */
73494 _ACEOF
73495 cat confdefs.h >>conftest.$ac_ext
73496 cat >>conftest.$ac_ext <<_ACEOF
73497 /* end confdefs.h. */
73499 #include <wchar.h>
73500 #include <stddef.h>
73502 main ()
73504 wint_t i = WEOF;
73506 return 0;
73508 _ACEOF
73509 rm -f conftest.$ac_objext
73510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73511 (eval $ac_compile) 2>conftest.er1
73512 ac_status=$?
73513 grep -v '^ *+' conftest.er1 >conftest.err
73514 rm -f conftest.er1
73515 cat conftest.err >&5
73516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73517 (exit $ac_status); } &&
73518 { ac_try='test -z "$ac_c_werror_flag"
73519 || test ! -s conftest.err'
73520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73521 (eval $ac_try) 2>&5
73522 ac_status=$?
73523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73524 (exit $ac_status); }; } &&
73525 { ac_try='test -s conftest.$ac_objext'
73526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73527 (eval $ac_try) 2>&5
73528 ac_status=$?
73529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73530 (exit $ac_status); }; }; then
73531 has_weof=yes
73532 else
73533 echo "$as_me: failed program was:" >&5
73534 sed 's/^/| /' conftest.$ac_ext >&5
73536 has_weof=no
73538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73539 echo "$as_me:$LINENO: result: $has_weof" >&5
73540 echo "${ECHO_T}$has_weof" >&6
73542 # Tests for wide character functions used in char_traits<wchar_t>.
73543 ac_wfuncs=yes
73550 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73553 echo "$as_me:$LINENO: checking for $ac_func" >&5
73554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73555 if eval "test \"\${$as_ac_var+set}\" = set"; then
73556 echo $ECHO_N "(cached) $ECHO_C" >&6
73557 else
73558 if test x$gcc_no_link = xyes; then
73559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73561 { (exit 1); exit 1; }; }
73563 cat >conftest.$ac_ext <<_ACEOF
73564 /* confdefs.h. */
73565 _ACEOF
73566 cat confdefs.h >>conftest.$ac_ext
73567 cat >>conftest.$ac_ext <<_ACEOF
73568 /* end confdefs.h. */
73569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73571 #define $ac_func innocuous_$ac_func
73573 /* System header to define __stub macros and hopefully few prototypes,
73574 which can conflict with char $ac_func (); below.
73575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73576 <limits.h> exists even on freestanding compilers. */
73578 #ifdef __STDC__
73579 # include <limits.h>
73580 #else
73581 # include <assert.h>
73582 #endif
73584 #undef $ac_func
73586 /* Override any gcc2 internal prototype to avoid an error. */
73587 #ifdef __cplusplus
73588 extern "C"
73590 #endif
73591 /* We use char because int might match the return type of a gcc2
73592 builtin and then its argument prototype would still apply. */
73593 char $ac_func ();
73594 /* The GNU C library defines this for functions which it implements
73595 to always fail with ENOSYS. Some functions are actually named
73596 something starting with __ and the normal name is an alias. */
73597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73598 choke me
73599 #else
73600 char (*f) () = $ac_func;
73601 #endif
73602 #ifdef __cplusplus
73604 #endif
73607 main ()
73609 return f != $ac_func;
73611 return 0;
73613 _ACEOF
73614 rm -f conftest.$ac_objext conftest$ac_exeext
73615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73616 (eval $ac_link) 2>conftest.er1
73617 ac_status=$?
73618 grep -v '^ *+' conftest.er1 >conftest.err
73619 rm -f conftest.er1
73620 cat conftest.err >&5
73621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73622 (exit $ac_status); } &&
73623 { ac_try='test -z "$ac_c_werror_flag"
73624 || test ! -s conftest.err'
73625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73626 (eval $ac_try) 2>&5
73627 ac_status=$?
73628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73629 (exit $ac_status); }; } &&
73630 { ac_try='test -s conftest$ac_exeext'
73631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73632 (eval $ac_try) 2>&5
73633 ac_status=$?
73634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73635 (exit $ac_status); }; }; then
73636 eval "$as_ac_var=yes"
73637 else
73638 echo "$as_me: failed program was:" >&5
73639 sed 's/^/| /' conftest.$ac_ext >&5
73641 eval "$as_ac_var=no"
73643 rm -f conftest.err conftest.$ac_objext \
73644 conftest$ac_exeext conftest.$ac_ext
73646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73648 if test `eval echo '${'$as_ac_var'}'` = yes; then
73649 cat >>confdefs.h <<_ACEOF
73650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73651 _ACEOF
73653 else
73654 ac_wfuncs=no
73656 done
73659 # Checks for names injected into std:: by the c_std headers.
73706 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73707 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73708 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73709 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73710 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73711 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73714 echo "$as_me:$LINENO: checking for $ac_func" >&5
73715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73716 if eval "test \"\${$as_ac_var+set}\" = set"; then
73717 echo $ECHO_N "(cached) $ECHO_C" >&6
73718 else
73719 if test x$gcc_no_link = xyes; then
73720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73722 { (exit 1); exit 1; }; }
73724 cat >conftest.$ac_ext <<_ACEOF
73725 /* confdefs.h. */
73726 _ACEOF
73727 cat confdefs.h >>conftest.$ac_ext
73728 cat >>conftest.$ac_ext <<_ACEOF
73729 /* end confdefs.h. */
73730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73732 #define $ac_func innocuous_$ac_func
73734 /* System header to define __stub macros and hopefully few prototypes,
73735 which can conflict with char $ac_func (); below.
73736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73737 <limits.h> exists even on freestanding compilers. */
73739 #ifdef __STDC__
73740 # include <limits.h>
73741 #else
73742 # include <assert.h>
73743 #endif
73745 #undef $ac_func
73747 /* Override any gcc2 internal prototype to avoid an error. */
73748 #ifdef __cplusplus
73749 extern "C"
73751 #endif
73752 /* We use char because int might match the return type of a gcc2
73753 builtin and then its argument prototype would still apply. */
73754 char $ac_func ();
73755 /* The GNU C library defines this for functions which it implements
73756 to always fail with ENOSYS. Some functions are actually named
73757 something starting with __ and the normal name is an alias. */
73758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73759 choke me
73760 #else
73761 char (*f) () = $ac_func;
73762 #endif
73763 #ifdef __cplusplus
73765 #endif
73768 main ()
73770 return f != $ac_func;
73772 return 0;
73774 _ACEOF
73775 rm -f conftest.$ac_objext conftest$ac_exeext
73776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73777 (eval $ac_link) 2>conftest.er1
73778 ac_status=$?
73779 grep -v '^ *+' conftest.er1 >conftest.err
73780 rm -f conftest.er1
73781 cat conftest.err >&5
73782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73783 (exit $ac_status); } &&
73784 { ac_try='test -z "$ac_c_werror_flag"
73785 || test ! -s conftest.err'
73786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73787 (eval $ac_try) 2>&5
73788 ac_status=$?
73789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73790 (exit $ac_status); }; } &&
73791 { ac_try='test -s conftest$ac_exeext'
73792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73793 (eval $ac_try) 2>&5
73794 ac_status=$?
73795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73796 (exit $ac_status); }; }; then
73797 eval "$as_ac_var=yes"
73798 else
73799 echo "$as_me: failed program was:" >&5
73800 sed 's/^/| /' conftest.$ac_ext >&5
73802 eval "$as_ac_var=no"
73804 rm -f conftest.err conftest.$ac_objext \
73805 conftest$ac_exeext conftest.$ac_ext
73807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73809 if test `eval echo '${'$as_ac_var'}'` = yes; then
73810 cat >>confdefs.h <<_ACEOF
73811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73812 _ACEOF
73814 else
73815 ac_wfuncs=no
73817 done
73820 # Checks for wide character functions that are not required
73821 # for basic wchar_t support. Don't disable support if they are missing.
73822 # Injection of these is wrapped with guard macros.
73828 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73831 echo "$as_me:$LINENO: checking for $ac_func" >&5
73832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73833 if eval "test \"\${$as_ac_var+set}\" = set"; then
73834 echo $ECHO_N "(cached) $ECHO_C" >&6
73835 else
73836 if test x$gcc_no_link = xyes; then
73837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73839 { (exit 1); exit 1; }; }
73841 cat >conftest.$ac_ext <<_ACEOF
73842 /* confdefs.h. */
73843 _ACEOF
73844 cat confdefs.h >>conftest.$ac_ext
73845 cat >>conftest.$ac_ext <<_ACEOF
73846 /* end confdefs.h. */
73847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73849 #define $ac_func innocuous_$ac_func
73851 /* System header to define __stub macros and hopefully few prototypes,
73852 which can conflict with char $ac_func (); below.
73853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73854 <limits.h> exists even on freestanding compilers. */
73856 #ifdef __STDC__
73857 # include <limits.h>
73858 #else
73859 # include <assert.h>
73860 #endif
73862 #undef $ac_func
73864 /* Override any gcc2 internal prototype to avoid an error. */
73865 #ifdef __cplusplus
73866 extern "C"
73868 #endif
73869 /* We use char because int might match the return type of a gcc2
73870 builtin and then its argument prototype would still apply. */
73871 char $ac_func ();
73872 /* The GNU C library defines this for functions which it implements
73873 to always fail with ENOSYS. Some functions are actually named
73874 something starting with __ and the normal name is an alias. */
73875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73876 choke me
73877 #else
73878 char (*f) () = $ac_func;
73879 #endif
73880 #ifdef __cplusplus
73882 #endif
73885 main ()
73887 return f != $ac_func;
73889 return 0;
73891 _ACEOF
73892 rm -f conftest.$ac_objext conftest$ac_exeext
73893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73894 (eval $ac_link) 2>conftest.er1
73895 ac_status=$?
73896 grep -v '^ *+' conftest.er1 >conftest.err
73897 rm -f conftest.er1
73898 cat conftest.err >&5
73899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73900 (exit $ac_status); } &&
73901 { ac_try='test -z "$ac_c_werror_flag"
73902 || test ! -s conftest.err'
73903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73904 (eval $ac_try) 2>&5
73905 ac_status=$?
73906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73907 (exit $ac_status); }; } &&
73908 { ac_try='test -s conftest$ac_exeext'
73909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73910 (eval $ac_try) 2>&5
73911 ac_status=$?
73912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73913 (exit $ac_status); }; }; then
73914 eval "$as_ac_var=yes"
73915 else
73916 echo "$as_me: failed program was:" >&5
73917 sed 's/^/| /' conftest.$ac_ext >&5
73919 eval "$as_ac_var=no"
73921 rm -f conftest.err conftest.$ac_objext \
73922 conftest$ac_exeext conftest.$ac_ext
73924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73926 if test `eval echo '${'$as_ac_var'}'` = yes; then
73927 cat >>confdefs.h <<_ACEOF
73928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73929 _ACEOF
73932 done
73935 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73936 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73937 if test x"$has_weof" = xyes &&
73938 test x"$has_wchar_minmax" = xyes &&
73939 test x"$ac_wfuncs" = xyes;
73940 then
73941 ac_isoC99_wchar_t=yes
73942 else
73943 ac_isoC99_wchar_t=no
73945 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73946 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73948 # Use iconv for wchar_t to char conversions. As such, check for
73949 # X/Open Portability Guide, version 2 features (XPG2).
73950 if test "${ac_cv_header_iconv_h+set}" = set; then
73951 echo "$as_me:$LINENO: checking for iconv.h" >&5
73952 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73953 if test "${ac_cv_header_iconv_h+set}" = set; then
73954 echo $ECHO_N "(cached) $ECHO_C" >&6
73956 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73957 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73958 else
73959 # Is the header compilable?
73960 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73961 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73962 cat >conftest.$ac_ext <<_ACEOF
73963 /* confdefs.h. */
73964 _ACEOF
73965 cat confdefs.h >>conftest.$ac_ext
73966 cat >>conftest.$ac_ext <<_ACEOF
73967 /* end confdefs.h. */
73968 $ac_includes_default
73969 #include <iconv.h>
73970 _ACEOF
73971 rm -f conftest.$ac_objext
73972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73973 (eval $ac_compile) 2>conftest.er1
73974 ac_status=$?
73975 grep -v '^ *+' conftest.er1 >conftest.err
73976 rm -f conftest.er1
73977 cat conftest.err >&5
73978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73979 (exit $ac_status); } &&
73980 { ac_try='test -z "$ac_c_werror_flag"
73981 || test ! -s conftest.err'
73982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73983 (eval $ac_try) 2>&5
73984 ac_status=$?
73985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73986 (exit $ac_status); }; } &&
73987 { ac_try='test -s conftest.$ac_objext'
73988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73989 (eval $ac_try) 2>&5
73990 ac_status=$?
73991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73992 (exit $ac_status); }; }; then
73993 ac_header_compiler=yes
73994 else
73995 echo "$as_me: failed program was:" >&5
73996 sed 's/^/| /' conftest.$ac_ext >&5
73998 ac_header_compiler=no
74000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74002 echo "${ECHO_T}$ac_header_compiler" >&6
74004 # Is the header present?
74005 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74006 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74007 cat >conftest.$ac_ext <<_ACEOF
74008 /* confdefs.h. */
74009 _ACEOF
74010 cat confdefs.h >>conftest.$ac_ext
74011 cat >>conftest.$ac_ext <<_ACEOF
74012 /* end confdefs.h. */
74013 #include <iconv.h>
74014 _ACEOF
74015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74017 ac_status=$?
74018 grep -v '^ *+' conftest.er1 >conftest.err
74019 rm -f conftest.er1
74020 cat conftest.err >&5
74021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74022 (exit $ac_status); } >/dev/null; then
74023 if test -s conftest.err; then
74024 ac_cpp_err=$ac_c_preproc_warn_flag
74025 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74026 else
74027 ac_cpp_err=
74029 else
74030 ac_cpp_err=yes
74032 if test -z "$ac_cpp_err"; then
74033 ac_header_preproc=yes
74034 else
74035 echo "$as_me: failed program was:" >&5
74036 sed 's/^/| /' conftest.$ac_ext >&5
74038 ac_header_preproc=no
74040 rm -f conftest.err conftest.$ac_ext
74041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74042 echo "${ECHO_T}$ac_header_preproc" >&6
74044 # So? What about this header?
74045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74046 yes:no: )
74047 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74048 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74049 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74050 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74051 ac_header_preproc=yes
74053 no:yes:* )
74054 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74055 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74056 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74057 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74058 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74059 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74060 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74061 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74062 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74063 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74064 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74065 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74067 cat <<\_ASBOX
74068 ## ----------------------------------------- ##
74069 ## Report this to the package-unused lists. ##
74070 ## ----------------------------------------- ##
74071 _ASBOX
74073 sed "s/^/$as_me: WARNING: /" >&2
74075 esac
74076 echo "$as_me:$LINENO: checking for iconv.h" >&5
74077 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74078 if test "${ac_cv_header_iconv_h+set}" = set; then
74079 echo $ECHO_N "(cached) $ECHO_C" >&6
74080 else
74081 ac_cv_header_iconv_h=$ac_header_preproc
74083 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74084 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74087 if test $ac_cv_header_iconv_h = yes; then
74088 ac_has_iconv_h=yes
74089 else
74090 ac_has_iconv_h=no
74094 if test "${ac_cv_header_langinfo_h+set}" = set; then
74095 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74096 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74097 if test "${ac_cv_header_langinfo_h+set}" = set; then
74098 echo $ECHO_N "(cached) $ECHO_C" >&6
74100 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74101 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74102 else
74103 # Is the header compilable?
74104 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74105 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74106 cat >conftest.$ac_ext <<_ACEOF
74107 /* confdefs.h. */
74108 _ACEOF
74109 cat confdefs.h >>conftest.$ac_ext
74110 cat >>conftest.$ac_ext <<_ACEOF
74111 /* end confdefs.h. */
74112 $ac_includes_default
74113 #include <langinfo.h>
74114 _ACEOF
74115 rm -f conftest.$ac_objext
74116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74117 (eval $ac_compile) 2>conftest.er1
74118 ac_status=$?
74119 grep -v '^ *+' conftest.er1 >conftest.err
74120 rm -f conftest.er1
74121 cat conftest.err >&5
74122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74123 (exit $ac_status); } &&
74124 { ac_try='test -z "$ac_c_werror_flag"
74125 || test ! -s conftest.err'
74126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74127 (eval $ac_try) 2>&5
74128 ac_status=$?
74129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74130 (exit $ac_status); }; } &&
74131 { ac_try='test -s conftest.$ac_objext'
74132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74133 (eval $ac_try) 2>&5
74134 ac_status=$?
74135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74136 (exit $ac_status); }; }; then
74137 ac_header_compiler=yes
74138 else
74139 echo "$as_me: failed program was:" >&5
74140 sed 's/^/| /' conftest.$ac_ext >&5
74142 ac_header_compiler=no
74144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74146 echo "${ECHO_T}$ac_header_compiler" >&6
74148 # Is the header present?
74149 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74150 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74151 cat >conftest.$ac_ext <<_ACEOF
74152 /* confdefs.h. */
74153 _ACEOF
74154 cat confdefs.h >>conftest.$ac_ext
74155 cat >>conftest.$ac_ext <<_ACEOF
74156 /* end confdefs.h. */
74157 #include <langinfo.h>
74158 _ACEOF
74159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74161 ac_status=$?
74162 grep -v '^ *+' conftest.er1 >conftest.err
74163 rm -f conftest.er1
74164 cat conftest.err >&5
74165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74166 (exit $ac_status); } >/dev/null; then
74167 if test -s conftest.err; then
74168 ac_cpp_err=$ac_c_preproc_warn_flag
74169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74170 else
74171 ac_cpp_err=
74173 else
74174 ac_cpp_err=yes
74176 if test -z "$ac_cpp_err"; then
74177 ac_header_preproc=yes
74178 else
74179 echo "$as_me: failed program was:" >&5
74180 sed 's/^/| /' conftest.$ac_ext >&5
74182 ac_header_preproc=no
74184 rm -f conftest.err conftest.$ac_ext
74185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74186 echo "${ECHO_T}$ac_header_preproc" >&6
74188 # So? What about this header?
74189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74190 yes:no: )
74191 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74192 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74193 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74194 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74195 ac_header_preproc=yes
74197 no:yes:* )
74198 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74199 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74200 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74201 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74202 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74203 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74204 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74205 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74206 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74207 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74208 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74209 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74211 cat <<\_ASBOX
74212 ## ----------------------------------------- ##
74213 ## Report this to the package-unused lists. ##
74214 ## ----------------------------------------- ##
74215 _ASBOX
74217 sed "s/^/$as_me: WARNING: /" >&2
74219 esac
74220 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74221 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74222 if test "${ac_cv_header_langinfo_h+set}" = set; then
74223 echo $ECHO_N "(cached) $ECHO_C" >&6
74224 else
74225 ac_cv_header_langinfo_h=$ac_header_preproc
74227 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74228 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74231 if test $ac_cv_header_langinfo_h = yes; then
74232 ac_has_langinfo_h=yes
74233 else
74234 ac_has_langinfo_h=no
74239 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74240 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74241 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74242 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74243 echo $ECHO_N "(cached) $ECHO_C" >&6
74244 else
74245 ac_check_lib_save_LIBS=$LIBS
74246 LIBS="-liconv $LIBS"
74247 if test x$gcc_no_link = xyes; then
74248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74250 { (exit 1); exit 1; }; }
74252 cat >conftest.$ac_ext <<_ACEOF
74253 /* confdefs.h. */
74254 _ACEOF
74255 cat confdefs.h >>conftest.$ac_ext
74256 cat >>conftest.$ac_ext <<_ACEOF
74257 /* end confdefs.h. */
74259 /* Override any gcc2 internal prototype to avoid an error. */
74260 #ifdef __cplusplus
74261 extern "C"
74262 #endif
74263 /* We use char because int might match the return type of a gcc2
74264 builtin and then its argument prototype would still apply. */
74265 char iconv ();
74267 main ()
74269 iconv ();
74271 return 0;
74273 _ACEOF
74274 rm -f conftest.$ac_objext conftest$ac_exeext
74275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74276 (eval $ac_link) 2>conftest.er1
74277 ac_status=$?
74278 grep -v '^ *+' conftest.er1 >conftest.err
74279 rm -f conftest.er1
74280 cat conftest.err >&5
74281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74282 (exit $ac_status); } &&
74283 { ac_try='test -z "$ac_c_werror_flag"
74284 || test ! -s conftest.err'
74285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74286 (eval $ac_try) 2>&5
74287 ac_status=$?
74288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74289 (exit $ac_status); }; } &&
74290 { ac_try='test -s conftest$ac_exeext'
74291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74292 (eval $ac_try) 2>&5
74293 ac_status=$?
74294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74295 (exit $ac_status); }; }; then
74296 ac_cv_lib_iconv_iconv=yes
74297 else
74298 echo "$as_me: failed program was:" >&5
74299 sed 's/^/| /' conftest.$ac_ext >&5
74301 ac_cv_lib_iconv_iconv=no
74303 rm -f conftest.err conftest.$ac_objext \
74304 conftest$ac_exeext conftest.$ac_ext
74305 LIBS=$ac_check_lib_save_LIBS
74307 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74308 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74309 if test $ac_cv_lib_iconv_iconv = yes; then
74310 LIBICONV="-liconv"
74313 ac_save_LIBS="$LIBS"
74314 LIBS="$LIBS $LIBICONV"
74321 for ac_func in iconv_open iconv_close iconv nl_langinfo
74323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74324 echo "$as_me:$LINENO: checking for $ac_func" >&5
74325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74326 if eval "test \"\${$as_ac_var+set}\" = set"; then
74327 echo $ECHO_N "(cached) $ECHO_C" >&6
74328 else
74329 if test x$gcc_no_link = xyes; then
74330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74332 { (exit 1); exit 1; }; }
74334 cat >conftest.$ac_ext <<_ACEOF
74335 /* confdefs.h. */
74336 _ACEOF
74337 cat confdefs.h >>conftest.$ac_ext
74338 cat >>conftest.$ac_ext <<_ACEOF
74339 /* end confdefs.h. */
74340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74342 #define $ac_func innocuous_$ac_func
74344 /* System header to define __stub macros and hopefully few prototypes,
74345 which can conflict with char $ac_func (); below.
74346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74347 <limits.h> exists even on freestanding compilers. */
74349 #ifdef __STDC__
74350 # include <limits.h>
74351 #else
74352 # include <assert.h>
74353 #endif
74355 #undef $ac_func
74357 /* Override any gcc2 internal prototype to avoid an error. */
74358 #ifdef __cplusplus
74359 extern "C"
74361 #endif
74362 /* We use char because int might match the return type of a gcc2
74363 builtin and then its argument prototype would still apply. */
74364 char $ac_func ();
74365 /* The GNU C library defines this for functions which it implements
74366 to always fail with ENOSYS. Some functions are actually named
74367 something starting with __ and the normal name is an alias. */
74368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74369 choke me
74370 #else
74371 char (*f) () = $ac_func;
74372 #endif
74373 #ifdef __cplusplus
74375 #endif
74378 main ()
74380 return f != $ac_func;
74382 return 0;
74384 _ACEOF
74385 rm -f conftest.$ac_objext conftest$ac_exeext
74386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74387 (eval $ac_link) 2>conftest.er1
74388 ac_status=$?
74389 grep -v '^ *+' conftest.er1 >conftest.err
74390 rm -f conftest.er1
74391 cat conftest.err >&5
74392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74393 (exit $ac_status); } &&
74394 { ac_try='test -z "$ac_c_werror_flag"
74395 || test ! -s conftest.err'
74396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74397 (eval $ac_try) 2>&5
74398 ac_status=$?
74399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74400 (exit $ac_status); }; } &&
74401 { ac_try='test -s conftest$ac_exeext'
74402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74403 (eval $ac_try) 2>&5
74404 ac_status=$?
74405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74406 (exit $ac_status); }; }; then
74407 eval "$as_ac_var=yes"
74408 else
74409 echo "$as_me: failed program was:" >&5
74410 sed 's/^/| /' conftest.$ac_ext >&5
74412 eval "$as_ac_var=no"
74414 rm -f conftest.err conftest.$ac_objext \
74415 conftest$ac_exeext conftest.$ac_ext
74417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74419 if test `eval echo '${'$as_ac_var'}'` = yes; then
74420 cat >>confdefs.h <<_ACEOF
74421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74422 _ACEOF
74423 ac_XPG2funcs=yes
74424 else
74425 ac_XPG2funcs=no
74427 done
74430 LIBS="$ac_save_LIBS"
74432 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74433 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74434 if test x"$ac_has_iconv_h" = xyes &&
74435 test x"$ac_has_langinfo_h" = xyes &&
74436 test x"$ac_XPG2funcs" = xyes;
74437 then
74438 ac_XPG2_wchar_t=yes
74439 else
74440 ac_XPG2_wchar_t=no
74442 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74443 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74445 # At the moment, only enable wchar_t specializations if all the
74446 # above support is present.
74447 if test x"$ac_isoC99_wchar_t" = xyes &&
74448 test x"$ac_XPG2_wchar_t" = xyes;
74449 then
74450 cat >>confdefs.h <<\_ACEOF
74451 #define _GLIBCXX_USE_WCHAR_T 1
74452 _ACEOF
74454 enable_wchar_t=yes
74457 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74458 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74459 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74460 echo "${ECHO_T}$enable_wchar_t" >&6
74463 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74464 ac_save_CXXFLAGS="$CXXFLAGS"
74465 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74468 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74469 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74470 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74471 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74472 echo $ECHO_N "(cached) $ECHO_C" >&6
74473 else
74477 ac_ext=cc
74478 ac_cpp='$CXXCPP $CPPFLAGS'
74479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74483 cat >conftest.$ac_ext <<_ACEOF
74484 /* confdefs.h. */
74485 _ACEOF
74486 cat confdefs.h >>conftest.$ac_ext
74487 cat >>conftest.$ac_ext <<_ACEOF
74488 /* end confdefs.h. */
74489 #include <stdlib.h>
74491 main ()
74493 strtold(0, 0);
74495 return 0;
74497 _ACEOF
74498 rm -f conftest.$ac_objext
74499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74500 (eval $ac_compile) 2>conftest.er1
74501 ac_status=$?
74502 grep -v '^ *+' conftest.er1 >conftest.err
74503 rm -f conftest.er1
74504 cat conftest.err >&5
74505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74506 (exit $ac_status); } &&
74507 { ac_try='test -z "$ac_cxx_werror_flag"
74508 || test ! -s conftest.err'
74509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74510 (eval $ac_try) 2>&5
74511 ac_status=$?
74512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74513 (exit $ac_status); }; } &&
74514 { ac_try='test -s conftest.$ac_objext'
74515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74516 (eval $ac_try) 2>&5
74517 ac_status=$?
74518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74519 (exit $ac_status); }; }; then
74520 glibcxx_cv_func_strtold_use=yes
74521 else
74522 echo "$as_me: failed program was:" >&5
74523 sed 's/^/| /' conftest.$ac_ext >&5
74525 glibcxx_cv_func_strtold_use=no
74527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74528 ac_ext=c
74529 ac_cpp='$CPP $CPPFLAGS'
74530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74538 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74539 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74540 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74542 for ac_func in strtold
74544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74545 echo "$as_me:$LINENO: checking for $ac_func" >&5
74546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74547 if eval "test \"\${$as_ac_var+set}\" = set"; then
74548 echo $ECHO_N "(cached) $ECHO_C" >&6
74549 else
74550 if test x$gcc_no_link = xyes; then
74551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74553 { (exit 1); exit 1; }; }
74555 cat >conftest.$ac_ext <<_ACEOF
74556 /* confdefs.h. */
74557 _ACEOF
74558 cat confdefs.h >>conftest.$ac_ext
74559 cat >>conftest.$ac_ext <<_ACEOF
74560 /* end confdefs.h. */
74561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74563 #define $ac_func innocuous_$ac_func
74565 /* System header to define __stub macros and hopefully few prototypes,
74566 which can conflict with char $ac_func (); below.
74567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74568 <limits.h> exists even on freestanding compilers. */
74570 #ifdef __STDC__
74571 # include <limits.h>
74572 #else
74573 # include <assert.h>
74574 #endif
74576 #undef $ac_func
74578 /* Override any gcc2 internal prototype to avoid an error. */
74579 #ifdef __cplusplus
74580 extern "C"
74582 #endif
74583 /* We use char because int might match the return type of a gcc2
74584 builtin and then its argument prototype would still apply. */
74585 char $ac_func ();
74586 /* The GNU C library defines this for functions which it implements
74587 to always fail with ENOSYS. Some functions are actually named
74588 something starting with __ and the normal name is an alias. */
74589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74590 choke me
74591 #else
74592 char (*f) () = $ac_func;
74593 #endif
74594 #ifdef __cplusplus
74596 #endif
74599 main ()
74601 return f != $ac_func;
74603 return 0;
74605 _ACEOF
74606 rm -f conftest.$ac_objext conftest$ac_exeext
74607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74608 (eval $ac_link) 2>conftest.er1
74609 ac_status=$?
74610 grep -v '^ *+' conftest.er1 >conftest.err
74611 rm -f conftest.er1
74612 cat conftest.err >&5
74613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74614 (exit $ac_status); } &&
74615 { ac_try='test -z "$ac_c_werror_flag"
74616 || test ! -s conftest.err'
74617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74618 (eval $ac_try) 2>&5
74619 ac_status=$?
74620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74621 (exit $ac_status); }; } &&
74622 { ac_try='test -s conftest$ac_exeext'
74623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74624 (eval $ac_try) 2>&5
74625 ac_status=$?
74626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74627 (exit $ac_status); }; }; then
74628 eval "$as_ac_var=yes"
74629 else
74630 echo "$as_me: failed program was:" >&5
74631 sed 's/^/| /' conftest.$ac_ext >&5
74633 eval "$as_ac_var=no"
74635 rm -f conftest.err conftest.$ac_objext \
74636 conftest$ac_exeext conftest.$ac_ext
74638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74640 if test `eval echo '${'$as_ac_var'}'` = yes; then
74641 cat >>confdefs.h <<_ACEOF
74642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74643 _ACEOF
74646 done
74651 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74652 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74653 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74654 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74655 echo $ECHO_N "(cached) $ECHO_C" >&6
74656 else
74660 ac_ext=cc
74661 ac_cpp='$CXXCPP $CPPFLAGS'
74662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74666 cat >conftest.$ac_ext <<_ACEOF
74667 /* confdefs.h. */
74668 _ACEOF
74669 cat confdefs.h >>conftest.$ac_ext
74670 cat >>conftest.$ac_ext <<_ACEOF
74671 /* end confdefs.h. */
74672 #include <stdlib.h>
74674 main ()
74676 strtof(0, 0);
74678 return 0;
74680 _ACEOF
74681 rm -f conftest.$ac_objext
74682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74683 (eval $ac_compile) 2>conftest.er1
74684 ac_status=$?
74685 grep -v '^ *+' conftest.er1 >conftest.err
74686 rm -f conftest.er1
74687 cat conftest.err >&5
74688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74689 (exit $ac_status); } &&
74690 { ac_try='test -z "$ac_cxx_werror_flag"
74691 || test ! -s conftest.err'
74692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74693 (eval $ac_try) 2>&5
74694 ac_status=$?
74695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74696 (exit $ac_status); }; } &&
74697 { ac_try='test -s conftest.$ac_objext'
74698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74699 (eval $ac_try) 2>&5
74700 ac_status=$?
74701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74702 (exit $ac_status); }; }; then
74703 glibcxx_cv_func_strtof_use=yes
74704 else
74705 echo "$as_me: failed program was:" >&5
74706 sed 's/^/| /' conftest.$ac_ext >&5
74708 glibcxx_cv_func_strtof_use=no
74710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74711 ac_ext=c
74712 ac_cpp='$CPP $CPPFLAGS'
74713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74722 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74723 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74725 for ac_func in strtof
74727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74728 echo "$as_me:$LINENO: checking for $ac_func" >&5
74729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74730 if eval "test \"\${$as_ac_var+set}\" = set"; then
74731 echo $ECHO_N "(cached) $ECHO_C" >&6
74732 else
74733 if test x$gcc_no_link = xyes; then
74734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74736 { (exit 1); exit 1; }; }
74738 cat >conftest.$ac_ext <<_ACEOF
74739 /* confdefs.h. */
74740 _ACEOF
74741 cat confdefs.h >>conftest.$ac_ext
74742 cat >>conftest.$ac_ext <<_ACEOF
74743 /* end confdefs.h. */
74744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74746 #define $ac_func innocuous_$ac_func
74748 /* System header to define __stub macros and hopefully few prototypes,
74749 which can conflict with char $ac_func (); below.
74750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74751 <limits.h> exists even on freestanding compilers. */
74753 #ifdef __STDC__
74754 # include <limits.h>
74755 #else
74756 # include <assert.h>
74757 #endif
74759 #undef $ac_func
74761 /* Override any gcc2 internal prototype to avoid an error. */
74762 #ifdef __cplusplus
74763 extern "C"
74765 #endif
74766 /* We use char because int might match the return type of a gcc2
74767 builtin and then its argument prototype would still apply. */
74768 char $ac_func ();
74769 /* The GNU C library defines this for functions which it implements
74770 to always fail with ENOSYS. Some functions are actually named
74771 something starting with __ and the normal name is an alias. */
74772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74773 choke me
74774 #else
74775 char (*f) () = $ac_func;
74776 #endif
74777 #ifdef __cplusplus
74779 #endif
74782 main ()
74784 return f != $ac_func;
74786 return 0;
74788 _ACEOF
74789 rm -f conftest.$ac_objext conftest$ac_exeext
74790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74791 (eval $ac_link) 2>conftest.er1
74792 ac_status=$?
74793 grep -v '^ *+' conftest.er1 >conftest.err
74794 rm -f conftest.er1
74795 cat conftest.err >&5
74796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74797 (exit $ac_status); } &&
74798 { ac_try='test -z "$ac_c_werror_flag"
74799 || test ! -s conftest.err'
74800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74801 (eval $ac_try) 2>&5
74802 ac_status=$?
74803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74804 (exit $ac_status); }; } &&
74805 { ac_try='test -s conftest$ac_exeext'
74806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74807 (eval $ac_try) 2>&5
74808 ac_status=$?
74809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74810 (exit $ac_status); }; }; then
74811 eval "$as_ac_var=yes"
74812 else
74813 echo "$as_me: failed program was:" >&5
74814 sed 's/^/| /' conftest.$ac_ext >&5
74816 eval "$as_ac_var=no"
74818 rm -f conftest.err conftest.$ac_objext \
74819 conftest$ac_exeext conftest.$ac_ext
74821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74823 if test `eval echo '${'$as_ac_var'}'` = yes; then
74824 cat >>confdefs.h <<_ACEOF
74825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74826 _ACEOF
74829 done
74834 CXXFLAGS="$ac_save_CXXFLAGS"
74837 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74838 echo $ECHO_N "(cached) $ECHO_C" >&6
74839 else
74841 if test x$gcc_no_link = xyes; then
74842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74844 { (exit 1); exit 1; }; }
74846 cat >conftest.$ac_ext <<_ACEOF
74847 /* confdefs.h. */
74848 _ACEOF
74849 cat confdefs.h >>conftest.$ac_ext
74850 cat >>conftest.$ac_ext <<_ACEOF
74851 /* end confdefs.h. */
74852 #include <sys/stat.h>
74854 main ()
74856 struct stat buffer;
74857 fstat(0, &buffer);
74858 S_ISREG(buffer.st_mode);
74860 return 0;
74862 _ACEOF
74863 rm -f conftest.$ac_objext conftest$ac_exeext
74864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74865 (eval $ac_link) 2>conftest.er1
74866 ac_status=$?
74867 grep -v '^ *+' conftest.er1 >conftest.err
74868 rm -f conftest.er1
74869 cat conftest.err >&5
74870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74871 (exit $ac_status); } &&
74872 { ac_try='test -z "$ac_c_werror_flag"
74873 || test ! -s conftest.err'
74874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74875 (eval $ac_try) 2>&5
74876 ac_status=$?
74877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74878 (exit $ac_status); }; } &&
74879 { ac_try='test -s conftest$ac_exeext'
74880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74881 (eval $ac_try) 2>&5
74882 ac_status=$?
74883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74884 (exit $ac_status); }; }; then
74885 glibcxx_cv_S_ISREG=yes
74886 else
74887 echo "$as_me: failed program was:" >&5
74888 sed 's/^/| /' conftest.$ac_ext >&5
74890 glibcxx_cv_S_ISREG=no
74892 rm -f conftest.err conftest.$ac_objext \
74893 conftest$ac_exeext conftest.$ac_ext
74897 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74898 echo $ECHO_N "(cached) $ECHO_C" >&6
74899 else
74901 if test x$gcc_no_link = xyes; then
74902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74904 { (exit 1); exit 1; }; }
74906 cat >conftest.$ac_ext <<_ACEOF
74907 /* confdefs.h. */
74908 _ACEOF
74909 cat confdefs.h >>conftest.$ac_ext
74910 cat >>conftest.$ac_ext <<_ACEOF
74911 /* end confdefs.h. */
74912 #include <sys/stat.h>
74914 main ()
74916 struct stat buffer;
74917 fstat(0, &buffer);
74918 S_IFREG & buffer.st_mode;
74920 return 0;
74922 _ACEOF
74923 rm -f conftest.$ac_objext conftest$ac_exeext
74924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74925 (eval $ac_link) 2>conftest.er1
74926 ac_status=$?
74927 grep -v '^ *+' conftest.er1 >conftest.err
74928 rm -f conftest.er1
74929 cat conftest.err >&5
74930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74931 (exit $ac_status); } &&
74932 { ac_try='test -z "$ac_c_werror_flag"
74933 || test ! -s conftest.err'
74934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74935 (eval $ac_try) 2>&5
74936 ac_status=$?
74937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74938 (exit $ac_status); }; } &&
74939 { ac_try='test -s conftest$ac_exeext'
74940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74941 (eval $ac_try) 2>&5
74942 ac_status=$?
74943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74944 (exit $ac_status); }; }; then
74945 glibcxx_cv_S_IFREG=yes
74946 else
74947 echo "$as_me: failed program was:" >&5
74948 sed 's/^/| /' conftest.$ac_ext >&5
74950 glibcxx_cv_S_IFREG=no
74952 rm -f conftest.err conftest.$ac_objext \
74953 conftest$ac_exeext conftest.$ac_ext
74957 if test $glibcxx_cv_S_ISREG = yes; then
74958 cat >>confdefs.h <<\_ACEOF
74959 #define HAVE_S_ISREG 1
74960 _ACEOF
74962 elif test $glibcxx_cv_S_IFREG = yes; then
74963 cat >>confdefs.h <<\_ACEOF
74964 #define HAVE_S_IFREG 1
74965 _ACEOF
74969 cat >>confdefs.h <<\_ACEOF
74970 #define HAVE_WRITEV 1
74971 _ACEOF
74975 *-freebsd*)
74992 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74993 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74994 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74995 sys/time.h unistd.h
74997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74999 echo "$as_me:$LINENO: checking for $ac_header" >&5
75000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75002 echo $ECHO_N "(cached) $ECHO_C" >&6
75004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75006 else
75007 # Is the header compilable?
75008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75010 cat >conftest.$ac_ext <<_ACEOF
75011 /* confdefs.h. */
75012 _ACEOF
75013 cat confdefs.h >>conftest.$ac_ext
75014 cat >>conftest.$ac_ext <<_ACEOF
75015 /* end confdefs.h. */
75016 $ac_includes_default
75017 #include <$ac_header>
75018 _ACEOF
75019 rm -f conftest.$ac_objext
75020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75021 (eval $ac_compile) 2>conftest.er1
75022 ac_status=$?
75023 grep -v '^ *+' conftest.er1 >conftest.err
75024 rm -f conftest.er1
75025 cat conftest.err >&5
75026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75027 (exit $ac_status); } &&
75028 { ac_try='test -z "$ac_c_werror_flag"
75029 || test ! -s conftest.err'
75030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75031 (eval $ac_try) 2>&5
75032 ac_status=$?
75033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75034 (exit $ac_status); }; } &&
75035 { ac_try='test -s conftest.$ac_objext'
75036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75037 (eval $ac_try) 2>&5
75038 ac_status=$?
75039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75040 (exit $ac_status); }; }; then
75041 ac_header_compiler=yes
75042 else
75043 echo "$as_me: failed program was:" >&5
75044 sed 's/^/| /' conftest.$ac_ext >&5
75046 ac_header_compiler=no
75048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75050 echo "${ECHO_T}$ac_header_compiler" >&6
75052 # Is the header present?
75053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75055 cat >conftest.$ac_ext <<_ACEOF
75056 /* confdefs.h. */
75057 _ACEOF
75058 cat confdefs.h >>conftest.$ac_ext
75059 cat >>conftest.$ac_ext <<_ACEOF
75060 /* end confdefs.h. */
75061 #include <$ac_header>
75062 _ACEOF
75063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75065 ac_status=$?
75066 grep -v '^ *+' conftest.er1 >conftest.err
75067 rm -f conftest.er1
75068 cat conftest.err >&5
75069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75070 (exit $ac_status); } >/dev/null; then
75071 if test -s conftest.err; then
75072 ac_cpp_err=$ac_c_preproc_warn_flag
75073 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75074 else
75075 ac_cpp_err=
75077 else
75078 ac_cpp_err=yes
75080 if test -z "$ac_cpp_err"; then
75081 ac_header_preproc=yes
75082 else
75083 echo "$as_me: failed program was:" >&5
75084 sed 's/^/| /' conftest.$ac_ext >&5
75086 ac_header_preproc=no
75088 rm -f conftest.err conftest.$ac_ext
75089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75090 echo "${ECHO_T}$ac_header_preproc" >&6
75092 # So? What about this header?
75093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75094 yes:no: )
75095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75099 ac_header_preproc=yes
75101 no:yes:* )
75102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75115 cat <<\_ASBOX
75116 ## ----------------------------------------- ##
75117 ## Report this to the package-unused lists. ##
75118 ## ----------------------------------------- ##
75119 _ASBOX
75121 sed "s/^/$as_me: WARNING: /" >&2
75123 esac
75124 echo "$as_me:$LINENO: checking for $ac_header" >&5
75125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75127 echo $ECHO_N "(cached) $ECHO_C" >&6
75128 else
75129 eval "$as_ac_Header=\$ac_header_preproc"
75131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75136 cat >>confdefs.h <<_ACEOF
75137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75138 _ACEOF
75142 done
75144 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75147 # If we're not using GNU ld, then there's no point in even trying these
75148 # tests. Check for that first. We should have already tested for gld
75149 # by now (in libtool), but require it now just to be safe...
75150 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75151 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75155 # The name set by libtool depends on the version of libtool. Shame on us
75156 # for depending on an impl detail, but c'est la vie. Older versions used
75157 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75158 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75159 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75160 # set (hence we're using an older libtool), then set it.
75161 if test x${with_gnu_ld+set} != xset; then
75162 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75163 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75164 with_gnu_ld=no
75165 else
75166 with_gnu_ld=$ac_cv_prog_gnu_ld
75170 # Start by getting the version number. I think the libtool test already
75171 # does some of this, but throws away the result.
75173 ldver=`$LD --version 2>/dev/null | head -1 | \
75174 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75176 glibcxx_gnu_ld_version=`echo $ldver | \
75177 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75179 # Set --gc-sections.
75180 if test "$with_gnu_ld" = "notbroken"; then
75181 # GNU ld it is! Joy and bunny rabbits!
75183 # All these tests are for C++; save the language and the compiler flags.
75184 # Need to do this so that g++ won't try to link in libstdc++
75185 ac_test_CFLAGS="${CFLAGS+set}"
75186 ac_save_CFLAGS="$CFLAGS"
75187 CFLAGS='-x c++ -Wl,--gc-sections'
75189 # Check for -Wl,--gc-sections
75190 # XXX This test is broken at the moment, as symbols required for linking
75191 # are now in libsupc++ (not built yet). In addition, this test has
75192 # cored on solaris in the past. In addition, --gc-sections doesn't
75193 # really work at the moment (keeps on discarding used sections, first
75194 # .eh_frame and now some of the glibc sections for iconv).
75195 # Bzzzzt. Thanks for playing, maybe next time.
75196 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75197 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75198 if test "$cross_compiling" = yes; then
75199 ac_sectionLDflags=yes
75200 else
75201 cat >conftest.$ac_ext <<_ACEOF
75202 /* confdefs.h. */
75203 _ACEOF
75204 cat confdefs.h >>conftest.$ac_ext
75205 cat >>conftest.$ac_ext <<_ACEOF
75206 /* end confdefs.h. */
75208 int main(void)
75210 try { throw 1; }
75211 catch (...) { };
75212 return 0;
75215 _ACEOF
75216 rm -f conftest$ac_exeext
75217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75218 (eval $ac_link) 2>&5
75219 ac_status=$?
75220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75223 (eval $ac_try) 2>&5
75224 ac_status=$?
75225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75226 (exit $ac_status); }; }; then
75227 ac_sectionLDflags=yes
75228 else
75229 echo "$as_me: program exited with status $ac_status" >&5
75230 echo "$as_me: failed program was:" >&5
75231 sed 's/^/| /' conftest.$ac_ext >&5
75233 ( exit $ac_status )
75234 ac_sectionLDflags=no
75236 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75238 if test "$ac_test_CFLAGS" = set; then
75239 CFLAGS="$ac_save_CFLAGS"
75240 else
75241 # this is the suspicious part
75242 CFLAGS=''
75244 if test "$ac_sectionLDflags" = "yes"; then
75245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75247 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75248 echo "${ECHO_T}$ac_sectionLDflags" >&6
75251 # Set linker optimization flags.
75252 if test x"$with_gnu_ld" = x"yes"; then
75253 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75261 echo "$as_me:$LINENO: checking for main in -lm" >&5
75262 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75263 if test "${ac_cv_lib_m_main+set}" = set; then
75264 echo $ECHO_N "(cached) $ECHO_C" >&6
75265 else
75266 ac_check_lib_save_LIBS=$LIBS
75267 LIBS="-lm $LIBS"
75268 if test x$gcc_no_link = xyes; then
75269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75271 { (exit 1); exit 1; }; }
75273 cat >conftest.$ac_ext <<_ACEOF
75274 /* confdefs.h. */
75275 _ACEOF
75276 cat confdefs.h >>conftest.$ac_ext
75277 cat >>conftest.$ac_ext <<_ACEOF
75278 /* end confdefs.h. */
75282 main ()
75284 main ();
75286 return 0;
75288 _ACEOF
75289 rm -f conftest.$ac_objext conftest$ac_exeext
75290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75291 (eval $ac_link) 2>conftest.er1
75292 ac_status=$?
75293 grep -v '^ *+' conftest.er1 >conftest.err
75294 rm -f conftest.er1
75295 cat conftest.err >&5
75296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75297 (exit $ac_status); } &&
75298 { ac_try='test -z "$ac_c_werror_flag"
75299 || test ! -s conftest.err'
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); }; } &&
75305 { ac_try='test -s conftest$ac_exeext'
75306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75307 (eval $ac_try) 2>&5
75308 ac_status=$?
75309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75310 (exit $ac_status); }; }; then
75311 ac_cv_lib_m_main=yes
75312 else
75313 echo "$as_me: failed program was:" >&5
75314 sed 's/^/| /' conftest.$ac_ext >&5
75316 ac_cv_lib_m_main=no
75318 rm -f conftest.err conftest.$ac_objext \
75319 conftest$ac_exeext conftest.$ac_ext
75320 LIBS=$ac_check_lib_save_LIBS
75322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75323 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75324 if test $ac_cv_lib_m_main = yes; then
75325 cat >>confdefs.h <<_ACEOF
75326 #define HAVE_LIBM 1
75327 _ACEOF
75329 LIBS="-lm $LIBS"
75334 for ac_func in copysignf
75336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75337 echo "$as_me:$LINENO: checking for $ac_func" >&5
75338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75339 if eval "test \"\${$as_ac_var+set}\" = set"; then
75340 echo $ECHO_N "(cached) $ECHO_C" >&6
75341 else
75342 if test x$gcc_no_link = xyes; then
75343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75345 { (exit 1); exit 1; }; }
75347 cat >conftest.$ac_ext <<_ACEOF
75348 /* confdefs.h. */
75349 _ACEOF
75350 cat confdefs.h >>conftest.$ac_ext
75351 cat >>conftest.$ac_ext <<_ACEOF
75352 /* end confdefs.h. */
75353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75355 #define $ac_func innocuous_$ac_func
75357 /* System header to define __stub macros and hopefully few prototypes,
75358 which can conflict with char $ac_func (); below.
75359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75360 <limits.h> exists even on freestanding compilers. */
75362 #ifdef __STDC__
75363 # include <limits.h>
75364 #else
75365 # include <assert.h>
75366 #endif
75368 #undef $ac_func
75370 /* Override any gcc2 internal prototype to avoid an error. */
75371 #ifdef __cplusplus
75372 extern "C"
75374 #endif
75375 /* We use char because int might match the return type of a gcc2
75376 builtin and then its argument prototype would still apply. */
75377 char $ac_func ();
75378 /* The GNU C library defines this for functions which it implements
75379 to always fail with ENOSYS. Some functions are actually named
75380 something starting with __ and the normal name is an alias. */
75381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75382 choke me
75383 #else
75384 char (*f) () = $ac_func;
75385 #endif
75386 #ifdef __cplusplus
75388 #endif
75391 main ()
75393 return f != $ac_func;
75395 return 0;
75397 _ACEOF
75398 rm -f conftest.$ac_objext conftest$ac_exeext
75399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75400 (eval $ac_link) 2>conftest.er1
75401 ac_status=$?
75402 grep -v '^ *+' conftest.er1 >conftest.err
75403 rm -f conftest.er1
75404 cat conftest.err >&5
75405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75406 (exit $ac_status); } &&
75407 { ac_try='test -z "$ac_c_werror_flag"
75408 || test ! -s conftest.err'
75409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75410 (eval $ac_try) 2>&5
75411 ac_status=$?
75412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75413 (exit $ac_status); }; } &&
75414 { ac_try='test -s conftest$ac_exeext'
75415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75416 (eval $ac_try) 2>&5
75417 ac_status=$?
75418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75419 (exit $ac_status); }; }; then
75420 eval "$as_ac_var=yes"
75421 else
75422 echo "$as_me: failed program was:" >&5
75423 sed 's/^/| /' conftest.$ac_ext >&5
75425 eval "$as_ac_var=no"
75427 rm -f conftest.err conftest.$ac_objext \
75428 conftest$ac_exeext conftest.$ac_ext
75430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75432 if test `eval echo '${'$as_ac_var'}'` = yes; then
75433 cat >>confdefs.h <<_ACEOF
75434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75435 _ACEOF
75437 else
75438 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75440 done
75444 for ac_func in __signbit
75446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75447 echo "$as_me:$LINENO: checking for $ac_func" >&5
75448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75449 if eval "test \"\${$as_ac_var+set}\" = set"; then
75450 echo $ECHO_N "(cached) $ECHO_C" >&6
75451 else
75452 if test x$gcc_no_link = xyes; then
75453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75455 { (exit 1); exit 1; }; }
75457 cat >conftest.$ac_ext <<_ACEOF
75458 /* confdefs.h. */
75459 _ACEOF
75460 cat confdefs.h >>conftest.$ac_ext
75461 cat >>conftest.$ac_ext <<_ACEOF
75462 /* end confdefs.h. */
75463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75465 #define $ac_func innocuous_$ac_func
75467 /* System header to define __stub macros and hopefully few prototypes,
75468 which can conflict with char $ac_func (); below.
75469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75470 <limits.h> exists even on freestanding compilers. */
75472 #ifdef __STDC__
75473 # include <limits.h>
75474 #else
75475 # include <assert.h>
75476 #endif
75478 #undef $ac_func
75480 /* Override any gcc2 internal prototype to avoid an error. */
75481 #ifdef __cplusplus
75482 extern "C"
75484 #endif
75485 /* We use char because int might match the return type of a gcc2
75486 builtin and then its argument prototype would still apply. */
75487 char $ac_func ();
75488 /* The GNU C library defines this for functions which it implements
75489 to always fail with ENOSYS. Some functions are actually named
75490 something starting with __ and the normal name is an alias. */
75491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75492 choke me
75493 #else
75494 char (*f) () = $ac_func;
75495 #endif
75496 #ifdef __cplusplus
75498 #endif
75501 main ()
75503 return f != $ac_func;
75505 return 0;
75507 _ACEOF
75508 rm -f conftest.$ac_objext conftest$ac_exeext
75509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75510 (eval $ac_link) 2>conftest.er1
75511 ac_status=$?
75512 grep -v '^ *+' conftest.er1 >conftest.err
75513 rm -f conftest.er1
75514 cat conftest.err >&5
75515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75516 (exit $ac_status); } &&
75517 { ac_try='test -z "$ac_c_werror_flag"
75518 || test ! -s conftest.err'
75519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75520 (eval $ac_try) 2>&5
75521 ac_status=$?
75522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75523 (exit $ac_status); }; } &&
75524 { ac_try='test -s conftest$ac_exeext'
75525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75526 (eval $ac_try) 2>&5
75527 ac_status=$?
75528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75529 (exit $ac_status); }; }; then
75530 eval "$as_ac_var=yes"
75531 else
75532 echo "$as_me: failed program was:" >&5
75533 sed 's/^/| /' conftest.$ac_ext >&5
75535 eval "$as_ac_var=no"
75537 rm -f conftest.err conftest.$ac_objext \
75538 conftest$ac_exeext conftest.$ac_ext
75540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75542 if test `eval echo '${'$as_ac_var'}'` = yes; then
75543 cat >>confdefs.h <<_ACEOF
75544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75545 _ACEOF
75547 else
75548 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75550 done
75554 for ac_func in __signbitf
75556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75557 echo "$as_me:$LINENO: checking for $ac_func" >&5
75558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75559 if eval "test \"\${$as_ac_var+set}\" = set"; then
75560 echo $ECHO_N "(cached) $ECHO_C" >&6
75561 else
75562 if test x$gcc_no_link = xyes; then
75563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75565 { (exit 1); exit 1; }; }
75567 cat >conftest.$ac_ext <<_ACEOF
75568 /* confdefs.h. */
75569 _ACEOF
75570 cat confdefs.h >>conftest.$ac_ext
75571 cat >>conftest.$ac_ext <<_ACEOF
75572 /* end confdefs.h. */
75573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75575 #define $ac_func innocuous_$ac_func
75577 /* System header to define __stub macros and hopefully few prototypes,
75578 which can conflict with char $ac_func (); below.
75579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75580 <limits.h> exists even on freestanding compilers. */
75582 #ifdef __STDC__
75583 # include <limits.h>
75584 #else
75585 # include <assert.h>
75586 #endif
75588 #undef $ac_func
75590 /* Override any gcc2 internal prototype to avoid an error. */
75591 #ifdef __cplusplus
75592 extern "C"
75594 #endif
75595 /* We use char because int might match the return type of a gcc2
75596 builtin and then its argument prototype would still apply. */
75597 char $ac_func ();
75598 /* The GNU C library defines this for functions which it implements
75599 to always fail with ENOSYS. Some functions are actually named
75600 something starting with __ and the normal name is an alias. */
75601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75602 choke me
75603 #else
75604 char (*f) () = $ac_func;
75605 #endif
75606 #ifdef __cplusplus
75608 #endif
75611 main ()
75613 return f != $ac_func;
75615 return 0;
75617 _ACEOF
75618 rm -f conftest.$ac_objext conftest$ac_exeext
75619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75620 (eval $ac_link) 2>conftest.er1
75621 ac_status=$?
75622 grep -v '^ *+' conftest.er1 >conftest.err
75623 rm -f conftest.er1
75624 cat conftest.err >&5
75625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75626 (exit $ac_status); } &&
75627 { ac_try='test -z "$ac_c_werror_flag"
75628 || test ! -s conftest.err'
75629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75630 (eval $ac_try) 2>&5
75631 ac_status=$?
75632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75633 (exit $ac_status); }; } &&
75634 { ac_try='test -s conftest$ac_exeext'
75635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75636 (eval $ac_try) 2>&5
75637 ac_status=$?
75638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75639 (exit $ac_status); }; }; then
75640 eval "$as_ac_var=yes"
75641 else
75642 echo "$as_me: failed program was:" >&5
75643 sed 's/^/| /' conftest.$ac_ext >&5
75645 eval "$as_ac_var=no"
75647 rm -f conftest.err conftest.$ac_objext \
75648 conftest$ac_exeext conftest.$ac_ext
75650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75652 if test `eval echo '${'$as_ac_var'}'` = yes; then
75653 cat >>confdefs.h <<_ACEOF
75654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75655 _ACEOF
75657 else
75658 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75660 done
75663 if test x$ac_cv_func_copysignl = x"yes"; then
75665 for ac_func in __signbitl
75667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75668 echo "$as_me:$LINENO: checking for $ac_func" >&5
75669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75670 if eval "test \"\${$as_ac_var+set}\" = set"; then
75671 echo $ECHO_N "(cached) $ECHO_C" >&6
75672 else
75673 if test x$gcc_no_link = xyes; then
75674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75676 { (exit 1); exit 1; }; }
75678 cat >conftest.$ac_ext <<_ACEOF
75679 /* confdefs.h. */
75680 _ACEOF
75681 cat confdefs.h >>conftest.$ac_ext
75682 cat >>conftest.$ac_ext <<_ACEOF
75683 /* end confdefs.h. */
75684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75686 #define $ac_func innocuous_$ac_func
75688 /* System header to define __stub macros and hopefully few prototypes,
75689 which can conflict with char $ac_func (); below.
75690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75691 <limits.h> exists even on freestanding compilers. */
75693 #ifdef __STDC__
75694 # include <limits.h>
75695 #else
75696 # include <assert.h>
75697 #endif
75699 #undef $ac_func
75701 /* Override any gcc2 internal prototype to avoid an error. */
75702 #ifdef __cplusplus
75703 extern "C"
75705 #endif
75706 /* We use char because int might match the return type of a gcc2
75707 builtin and then its argument prototype would still apply. */
75708 char $ac_func ();
75709 /* The GNU C library defines this for functions which it implements
75710 to always fail with ENOSYS. Some functions are actually named
75711 something starting with __ and the normal name is an alias. */
75712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75713 choke me
75714 #else
75715 char (*f) () = $ac_func;
75716 #endif
75717 #ifdef __cplusplus
75719 #endif
75722 main ()
75724 return f != $ac_func;
75726 return 0;
75728 _ACEOF
75729 rm -f conftest.$ac_objext conftest$ac_exeext
75730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75731 (eval $ac_link) 2>conftest.er1
75732 ac_status=$?
75733 grep -v '^ *+' conftest.er1 >conftest.err
75734 rm -f conftest.er1
75735 cat conftest.err >&5
75736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75737 (exit $ac_status); } &&
75738 { ac_try='test -z "$ac_c_werror_flag"
75739 || test ! -s conftest.err'
75740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75741 (eval $ac_try) 2>&5
75742 ac_status=$?
75743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75744 (exit $ac_status); }; } &&
75745 { ac_try='test -s conftest$ac_exeext'
75746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75747 (eval $ac_try) 2>&5
75748 ac_status=$?
75749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75750 (exit $ac_status); }; }; then
75751 eval "$as_ac_var=yes"
75752 else
75753 echo "$as_me: failed program was:" >&5
75754 sed 's/^/| /' conftest.$ac_ext >&5
75756 eval "$as_ac_var=no"
75758 rm -f conftest.err conftest.$ac_objext \
75759 conftest$ac_exeext conftest.$ac_ext
75761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75763 if test `eval echo '${'$as_ac_var'}'` = yes; then
75764 cat >>confdefs.h <<_ACEOF
75765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75766 _ACEOF
75768 else
75769 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75771 done
75775 # Used in libmath/Makefile.am.
75776 if test -n "$LIBMATHOBJS"; then
75777 need_libmath=yes
75782 # Test wchar.h for mbstate_t, which is needed for char_traits and
75783 # others even if wchar_t support is not on.
75784 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75785 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75786 cat >conftest.$ac_ext <<_ACEOF
75787 /* confdefs.h. */
75788 _ACEOF
75789 cat confdefs.h >>conftest.$ac_ext
75790 cat >>conftest.$ac_ext <<_ACEOF
75791 /* end confdefs.h. */
75792 #include <wchar.h>
75794 main ()
75796 mbstate_t teststate;
75798 return 0;
75800 _ACEOF
75801 rm -f conftest.$ac_objext
75802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75803 (eval $ac_compile) 2>conftest.er1
75804 ac_status=$?
75805 grep -v '^ *+' conftest.er1 >conftest.err
75806 rm -f conftest.er1
75807 cat conftest.err >&5
75808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75809 (exit $ac_status); } &&
75810 { ac_try='test -z "$ac_c_werror_flag"
75811 || test ! -s conftest.err'
75812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75813 (eval $ac_try) 2>&5
75814 ac_status=$?
75815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75816 (exit $ac_status); }; } &&
75817 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
75823 have_mbstate_t=yes
75824 else
75825 echo "$as_me: failed program was:" >&5
75826 sed 's/^/| /' conftest.$ac_ext >&5
75828 have_mbstate_t=no
75830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75831 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75832 echo "${ECHO_T}$have_mbstate_t" >&6
75833 if test x"$have_mbstate_t" = xyes; then
75834 cat >>confdefs.h <<\_ACEOF
75835 #define HAVE_MBSTATE_T 1
75836 _ACEOF
75840 # Sanity check for existence of ISO C99 headers for extended encoding.
75842 for ac_header in wchar.h
75844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75846 echo "$as_me:$LINENO: checking for $ac_header" >&5
75847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75849 echo $ECHO_N "(cached) $ECHO_C" >&6
75851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75853 else
75854 # Is the header compilable?
75855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75857 cat >conftest.$ac_ext <<_ACEOF
75858 /* confdefs.h. */
75859 _ACEOF
75860 cat confdefs.h >>conftest.$ac_ext
75861 cat >>conftest.$ac_ext <<_ACEOF
75862 /* end confdefs.h. */
75863 $ac_includes_default
75864 #include <$ac_header>
75865 _ACEOF
75866 rm -f conftest.$ac_objext
75867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75868 (eval $ac_compile) 2>conftest.er1
75869 ac_status=$?
75870 grep -v '^ *+' conftest.er1 >conftest.err
75871 rm -f conftest.er1
75872 cat conftest.err >&5
75873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75874 (exit $ac_status); } &&
75875 { ac_try='test -z "$ac_c_werror_flag"
75876 || test ! -s conftest.err'
75877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75878 (eval $ac_try) 2>&5
75879 ac_status=$?
75880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75881 (exit $ac_status); }; } &&
75882 { ac_try='test -s conftest.$ac_objext'
75883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75884 (eval $ac_try) 2>&5
75885 ac_status=$?
75886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75887 (exit $ac_status); }; }; then
75888 ac_header_compiler=yes
75889 else
75890 echo "$as_me: failed program was:" >&5
75891 sed 's/^/| /' conftest.$ac_ext >&5
75893 ac_header_compiler=no
75895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75897 echo "${ECHO_T}$ac_header_compiler" >&6
75899 # Is the header present?
75900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75902 cat >conftest.$ac_ext <<_ACEOF
75903 /* confdefs.h. */
75904 _ACEOF
75905 cat confdefs.h >>conftest.$ac_ext
75906 cat >>conftest.$ac_ext <<_ACEOF
75907 /* end confdefs.h. */
75908 #include <$ac_header>
75909 _ACEOF
75910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75912 ac_status=$?
75913 grep -v '^ *+' conftest.er1 >conftest.err
75914 rm -f conftest.er1
75915 cat conftest.err >&5
75916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75917 (exit $ac_status); } >/dev/null; then
75918 if test -s conftest.err; then
75919 ac_cpp_err=$ac_c_preproc_warn_flag
75920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75921 else
75922 ac_cpp_err=
75924 else
75925 ac_cpp_err=yes
75927 if test -z "$ac_cpp_err"; then
75928 ac_header_preproc=yes
75929 else
75930 echo "$as_me: failed program was:" >&5
75931 sed 's/^/| /' conftest.$ac_ext >&5
75933 ac_header_preproc=no
75935 rm -f conftest.err conftest.$ac_ext
75936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75937 echo "${ECHO_T}$ac_header_preproc" >&6
75939 # So? What about this header?
75940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75941 yes:no: )
75942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75946 ac_header_preproc=yes
75948 no:yes:* )
75949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75953 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75955 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75956 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75959 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75962 cat <<\_ASBOX
75963 ## ----------------------------------------- ##
75964 ## Report this to the package-unused lists. ##
75965 ## ----------------------------------------- ##
75966 _ASBOX
75968 sed "s/^/$as_me: WARNING: /" >&2
75970 esac
75971 echo "$as_me:$LINENO: checking for $ac_header" >&5
75972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75974 echo $ECHO_N "(cached) $ECHO_C" >&6
75975 else
75976 eval "$as_ac_Header=\$ac_header_preproc"
75978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75983 cat >>confdefs.h <<_ACEOF
75984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75985 _ACEOF
75986 ac_has_wchar_h=yes
75987 else
75988 ac_has_wchar_h=no
75991 done
75994 for ac_header in wctype.h
75996 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75998 echo "$as_me:$LINENO: checking for $ac_header" >&5
75999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76001 echo $ECHO_N "(cached) $ECHO_C" >&6
76003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76005 else
76006 # Is the header compilable?
76007 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76009 cat >conftest.$ac_ext <<_ACEOF
76010 /* confdefs.h. */
76011 _ACEOF
76012 cat confdefs.h >>conftest.$ac_ext
76013 cat >>conftest.$ac_ext <<_ACEOF
76014 /* end confdefs.h. */
76015 $ac_includes_default
76016 #include <$ac_header>
76017 _ACEOF
76018 rm -f conftest.$ac_objext
76019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76020 (eval $ac_compile) 2>conftest.er1
76021 ac_status=$?
76022 grep -v '^ *+' conftest.er1 >conftest.err
76023 rm -f conftest.er1
76024 cat conftest.err >&5
76025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76026 (exit $ac_status); } &&
76027 { ac_try='test -z "$ac_c_werror_flag"
76028 || test ! -s conftest.err'
76029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76030 (eval $ac_try) 2>&5
76031 ac_status=$?
76032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76033 (exit $ac_status); }; } &&
76034 { ac_try='test -s conftest.$ac_objext'
76035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76036 (eval $ac_try) 2>&5
76037 ac_status=$?
76038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76039 (exit $ac_status); }; }; then
76040 ac_header_compiler=yes
76041 else
76042 echo "$as_me: failed program was:" >&5
76043 sed 's/^/| /' conftest.$ac_ext >&5
76045 ac_header_compiler=no
76047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76049 echo "${ECHO_T}$ac_header_compiler" >&6
76051 # Is the header present?
76052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76054 cat >conftest.$ac_ext <<_ACEOF
76055 /* confdefs.h. */
76056 _ACEOF
76057 cat confdefs.h >>conftest.$ac_ext
76058 cat >>conftest.$ac_ext <<_ACEOF
76059 /* end confdefs.h. */
76060 #include <$ac_header>
76061 _ACEOF
76062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76064 ac_status=$?
76065 grep -v '^ *+' conftest.er1 >conftest.err
76066 rm -f conftest.er1
76067 cat conftest.err >&5
76068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76069 (exit $ac_status); } >/dev/null; then
76070 if test -s conftest.err; then
76071 ac_cpp_err=$ac_c_preproc_warn_flag
76072 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76073 else
76074 ac_cpp_err=
76076 else
76077 ac_cpp_err=yes
76079 if test -z "$ac_cpp_err"; then
76080 ac_header_preproc=yes
76081 else
76082 echo "$as_me: failed program was:" >&5
76083 sed 's/^/| /' conftest.$ac_ext >&5
76085 ac_header_preproc=no
76087 rm -f conftest.err conftest.$ac_ext
76088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76089 echo "${ECHO_T}$ac_header_preproc" >&6
76091 # So? What about this header?
76092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76093 yes:no: )
76094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76098 ac_header_preproc=yes
76100 no:yes:* )
76101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76114 cat <<\_ASBOX
76115 ## ----------------------------------------- ##
76116 ## Report this to the package-unused lists. ##
76117 ## ----------------------------------------- ##
76118 _ASBOX
76120 sed "s/^/$as_me: WARNING: /" >&2
76122 esac
76123 echo "$as_me:$LINENO: checking for $ac_header" >&5
76124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76126 echo $ECHO_N "(cached) $ECHO_C" >&6
76127 else
76128 eval "$as_ac_Header=\$ac_header_preproc"
76130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76135 cat >>confdefs.h <<_ACEOF
76136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76137 _ACEOF
76138 ac_has_wctype_h=yes
76139 else
76140 ac_has_wctype_h=no
76143 done
76146 # Only continue checking if the ISO C99 headers exist and support is on.
76147 if test x"$ac_has_wchar_h" = xyes &&
76148 test x"$ac_has_wctype_h" = xyes &&
76149 test x"$enable_c_mbchar" != xno; then
76151 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76152 # numeric_limits can instantiate type_traits<wchar_t>
76153 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76154 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76155 cat >conftest.$ac_ext <<_ACEOF
76156 /* confdefs.h. */
76157 _ACEOF
76158 cat confdefs.h >>conftest.$ac_ext
76159 cat >>conftest.$ac_ext <<_ACEOF
76160 /* end confdefs.h. */
76161 #include <wchar.h>
76163 main ()
76165 int i = WCHAR_MIN; int j = WCHAR_MAX;
76167 return 0;
76169 _ACEOF
76170 rm -f conftest.$ac_objext
76171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76172 (eval $ac_compile) 2>conftest.er1
76173 ac_status=$?
76174 grep -v '^ *+' conftest.er1 >conftest.err
76175 rm -f conftest.er1
76176 cat conftest.err >&5
76177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76178 (exit $ac_status); } &&
76179 { ac_try='test -z "$ac_c_werror_flag"
76180 || test ! -s conftest.err'
76181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76182 (eval $ac_try) 2>&5
76183 ac_status=$?
76184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76185 (exit $ac_status); }; } &&
76186 { ac_try='test -s conftest.$ac_objext'
76187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76188 (eval $ac_try) 2>&5
76189 ac_status=$?
76190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76191 (exit $ac_status); }; }; then
76192 has_wchar_minmax=yes
76193 else
76194 echo "$as_me: failed program was:" >&5
76195 sed 's/^/| /' conftest.$ac_ext >&5
76197 has_wchar_minmax=no
76199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76200 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76201 echo "${ECHO_T}$has_wchar_minmax" >&6
76203 # Test wchar.h for WEOF, which is what we use to determine whether
76204 # to specialize for char_traits<wchar_t> or not.
76205 echo "$as_me:$LINENO: checking for WEOF" >&5
76206 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76207 cat >conftest.$ac_ext <<_ACEOF
76208 /* confdefs.h. */
76209 _ACEOF
76210 cat confdefs.h >>conftest.$ac_ext
76211 cat >>conftest.$ac_ext <<_ACEOF
76212 /* end confdefs.h. */
76214 #include <wchar.h>
76215 #include <stddef.h>
76217 main ()
76219 wint_t i = WEOF;
76221 return 0;
76223 _ACEOF
76224 rm -f conftest.$ac_objext
76225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76226 (eval $ac_compile) 2>conftest.er1
76227 ac_status=$?
76228 grep -v '^ *+' conftest.er1 >conftest.err
76229 rm -f conftest.er1
76230 cat conftest.err >&5
76231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76232 (exit $ac_status); } &&
76233 { ac_try='test -z "$ac_c_werror_flag"
76234 || test ! -s conftest.err'
76235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76236 (eval $ac_try) 2>&5
76237 ac_status=$?
76238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76239 (exit $ac_status); }; } &&
76240 { ac_try='test -s conftest.$ac_objext'
76241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76242 (eval $ac_try) 2>&5
76243 ac_status=$?
76244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76245 (exit $ac_status); }; }; then
76246 has_weof=yes
76247 else
76248 echo "$as_me: failed program was:" >&5
76249 sed 's/^/| /' conftest.$ac_ext >&5
76251 has_weof=no
76253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76254 echo "$as_me:$LINENO: result: $has_weof" >&5
76255 echo "${ECHO_T}$has_weof" >&6
76257 # Tests for wide character functions used in char_traits<wchar_t>.
76258 ac_wfuncs=yes
76265 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76268 echo "$as_me:$LINENO: checking for $ac_func" >&5
76269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76270 if eval "test \"\${$as_ac_var+set}\" = set"; then
76271 echo $ECHO_N "(cached) $ECHO_C" >&6
76272 else
76273 if test x$gcc_no_link = xyes; then
76274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76276 { (exit 1); exit 1; }; }
76278 cat >conftest.$ac_ext <<_ACEOF
76279 /* confdefs.h. */
76280 _ACEOF
76281 cat confdefs.h >>conftest.$ac_ext
76282 cat >>conftest.$ac_ext <<_ACEOF
76283 /* end confdefs.h. */
76284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76286 #define $ac_func innocuous_$ac_func
76288 /* System header to define __stub macros and hopefully few prototypes,
76289 which can conflict with char $ac_func (); below.
76290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76291 <limits.h> exists even on freestanding compilers. */
76293 #ifdef __STDC__
76294 # include <limits.h>
76295 #else
76296 # include <assert.h>
76297 #endif
76299 #undef $ac_func
76301 /* Override any gcc2 internal prototype to avoid an error. */
76302 #ifdef __cplusplus
76303 extern "C"
76305 #endif
76306 /* We use char because int might match the return type of a gcc2
76307 builtin and then its argument prototype would still apply. */
76308 char $ac_func ();
76309 /* The GNU C library defines this for functions which it implements
76310 to always fail with ENOSYS. Some functions are actually named
76311 something starting with __ and the normal name is an alias. */
76312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76313 choke me
76314 #else
76315 char (*f) () = $ac_func;
76316 #endif
76317 #ifdef __cplusplus
76319 #endif
76322 main ()
76324 return f != $ac_func;
76326 return 0;
76328 _ACEOF
76329 rm -f conftest.$ac_objext conftest$ac_exeext
76330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76331 (eval $ac_link) 2>conftest.er1
76332 ac_status=$?
76333 grep -v '^ *+' conftest.er1 >conftest.err
76334 rm -f conftest.er1
76335 cat conftest.err >&5
76336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76337 (exit $ac_status); } &&
76338 { ac_try='test -z "$ac_c_werror_flag"
76339 || test ! -s conftest.err'
76340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76341 (eval $ac_try) 2>&5
76342 ac_status=$?
76343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76344 (exit $ac_status); }; } &&
76345 { ac_try='test -s conftest$ac_exeext'
76346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76347 (eval $ac_try) 2>&5
76348 ac_status=$?
76349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76350 (exit $ac_status); }; }; then
76351 eval "$as_ac_var=yes"
76352 else
76353 echo "$as_me: failed program was:" >&5
76354 sed 's/^/| /' conftest.$ac_ext >&5
76356 eval "$as_ac_var=no"
76358 rm -f conftest.err conftest.$ac_objext \
76359 conftest$ac_exeext conftest.$ac_ext
76361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76363 if test `eval echo '${'$as_ac_var'}'` = yes; then
76364 cat >>confdefs.h <<_ACEOF
76365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76366 _ACEOF
76368 else
76369 ac_wfuncs=no
76371 done
76374 # Checks for names injected into std:: by the c_std headers.
76421 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76422 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76423 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76424 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76425 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76426 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76429 echo "$as_me:$LINENO: checking for $ac_func" >&5
76430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76431 if eval "test \"\${$as_ac_var+set}\" = set"; then
76432 echo $ECHO_N "(cached) $ECHO_C" >&6
76433 else
76434 if test x$gcc_no_link = xyes; then
76435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76437 { (exit 1); exit 1; }; }
76439 cat >conftest.$ac_ext <<_ACEOF
76440 /* confdefs.h. */
76441 _ACEOF
76442 cat confdefs.h >>conftest.$ac_ext
76443 cat >>conftest.$ac_ext <<_ACEOF
76444 /* end confdefs.h. */
76445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76447 #define $ac_func innocuous_$ac_func
76449 /* System header to define __stub macros and hopefully few prototypes,
76450 which can conflict with char $ac_func (); below.
76451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76452 <limits.h> exists even on freestanding compilers. */
76454 #ifdef __STDC__
76455 # include <limits.h>
76456 #else
76457 # include <assert.h>
76458 #endif
76460 #undef $ac_func
76462 /* Override any gcc2 internal prototype to avoid an error. */
76463 #ifdef __cplusplus
76464 extern "C"
76466 #endif
76467 /* We use char because int might match the return type of a gcc2
76468 builtin and then its argument prototype would still apply. */
76469 char $ac_func ();
76470 /* The GNU C library defines this for functions which it implements
76471 to always fail with ENOSYS. Some functions are actually named
76472 something starting with __ and the normal name is an alias. */
76473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76474 choke me
76475 #else
76476 char (*f) () = $ac_func;
76477 #endif
76478 #ifdef __cplusplus
76480 #endif
76483 main ()
76485 return f != $ac_func;
76487 return 0;
76489 _ACEOF
76490 rm -f conftest.$ac_objext conftest$ac_exeext
76491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76492 (eval $ac_link) 2>conftest.er1
76493 ac_status=$?
76494 grep -v '^ *+' conftest.er1 >conftest.err
76495 rm -f conftest.er1
76496 cat conftest.err >&5
76497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76498 (exit $ac_status); } &&
76499 { ac_try='test -z "$ac_c_werror_flag"
76500 || test ! -s conftest.err'
76501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76502 (eval $ac_try) 2>&5
76503 ac_status=$?
76504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76505 (exit $ac_status); }; } &&
76506 { ac_try='test -s conftest$ac_exeext'
76507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76508 (eval $ac_try) 2>&5
76509 ac_status=$?
76510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76511 (exit $ac_status); }; }; then
76512 eval "$as_ac_var=yes"
76513 else
76514 echo "$as_me: failed program was:" >&5
76515 sed 's/^/| /' conftest.$ac_ext >&5
76517 eval "$as_ac_var=no"
76519 rm -f conftest.err conftest.$ac_objext \
76520 conftest$ac_exeext conftest.$ac_ext
76522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76524 if test `eval echo '${'$as_ac_var'}'` = yes; then
76525 cat >>confdefs.h <<_ACEOF
76526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76527 _ACEOF
76529 else
76530 ac_wfuncs=no
76532 done
76535 # Checks for wide character functions that are not required
76536 # for basic wchar_t support. Don't disable support if they are missing.
76537 # Injection of these is wrapped with guard macros.
76543 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76546 echo "$as_me:$LINENO: checking for $ac_func" >&5
76547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76548 if eval "test \"\${$as_ac_var+set}\" = set"; then
76549 echo $ECHO_N "(cached) $ECHO_C" >&6
76550 else
76551 if test x$gcc_no_link = xyes; then
76552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76554 { (exit 1); exit 1; }; }
76556 cat >conftest.$ac_ext <<_ACEOF
76557 /* confdefs.h. */
76558 _ACEOF
76559 cat confdefs.h >>conftest.$ac_ext
76560 cat >>conftest.$ac_ext <<_ACEOF
76561 /* end confdefs.h. */
76562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76564 #define $ac_func innocuous_$ac_func
76566 /* System header to define __stub macros and hopefully few prototypes,
76567 which can conflict with char $ac_func (); below.
76568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76569 <limits.h> exists even on freestanding compilers. */
76571 #ifdef __STDC__
76572 # include <limits.h>
76573 #else
76574 # include <assert.h>
76575 #endif
76577 #undef $ac_func
76579 /* Override any gcc2 internal prototype to avoid an error. */
76580 #ifdef __cplusplus
76581 extern "C"
76583 #endif
76584 /* We use char because int might match the return type of a gcc2
76585 builtin and then its argument prototype would still apply. */
76586 char $ac_func ();
76587 /* The GNU C library defines this for functions which it implements
76588 to always fail with ENOSYS. Some functions are actually named
76589 something starting with __ and the normal name is an alias. */
76590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76591 choke me
76592 #else
76593 char (*f) () = $ac_func;
76594 #endif
76595 #ifdef __cplusplus
76597 #endif
76600 main ()
76602 return f != $ac_func;
76604 return 0;
76606 _ACEOF
76607 rm -f conftest.$ac_objext conftest$ac_exeext
76608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76609 (eval $ac_link) 2>conftest.er1
76610 ac_status=$?
76611 grep -v '^ *+' conftest.er1 >conftest.err
76612 rm -f conftest.er1
76613 cat conftest.err >&5
76614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76615 (exit $ac_status); } &&
76616 { ac_try='test -z "$ac_c_werror_flag"
76617 || test ! -s conftest.err'
76618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76619 (eval $ac_try) 2>&5
76620 ac_status=$?
76621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76622 (exit $ac_status); }; } &&
76623 { ac_try='test -s conftest$ac_exeext'
76624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76625 (eval $ac_try) 2>&5
76626 ac_status=$?
76627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76628 (exit $ac_status); }; }; then
76629 eval "$as_ac_var=yes"
76630 else
76631 echo "$as_me: failed program was:" >&5
76632 sed 's/^/| /' conftest.$ac_ext >&5
76634 eval "$as_ac_var=no"
76636 rm -f conftest.err conftest.$ac_objext \
76637 conftest$ac_exeext conftest.$ac_ext
76639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76641 if test `eval echo '${'$as_ac_var'}'` = yes; then
76642 cat >>confdefs.h <<_ACEOF
76643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76644 _ACEOF
76647 done
76650 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76651 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76652 if test x"$has_weof" = xyes &&
76653 test x"$has_wchar_minmax" = xyes &&
76654 test x"$ac_wfuncs" = xyes;
76655 then
76656 ac_isoC99_wchar_t=yes
76657 else
76658 ac_isoC99_wchar_t=no
76660 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76661 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76663 # Use iconv for wchar_t to char conversions. As such, check for
76664 # X/Open Portability Guide, version 2 features (XPG2).
76665 if test "${ac_cv_header_iconv_h+set}" = set; then
76666 echo "$as_me:$LINENO: checking for iconv.h" >&5
76667 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76668 if test "${ac_cv_header_iconv_h+set}" = set; then
76669 echo $ECHO_N "(cached) $ECHO_C" >&6
76671 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76672 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76673 else
76674 # Is the header compilable?
76675 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76676 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76677 cat >conftest.$ac_ext <<_ACEOF
76678 /* confdefs.h. */
76679 _ACEOF
76680 cat confdefs.h >>conftest.$ac_ext
76681 cat >>conftest.$ac_ext <<_ACEOF
76682 /* end confdefs.h. */
76683 $ac_includes_default
76684 #include <iconv.h>
76685 _ACEOF
76686 rm -f conftest.$ac_objext
76687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76688 (eval $ac_compile) 2>conftest.er1
76689 ac_status=$?
76690 grep -v '^ *+' conftest.er1 >conftest.err
76691 rm -f conftest.er1
76692 cat conftest.err >&5
76693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76694 (exit $ac_status); } &&
76695 { ac_try='test -z "$ac_c_werror_flag"
76696 || test ! -s conftest.err'
76697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76698 (eval $ac_try) 2>&5
76699 ac_status=$?
76700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76701 (exit $ac_status); }; } &&
76702 { ac_try='test -s conftest.$ac_objext'
76703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76704 (eval $ac_try) 2>&5
76705 ac_status=$?
76706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76707 (exit $ac_status); }; }; then
76708 ac_header_compiler=yes
76709 else
76710 echo "$as_me: failed program was:" >&5
76711 sed 's/^/| /' conftest.$ac_ext >&5
76713 ac_header_compiler=no
76715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76717 echo "${ECHO_T}$ac_header_compiler" >&6
76719 # Is the header present?
76720 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76721 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76722 cat >conftest.$ac_ext <<_ACEOF
76723 /* confdefs.h. */
76724 _ACEOF
76725 cat confdefs.h >>conftest.$ac_ext
76726 cat >>conftest.$ac_ext <<_ACEOF
76727 /* end confdefs.h. */
76728 #include <iconv.h>
76729 _ACEOF
76730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76732 ac_status=$?
76733 grep -v '^ *+' conftest.er1 >conftest.err
76734 rm -f conftest.er1
76735 cat conftest.err >&5
76736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76737 (exit $ac_status); } >/dev/null; then
76738 if test -s conftest.err; then
76739 ac_cpp_err=$ac_c_preproc_warn_flag
76740 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76741 else
76742 ac_cpp_err=
76744 else
76745 ac_cpp_err=yes
76747 if test -z "$ac_cpp_err"; then
76748 ac_header_preproc=yes
76749 else
76750 echo "$as_me: failed program was:" >&5
76751 sed 's/^/| /' conftest.$ac_ext >&5
76753 ac_header_preproc=no
76755 rm -f conftest.err conftest.$ac_ext
76756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76757 echo "${ECHO_T}$ac_header_preproc" >&6
76759 # So? What about this header?
76760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76761 yes:no: )
76762 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76763 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76764 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76765 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76766 ac_header_preproc=yes
76768 no:yes:* )
76769 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76770 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76771 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76772 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76773 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76774 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76775 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76776 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76777 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76778 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76779 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76780 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76782 cat <<\_ASBOX
76783 ## ----------------------------------------- ##
76784 ## Report this to the package-unused lists. ##
76785 ## ----------------------------------------- ##
76786 _ASBOX
76788 sed "s/^/$as_me: WARNING: /" >&2
76790 esac
76791 echo "$as_me:$LINENO: checking for iconv.h" >&5
76792 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76793 if test "${ac_cv_header_iconv_h+set}" = set; then
76794 echo $ECHO_N "(cached) $ECHO_C" >&6
76795 else
76796 ac_cv_header_iconv_h=$ac_header_preproc
76798 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76799 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76802 if test $ac_cv_header_iconv_h = yes; then
76803 ac_has_iconv_h=yes
76804 else
76805 ac_has_iconv_h=no
76809 if test "${ac_cv_header_langinfo_h+set}" = set; then
76810 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76811 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76812 if test "${ac_cv_header_langinfo_h+set}" = set; then
76813 echo $ECHO_N "(cached) $ECHO_C" >&6
76815 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76816 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76817 else
76818 # Is the header compilable?
76819 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76820 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76821 cat >conftest.$ac_ext <<_ACEOF
76822 /* confdefs.h. */
76823 _ACEOF
76824 cat confdefs.h >>conftest.$ac_ext
76825 cat >>conftest.$ac_ext <<_ACEOF
76826 /* end confdefs.h. */
76827 $ac_includes_default
76828 #include <langinfo.h>
76829 _ACEOF
76830 rm -f conftest.$ac_objext
76831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76832 (eval $ac_compile) 2>conftest.er1
76833 ac_status=$?
76834 grep -v '^ *+' conftest.er1 >conftest.err
76835 rm -f conftest.er1
76836 cat conftest.err >&5
76837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76838 (exit $ac_status); } &&
76839 { ac_try='test -z "$ac_c_werror_flag"
76840 || test ! -s conftest.err'
76841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76842 (eval $ac_try) 2>&5
76843 ac_status=$?
76844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76845 (exit $ac_status); }; } &&
76846 { ac_try='test -s conftest.$ac_objext'
76847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76848 (eval $ac_try) 2>&5
76849 ac_status=$?
76850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76851 (exit $ac_status); }; }; then
76852 ac_header_compiler=yes
76853 else
76854 echo "$as_me: failed program was:" >&5
76855 sed 's/^/| /' conftest.$ac_ext >&5
76857 ac_header_compiler=no
76859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76861 echo "${ECHO_T}$ac_header_compiler" >&6
76863 # Is the header present?
76864 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76865 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76866 cat >conftest.$ac_ext <<_ACEOF
76867 /* confdefs.h. */
76868 _ACEOF
76869 cat confdefs.h >>conftest.$ac_ext
76870 cat >>conftest.$ac_ext <<_ACEOF
76871 /* end confdefs.h. */
76872 #include <langinfo.h>
76873 _ACEOF
76874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76876 ac_status=$?
76877 grep -v '^ *+' conftest.er1 >conftest.err
76878 rm -f conftest.er1
76879 cat conftest.err >&5
76880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76881 (exit $ac_status); } >/dev/null; then
76882 if test -s conftest.err; then
76883 ac_cpp_err=$ac_c_preproc_warn_flag
76884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76885 else
76886 ac_cpp_err=
76888 else
76889 ac_cpp_err=yes
76891 if test -z "$ac_cpp_err"; then
76892 ac_header_preproc=yes
76893 else
76894 echo "$as_me: failed program was:" >&5
76895 sed 's/^/| /' conftest.$ac_ext >&5
76897 ac_header_preproc=no
76899 rm -f conftest.err conftest.$ac_ext
76900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76901 echo "${ECHO_T}$ac_header_preproc" >&6
76903 # So? What about this header?
76904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76905 yes:no: )
76906 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76907 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76908 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76909 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76910 ac_header_preproc=yes
76912 no:yes:* )
76913 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76914 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76915 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76916 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76917 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76918 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76920 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76921 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76922 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76923 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76924 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76926 cat <<\_ASBOX
76927 ## ----------------------------------------- ##
76928 ## Report this to the package-unused lists. ##
76929 ## ----------------------------------------- ##
76930 _ASBOX
76932 sed "s/^/$as_me: WARNING: /" >&2
76934 esac
76935 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76936 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76937 if test "${ac_cv_header_langinfo_h+set}" = set; then
76938 echo $ECHO_N "(cached) $ECHO_C" >&6
76939 else
76940 ac_cv_header_langinfo_h=$ac_header_preproc
76942 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76943 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76946 if test $ac_cv_header_langinfo_h = yes; then
76947 ac_has_langinfo_h=yes
76948 else
76949 ac_has_langinfo_h=no
76954 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76955 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76956 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76957 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76958 echo $ECHO_N "(cached) $ECHO_C" >&6
76959 else
76960 ac_check_lib_save_LIBS=$LIBS
76961 LIBS="-liconv $LIBS"
76962 if test x$gcc_no_link = xyes; then
76963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76965 { (exit 1); exit 1; }; }
76967 cat >conftest.$ac_ext <<_ACEOF
76968 /* confdefs.h. */
76969 _ACEOF
76970 cat confdefs.h >>conftest.$ac_ext
76971 cat >>conftest.$ac_ext <<_ACEOF
76972 /* end confdefs.h. */
76974 /* Override any gcc2 internal prototype to avoid an error. */
76975 #ifdef __cplusplus
76976 extern "C"
76977 #endif
76978 /* We use char because int might match the return type of a gcc2
76979 builtin and then its argument prototype would still apply. */
76980 char iconv ();
76982 main ()
76984 iconv ();
76986 return 0;
76988 _ACEOF
76989 rm -f conftest.$ac_objext conftest$ac_exeext
76990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76991 (eval $ac_link) 2>conftest.er1
76992 ac_status=$?
76993 grep -v '^ *+' conftest.er1 >conftest.err
76994 rm -f conftest.er1
76995 cat conftest.err >&5
76996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76997 (exit $ac_status); } &&
76998 { ac_try='test -z "$ac_c_werror_flag"
76999 || test ! -s conftest.err'
77000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77001 (eval $ac_try) 2>&5
77002 ac_status=$?
77003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77004 (exit $ac_status); }; } &&
77005 { ac_try='test -s conftest$ac_exeext'
77006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77007 (eval $ac_try) 2>&5
77008 ac_status=$?
77009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77010 (exit $ac_status); }; }; then
77011 ac_cv_lib_iconv_iconv=yes
77012 else
77013 echo "$as_me: failed program was:" >&5
77014 sed 's/^/| /' conftest.$ac_ext >&5
77016 ac_cv_lib_iconv_iconv=no
77018 rm -f conftest.err conftest.$ac_objext \
77019 conftest$ac_exeext conftest.$ac_ext
77020 LIBS=$ac_check_lib_save_LIBS
77022 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77023 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77024 if test $ac_cv_lib_iconv_iconv = yes; then
77025 LIBICONV="-liconv"
77028 ac_save_LIBS="$LIBS"
77029 LIBS="$LIBS $LIBICONV"
77036 for ac_func in iconv_open iconv_close iconv nl_langinfo
77038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77039 echo "$as_me:$LINENO: checking for $ac_func" >&5
77040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77041 if eval "test \"\${$as_ac_var+set}\" = set"; then
77042 echo $ECHO_N "(cached) $ECHO_C" >&6
77043 else
77044 if test x$gcc_no_link = xyes; then
77045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77047 { (exit 1); exit 1; }; }
77049 cat >conftest.$ac_ext <<_ACEOF
77050 /* confdefs.h. */
77051 _ACEOF
77052 cat confdefs.h >>conftest.$ac_ext
77053 cat >>conftest.$ac_ext <<_ACEOF
77054 /* end confdefs.h. */
77055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77057 #define $ac_func innocuous_$ac_func
77059 /* System header to define __stub macros and hopefully few prototypes,
77060 which can conflict with char $ac_func (); below.
77061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77062 <limits.h> exists even on freestanding compilers. */
77064 #ifdef __STDC__
77065 # include <limits.h>
77066 #else
77067 # include <assert.h>
77068 #endif
77070 #undef $ac_func
77072 /* Override any gcc2 internal prototype to avoid an error. */
77073 #ifdef __cplusplus
77074 extern "C"
77076 #endif
77077 /* We use char because int might match the return type of a gcc2
77078 builtin and then its argument prototype would still apply. */
77079 char $ac_func ();
77080 /* The GNU C library defines this for functions which it implements
77081 to always fail with ENOSYS. Some functions are actually named
77082 something starting with __ and the normal name is an alias. */
77083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77084 choke me
77085 #else
77086 char (*f) () = $ac_func;
77087 #endif
77088 #ifdef __cplusplus
77090 #endif
77093 main ()
77095 return f != $ac_func;
77097 return 0;
77099 _ACEOF
77100 rm -f conftest.$ac_objext conftest$ac_exeext
77101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77102 (eval $ac_link) 2>conftest.er1
77103 ac_status=$?
77104 grep -v '^ *+' conftest.er1 >conftest.err
77105 rm -f conftest.er1
77106 cat conftest.err >&5
77107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77108 (exit $ac_status); } &&
77109 { ac_try='test -z "$ac_c_werror_flag"
77110 || test ! -s conftest.err'
77111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77112 (eval $ac_try) 2>&5
77113 ac_status=$?
77114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77115 (exit $ac_status); }; } &&
77116 { ac_try='test -s conftest$ac_exeext'
77117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77118 (eval $ac_try) 2>&5
77119 ac_status=$?
77120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77121 (exit $ac_status); }; }; then
77122 eval "$as_ac_var=yes"
77123 else
77124 echo "$as_me: failed program was:" >&5
77125 sed 's/^/| /' conftest.$ac_ext >&5
77127 eval "$as_ac_var=no"
77129 rm -f conftest.err conftest.$ac_objext \
77130 conftest$ac_exeext conftest.$ac_ext
77132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77134 if test `eval echo '${'$as_ac_var'}'` = yes; then
77135 cat >>confdefs.h <<_ACEOF
77136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77137 _ACEOF
77138 ac_XPG2funcs=yes
77139 else
77140 ac_XPG2funcs=no
77142 done
77145 LIBS="$ac_save_LIBS"
77147 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77148 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77149 if test x"$ac_has_iconv_h" = xyes &&
77150 test x"$ac_has_langinfo_h" = xyes &&
77151 test x"$ac_XPG2funcs" = xyes;
77152 then
77153 ac_XPG2_wchar_t=yes
77154 else
77155 ac_XPG2_wchar_t=no
77157 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77158 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77160 # At the moment, only enable wchar_t specializations if all the
77161 # above support is present.
77162 if test x"$ac_isoC99_wchar_t" = xyes &&
77163 test x"$ac_XPG2_wchar_t" = xyes;
77164 then
77165 cat >>confdefs.h <<\_ACEOF
77166 #define _GLIBCXX_USE_WCHAR_T 1
77167 _ACEOF
77169 enable_wchar_t=yes
77172 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77173 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77174 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77175 echo "${ECHO_T}$enable_wchar_t" >&6
77177 cat >>confdefs.h <<\_ACEOF
77178 #define HAVE_LC_MESSAGES 1
77179 _ACEOF
77181 cat >>confdefs.h <<\_ACEOF
77182 #define HAVE_GETPAGESIZE 1
77183 _ACEOF
77185 cat >>confdefs.h <<\_ACEOF
77186 #define HAVE_SETENV 1
77187 _ACEOF
77189 cat >>confdefs.h <<\_ACEOF
77190 #define HAVE_SIGSETJMP 1
77191 _ACEOF
77193 cat >>confdefs.h <<\_ACEOF
77194 #define HAVE_COPYSIGN 1
77195 _ACEOF
77197 cat >>confdefs.h <<\_ACEOF
77198 #define HAVE_COPYSIGNF 1
77199 _ACEOF
77201 cat >>confdefs.h <<\_ACEOF
77202 #define HAVE_FINITEF 1
77203 _ACEOF
77205 cat >>confdefs.h <<\_ACEOF
77206 #define HAVE_FINITE 1
77207 _ACEOF
77209 cat >>confdefs.h <<\_ACEOF
77210 #define HAVE_FREXPF 1
77211 _ACEOF
77213 cat >>confdefs.h <<\_ACEOF
77214 #define HAVE_HYPOT 1
77215 _ACEOF
77217 cat >>confdefs.h <<\_ACEOF
77218 #define HAVE_HYPOTF 1
77219 _ACEOF
77221 cat >>confdefs.h <<\_ACEOF
77222 #define HAVE_ISINF 1
77223 _ACEOF
77225 cat >>confdefs.h <<\_ACEOF
77226 #define HAVE_ISNAN 1
77227 _ACEOF
77229 cat >>confdefs.h <<\_ACEOF
77230 #define HAVE_ISNANF 1
77231 _ACEOF
77234 cat >>confdefs.h <<\_ACEOF
77235 #define HAVE_MMAP 1
77236 _ACEOF
77238 cat >>confdefs.h <<\_ACEOF
77239 #define HAVE_ACOSF 1
77240 _ACEOF
77242 cat >>confdefs.h <<\_ACEOF
77243 #define HAVE_ASINF 1
77244 _ACEOF
77246 cat >>confdefs.h <<\_ACEOF
77247 #define HAVE_ATAN2F 1
77248 _ACEOF
77250 cat >>confdefs.h <<\_ACEOF
77251 #define HAVE_ATANF 1
77252 _ACEOF
77254 cat >>confdefs.h <<\_ACEOF
77255 #define HAVE_CEILF 1
77256 _ACEOF
77258 cat >>confdefs.h <<\_ACEOF
77259 #define HAVE_COPYSIGN 1
77260 _ACEOF
77262 cat >>confdefs.h <<\_ACEOF
77263 #define HAVE_COPYSIGNF 1
77264 _ACEOF
77266 cat >>confdefs.h <<\_ACEOF
77267 #define HAVE_COSF 1
77268 _ACEOF
77270 cat >>confdefs.h <<\_ACEOF
77271 #define HAVE_COSHF 1
77272 _ACEOF
77274 cat >>confdefs.h <<\_ACEOF
77275 #define HAVE_EXPF 1
77276 _ACEOF
77278 cat >>confdefs.h <<\_ACEOF
77279 #define HAVE_FABSF 1
77280 _ACEOF
77282 cat >>confdefs.h <<\_ACEOF
77283 #define HAVE_FLOORF 1
77284 _ACEOF
77286 cat >>confdefs.h <<\_ACEOF
77287 #define HAVE_FMODF 1
77288 _ACEOF
77290 cat >>confdefs.h <<\_ACEOF
77291 #define HAVE_FREXPF 1
77292 _ACEOF
77294 cat >>confdefs.h <<\_ACEOF
77295 #define HAVE_LDEXPF 1
77296 _ACEOF
77298 cat >>confdefs.h <<\_ACEOF
77299 #define HAVE_LOG10F 1
77300 _ACEOF
77302 cat >>confdefs.h <<\_ACEOF
77303 #define HAVE_LOGF 1
77304 _ACEOF
77306 cat >>confdefs.h <<\_ACEOF
77307 #define HAVE_MODFF 1
77308 _ACEOF
77310 cat >>confdefs.h <<\_ACEOF
77311 #define HAVE_POWF 1
77312 _ACEOF
77314 cat >>confdefs.h <<\_ACEOF
77315 #define HAVE_SINF 1
77316 _ACEOF
77318 cat >>confdefs.h <<\_ACEOF
77319 #define HAVE_SINHF 1
77320 _ACEOF
77322 cat >>confdefs.h <<\_ACEOF
77323 #define HAVE_SQRTF 1
77324 _ACEOF
77326 cat >>confdefs.h <<\_ACEOF
77327 #define HAVE_TANF 1
77328 _ACEOF
77330 cat >>confdefs.h <<\_ACEOF
77331 #define HAVE_TANHF 1
77332 _ACEOF
77334 if test x"long_double_math_on_this_cpu" = x"yes"; then
77335 cat >>confdefs.h <<\_ACEOF
77336 #define HAVE_FINITEL 1
77337 _ACEOF
77339 cat >>confdefs.h <<\_ACEOF
77340 #define HAVE_ISINFL 1
77341 _ACEOF
77343 cat >>confdefs.h <<\_ACEOF
77344 #define HAVE_ISNANL 1
77345 _ACEOF
77349 *-hpux*)
77362 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77363 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77364 fp.h locale.h float.h inttypes.h
77366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77368 echo "$as_me:$LINENO: checking for $ac_header" >&5
77369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77371 echo $ECHO_N "(cached) $ECHO_C" >&6
77373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77375 else
77376 # Is the header compilable?
77377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77379 cat >conftest.$ac_ext <<_ACEOF
77380 /* confdefs.h. */
77381 _ACEOF
77382 cat confdefs.h >>conftest.$ac_ext
77383 cat >>conftest.$ac_ext <<_ACEOF
77384 /* end confdefs.h. */
77385 $ac_includes_default
77386 #include <$ac_header>
77387 _ACEOF
77388 rm -f conftest.$ac_objext
77389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77390 (eval $ac_compile) 2>conftest.er1
77391 ac_status=$?
77392 grep -v '^ *+' conftest.er1 >conftest.err
77393 rm -f conftest.er1
77394 cat conftest.err >&5
77395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77396 (exit $ac_status); } &&
77397 { ac_try='test -z "$ac_c_werror_flag"
77398 || test ! -s conftest.err'
77399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77400 (eval $ac_try) 2>&5
77401 ac_status=$?
77402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77403 (exit $ac_status); }; } &&
77404 { ac_try='test -s conftest.$ac_objext'
77405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77406 (eval $ac_try) 2>&5
77407 ac_status=$?
77408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77409 (exit $ac_status); }; }; then
77410 ac_header_compiler=yes
77411 else
77412 echo "$as_me: failed program was:" >&5
77413 sed 's/^/| /' conftest.$ac_ext >&5
77415 ac_header_compiler=no
77417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77419 echo "${ECHO_T}$ac_header_compiler" >&6
77421 # Is the header present?
77422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77424 cat >conftest.$ac_ext <<_ACEOF
77425 /* confdefs.h. */
77426 _ACEOF
77427 cat confdefs.h >>conftest.$ac_ext
77428 cat >>conftest.$ac_ext <<_ACEOF
77429 /* end confdefs.h. */
77430 #include <$ac_header>
77431 _ACEOF
77432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77434 ac_status=$?
77435 grep -v '^ *+' conftest.er1 >conftest.err
77436 rm -f conftest.er1
77437 cat conftest.err >&5
77438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77439 (exit $ac_status); } >/dev/null; then
77440 if test -s conftest.err; then
77441 ac_cpp_err=$ac_c_preproc_warn_flag
77442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77443 else
77444 ac_cpp_err=
77446 else
77447 ac_cpp_err=yes
77449 if test -z "$ac_cpp_err"; then
77450 ac_header_preproc=yes
77451 else
77452 echo "$as_me: failed program was:" >&5
77453 sed 's/^/| /' conftest.$ac_ext >&5
77455 ac_header_preproc=no
77457 rm -f conftest.err conftest.$ac_ext
77458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77459 echo "${ECHO_T}$ac_header_preproc" >&6
77461 # So? What about this header?
77462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77463 yes:no: )
77464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77468 ac_header_preproc=yes
77470 no:yes:* )
77471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77484 cat <<\_ASBOX
77485 ## ----------------------------------------- ##
77486 ## Report this to the package-unused lists. ##
77487 ## ----------------------------------------- ##
77488 _ASBOX
77490 sed "s/^/$as_me: WARNING: /" >&2
77492 esac
77493 echo "$as_me:$LINENO: checking for $ac_header" >&5
77494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77496 echo $ECHO_N "(cached) $ECHO_C" >&6
77497 else
77498 eval "$as_ac_Header=\$ac_header_preproc"
77500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77505 cat >>confdefs.h <<_ACEOF
77506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77507 _ACEOF
77511 done
77513 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77516 # If we're not using GNU ld, then there's no point in even trying these
77517 # tests. Check for that first. We should have already tested for gld
77518 # by now (in libtool), but require it now just to be safe...
77519 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77520 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77524 # The name set by libtool depends on the version of libtool. Shame on us
77525 # for depending on an impl detail, but c'est la vie. Older versions used
77526 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77527 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77528 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77529 # set (hence we're using an older libtool), then set it.
77530 if test x${with_gnu_ld+set} != xset; then
77531 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77532 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77533 with_gnu_ld=no
77534 else
77535 with_gnu_ld=$ac_cv_prog_gnu_ld
77539 # Start by getting the version number. I think the libtool test already
77540 # does some of this, but throws away the result.
77542 ldver=`$LD --version 2>/dev/null | head -1 | \
77543 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77545 glibcxx_gnu_ld_version=`echo $ldver | \
77546 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77548 # Set --gc-sections.
77549 if test "$with_gnu_ld" = "notbroken"; then
77550 # GNU ld it is! Joy and bunny rabbits!
77552 # All these tests are for C++; save the language and the compiler flags.
77553 # Need to do this so that g++ won't try to link in libstdc++
77554 ac_test_CFLAGS="${CFLAGS+set}"
77555 ac_save_CFLAGS="$CFLAGS"
77556 CFLAGS='-x c++ -Wl,--gc-sections'
77558 # Check for -Wl,--gc-sections
77559 # XXX This test is broken at the moment, as symbols required for linking
77560 # are now in libsupc++ (not built yet). In addition, this test has
77561 # cored on solaris in the past. In addition, --gc-sections doesn't
77562 # really work at the moment (keeps on discarding used sections, first
77563 # .eh_frame and now some of the glibc sections for iconv).
77564 # Bzzzzt. Thanks for playing, maybe next time.
77565 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77566 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77567 if test "$cross_compiling" = yes; then
77568 ac_sectionLDflags=yes
77569 else
77570 cat >conftest.$ac_ext <<_ACEOF
77571 /* confdefs.h. */
77572 _ACEOF
77573 cat confdefs.h >>conftest.$ac_ext
77574 cat >>conftest.$ac_ext <<_ACEOF
77575 /* end confdefs.h. */
77577 int main(void)
77579 try { throw 1; }
77580 catch (...) { };
77581 return 0;
77584 _ACEOF
77585 rm -f conftest$ac_exeext
77586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77587 (eval $ac_link) 2>&5
77588 ac_status=$?
77589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77592 (eval $ac_try) 2>&5
77593 ac_status=$?
77594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77595 (exit $ac_status); }; }; then
77596 ac_sectionLDflags=yes
77597 else
77598 echo "$as_me: program exited with status $ac_status" >&5
77599 echo "$as_me: failed program was:" >&5
77600 sed 's/^/| /' conftest.$ac_ext >&5
77602 ( exit $ac_status )
77603 ac_sectionLDflags=no
77605 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77607 if test "$ac_test_CFLAGS" = set; then
77608 CFLAGS="$ac_save_CFLAGS"
77609 else
77610 # this is the suspicious part
77611 CFLAGS=''
77613 if test "$ac_sectionLDflags" = "yes"; then
77614 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77616 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77617 echo "${ECHO_T}$ac_sectionLDflags" >&6
77620 # Set linker optimization flags.
77621 if test x"$with_gnu_ld" = x"yes"; then
77622 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77630 echo "$as_me:$LINENO: checking for main in -lm" >&5
77631 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77632 if test "${ac_cv_lib_m_main+set}" = set; then
77633 echo $ECHO_N "(cached) $ECHO_C" >&6
77634 else
77635 ac_check_lib_save_LIBS=$LIBS
77636 LIBS="-lm $LIBS"
77637 if test x$gcc_no_link = xyes; then
77638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77640 { (exit 1); exit 1; }; }
77642 cat >conftest.$ac_ext <<_ACEOF
77643 /* confdefs.h. */
77644 _ACEOF
77645 cat confdefs.h >>conftest.$ac_ext
77646 cat >>conftest.$ac_ext <<_ACEOF
77647 /* end confdefs.h. */
77651 main ()
77653 main ();
77655 return 0;
77657 _ACEOF
77658 rm -f conftest.$ac_objext conftest$ac_exeext
77659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77660 (eval $ac_link) 2>conftest.er1
77661 ac_status=$?
77662 grep -v '^ *+' conftest.er1 >conftest.err
77663 rm -f conftest.er1
77664 cat conftest.err >&5
77665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77666 (exit $ac_status); } &&
77667 { ac_try='test -z "$ac_c_werror_flag"
77668 || test ! -s conftest.err'
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); }; } &&
77674 { ac_try='test -s conftest$ac_exeext'
77675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77676 (eval $ac_try) 2>&5
77677 ac_status=$?
77678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77679 (exit $ac_status); }; }; then
77680 ac_cv_lib_m_main=yes
77681 else
77682 echo "$as_me: failed program was:" >&5
77683 sed 's/^/| /' conftest.$ac_ext >&5
77685 ac_cv_lib_m_main=no
77687 rm -f conftest.err conftest.$ac_objext \
77688 conftest$ac_exeext conftest.$ac_ext
77689 LIBS=$ac_check_lib_save_LIBS
77691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77692 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77693 if test $ac_cv_lib_m_main = yes; then
77694 cat >>confdefs.h <<_ACEOF
77695 #define HAVE_LIBM 1
77696 _ACEOF
77698 LIBS="-lm $LIBS"
77703 for ac_func in copysignf
77705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77706 echo "$as_me:$LINENO: checking for $ac_func" >&5
77707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77708 if eval "test \"\${$as_ac_var+set}\" = set"; then
77709 echo $ECHO_N "(cached) $ECHO_C" >&6
77710 else
77711 if test x$gcc_no_link = xyes; then
77712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77714 { (exit 1); exit 1; }; }
77716 cat >conftest.$ac_ext <<_ACEOF
77717 /* confdefs.h. */
77718 _ACEOF
77719 cat confdefs.h >>conftest.$ac_ext
77720 cat >>conftest.$ac_ext <<_ACEOF
77721 /* end confdefs.h. */
77722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77724 #define $ac_func innocuous_$ac_func
77726 /* System header to define __stub macros and hopefully few prototypes,
77727 which can conflict with char $ac_func (); below.
77728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77729 <limits.h> exists even on freestanding compilers. */
77731 #ifdef __STDC__
77732 # include <limits.h>
77733 #else
77734 # include <assert.h>
77735 #endif
77737 #undef $ac_func
77739 /* Override any gcc2 internal prototype to avoid an error. */
77740 #ifdef __cplusplus
77741 extern "C"
77743 #endif
77744 /* We use char because int might match the return type of a gcc2
77745 builtin and then its argument prototype would still apply. */
77746 char $ac_func ();
77747 /* The GNU C library defines this for functions which it implements
77748 to always fail with ENOSYS. Some functions are actually named
77749 something starting with __ and the normal name is an alias. */
77750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77751 choke me
77752 #else
77753 char (*f) () = $ac_func;
77754 #endif
77755 #ifdef __cplusplus
77757 #endif
77760 main ()
77762 return f != $ac_func;
77764 return 0;
77766 _ACEOF
77767 rm -f conftest.$ac_objext conftest$ac_exeext
77768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77769 (eval $ac_link) 2>conftest.er1
77770 ac_status=$?
77771 grep -v '^ *+' conftest.er1 >conftest.err
77772 rm -f conftest.er1
77773 cat conftest.err >&5
77774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77775 (exit $ac_status); } &&
77776 { ac_try='test -z "$ac_c_werror_flag"
77777 || test ! -s conftest.err'
77778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77779 (eval $ac_try) 2>&5
77780 ac_status=$?
77781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77782 (exit $ac_status); }; } &&
77783 { ac_try='test -s conftest$ac_exeext'
77784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77785 (eval $ac_try) 2>&5
77786 ac_status=$?
77787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77788 (exit $ac_status); }; }; then
77789 eval "$as_ac_var=yes"
77790 else
77791 echo "$as_me: failed program was:" >&5
77792 sed 's/^/| /' conftest.$ac_ext >&5
77794 eval "$as_ac_var=no"
77796 rm -f conftest.err conftest.$ac_objext \
77797 conftest$ac_exeext conftest.$ac_ext
77799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77801 if test `eval echo '${'$as_ac_var'}'` = yes; then
77802 cat >>confdefs.h <<_ACEOF
77803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77804 _ACEOF
77806 else
77807 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77809 done
77813 for ac_func in __signbit
77815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77816 echo "$as_me:$LINENO: checking for $ac_func" >&5
77817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77818 if eval "test \"\${$as_ac_var+set}\" = set"; then
77819 echo $ECHO_N "(cached) $ECHO_C" >&6
77820 else
77821 if test x$gcc_no_link = xyes; then
77822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77824 { (exit 1); exit 1; }; }
77826 cat >conftest.$ac_ext <<_ACEOF
77827 /* confdefs.h. */
77828 _ACEOF
77829 cat confdefs.h >>conftest.$ac_ext
77830 cat >>conftest.$ac_ext <<_ACEOF
77831 /* end confdefs.h. */
77832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77834 #define $ac_func innocuous_$ac_func
77836 /* System header to define __stub macros and hopefully few prototypes,
77837 which can conflict with char $ac_func (); below.
77838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77839 <limits.h> exists even on freestanding compilers. */
77841 #ifdef __STDC__
77842 # include <limits.h>
77843 #else
77844 # include <assert.h>
77845 #endif
77847 #undef $ac_func
77849 /* Override any gcc2 internal prototype to avoid an error. */
77850 #ifdef __cplusplus
77851 extern "C"
77853 #endif
77854 /* We use char because int might match the return type of a gcc2
77855 builtin and then its argument prototype would still apply. */
77856 char $ac_func ();
77857 /* The GNU C library defines this for functions which it implements
77858 to always fail with ENOSYS. Some functions are actually named
77859 something starting with __ and the normal name is an alias. */
77860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77861 choke me
77862 #else
77863 char (*f) () = $ac_func;
77864 #endif
77865 #ifdef __cplusplus
77867 #endif
77870 main ()
77872 return f != $ac_func;
77874 return 0;
77876 _ACEOF
77877 rm -f conftest.$ac_objext conftest$ac_exeext
77878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77879 (eval $ac_link) 2>conftest.er1
77880 ac_status=$?
77881 grep -v '^ *+' conftest.er1 >conftest.err
77882 rm -f conftest.er1
77883 cat conftest.err >&5
77884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77885 (exit $ac_status); } &&
77886 { ac_try='test -z "$ac_c_werror_flag"
77887 || test ! -s conftest.err'
77888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77889 (eval $ac_try) 2>&5
77890 ac_status=$?
77891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77892 (exit $ac_status); }; } &&
77893 { ac_try='test -s conftest$ac_exeext'
77894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77895 (eval $ac_try) 2>&5
77896 ac_status=$?
77897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77898 (exit $ac_status); }; }; then
77899 eval "$as_ac_var=yes"
77900 else
77901 echo "$as_me: failed program was:" >&5
77902 sed 's/^/| /' conftest.$ac_ext >&5
77904 eval "$as_ac_var=no"
77906 rm -f conftest.err conftest.$ac_objext \
77907 conftest$ac_exeext conftest.$ac_ext
77909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77911 if test `eval echo '${'$as_ac_var'}'` = yes; then
77912 cat >>confdefs.h <<_ACEOF
77913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77914 _ACEOF
77916 else
77917 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77919 done
77923 for ac_func in __signbitf
77925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77926 echo "$as_me:$LINENO: checking for $ac_func" >&5
77927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77928 if eval "test \"\${$as_ac_var+set}\" = set"; then
77929 echo $ECHO_N "(cached) $ECHO_C" >&6
77930 else
77931 if test x$gcc_no_link = xyes; then
77932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77934 { (exit 1); exit 1; }; }
77936 cat >conftest.$ac_ext <<_ACEOF
77937 /* confdefs.h. */
77938 _ACEOF
77939 cat confdefs.h >>conftest.$ac_ext
77940 cat >>conftest.$ac_ext <<_ACEOF
77941 /* end confdefs.h. */
77942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77944 #define $ac_func innocuous_$ac_func
77946 /* System header to define __stub macros and hopefully few prototypes,
77947 which can conflict with char $ac_func (); below.
77948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77949 <limits.h> exists even on freestanding compilers. */
77951 #ifdef __STDC__
77952 # include <limits.h>
77953 #else
77954 # include <assert.h>
77955 #endif
77957 #undef $ac_func
77959 /* Override any gcc2 internal prototype to avoid an error. */
77960 #ifdef __cplusplus
77961 extern "C"
77963 #endif
77964 /* We use char because int might match the return type of a gcc2
77965 builtin and then its argument prototype would still apply. */
77966 char $ac_func ();
77967 /* The GNU C library defines this for functions which it implements
77968 to always fail with ENOSYS. Some functions are actually named
77969 something starting with __ and the normal name is an alias. */
77970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77971 choke me
77972 #else
77973 char (*f) () = $ac_func;
77974 #endif
77975 #ifdef __cplusplus
77977 #endif
77980 main ()
77982 return f != $ac_func;
77984 return 0;
77986 _ACEOF
77987 rm -f conftest.$ac_objext conftest$ac_exeext
77988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77989 (eval $ac_link) 2>conftest.er1
77990 ac_status=$?
77991 grep -v '^ *+' conftest.er1 >conftest.err
77992 rm -f conftest.er1
77993 cat conftest.err >&5
77994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77995 (exit $ac_status); } &&
77996 { ac_try='test -z "$ac_c_werror_flag"
77997 || test ! -s conftest.err'
77998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77999 (eval $ac_try) 2>&5
78000 ac_status=$?
78001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78002 (exit $ac_status); }; } &&
78003 { ac_try='test -s conftest$ac_exeext'
78004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78005 (eval $ac_try) 2>&5
78006 ac_status=$?
78007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78008 (exit $ac_status); }; }; then
78009 eval "$as_ac_var=yes"
78010 else
78011 echo "$as_me: failed program was:" >&5
78012 sed 's/^/| /' conftest.$ac_ext >&5
78014 eval "$as_ac_var=no"
78016 rm -f conftest.err conftest.$ac_objext \
78017 conftest$ac_exeext conftest.$ac_ext
78019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78021 if test `eval echo '${'$as_ac_var'}'` = yes; then
78022 cat >>confdefs.h <<_ACEOF
78023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78024 _ACEOF
78026 else
78027 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78029 done
78032 if test x$ac_cv_func_copysignl = x"yes"; then
78034 for ac_func in __signbitl
78036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78037 echo "$as_me:$LINENO: checking for $ac_func" >&5
78038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78039 if eval "test \"\${$as_ac_var+set}\" = set"; then
78040 echo $ECHO_N "(cached) $ECHO_C" >&6
78041 else
78042 if test x$gcc_no_link = xyes; then
78043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78045 { (exit 1); exit 1; }; }
78047 cat >conftest.$ac_ext <<_ACEOF
78048 /* confdefs.h. */
78049 _ACEOF
78050 cat confdefs.h >>conftest.$ac_ext
78051 cat >>conftest.$ac_ext <<_ACEOF
78052 /* end confdefs.h. */
78053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78055 #define $ac_func innocuous_$ac_func
78057 /* System header to define __stub macros and hopefully few prototypes,
78058 which can conflict with char $ac_func (); below.
78059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78060 <limits.h> exists even on freestanding compilers. */
78062 #ifdef __STDC__
78063 # include <limits.h>
78064 #else
78065 # include <assert.h>
78066 #endif
78068 #undef $ac_func
78070 /* Override any gcc2 internal prototype to avoid an error. */
78071 #ifdef __cplusplus
78072 extern "C"
78074 #endif
78075 /* We use char because int might match the return type of a gcc2
78076 builtin and then its argument prototype would still apply. */
78077 char $ac_func ();
78078 /* The GNU C library defines this for functions which it implements
78079 to always fail with ENOSYS. Some functions are actually named
78080 something starting with __ and the normal name is an alias. */
78081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78082 choke me
78083 #else
78084 char (*f) () = $ac_func;
78085 #endif
78086 #ifdef __cplusplus
78088 #endif
78091 main ()
78093 return f != $ac_func;
78095 return 0;
78097 _ACEOF
78098 rm -f conftest.$ac_objext conftest$ac_exeext
78099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78100 (eval $ac_link) 2>conftest.er1
78101 ac_status=$?
78102 grep -v '^ *+' conftest.er1 >conftest.err
78103 rm -f conftest.er1
78104 cat conftest.err >&5
78105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78106 (exit $ac_status); } &&
78107 { ac_try='test -z "$ac_c_werror_flag"
78108 || test ! -s conftest.err'
78109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78110 (eval $ac_try) 2>&5
78111 ac_status=$?
78112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78113 (exit $ac_status); }; } &&
78114 { ac_try='test -s conftest$ac_exeext'
78115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78116 (eval $ac_try) 2>&5
78117 ac_status=$?
78118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78119 (exit $ac_status); }; }; then
78120 eval "$as_ac_var=yes"
78121 else
78122 echo "$as_me: failed program was:" >&5
78123 sed 's/^/| /' conftest.$ac_ext >&5
78125 eval "$as_ac_var=no"
78127 rm -f conftest.err conftest.$ac_objext \
78128 conftest$ac_exeext conftest.$ac_ext
78130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78132 if test `eval echo '${'$as_ac_var'}'` = yes; then
78133 cat >>confdefs.h <<_ACEOF
78134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78135 _ACEOF
78137 else
78138 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78140 done
78144 # Used in libmath/Makefile.am.
78145 if test -n "$LIBMATHOBJS"; then
78146 need_libmath=yes
78151 # Test wchar.h for mbstate_t, which is needed for char_traits and
78152 # others even if wchar_t support is not on.
78153 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78154 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78155 cat >conftest.$ac_ext <<_ACEOF
78156 /* confdefs.h. */
78157 _ACEOF
78158 cat confdefs.h >>conftest.$ac_ext
78159 cat >>conftest.$ac_ext <<_ACEOF
78160 /* end confdefs.h. */
78161 #include <wchar.h>
78163 main ()
78165 mbstate_t teststate;
78167 return 0;
78169 _ACEOF
78170 rm -f conftest.$ac_objext
78171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78172 (eval $ac_compile) 2>conftest.er1
78173 ac_status=$?
78174 grep -v '^ *+' conftest.er1 >conftest.err
78175 rm -f conftest.er1
78176 cat conftest.err >&5
78177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78178 (exit $ac_status); } &&
78179 { ac_try='test -z "$ac_c_werror_flag"
78180 || test ! -s conftest.err'
78181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78182 (eval $ac_try) 2>&5
78183 ac_status=$?
78184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78185 (exit $ac_status); }; } &&
78186 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
78192 have_mbstate_t=yes
78193 else
78194 echo "$as_me: failed program was:" >&5
78195 sed 's/^/| /' conftest.$ac_ext >&5
78197 have_mbstate_t=no
78199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78200 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78201 echo "${ECHO_T}$have_mbstate_t" >&6
78202 if test x"$have_mbstate_t" = xyes; then
78203 cat >>confdefs.h <<\_ACEOF
78204 #define HAVE_MBSTATE_T 1
78205 _ACEOF
78209 # Sanity check for existence of ISO C99 headers for extended encoding.
78211 for ac_header in wchar.h
78213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78215 echo "$as_me:$LINENO: checking for $ac_header" >&5
78216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78218 echo $ECHO_N "(cached) $ECHO_C" >&6
78220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78222 else
78223 # Is the header compilable?
78224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78226 cat >conftest.$ac_ext <<_ACEOF
78227 /* confdefs.h. */
78228 _ACEOF
78229 cat confdefs.h >>conftest.$ac_ext
78230 cat >>conftest.$ac_ext <<_ACEOF
78231 /* end confdefs.h. */
78232 $ac_includes_default
78233 #include <$ac_header>
78234 _ACEOF
78235 rm -f conftest.$ac_objext
78236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78237 (eval $ac_compile) 2>conftest.er1
78238 ac_status=$?
78239 grep -v '^ *+' conftest.er1 >conftest.err
78240 rm -f conftest.er1
78241 cat conftest.err >&5
78242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78243 (exit $ac_status); } &&
78244 { ac_try='test -z "$ac_c_werror_flag"
78245 || test ! -s conftest.err'
78246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78247 (eval $ac_try) 2>&5
78248 ac_status=$?
78249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78250 (exit $ac_status); }; } &&
78251 { ac_try='test -s conftest.$ac_objext'
78252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78253 (eval $ac_try) 2>&5
78254 ac_status=$?
78255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78256 (exit $ac_status); }; }; then
78257 ac_header_compiler=yes
78258 else
78259 echo "$as_me: failed program was:" >&5
78260 sed 's/^/| /' conftest.$ac_ext >&5
78262 ac_header_compiler=no
78264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78266 echo "${ECHO_T}$ac_header_compiler" >&6
78268 # Is the header present?
78269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78271 cat >conftest.$ac_ext <<_ACEOF
78272 /* confdefs.h. */
78273 _ACEOF
78274 cat confdefs.h >>conftest.$ac_ext
78275 cat >>conftest.$ac_ext <<_ACEOF
78276 /* end confdefs.h. */
78277 #include <$ac_header>
78278 _ACEOF
78279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78281 ac_status=$?
78282 grep -v '^ *+' conftest.er1 >conftest.err
78283 rm -f conftest.er1
78284 cat conftest.err >&5
78285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78286 (exit $ac_status); } >/dev/null; then
78287 if test -s conftest.err; then
78288 ac_cpp_err=$ac_c_preproc_warn_flag
78289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78290 else
78291 ac_cpp_err=
78293 else
78294 ac_cpp_err=yes
78296 if test -z "$ac_cpp_err"; then
78297 ac_header_preproc=yes
78298 else
78299 echo "$as_me: failed program was:" >&5
78300 sed 's/^/| /' conftest.$ac_ext >&5
78302 ac_header_preproc=no
78304 rm -f conftest.err conftest.$ac_ext
78305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78306 echo "${ECHO_T}$ac_header_preproc" >&6
78308 # So? What about this header?
78309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78310 yes:no: )
78311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78315 ac_header_preproc=yes
78317 no:yes:* )
78318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78331 cat <<\_ASBOX
78332 ## ----------------------------------------- ##
78333 ## Report this to the package-unused lists. ##
78334 ## ----------------------------------------- ##
78335 _ASBOX
78337 sed "s/^/$as_me: WARNING: /" >&2
78339 esac
78340 echo "$as_me:$LINENO: checking for $ac_header" >&5
78341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78343 echo $ECHO_N "(cached) $ECHO_C" >&6
78344 else
78345 eval "$as_ac_Header=\$ac_header_preproc"
78347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78352 cat >>confdefs.h <<_ACEOF
78353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78354 _ACEOF
78355 ac_has_wchar_h=yes
78356 else
78357 ac_has_wchar_h=no
78360 done
78363 for ac_header in wctype.h
78365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78367 echo "$as_me:$LINENO: checking for $ac_header" >&5
78368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78370 echo $ECHO_N "(cached) $ECHO_C" >&6
78372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78374 else
78375 # Is the header compilable?
78376 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78378 cat >conftest.$ac_ext <<_ACEOF
78379 /* confdefs.h. */
78380 _ACEOF
78381 cat confdefs.h >>conftest.$ac_ext
78382 cat >>conftest.$ac_ext <<_ACEOF
78383 /* end confdefs.h. */
78384 $ac_includes_default
78385 #include <$ac_header>
78386 _ACEOF
78387 rm -f conftest.$ac_objext
78388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78389 (eval $ac_compile) 2>conftest.er1
78390 ac_status=$?
78391 grep -v '^ *+' conftest.er1 >conftest.err
78392 rm -f conftest.er1
78393 cat conftest.err >&5
78394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78395 (exit $ac_status); } &&
78396 { ac_try='test -z "$ac_c_werror_flag"
78397 || test ! -s conftest.err'
78398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78399 (eval $ac_try) 2>&5
78400 ac_status=$?
78401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78402 (exit $ac_status); }; } &&
78403 { ac_try='test -s conftest.$ac_objext'
78404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78405 (eval $ac_try) 2>&5
78406 ac_status=$?
78407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78408 (exit $ac_status); }; }; then
78409 ac_header_compiler=yes
78410 else
78411 echo "$as_me: failed program was:" >&5
78412 sed 's/^/| /' conftest.$ac_ext >&5
78414 ac_header_compiler=no
78416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78418 echo "${ECHO_T}$ac_header_compiler" >&6
78420 # Is the header present?
78421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78423 cat >conftest.$ac_ext <<_ACEOF
78424 /* confdefs.h. */
78425 _ACEOF
78426 cat confdefs.h >>conftest.$ac_ext
78427 cat >>conftest.$ac_ext <<_ACEOF
78428 /* end confdefs.h. */
78429 #include <$ac_header>
78430 _ACEOF
78431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78433 ac_status=$?
78434 grep -v '^ *+' conftest.er1 >conftest.err
78435 rm -f conftest.er1
78436 cat conftest.err >&5
78437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78438 (exit $ac_status); } >/dev/null; then
78439 if test -s conftest.err; then
78440 ac_cpp_err=$ac_c_preproc_warn_flag
78441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78442 else
78443 ac_cpp_err=
78445 else
78446 ac_cpp_err=yes
78448 if test -z "$ac_cpp_err"; then
78449 ac_header_preproc=yes
78450 else
78451 echo "$as_me: failed program was:" >&5
78452 sed 's/^/| /' conftest.$ac_ext >&5
78454 ac_header_preproc=no
78456 rm -f conftest.err conftest.$ac_ext
78457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78458 echo "${ECHO_T}$ac_header_preproc" >&6
78460 # So? What about this header?
78461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78462 yes:no: )
78463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78467 ac_header_preproc=yes
78469 no:yes:* )
78470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78483 cat <<\_ASBOX
78484 ## ----------------------------------------- ##
78485 ## Report this to the package-unused lists. ##
78486 ## ----------------------------------------- ##
78487 _ASBOX
78489 sed "s/^/$as_me: WARNING: /" >&2
78491 esac
78492 echo "$as_me:$LINENO: checking for $ac_header" >&5
78493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78495 echo $ECHO_N "(cached) $ECHO_C" >&6
78496 else
78497 eval "$as_ac_Header=\$ac_header_preproc"
78499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78504 cat >>confdefs.h <<_ACEOF
78505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78506 _ACEOF
78507 ac_has_wctype_h=yes
78508 else
78509 ac_has_wctype_h=no
78512 done
78515 # Only continue checking if the ISO C99 headers exist and support is on.
78516 if test x"$ac_has_wchar_h" = xyes &&
78517 test x"$ac_has_wctype_h" = xyes &&
78518 test x"$enable_c_mbchar" != xno; then
78520 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78521 # numeric_limits can instantiate type_traits<wchar_t>
78522 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78523 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78524 cat >conftest.$ac_ext <<_ACEOF
78525 /* confdefs.h. */
78526 _ACEOF
78527 cat confdefs.h >>conftest.$ac_ext
78528 cat >>conftest.$ac_ext <<_ACEOF
78529 /* end confdefs.h. */
78530 #include <wchar.h>
78532 main ()
78534 int i = WCHAR_MIN; int j = WCHAR_MAX;
78536 return 0;
78538 _ACEOF
78539 rm -f conftest.$ac_objext
78540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78541 (eval $ac_compile) 2>conftest.er1
78542 ac_status=$?
78543 grep -v '^ *+' conftest.er1 >conftest.err
78544 rm -f conftest.er1
78545 cat conftest.err >&5
78546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78547 (exit $ac_status); } &&
78548 { ac_try='test -z "$ac_c_werror_flag"
78549 || test ! -s conftest.err'
78550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78551 (eval $ac_try) 2>&5
78552 ac_status=$?
78553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78554 (exit $ac_status); }; } &&
78555 { ac_try='test -s conftest.$ac_objext'
78556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78557 (eval $ac_try) 2>&5
78558 ac_status=$?
78559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78560 (exit $ac_status); }; }; then
78561 has_wchar_minmax=yes
78562 else
78563 echo "$as_me: failed program was:" >&5
78564 sed 's/^/| /' conftest.$ac_ext >&5
78566 has_wchar_minmax=no
78568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78569 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78570 echo "${ECHO_T}$has_wchar_minmax" >&6
78572 # Test wchar.h for WEOF, which is what we use to determine whether
78573 # to specialize for char_traits<wchar_t> or not.
78574 echo "$as_me:$LINENO: checking for WEOF" >&5
78575 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78576 cat >conftest.$ac_ext <<_ACEOF
78577 /* confdefs.h. */
78578 _ACEOF
78579 cat confdefs.h >>conftest.$ac_ext
78580 cat >>conftest.$ac_ext <<_ACEOF
78581 /* end confdefs.h. */
78583 #include <wchar.h>
78584 #include <stddef.h>
78586 main ()
78588 wint_t i = WEOF;
78590 return 0;
78592 _ACEOF
78593 rm -f conftest.$ac_objext
78594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78595 (eval $ac_compile) 2>conftest.er1
78596 ac_status=$?
78597 grep -v '^ *+' conftest.er1 >conftest.err
78598 rm -f conftest.er1
78599 cat conftest.err >&5
78600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78601 (exit $ac_status); } &&
78602 { ac_try='test -z "$ac_c_werror_flag"
78603 || test ! -s conftest.err'
78604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78605 (eval $ac_try) 2>&5
78606 ac_status=$?
78607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78608 (exit $ac_status); }; } &&
78609 { ac_try='test -s conftest.$ac_objext'
78610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78611 (eval $ac_try) 2>&5
78612 ac_status=$?
78613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614 (exit $ac_status); }; }; then
78615 has_weof=yes
78616 else
78617 echo "$as_me: failed program was:" >&5
78618 sed 's/^/| /' conftest.$ac_ext >&5
78620 has_weof=no
78622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78623 echo "$as_me:$LINENO: result: $has_weof" >&5
78624 echo "${ECHO_T}$has_weof" >&6
78626 # Tests for wide character functions used in char_traits<wchar_t>.
78627 ac_wfuncs=yes
78634 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78637 echo "$as_me:$LINENO: checking for $ac_func" >&5
78638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78639 if eval "test \"\${$as_ac_var+set}\" = set"; then
78640 echo $ECHO_N "(cached) $ECHO_C" >&6
78641 else
78642 if test x$gcc_no_link = xyes; then
78643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78645 { (exit 1); exit 1; }; }
78647 cat >conftest.$ac_ext <<_ACEOF
78648 /* confdefs.h. */
78649 _ACEOF
78650 cat confdefs.h >>conftest.$ac_ext
78651 cat >>conftest.$ac_ext <<_ACEOF
78652 /* end confdefs.h. */
78653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78655 #define $ac_func innocuous_$ac_func
78657 /* System header to define __stub macros and hopefully few prototypes,
78658 which can conflict with char $ac_func (); below.
78659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78660 <limits.h> exists even on freestanding compilers. */
78662 #ifdef __STDC__
78663 # include <limits.h>
78664 #else
78665 # include <assert.h>
78666 #endif
78668 #undef $ac_func
78670 /* Override any gcc2 internal prototype to avoid an error. */
78671 #ifdef __cplusplus
78672 extern "C"
78674 #endif
78675 /* We use char because int might match the return type of a gcc2
78676 builtin and then its argument prototype would still apply. */
78677 char $ac_func ();
78678 /* The GNU C library defines this for functions which it implements
78679 to always fail with ENOSYS. Some functions are actually named
78680 something starting with __ and the normal name is an alias. */
78681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78682 choke me
78683 #else
78684 char (*f) () = $ac_func;
78685 #endif
78686 #ifdef __cplusplus
78688 #endif
78691 main ()
78693 return f != $ac_func;
78695 return 0;
78697 _ACEOF
78698 rm -f conftest.$ac_objext conftest$ac_exeext
78699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78700 (eval $ac_link) 2>conftest.er1
78701 ac_status=$?
78702 grep -v '^ *+' conftest.er1 >conftest.err
78703 rm -f conftest.er1
78704 cat conftest.err >&5
78705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78706 (exit $ac_status); } &&
78707 { ac_try='test -z "$ac_c_werror_flag"
78708 || test ! -s conftest.err'
78709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78710 (eval $ac_try) 2>&5
78711 ac_status=$?
78712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78713 (exit $ac_status); }; } &&
78714 { ac_try='test -s conftest$ac_exeext'
78715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78716 (eval $ac_try) 2>&5
78717 ac_status=$?
78718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78719 (exit $ac_status); }; }; then
78720 eval "$as_ac_var=yes"
78721 else
78722 echo "$as_me: failed program was:" >&5
78723 sed 's/^/| /' conftest.$ac_ext >&5
78725 eval "$as_ac_var=no"
78727 rm -f conftest.err conftest.$ac_objext \
78728 conftest$ac_exeext conftest.$ac_ext
78730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78732 if test `eval echo '${'$as_ac_var'}'` = yes; then
78733 cat >>confdefs.h <<_ACEOF
78734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78735 _ACEOF
78737 else
78738 ac_wfuncs=no
78740 done
78743 # Checks for names injected into std:: by the c_std headers.
78790 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78791 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78792 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78793 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78794 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78795 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78798 echo "$as_me:$LINENO: checking for $ac_func" >&5
78799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78800 if eval "test \"\${$as_ac_var+set}\" = set"; then
78801 echo $ECHO_N "(cached) $ECHO_C" >&6
78802 else
78803 if test x$gcc_no_link = xyes; then
78804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78806 { (exit 1); exit 1; }; }
78808 cat >conftest.$ac_ext <<_ACEOF
78809 /* confdefs.h. */
78810 _ACEOF
78811 cat confdefs.h >>conftest.$ac_ext
78812 cat >>conftest.$ac_ext <<_ACEOF
78813 /* end confdefs.h. */
78814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78816 #define $ac_func innocuous_$ac_func
78818 /* System header to define __stub macros and hopefully few prototypes,
78819 which can conflict with char $ac_func (); below.
78820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78821 <limits.h> exists even on freestanding compilers. */
78823 #ifdef __STDC__
78824 # include <limits.h>
78825 #else
78826 # include <assert.h>
78827 #endif
78829 #undef $ac_func
78831 /* Override any gcc2 internal prototype to avoid an error. */
78832 #ifdef __cplusplus
78833 extern "C"
78835 #endif
78836 /* We use char because int might match the return type of a gcc2
78837 builtin and then its argument prototype would still apply. */
78838 char $ac_func ();
78839 /* The GNU C library defines this for functions which it implements
78840 to always fail with ENOSYS. Some functions are actually named
78841 something starting with __ and the normal name is an alias. */
78842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78843 choke me
78844 #else
78845 char (*f) () = $ac_func;
78846 #endif
78847 #ifdef __cplusplus
78849 #endif
78852 main ()
78854 return f != $ac_func;
78856 return 0;
78858 _ACEOF
78859 rm -f conftest.$ac_objext conftest$ac_exeext
78860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78861 (eval $ac_link) 2>conftest.er1
78862 ac_status=$?
78863 grep -v '^ *+' conftest.er1 >conftest.err
78864 rm -f conftest.er1
78865 cat conftest.err >&5
78866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78867 (exit $ac_status); } &&
78868 { ac_try='test -z "$ac_c_werror_flag"
78869 || test ! -s conftest.err'
78870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78871 (eval $ac_try) 2>&5
78872 ac_status=$?
78873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78874 (exit $ac_status); }; } &&
78875 { ac_try='test -s conftest$ac_exeext'
78876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78877 (eval $ac_try) 2>&5
78878 ac_status=$?
78879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78880 (exit $ac_status); }; }; then
78881 eval "$as_ac_var=yes"
78882 else
78883 echo "$as_me: failed program was:" >&5
78884 sed 's/^/| /' conftest.$ac_ext >&5
78886 eval "$as_ac_var=no"
78888 rm -f conftest.err conftest.$ac_objext \
78889 conftest$ac_exeext conftest.$ac_ext
78891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78893 if test `eval echo '${'$as_ac_var'}'` = yes; then
78894 cat >>confdefs.h <<_ACEOF
78895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78896 _ACEOF
78898 else
78899 ac_wfuncs=no
78901 done
78904 # Checks for wide character functions that are not required
78905 # for basic wchar_t support. Don't disable support if they are missing.
78906 # Injection of these is wrapped with guard macros.
78912 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78915 echo "$as_me:$LINENO: checking for $ac_func" >&5
78916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78917 if eval "test \"\${$as_ac_var+set}\" = set"; then
78918 echo $ECHO_N "(cached) $ECHO_C" >&6
78919 else
78920 if test x$gcc_no_link = xyes; then
78921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78923 { (exit 1); exit 1; }; }
78925 cat >conftest.$ac_ext <<_ACEOF
78926 /* confdefs.h. */
78927 _ACEOF
78928 cat confdefs.h >>conftest.$ac_ext
78929 cat >>conftest.$ac_ext <<_ACEOF
78930 /* end confdefs.h. */
78931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78933 #define $ac_func innocuous_$ac_func
78935 /* System header to define __stub macros and hopefully few prototypes,
78936 which can conflict with char $ac_func (); below.
78937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78938 <limits.h> exists even on freestanding compilers. */
78940 #ifdef __STDC__
78941 # include <limits.h>
78942 #else
78943 # include <assert.h>
78944 #endif
78946 #undef $ac_func
78948 /* Override any gcc2 internal prototype to avoid an error. */
78949 #ifdef __cplusplus
78950 extern "C"
78952 #endif
78953 /* We use char because int might match the return type of a gcc2
78954 builtin and then its argument prototype would still apply. */
78955 char $ac_func ();
78956 /* The GNU C library defines this for functions which it implements
78957 to always fail with ENOSYS. Some functions are actually named
78958 something starting with __ and the normal name is an alias. */
78959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78960 choke me
78961 #else
78962 char (*f) () = $ac_func;
78963 #endif
78964 #ifdef __cplusplus
78966 #endif
78969 main ()
78971 return f != $ac_func;
78973 return 0;
78975 _ACEOF
78976 rm -f conftest.$ac_objext conftest$ac_exeext
78977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78978 (eval $ac_link) 2>conftest.er1
78979 ac_status=$?
78980 grep -v '^ *+' conftest.er1 >conftest.err
78981 rm -f conftest.er1
78982 cat conftest.err >&5
78983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78984 (exit $ac_status); } &&
78985 { ac_try='test -z "$ac_c_werror_flag"
78986 || test ! -s conftest.err'
78987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78988 (eval $ac_try) 2>&5
78989 ac_status=$?
78990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78991 (exit $ac_status); }; } &&
78992 { ac_try='test -s conftest$ac_exeext'
78993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78994 (eval $ac_try) 2>&5
78995 ac_status=$?
78996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78997 (exit $ac_status); }; }; then
78998 eval "$as_ac_var=yes"
78999 else
79000 echo "$as_me: failed program was:" >&5
79001 sed 's/^/| /' conftest.$ac_ext >&5
79003 eval "$as_ac_var=no"
79005 rm -f conftest.err conftest.$ac_objext \
79006 conftest$ac_exeext conftest.$ac_ext
79008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79010 if test `eval echo '${'$as_ac_var'}'` = yes; then
79011 cat >>confdefs.h <<_ACEOF
79012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79013 _ACEOF
79016 done
79019 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79020 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79021 if test x"$has_weof" = xyes &&
79022 test x"$has_wchar_minmax" = xyes &&
79023 test x"$ac_wfuncs" = xyes;
79024 then
79025 ac_isoC99_wchar_t=yes
79026 else
79027 ac_isoC99_wchar_t=no
79029 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79030 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79032 # Use iconv for wchar_t to char conversions. As such, check for
79033 # X/Open Portability Guide, version 2 features (XPG2).
79034 if test "${ac_cv_header_iconv_h+set}" = set; then
79035 echo "$as_me:$LINENO: checking for iconv.h" >&5
79036 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79037 if test "${ac_cv_header_iconv_h+set}" = set; then
79038 echo $ECHO_N "(cached) $ECHO_C" >&6
79040 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79041 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79042 else
79043 # Is the header compilable?
79044 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79045 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79046 cat >conftest.$ac_ext <<_ACEOF
79047 /* confdefs.h. */
79048 _ACEOF
79049 cat confdefs.h >>conftest.$ac_ext
79050 cat >>conftest.$ac_ext <<_ACEOF
79051 /* end confdefs.h. */
79052 $ac_includes_default
79053 #include <iconv.h>
79054 _ACEOF
79055 rm -f conftest.$ac_objext
79056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79057 (eval $ac_compile) 2>conftest.er1
79058 ac_status=$?
79059 grep -v '^ *+' conftest.er1 >conftest.err
79060 rm -f conftest.er1
79061 cat conftest.err >&5
79062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79063 (exit $ac_status); } &&
79064 { ac_try='test -z "$ac_c_werror_flag"
79065 || test ! -s conftest.err'
79066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79067 (eval $ac_try) 2>&5
79068 ac_status=$?
79069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79070 (exit $ac_status); }; } &&
79071 { ac_try='test -s conftest.$ac_objext'
79072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79073 (eval $ac_try) 2>&5
79074 ac_status=$?
79075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79076 (exit $ac_status); }; }; then
79077 ac_header_compiler=yes
79078 else
79079 echo "$as_me: failed program was:" >&5
79080 sed 's/^/| /' conftest.$ac_ext >&5
79082 ac_header_compiler=no
79084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79085 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79086 echo "${ECHO_T}$ac_header_compiler" >&6
79088 # Is the header present?
79089 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79090 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79091 cat >conftest.$ac_ext <<_ACEOF
79092 /* confdefs.h. */
79093 _ACEOF
79094 cat confdefs.h >>conftest.$ac_ext
79095 cat >>conftest.$ac_ext <<_ACEOF
79096 /* end confdefs.h. */
79097 #include <iconv.h>
79098 _ACEOF
79099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79101 ac_status=$?
79102 grep -v '^ *+' conftest.er1 >conftest.err
79103 rm -f conftest.er1
79104 cat conftest.err >&5
79105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79106 (exit $ac_status); } >/dev/null; then
79107 if test -s conftest.err; then
79108 ac_cpp_err=$ac_c_preproc_warn_flag
79109 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79110 else
79111 ac_cpp_err=
79113 else
79114 ac_cpp_err=yes
79116 if test -z "$ac_cpp_err"; then
79117 ac_header_preproc=yes
79118 else
79119 echo "$as_me: failed program was:" >&5
79120 sed 's/^/| /' conftest.$ac_ext >&5
79122 ac_header_preproc=no
79124 rm -f conftest.err conftest.$ac_ext
79125 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79126 echo "${ECHO_T}$ac_header_preproc" >&6
79128 # So? What about this header?
79129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79130 yes:no: )
79131 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79132 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79133 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79134 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79135 ac_header_preproc=yes
79137 no:yes:* )
79138 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79139 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79140 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79141 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79142 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79143 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79144 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79145 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79146 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79147 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79148 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79149 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79151 cat <<\_ASBOX
79152 ## ----------------------------------------- ##
79153 ## Report this to the package-unused lists. ##
79154 ## ----------------------------------------- ##
79155 _ASBOX
79157 sed "s/^/$as_me: WARNING: /" >&2
79159 esac
79160 echo "$as_me:$LINENO: checking for iconv.h" >&5
79161 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79162 if test "${ac_cv_header_iconv_h+set}" = set; then
79163 echo $ECHO_N "(cached) $ECHO_C" >&6
79164 else
79165 ac_cv_header_iconv_h=$ac_header_preproc
79167 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79168 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79171 if test $ac_cv_header_iconv_h = yes; then
79172 ac_has_iconv_h=yes
79173 else
79174 ac_has_iconv_h=no
79178 if test "${ac_cv_header_langinfo_h+set}" = set; then
79179 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79180 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79181 if test "${ac_cv_header_langinfo_h+set}" = set; then
79182 echo $ECHO_N "(cached) $ECHO_C" >&6
79184 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79185 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79186 else
79187 # Is the header compilable?
79188 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79189 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79190 cat >conftest.$ac_ext <<_ACEOF
79191 /* confdefs.h. */
79192 _ACEOF
79193 cat confdefs.h >>conftest.$ac_ext
79194 cat >>conftest.$ac_ext <<_ACEOF
79195 /* end confdefs.h. */
79196 $ac_includes_default
79197 #include <langinfo.h>
79198 _ACEOF
79199 rm -f conftest.$ac_objext
79200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79201 (eval $ac_compile) 2>conftest.er1
79202 ac_status=$?
79203 grep -v '^ *+' conftest.er1 >conftest.err
79204 rm -f conftest.er1
79205 cat conftest.err >&5
79206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79207 (exit $ac_status); } &&
79208 { ac_try='test -z "$ac_c_werror_flag"
79209 || test ! -s conftest.err'
79210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79211 (eval $ac_try) 2>&5
79212 ac_status=$?
79213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79214 (exit $ac_status); }; } &&
79215 { ac_try='test -s conftest.$ac_objext'
79216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79217 (eval $ac_try) 2>&5
79218 ac_status=$?
79219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79220 (exit $ac_status); }; }; then
79221 ac_header_compiler=yes
79222 else
79223 echo "$as_me: failed program was:" >&5
79224 sed 's/^/| /' conftest.$ac_ext >&5
79226 ac_header_compiler=no
79228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79230 echo "${ECHO_T}$ac_header_compiler" >&6
79232 # Is the header present?
79233 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79234 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79235 cat >conftest.$ac_ext <<_ACEOF
79236 /* confdefs.h. */
79237 _ACEOF
79238 cat confdefs.h >>conftest.$ac_ext
79239 cat >>conftest.$ac_ext <<_ACEOF
79240 /* end confdefs.h. */
79241 #include <langinfo.h>
79242 _ACEOF
79243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79245 ac_status=$?
79246 grep -v '^ *+' conftest.er1 >conftest.err
79247 rm -f conftest.er1
79248 cat conftest.err >&5
79249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79250 (exit $ac_status); } >/dev/null; then
79251 if test -s conftest.err; then
79252 ac_cpp_err=$ac_c_preproc_warn_flag
79253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79254 else
79255 ac_cpp_err=
79257 else
79258 ac_cpp_err=yes
79260 if test -z "$ac_cpp_err"; then
79261 ac_header_preproc=yes
79262 else
79263 echo "$as_me: failed program was:" >&5
79264 sed 's/^/| /' conftest.$ac_ext >&5
79266 ac_header_preproc=no
79268 rm -f conftest.err conftest.$ac_ext
79269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79270 echo "${ECHO_T}$ac_header_preproc" >&6
79272 # So? What about this header?
79273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79274 yes:no: )
79275 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79276 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79277 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79278 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79279 ac_header_preproc=yes
79281 no:yes:* )
79282 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79283 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79284 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79285 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79286 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79287 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79288 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79289 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79290 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79291 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79292 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79293 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79295 cat <<\_ASBOX
79296 ## ----------------------------------------- ##
79297 ## Report this to the package-unused lists. ##
79298 ## ----------------------------------------- ##
79299 _ASBOX
79301 sed "s/^/$as_me: WARNING: /" >&2
79303 esac
79304 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79305 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79306 if test "${ac_cv_header_langinfo_h+set}" = set; then
79307 echo $ECHO_N "(cached) $ECHO_C" >&6
79308 else
79309 ac_cv_header_langinfo_h=$ac_header_preproc
79311 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79312 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79315 if test $ac_cv_header_langinfo_h = yes; then
79316 ac_has_langinfo_h=yes
79317 else
79318 ac_has_langinfo_h=no
79323 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79324 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79325 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79326 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79327 echo $ECHO_N "(cached) $ECHO_C" >&6
79328 else
79329 ac_check_lib_save_LIBS=$LIBS
79330 LIBS="-liconv $LIBS"
79331 if test x$gcc_no_link = xyes; then
79332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79334 { (exit 1); exit 1; }; }
79336 cat >conftest.$ac_ext <<_ACEOF
79337 /* confdefs.h. */
79338 _ACEOF
79339 cat confdefs.h >>conftest.$ac_ext
79340 cat >>conftest.$ac_ext <<_ACEOF
79341 /* end confdefs.h. */
79343 /* Override any gcc2 internal prototype to avoid an error. */
79344 #ifdef __cplusplus
79345 extern "C"
79346 #endif
79347 /* We use char because int might match the return type of a gcc2
79348 builtin and then its argument prototype would still apply. */
79349 char iconv ();
79351 main ()
79353 iconv ();
79355 return 0;
79357 _ACEOF
79358 rm -f conftest.$ac_objext conftest$ac_exeext
79359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79360 (eval $ac_link) 2>conftest.er1
79361 ac_status=$?
79362 grep -v '^ *+' conftest.er1 >conftest.err
79363 rm -f conftest.er1
79364 cat conftest.err >&5
79365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79366 (exit $ac_status); } &&
79367 { ac_try='test -z "$ac_c_werror_flag"
79368 || test ! -s conftest.err'
79369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79370 (eval $ac_try) 2>&5
79371 ac_status=$?
79372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79373 (exit $ac_status); }; } &&
79374 { ac_try='test -s conftest$ac_exeext'
79375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79376 (eval $ac_try) 2>&5
79377 ac_status=$?
79378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79379 (exit $ac_status); }; }; then
79380 ac_cv_lib_iconv_iconv=yes
79381 else
79382 echo "$as_me: failed program was:" >&5
79383 sed 's/^/| /' conftest.$ac_ext >&5
79385 ac_cv_lib_iconv_iconv=no
79387 rm -f conftest.err conftest.$ac_objext \
79388 conftest$ac_exeext conftest.$ac_ext
79389 LIBS=$ac_check_lib_save_LIBS
79391 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79392 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79393 if test $ac_cv_lib_iconv_iconv = yes; then
79394 LIBICONV="-liconv"
79397 ac_save_LIBS="$LIBS"
79398 LIBS="$LIBS $LIBICONV"
79405 for ac_func in iconv_open iconv_close iconv nl_langinfo
79407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79408 echo "$as_me:$LINENO: checking for $ac_func" >&5
79409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79410 if eval "test \"\${$as_ac_var+set}\" = set"; then
79411 echo $ECHO_N "(cached) $ECHO_C" >&6
79412 else
79413 if test x$gcc_no_link = xyes; then
79414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79416 { (exit 1); exit 1; }; }
79418 cat >conftest.$ac_ext <<_ACEOF
79419 /* confdefs.h. */
79420 _ACEOF
79421 cat confdefs.h >>conftest.$ac_ext
79422 cat >>conftest.$ac_ext <<_ACEOF
79423 /* end confdefs.h. */
79424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79426 #define $ac_func innocuous_$ac_func
79428 /* System header to define __stub macros and hopefully few prototypes,
79429 which can conflict with char $ac_func (); below.
79430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79431 <limits.h> exists even on freestanding compilers. */
79433 #ifdef __STDC__
79434 # include <limits.h>
79435 #else
79436 # include <assert.h>
79437 #endif
79439 #undef $ac_func
79441 /* Override any gcc2 internal prototype to avoid an error. */
79442 #ifdef __cplusplus
79443 extern "C"
79445 #endif
79446 /* We use char because int might match the return type of a gcc2
79447 builtin and then its argument prototype would still apply. */
79448 char $ac_func ();
79449 /* The GNU C library defines this for functions which it implements
79450 to always fail with ENOSYS. Some functions are actually named
79451 something starting with __ and the normal name is an alias. */
79452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79453 choke me
79454 #else
79455 char (*f) () = $ac_func;
79456 #endif
79457 #ifdef __cplusplus
79459 #endif
79462 main ()
79464 return f != $ac_func;
79466 return 0;
79468 _ACEOF
79469 rm -f conftest.$ac_objext conftest$ac_exeext
79470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79471 (eval $ac_link) 2>conftest.er1
79472 ac_status=$?
79473 grep -v '^ *+' conftest.er1 >conftest.err
79474 rm -f conftest.er1
79475 cat conftest.err >&5
79476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79477 (exit $ac_status); } &&
79478 { ac_try='test -z "$ac_c_werror_flag"
79479 || test ! -s conftest.err'
79480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79481 (eval $ac_try) 2>&5
79482 ac_status=$?
79483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79484 (exit $ac_status); }; } &&
79485 { ac_try='test -s conftest$ac_exeext'
79486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79487 (eval $ac_try) 2>&5
79488 ac_status=$?
79489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79490 (exit $ac_status); }; }; then
79491 eval "$as_ac_var=yes"
79492 else
79493 echo "$as_me: failed program was:" >&5
79494 sed 's/^/| /' conftest.$ac_ext >&5
79496 eval "$as_ac_var=no"
79498 rm -f conftest.err conftest.$ac_objext \
79499 conftest$ac_exeext conftest.$ac_ext
79501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79503 if test `eval echo '${'$as_ac_var'}'` = yes; then
79504 cat >>confdefs.h <<_ACEOF
79505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79506 _ACEOF
79507 ac_XPG2funcs=yes
79508 else
79509 ac_XPG2funcs=no
79511 done
79514 LIBS="$ac_save_LIBS"
79516 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79517 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79518 if test x"$ac_has_iconv_h" = xyes &&
79519 test x"$ac_has_langinfo_h" = xyes &&
79520 test x"$ac_XPG2funcs" = xyes;
79521 then
79522 ac_XPG2_wchar_t=yes
79523 else
79524 ac_XPG2_wchar_t=no
79526 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79527 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79529 # At the moment, only enable wchar_t specializations if all the
79530 # above support is present.
79531 if test x"$ac_isoC99_wchar_t" = xyes &&
79532 test x"$ac_XPG2_wchar_t" = xyes;
79533 then
79534 cat >>confdefs.h <<\_ACEOF
79535 #define _GLIBCXX_USE_WCHAR_T 1
79536 _ACEOF
79538 enable_wchar_t=yes
79541 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79542 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79543 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79544 echo "${ECHO_T}$enable_wchar_t" >&6
79546 cat >>confdefs.h <<\_ACEOF
79547 #define HAVE_COPYSIGN 1
79548 _ACEOF
79550 cat >>confdefs.h <<\_ACEOF
79551 #define HAVE_COPYSIGNF 1
79552 _ACEOF
79554 cat >>confdefs.h <<\_ACEOF
79555 #define HAVE_FREXPF 1
79556 _ACEOF
79558 cat >>confdefs.h <<\_ACEOF
79559 #define HAVE_HYPOT 1
79560 _ACEOF
79562 case "$target" in
79563 *-hpux10*)
79564 cat >>confdefs.h <<\_ACEOF
79565 #define HAVE_FINITE 1
79566 _ACEOF
79568 cat >>confdefs.h <<\_ACEOF
79569 #define HAVE_FINITEF 1
79570 _ACEOF
79572 cat >>confdefs.h <<\_ACEOF
79573 #define HAVE_ISINF 1
79574 _ACEOF
79576 cat >>confdefs.h <<\_ACEOF
79577 #define HAVE_ISINFF 1
79578 _ACEOF
79580 cat >>confdefs.h <<\_ACEOF
79581 #define HAVE_ISNAN 1
79582 _ACEOF
79584 cat >>confdefs.h <<\_ACEOF
79585 #define HAVE_ISNANF 1
79586 _ACEOF
79589 esac
79591 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79607 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79608 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79609 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79613 echo "$as_me:$LINENO: checking for $ac_header" >&5
79614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79616 echo $ECHO_N "(cached) $ECHO_C" >&6
79618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79620 else
79621 # Is the header compilable?
79622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79624 cat >conftest.$ac_ext <<_ACEOF
79625 /* confdefs.h. */
79626 _ACEOF
79627 cat confdefs.h >>conftest.$ac_ext
79628 cat >>conftest.$ac_ext <<_ACEOF
79629 /* end confdefs.h. */
79630 $ac_includes_default
79631 #include <$ac_header>
79632 _ACEOF
79633 rm -f conftest.$ac_objext
79634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79635 (eval $ac_compile) 2>conftest.er1
79636 ac_status=$?
79637 grep -v '^ *+' conftest.er1 >conftest.err
79638 rm -f conftest.er1
79639 cat conftest.err >&5
79640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79641 (exit $ac_status); } &&
79642 { ac_try='test -z "$ac_c_werror_flag"
79643 || test ! -s conftest.err'
79644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79645 (eval $ac_try) 2>&5
79646 ac_status=$?
79647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79648 (exit $ac_status); }; } &&
79649 { ac_try='test -s conftest.$ac_objext'
79650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79651 (eval $ac_try) 2>&5
79652 ac_status=$?
79653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79654 (exit $ac_status); }; }; then
79655 ac_header_compiler=yes
79656 else
79657 echo "$as_me: failed program was:" >&5
79658 sed 's/^/| /' conftest.$ac_ext >&5
79660 ac_header_compiler=no
79662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79664 echo "${ECHO_T}$ac_header_compiler" >&6
79666 # Is the header present?
79667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79669 cat >conftest.$ac_ext <<_ACEOF
79670 /* confdefs.h. */
79671 _ACEOF
79672 cat confdefs.h >>conftest.$ac_ext
79673 cat >>conftest.$ac_ext <<_ACEOF
79674 /* end confdefs.h. */
79675 #include <$ac_header>
79676 _ACEOF
79677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79679 ac_status=$?
79680 grep -v '^ *+' conftest.er1 >conftest.err
79681 rm -f conftest.er1
79682 cat conftest.err >&5
79683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79684 (exit $ac_status); } >/dev/null; then
79685 if test -s conftest.err; then
79686 ac_cpp_err=$ac_c_preproc_warn_flag
79687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79688 else
79689 ac_cpp_err=
79691 else
79692 ac_cpp_err=yes
79694 if test -z "$ac_cpp_err"; then
79695 ac_header_preproc=yes
79696 else
79697 echo "$as_me: failed program was:" >&5
79698 sed 's/^/| /' conftest.$ac_ext >&5
79700 ac_header_preproc=no
79702 rm -f conftest.err conftest.$ac_ext
79703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79704 echo "${ECHO_T}$ac_header_preproc" >&6
79706 # So? What about this header?
79707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79708 yes:no: )
79709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79713 ac_header_preproc=yes
79715 no:yes:* )
79716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79729 cat <<\_ASBOX
79730 ## ----------------------------------------- ##
79731 ## Report this to the package-unused lists. ##
79732 ## ----------------------------------------- ##
79733 _ASBOX
79735 sed "s/^/$as_me: WARNING: /" >&2
79737 esac
79738 echo "$as_me:$LINENO: checking for $ac_header" >&5
79739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79741 echo $ECHO_N "(cached) $ECHO_C" >&6
79742 else
79743 eval "$as_ac_Header=\$ac_header_preproc"
79745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79750 cat >>confdefs.h <<_ACEOF
79751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79752 _ACEOF
79756 done
79758 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79761 # If we're not using GNU ld, then there's no point in even trying these
79762 # tests. Check for that first. We should have already tested for gld
79763 # by now (in libtool), but require it now just to be safe...
79764 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79765 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79769 # The name set by libtool depends on the version of libtool. Shame on us
79770 # for depending on an impl detail, but c'est la vie. Older versions used
79771 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79772 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79773 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79774 # set (hence we're using an older libtool), then set it.
79775 if test x${with_gnu_ld+set} != xset; then
79776 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79777 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79778 with_gnu_ld=no
79779 else
79780 with_gnu_ld=$ac_cv_prog_gnu_ld
79784 # Start by getting the version number. I think the libtool test already
79785 # does some of this, but throws away the result.
79787 ldver=`$LD --version 2>/dev/null | head -1 | \
79788 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79790 glibcxx_gnu_ld_version=`echo $ldver | \
79791 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79793 # Set --gc-sections.
79794 if test "$with_gnu_ld" = "notbroken"; then
79795 # GNU ld it is! Joy and bunny rabbits!
79797 # All these tests are for C++; save the language and the compiler flags.
79798 # Need to do this so that g++ won't try to link in libstdc++
79799 ac_test_CFLAGS="${CFLAGS+set}"
79800 ac_save_CFLAGS="$CFLAGS"
79801 CFLAGS='-x c++ -Wl,--gc-sections'
79803 # Check for -Wl,--gc-sections
79804 # XXX This test is broken at the moment, as symbols required for linking
79805 # are now in libsupc++ (not built yet). In addition, this test has
79806 # cored on solaris in the past. In addition, --gc-sections doesn't
79807 # really work at the moment (keeps on discarding used sections, first
79808 # .eh_frame and now some of the glibc sections for iconv).
79809 # Bzzzzt. Thanks for playing, maybe next time.
79810 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79811 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79812 if test "$cross_compiling" = yes; then
79813 ac_sectionLDflags=yes
79814 else
79815 cat >conftest.$ac_ext <<_ACEOF
79816 /* confdefs.h. */
79817 _ACEOF
79818 cat confdefs.h >>conftest.$ac_ext
79819 cat >>conftest.$ac_ext <<_ACEOF
79820 /* end confdefs.h. */
79822 int main(void)
79824 try { throw 1; }
79825 catch (...) { };
79826 return 0;
79829 _ACEOF
79830 rm -f conftest$ac_exeext
79831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79832 (eval $ac_link) 2>&5
79833 ac_status=$?
79834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79837 (eval $ac_try) 2>&5
79838 ac_status=$?
79839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79840 (exit $ac_status); }; }; then
79841 ac_sectionLDflags=yes
79842 else
79843 echo "$as_me: program exited with status $ac_status" >&5
79844 echo "$as_me: failed program was:" >&5
79845 sed 's/^/| /' conftest.$ac_ext >&5
79847 ( exit $ac_status )
79848 ac_sectionLDflags=no
79850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79852 if test "$ac_test_CFLAGS" = set; then
79853 CFLAGS="$ac_save_CFLAGS"
79854 else
79855 # this is the suspicious part
79856 CFLAGS=''
79858 if test "$ac_sectionLDflags" = "yes"; then
79859 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79861 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79862 echo "${ECHO_T}$ac_sectionLDflags" >&6
79865 # Set linker optimization flags.
79866 if test x"$with_gnu_ld" = x"yes"; then
79867 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79875 echo "$as_me:$LINENO: checking for main in -lm" >&5
79876 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79877 if test "${ac_cv_lib_m_main+set}" = set; then
79878 echo $ECHO_N "(cached) $ECHO_C" >&6
79879 else
79880 ac_check_lib_save_LIBS=$LIBS
79881 LIBS="-lm $LIBS"
79882 if test x$gcc_no_link = xyes; then
79883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79885 { (exit 1); exit 1; }; }
79887 cat >conftest.$ac_ext <<_ACEOF
79888 /* confdefs.h. */
79889 _ACEOF
79890 cat confdefs.h >>conftest.$ac_ext
79891 cat >>conftest.$ac_ext <<_ACEOF
79892 /* end confdefs.h. */
79896 main ()
79898 main ();
79900 return 0;
79902 _ACEOF
79903 rm -f conftest.$ac_objext conftest$ac_exeext
79904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79905 (eval $ac_link) 2>conftest.er1
79906 ac_status=$?
79907 grep -v '^ *+' conftest.er1 >conftest.err
79908 rm -f conftest.er1
79909 cat conftest.err >&5
79910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79911 (exit $ac_status); } &&
79912 { ac_try='test -z "$ac_c_werror_flag"
79913 || test ! -s conftest.err'
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); }; } &&
79919 { ac_try='test -s conftest$ac_exeext'
79920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79921 (eval $ac_try) 2>&5
79922 ac_status=$?
79923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79924 (exit $ac_status); }; }; then
79925 ac_cv_lib_m_main=yes
79926 else
79927 echo "$as_me: failed program was:" >&5
79928 sed 's/^/| /' conftest.$ac_ext >&5
79930 ac_cv_lib_m_main=no
79932 rm -f conftest.err conftest.$ac_objext \
79933 conftest$ac_exeext conftest.$ac_ext
79934 LIBS=$ac_check_lib_save_LIBS
79936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79937 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79938 if test $ac_cv_lib_m_main = yes; then
79939 cat >>confdefs.h <<_ACEOF
79940 #define HAVE_LIBM 1
79941 _ACEOF
79943 LIBS="-lm $LIBS"
79948 for ac_func in copysignf
79950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79951 echo "$as_me:$LINENO: checking for $ac_func" >&5
79952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79953 if eval "test \"\${$as_ac_var+set}\" = set"; then
79954 echo $ECHO_N "(cached) $ECHO_C" >&6
79955 else
79956 if test x$gcc_no_link = xyes; then
79957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79959 { (exit 1); exit 1; }; }
79961 cat >conftest.$ac_ext <<_ACEOF
79962 /* confdefs.h. */
79963 _ACEOF
79964 cat confdefs.h >>conftest.$ac_ext
79965 cat >>conftest.$ac_ext <<_ACEOF
79966 /* end confdefs.h. */
79967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79969 #define $ac_func innocuous_$ac_func
79971 /* System header to define __stub macros and hopefully few prototypes,
79972 which can conflict with char $ac_func (); below.
79973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79974 <limits.h> exists even on freestanding compilers. */
79976 #ifdef __STDC__
79977 # include <limits.h>
79978 #else
79979 # include <assert.h>
79980 #endif
79982 #undef $ac_func
79984 /* Override any gcc2 internal prototype to avoid an error. */
79985 #ifdef __cplusplus
79986 extern "C"
79988 #endif
79989 /* We use char because int might match the return type of a gcc2
79990 builtin and then its argument prototype would still apply. */
79991 char $ac_func ();
79992 /* The GNU C library defines this for functions which it implements
79993 to always fail with ENOSYS. Some functions are actually named
79994 something starting with __ and the normal name is an alias. */
79995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79996 choke me
79997 #else
79998 char (*f) () = $ac_func;
79999 #endif
80000 #ifdef __cplusplus
80002 #endif
80005 main ()
80007 return f != $ac_func;
80009 return 0;
80011 _ACEOF
80012 rm -f conftest.$ac_objext conftest$ac_exeext
80013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80014 (eval $ac_link) 2>conftest.er1
80015 ac_status=$?
80016 grep -v '^ *+' conftest.er1 >conftest.err
80017 rm -f conftest.er1
80018 cat conftest.err >&5
80019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020 (exit $ac_status); } &&
80021 { ac_try='test -z "$ac_c_werror_flag"
80022 || test ! -s conftest.err'
80023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80024 (eval $ac_try) 2>&5
80025 ac_status=$?
80026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80027 (exit $ac_status); }; } &&
80028 { ac_try='test -s conftest$ac_exeext'
80029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80030 (eval $ac_try) 2>&5
80031 ac_status=$?
80032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80033 (exit $ac_status); }; }; then
80034 eval "$as_ac_var=yes"
80035 else
80036 echo "$as_me: failed program was:" >&5
80037 sed 's/^/| /' conftest.$ac_ext >&5
80039 eval "$as_ac_var=no"
80041 rm -f conftest.err conftest.$ac_objext \
80042 conftest$ac_exeext conftest.$ac_ext
80044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80046 if test `eval echo '${'$as_ac_var'}'` = yes; then
80047 cat >>confdefs.h <<_ACEOF
80048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80049 _ACEOF
80051 else
80052 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80054 done
80058 for ac_func in __signbit
80060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80061 echo "$as_me:$LINENO: checking for $ac_func" >&5
80062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80063 if eval "test \"\${$as_ac_var+set}\" = set"; then
80064 echo $ECHO_N "(cached) $ECHO_C" >&6
80065 else
80066 if test x$gcc_no_link = xyes; then
80067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80069 { (exit 1); exit 1; }; }
80071 cat >conftest.$ac_ext <<_ACEOF
80072 /* confdefs.h. */
80073 _ACEOF
80074 cat confdefs.h >>conftest.$ac_ext
80075 cat >>conftest.$ac_ext <<_ACEOF
80076 /* end confdefs.h. */
80077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80079 #define $ac_func innocuous_$ac_func
80081 /* System header to define __stub macros and hopefully few prototypes,
80082 which can conflict with char $ac_func (); below.
80083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80084 <limits.h> exists even on freestanding compilers. */
80086 #ifdef __STDC__
80087 # include <limits.h>
80088 #else
80089 # include <assert.h>
80090 #endif
80092 #undef $ac_func
80094 /* Override any gcc2 internal prototype to avoid an error. */
80095 #ifdef __cplusplus
80096 extern "C"
80098 #endif
80099 /* We use char because int might match the return type of a gcc2
80100 builtin and then its argument prototype would still apply. */
80101 char $ac_func ();
80102 /* The GNU C library defines this for functions which it implements
80103 to always fail with ENOSYS. Some functions are actually named
80104 something starting with __ and the normal name is an alias. */
80105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80106 choke me
80107 #else
80108 char (*f) () = $ac_func;
80109 #endif
80110 #ifdef __cplusplus
80112 #endif
80115 main ()
80117 return f != $ac_func;
80119 return 0;
80121 _ACEOF
80122 rm -f conftest.$ac_objext conftest$ac_exeext
80123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80124 (eval $ac_link) 2>conftest.er1
80125 ac_status=$?
80126 grep -v '^ *+' conftest.er1 >conftest.err
80127 rm -f conftest.er1
80128 cat conftest.err >&5
80129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80130 (exit $ac_status); } &&
80131 { ac_try='test -z "$ac_c_werror_flag"
80132 || test ! -s conftest.err'
80133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80134 (eval $ac_try) 2>&5
80135 ac_status=$?
80136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80137 (exit $ac_status); }; } &&
80138 { ac_try='test -s conftest$ac_exeext'
80139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80140 (eval $ac_try) 2>&5
80141 ac_status=$?
80142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80143 (exit $ac_status); }; }; then
80144 eval "$as_ac_var=yes"
80145 else
80146 echo "$as_me: failed program was:" >&5
80147 sed 's/^/| /' conftest.$ac_ext >&5
80149 eval "$as_ac_var=no"
80151 rm -f conftest.err conftest.$ac_objext \
80152 conftest$ac_exeext conftest.$ac_ext
80154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80156 if test `eval echo '${'$as_ac_var'}'` = yes; then
80157 cat >>confdefs.h <<_ACEOF
80158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80159 _ACEOF
80161 else
80162 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80164 done
80168 for ac_func in __signbitf
80170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80171 echo "$as_me:$LINENO: checking for $ac_func" >&5
80172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80173 if eval "test \"\${$as_ac_var+set}\" = set"; then
80174 echo $ECHO_N "(cached) $ECHO_C" >&6
80175 else
80176 if test x$gcc_no_link = xyes; then
80177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80179 { (exit 1); exit 1; }; }
80181 cat >conftest.$ac_ext <<_ACEOF
80182 /* confdefs.h. */
80183 _ACEOF
80184 cat confdefs.h >>conftest.$ac_ext
80185 cat >>conftest.$ac_ext <<_ACEOF
80186 /* end confdefs.h. */
80187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80189 #define $ac_func innocuous_$ac_func
80191 /* System header to define __stub macros and hopefully few prototypes,
80192 which can conflict with char $ac_func (); below.
80193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80194 <limits.h> exists even on freestanding compilers. */
80196 #ifdef __STDC__
80197 # include <limits.h>
80198 #else
80199 # include <assert.h>
80200 #endif
80202 #undef $ac_func
80204 /* Override any gcc2 internal prototype to avoid an error. */
80205 #ifdef __cplusplus
80206 extern "C"
80208 #endif
80209 /* We use char because int might match the return type of a gcc2
80210 builtin and then its argument prototype would still apply. */
80211 char $ac_func ();
80212 /* The GNU C library defines this for functions which it implements
80213 to always fail with ENOSYS. Some functions are actually named
80214 something starting with __ and the normal name is an alias. */
80215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80216 choke me
80217 #else
80218 char (*f) () = $ac_func;
80219 #endif
80220 #ifdef __cplusplus
80222 #endif
80225 main ()
80227 return f != $ac_func;
80229 return 0;
80231 _ACEOF
80232 rm -f conftest.$ac_objext conftest$ac_exeext
80233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80234 (eval $ac_link) 2>conftest.er1
80235 ac_status=$?
80236 grep -v '^ *+' conftest.er1 >conftest.err
80237 rm -f conftest.er1
80238 cat conftest.err >&5
80239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80240 (exit $ac_status); } &&
80241 { ac_try='test -z "$ac_c_werror_flag"
80242 || test ! -s conftest.err'
80243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80244 (eval $ac_try) 2>&5
80245 ac_status=$?
80246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80247 (exit $ac_status); }; } &&
80248 { ac_try='test -s conftest$ac_exeext'
80249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80250 (eval $ac_try) 2>&5
80251 ac_status=$?
80252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80253 (exit $ac_status); }; }; then
80254 eval "$as_ac_var=yes"
80255 else
80256 echo "$as_me: failed program was:" >&5
80257 sed 's/^/| /' conftest.$ac_ext >&5
80259 eval "$as_ac_var=no"
80261 rm -f conftest.err conftest.$ac_objext \
80262 conftest$ac_exeext conftest.$ac_ext
80264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80266 if test `eval echo '${'$as_ac_var'}'` = yes; then
80267 cat >>confdefs.h <<_ACEOF
80268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80269 _ACEOF
80271 else
80272 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80274 done
80277 if test x$ac_cv_func_copysignl = x"yes"; then
80279 for ac_func in __signbitl
80281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80282 echo "$as_me:$LINENO: checking for $ac_func" >&5
80283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80284 if eval "test \"\${$as_ac_var+set}\" = set"; then
80285 echo $ECHO_N "(cached) $ECHO_C" >&6
80286 else
80287 if test x$gcc_no_link = xyes; then
80288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80290 { (exit 1); exit 1; }; }
80292 cat >conftest.$ac_ext <<_ACEOF
80293 /* confdefs.h. */
80294 _ACEOF
80295 cat confdefs.h >>conftest.$ac_ext
80296 cat >>conftest.$ac_ext <<_ACEOF
80297 /* end confdefs.h. */
80298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80300 #define $ac_func innocuous_$ac_func
80302 /* System header to define __stub macros and hopefully few prototypes,
80303 which can conflict with char $ac_func (); below.
80304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80305 <limits.h> exists even on freestanding compilers. */
80307 #ifdef __STDC__
80308 # include <limits.h>
80309 #else
80310 # include <assert.h>
80311 #endif
80313 #undef $ac_func
80315 /* Override any gcc2 internal prototype to avoid an error. */
80316 #ifdef __cplusplus
80317 extern "C"
80319 #endif
80320 /* We use char because int might match the return type of a gcc2
80321 builtin and then its argument prototype would still apply. */
80322 char $ac_func ();
80323 /* The GNU C library defines this for functions which it implements
80324 to always fail with ENOSYS. Some functions are actually named
80325 something starting with __ and the normal name is an alias. */
80326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80327 choke me
80328 #else
80329 char (*f) () = $ac_func;
80330 #endif
80331 #ifdef __cplusplus
80333 #endif
80336 main ()
80338 return f != $ac_func;
80340 return 0;
80342 _ACEOF
80343 rm -f conftest.$ac_objext conftest$ac_exeext
80344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80345 (eval $ac_link) 2>conftest.er1
80346 ac_status=$?
80347 grep -v '^ *+' conftest.er1 >conftest.err
80348 rm -f conftest.er1
80349 cat conftest.err >&5
80350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80351 (exit $ac_status); } &&
80352 { ac_try='test -z "$ac_c_werror_flag"
80353 || test ! -s conftest.err'
80354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80355 (eval $ac_try) 2>&5
80356 ac_status=$?
80357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80358 (exit $ac_status); }; } &&
80359 { ac_try='test -s conftest$ac_exeext'
80360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80361 (eval $ac_try) 2>&5
80362 ac_status=$?
80363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80364 (exit $ac_status); }; }; then
80365 eval "$as_ac_var=yes"
80366 else
80367 echo "$as_me: failed program was:" >&5
80368 sed 's/^/| /' conftest.$ac_ext >&5
80370 eval "$as_ac_var=no"
80372 rm -f conftest.err conftest.$ac_objext \
80373 conftest$ac_exeext conftest.$ac_ext
80375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80377 if test `eval echo '${'$as_ac_var'}'` = yes; then
80378 cat >>confdefs.h <<_ACEOF
80379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80380 _ACEOF
80382 else
80383 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80385 done
80389 # Used in libmath/Makefile.am.
80390 if test -n "$LIBMATHOBJS"; then
80391 need_libmath=yes
80396 # Test wchar.h for mbstate_t, which is needed for char_traits and
80397 # others even if wchar_t support is not on.
80398 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80399 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80400 cat >conftest.$ac_ext <<_ACEOF
80401 /* confdefs.h. */
80402 _ACEOF
80403 cat confdefs.h >>conftest.$ac_ext
80404 cat >>conftest.$ac_ext <<_ACEOF
80405 /* end confdefs.h. */
80406 #include <wchar.h>
80408 main ()
80410 mbstate_t teststate;
80412 return 0;
80414 _ACEOF
80415 rm -f conftest.$ac_objext
80416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80417 (eval $ac_compile) 2>conftest.er1
80418 ac_status=$?
80419 grep -v '^ *+' conftest.er1 >conftest.err
80420 rm -f conftest.er1
80421 cat conftest.err >&5
80422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80423 (exit $ac_status); } &&
80424 { ac_try='test -z "$ac_c_werror_flag"
80425 || test ! -s conftest.err'
80426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80427 (eval $ac_try) 2>&5
80428 ac_status=$?
80429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80430 (exit $ac_status); }; } &&
80431 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
80437 have_mbstate_t=yes
80438 else
80439 echo "$as_me: failed program was:" >&5
80440 sed 's/^/| /' conftest.$ac_ext >&5
80442 have_mbstate_t=no
80444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80445 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80446 echo "${ECHO_T}$have_mbstate_t" >&6
80447 if test x"$have_mbstate_t" = xyes; then
80448 cat >>confdefs.h <<\_ACEOF
80449 #define HAVE_MBSTATE_T 1
80450 _ACEOF
80454 # Sanity check for existence of ISO C99 headers for extended encoding.
80456 for ac_header in wchar.h
80458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80460 echo "$as_me:$LINENO: checking for $ac_header" >&5
80461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80463 echo $ECHO_N "(cached) $ECHO_C" >&6
80465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80467 else
80468 # Is the header compilable?
80469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80471 cat >conftest.$ac_ext <<_ACEOF
80472 /* confdefs.h. */
80473 _ACEOF
80474 cat confdefs.h >>conftest.$ac_ext
80475 cat >>conftest.$ac_ext <<_ACEOF
80476 /* end confdefs.h. */
80477 $ac_includes_default
80478 #include <$ac_header>
80479 _ACEOF
80480 rm -f conftest.$ac_objext
80481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80482 (eval $ac_compile) 2>conftest.er1
80483 ac_status=$?
80484 grep -v '^ *+' conftest.er1 >conftest.err
80485 rm -f conftest.er1
80486 cat conftest.err >&5
80487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80488 (exit $ac_status); } &&
80489 { ac_try='test -z "$ac_c_werror_flag"
80490 || test ! -s conftest.err'
80491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80492 (eval $ac_try) 2>&5
80493 ac_status=$?
80494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80495 (exit $ac_status); }; } &&
80496 { ac_try='test -s conftest.$ac_objext'
80497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80498 (eval $ac_try) 2>&5
80499 ac_status=$?
80500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80501 (exit $ac_status); }; }; then
80502 ac_header_compiler=yes
80503 else
80504 echo "$as_me: failed program was:" >&5
80505 sed 's/^/| /' conftest.$ac_ext >&5
80507 ac_header_compiler=no
80509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80511 echo "${ECHO_T}$ac_header_compiler" >&6
80513 # Is the header present?
80514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80516 cat >conftest.$ac_ext <<_ACEOF
80517 /* confdefs.h. */
80518 _ACEOF
80519 cat confdefs.h >>conftest.$ac_ext
80520 cat >>conftest.$ac_ext <<_ACEOF
80521 /* end confdefs.h. */
80522 #include <$ac_header>
80523 _ACEOF
80524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80526 ac_status=$?
80527 grep -v '^ *+' conftest.er1 >conftest.err
80528 rm -f conftest.er1
80529 cat conftest.err >&5
80530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80531 (exit $ac_status); } >/dev/null; then
80532 if test -s conftest.err; then
80533 ac_cpp_err=$ac_c_preproc_warn_flag
80534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80535 else
80536 ac_cpp_err=
80538 else
80539 ac_cpp_err=yes
80541 if test -z "$ac_cpp_err"; then
80542 ac_header_preproc=yes
80543 else
80544 echo "$as_me: failed program was:" >&5
80545 sed 's/^/| /' conftest.$ac_ext >&5
80547 ac_header_preproc=no
80549 rm -f conftest.err conftest.$ac_ext
80550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80551 echo "${ECHO_T}$ac_header_preproc" >&6
80553 # So? What about this header?
80554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80555 yes:no: )
80556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80560 ac_header_preproc=yes
80562 no:yes:* )
80563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80576 cat <<\_ASBOX
80577 ## ----------------------------------------- ##
80578 ## Report this to the package-unused lists. ##
80579 ## ----------------------------------------- ##
80580 _ASBOX
80582 sed "s/^/$as_me: WARNING: /" >&2
80584 esac
80585 echo "$as_me:$LINENO: checking for $ac_header" >&5
80586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80588 echo $ECHO_N "(cached) $ECHO_C" >&6
80589 else
80590 eval "$as_ac_Header=\$ac_header_preproc"
80592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80597 cat >>confdefs.h <<_ACEOF
80598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80599 _ACEOF
80600 ac_has_wchar_h=yes
80601 else
80602 ac_has_wchar_h=no
80605 done
80608 for ac_header in wctype.h
80610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80612 echo "$as_me:$LINENO: checking for $ac_header" >&5
80613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80615 echo $ECHO_N "(cached) $ECHO_C" >&6
80617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80619 else
80620 # Is the header compilable?
80621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80623 cat >conftest.$ac_ext <<_ACEOF
80624 /* confdefs.h. */
80625 _ACEOF
80626 cat confdefs.h >>conftest.$ac_ext
80627 cat >>conftest.$ac_ext <<_ACEOF
80628 /* end confdefs.h. */
80629 $ac_includes_default
80630 #include <$ac_header>
80631 _ACEOF
80632 rm -f conftest.$ac_objext
80633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80634 (eval $ac_compile) 2>conftest.er1
80635 ac_status=$?
80636 grep -v '^ *+' conftest.er1 >conftest.err
80637 rm -f conftest.er1
80638 cat conftest.err >&5
80639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80640 (exit $ac_status); } &&
80641 { ac_try='test -z "$ac_c_werror_flag"
80642 || test ! -s conftest.err'
80643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80644 (eval $ac_try) 2>&5
80645 ac_status=$?
80646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80647 (exit $ac_status); }; } &&
80648 { ac_try='test -s conftest.$ac_objext'
80649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80650 (eval $ac_try) 2>&5
80651 ac_status=$?
80652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80653 (exit $ac_status); }; }; then
80654 ac_header_compiler=yes
80655 else
80656 echo "$as_me: failed program was:" >&5
80657 sed 's/^/| /' conftest.$ac_ext >&5
80659 ac_header_compiler=no
80661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80663 echo "${ECHO_T}$ac_header_compiler" >&6
80665 # Is the header present?
80666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80668 cat >conftest.$ac_ext <<_ACEOF
80669 /* confdefs.h. */
80670 _ACEOF
80671 cat confdefs.h >>conftest.$ac_ext
80672 cat >>conftest.$ac_ext <<_ACEOF
80673 /* end confdefs.h. */
80674 #include <$ac_header>
80675 _ACEOF
80676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80678 ac_status=$?
80679 grep -v '^ *+' conftest.er1 >conftest.err
80680 rm -f conftest.er1
80681 cat conftest.err >&5
80682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80683 (exit $ac_status); } >/dev/null; then
80684 if test -s conftest.err; then
80685 ac_cpp_err=$ac_c_preproc_warn_flag
80686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80687 else
80688 ac_cpp_err=
80690 else
80691 ac_cpp_err=yes
80693 if test -z "$ac_cpp_err"; then
80694 ac_header_preproc=yes
80695 else
80696 echo "$as_me: failed program was:" >&5
80697 sed 's/^/| /' conftest.$ac_ext >&5
80699 ac_header_preproc=no
80701 rm -f conftest.err conftest.$ac_ext
80702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80703 echo "${ECHO_T}$ac_header_preproc" >&6
80705 # So? What about this header?
80706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80707 yes:no: )
80708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80712 ac_header_preproc=yes
80714 no:yes:* )
80715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80728 cat <<\_ASBOX
80729 ## ----------------------------------------- ##
80730 ## Report this to the package-unused lists. ##
80731 ## ----------------------------------------- ##
80732 _ASBOX
80734 sed "s/^/$as_me: WARNING: /" >&2
80736 esac
80737 echo "$as_me:$LINENO: checking for $ac_header" >&5
80738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80740 echo $ECHO_N "(cached) $ECHO_C" >&6
80741 else
80742 eval "$as_ac_Header=\$ac_header_preproc"
80744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80749 cat >>confdefs.h <<_ACEOF
80750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80751 _ACEOF
80752 ac_has_wctype_h=yes
80753 else
80754 ac_has_wctype_h=no
80757 done
80760 # Only continue checking if the ISO C99 headers exist and support is on.
80761 if test x"$ac_has_wchar_h" = xyes &&
80762 test x"$ac_has_wctype_h" = xyes &&
80763 test x"$enable_c_mbchar" != xno; then
80765 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80766 # numeric_limits can instantiate type_traits<wchar_t>
80767 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80768 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80769 cat >conftest.$ac_ext <<_ACEOF
80770 /* confdefs.h. */
80771 _ACEOF
80772 cat confdefs.h >>conftest.$ac_ext
80773 cat >>conftest.$ac_ext <<_ACEOF
80774 /* end confdefs.h. */
80775 #include <wchar.h>
80777 main ()
80779 int i = WCHAR_MIN; int j = WCHAR_MAX;
80781 return 0;
80783 _ACEOF
80784 rm -f conftest.$ac_objext
80785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80786 (eval $ac_compile) 2>conftest.er1
80787 ac_status=$?
80788 grep -v '^ *+' conftest.er1 >conftest.err
80789 rm -f conftest.er1
80790 cat conftest.err >&5
80791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80792 (exit $ac_status); } &&
80793 { ac_try='test -z "$ac_c_werror_flag"
80794 || test ! -s conftest.err'
80795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80796 (eval $ac_try) 2>&5
80797 ac_status=$?
80798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80799 (exit $ac_status); }; } &&
80800 { ac_try='test -s conftest.$ac_objext'
80801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80802 (eval $ac_try) 2>&5
80803 ac_status=$?
80804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80805 (exit $ac_status); }; }; then
80806 has_wchar_minmax=yes
80807 else
80808 echo "$as_me: failed program was:" >&5
80809 sed 's/^/| /' conftest.$ac_ext >&5
80811 has_wchar_minmax=no
80813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80814 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80815 echo "${ECHO_T}$has_wchar_minmax" >&6
80817 # Test wchar.h for WEOF, which is what we use to determine whether
80818 # to specialize for char_traits<wchar_t> or not.
80819 echo "$as_me:$LINENO: checking for WEOF" >&5
80820 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80821 cat >conftest.$ac_ext <<_ACEOF
80822 /* confdefs.h. */
80823 _ACEOF
80824 cat confdefs.h >>conftest.$ac_ext
80825 cat >>conftest.$ac_ext <<_ACEOF
80826 /* end confdefs.h. */
80828 #include <wchar.h>
80829 #include <stddef.h>
80831 main ()
80833 wint_t i = WEOF;
80835 return 0;
80837 _ACEOF
80838 rm -f conftest.$ac_objext
80839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80840 (eval $ac_compile) 2>conftest.er1
80841 ac_status=$?
80842 grep -v '^ *+' conftest.er1 >conftest.err
80843 rm -f conftest.er1
80844 cat conftest.err >&5
80845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80846 (exit $ac_status); } &&
80847 { ac_try='test -z "$ac_c_werror_flag"
80848 || test ! -s conftest.err'
80849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80850 (eval $ac_try) 2>&5
80851 ac_status=$?
80852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80853 (exit $ac_status); }; } &&
80854 { ac_try='test -s conftest.$ac_objext'
80855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80856 (eval $ac_try) 2>&5
80857 ac_status=$?
80858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80859 (exit $ac_status); }; }; then
80860 has_weof=yes
80861 else
80862 echo "$as_me: failed program was:" >&5
80863 sed 's/^/| /' conftest.$ac_ext >&5
80865 has_weof=no
80867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80868 echo "$as_me:$LINENO: result: $has_weof" >&5
80869 echo "${ECHO_T}$has_weof" >&6
80871 # Tests for wide character functions used in char_traits<wchar_t>.
80872 ac_wfuncs=yes
80879 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80882 echo "$as_me:$LINENO: checking for $ac_func" >&5
80883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80884 if eval "test \"\${$as_ac_var+set}\" = set"; then
80885 echo $ECHO_N "(cached) $ECHO_C" >&6
80886 else
80887 if test x$gcc_no_link = xyes; then
80888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80890 { (exit 1); exit 1; }; }
80892 cat >conftest.$ac_ext <<_ACEOF
80893 /* confdefs.h. */
80894 _ACEOF
80895 cat confdefs.h >>conftest.$ac_ext
80896 cat >>conftest.$ac_ext <<_ACEOF
80897 /* end confdefs.h. */
80898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80900 #define $ac_func innocuous_$ac_func
80902 /* System header to define __stub macros and hopefully few prototypes,
80903 which can conflict with char $ac_func (); below.
80904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80905 <limits.h> exists even on freestanding compilers. */
80907 #ifdef __STDC__
80908 # include <limits.h>
80909 #else
80910 # include <assert.h>
80911 #endif
80913 #undef $ac_func
80915 /* Override any gcc2 internal prototype to avoid an error. */
80916 #ifdef __cplusplus
80917 extern "C"
80919 #endif
80920 /* We use char because int might match the return type of a gcc2
80921 builtin and then its argument prototype would still apply. */
80922 char $ac_func ();
80923 /* The GNU C library defines this for functions which it implements
80924 to always fail with ENOSYS. Some functions are actually named
80925 something starting with __ and the normal name is an alias. */
80926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80927 choke me
80928 #else
80929 char (*f) () = $ac_func;
80930 #endif
80931 #ifdef __cplusplus
80933 #endif
80936 main ()
80938 return f != $ac_func;
80940 return 0;
80942 _ACEOF
80943 rm -f conftest.$ac_objext conftest$ac_exeext
80944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80945 (eval $ac_link) 2>conftest.er1
80946 ac_status=$?
80947 grep -v '^ *+' conftest.er1 >conftest.err
80948 rm -f conftest.er1
80949 cat conftest.err >&5
80950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80951 (exit $ac_status); } &&
80952 { ac_try='test -z "$ac_c_werror_flag"
80953 || test ! -s conftest.err'
80954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80955 (eval $ac_try) 2>&5
80956 ac_status=$?
80957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80958 (exit $ac_status); }; } &&
80959 { ac_try='test -s conftest$ac_exeext'
80960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80961 (eval $ac_try) 2>&5
80962 ac_status=$?
80963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80964 (exit $ac_status); }; }; then
80965 eval "$as_ac_var=yes"
80966 else
80967 echo "$as_me: failed program was:" >&5
80968 sed 's/^/| /' conftest.$ac_ext >&5
80970 eval "$as_ac_var=no"
80972 rm -f conftest.err conftest.$ac_objext \
80973 conftest$ac_exeext conftest.$ac_ext
80975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80977 if test `eval echo '${'$as_ac_var'}'` = yes; then
80978 cat >>confdefs.h <<_ACEOF
80979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80980 _ACEOF
80982 else
80983 ac_wfuncs=no
80985 done
80988 # Checks for names injected into std:: by the c_std headers.
81035 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81036 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81037 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81038 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81039 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81040 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81043 echo "$as_me:$LINENO: checking for $ac_func" >&5
81044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81045 if eval "test \"\${$as_ac_var+set}\" = set"; then
81046 echo $ECHO_N "(cached) $ECHO_C" >&6
81047 else
81048 if test x$gcc_no_link = xyes; then
81049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81051 { (exit 1); exit 1; }; }
81053 cat >conftest.$ac_ext <<_ACEOF
81054 /* confdefs.h. */
81055 _ACEOF
81056 cat confdefs.h >>conftest.$ac_ext
81057 cat >>conftest.$ac_ext <<_ACEOF
81058 /* end confdefs.h. */
81059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81061 #define $ac_func innocuous_$ac_func
81063 /* System header to define __stub macros and hopefully few prototypes,
81064 which can conflict with char $ac_func (); below.
81065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81066 <limits.h> exists even on freestanding compilers. */
81068 #ifdef __STDC__
81069 # include <limits.h>
81070 #else
81071 # include <assert.h>
81072 #endif
81074 #undef $ac_func
81076 /* Override any gcc2 internal prototype to avoid an error. */
81077 #ifdef __cplusplus
81078 extern "C"
81080 #endif
81081 /* We use char because int might match the return type of a gcc2
81082 builtin and then its argument prototype would still apply. */
81083 char $ac_func ();
81084 /* The GNU C library defines this for functions which it implements
81085 to always fail with ENOSYS. Some functions are actually named
81086 something starting with __ and the normal name is an alias. */
81087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81088 choke me
81089 #else
81090 char (*f) () = $ac_func;
81091 #endif
81092 #ifdef __cplusplus
81094 #endif
81097 main ()
81099 return f != $ac_func;
81101 return 0;
81103 _ACEOF
81104 rm -f conftest.$ac_objext conftest$ac_exeext
81105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81106 (eval $ac_link) 2>conftest.er1
81107 ac_status=$?
81108 grep -v '^ *+' conftest.er1 >conftest.err
81109 rm -f conftest.er1
81110 cat conftest.err >&5
81111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81112 (exit $ac_status); } &&
81113 { ac_try='test -z "$ac_c_werror_flag"
81114 || test ! -s conftest.err'
81115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81116 (eval $ac_try) 2>&5
81117 ac_status=$?
81118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81119 (exit $ac_status); }; } &&
81120 { ac_try='test -s conftest$ac_exeext'
81121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81122 (eval $ac_try) 2>&5
81123 ac_status=$?
81124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81125 (exit $ac_status); }; }; then
81126 eval "$as_ac_var=yes"
81127 else
81128 echo "$as_me: failed program was:" >&5
81129 sed 's/^/| /' conftest.$ac_ext >&5
81131 eval "$as_ac_var=no"
81133 rm -f conftest.err conftest.$ac_objext \
81134 conftest$ac_exeext conftest.$ac_ext
81136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81138 if test `eval echo '${'$as_ac_var'}'` = yes; then
81139 cat >>confdefs.h <<_ACEOF
81140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81141 _ACEOF
81143 else
81144 ac_wfuncs=no
81146 done
81149 # Checks for wide character functions that are not required
81150 # for basic wchar_t support. Don't disable support if they are missing.
81151 # Injection of these is wrapped with guard macros.
81157 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81160 echo "$as_me:$LINENO: checking for $ac_func" >&5
81161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81162 if eval "test \"\${$as_ac_var+set}\" = set"; then
81163 echo $ECHO_N "(cached) $ECHO_C" >&6
81164 else
81165 if test x$gcc_no_link = xyes; then
81166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81168 { (exit 1); exit 1; }; }
81170 cat >conftest.$ac_ext <<_ACEOF
81171 /* confdefs.h. */
81172 _ACEOF
81173 cat confdefs.h >>conftest.$ac_ext
81174 cat >>conftest.$ac_ext <<_ACEOF
81175 /* end confdefs.h. */
81176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81178 #define $ac_func innocuous_$ac_func
81180 /* System header to define __stub macros and hopefully few prototypes,
81181 which can conflict with char $ac_func (); below.
81182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81183 <limits.h> exists even on freestanding compilers. */
81185 #ifdef __STDC__
81186 # include <limits.h>
81187 #else
81188 # include <assert.h>
81189 #endif
81191 #undef $ac_func
81193 /* Override any gcc2 internal prototype to avoid an error. */
81194 #ifdef __cplusplus
81195 extern "C"
81197 #endif
81198 /* We use char because int might match the return type of a gcc2
81199 builtin and then its argument prototype would still apply. */
81200 char $ac_func ();
81201 /* The GNU C library defines this for functions which it implements
81202 to always fail with ENOSYS. Some functions are actually named
81203 something starting with __ and the normal name is an alias. */
81204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81205 choke me
81206 #else
81207 char (*f) () = $ac_func;
81208 #endif
81209 #ifdef __cplusplus
81211 #endif
81214 main ()
81216 return f != $ac_func;
81218 return 0;
81220 _ACEOF
81221 rm -f conftest.$ac_objext conftest$ac_exeext
81222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81223 (eval $ac_link) 2>conftest.er1
81224 ac_status=$?
81225 grep -v '^ *+' conftest.er1 >conftest.err
81226 rm -f conftest.er1
81227 cat conftest.err >&5
81228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81229 (exit $ac_status); } &&
81230 { ac_try='test -z "$ac_c_werror_flag"
81231 || test ! -s conftest.err'
81232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81233 (eval $ac_try) 2>&5
81234 ac_status=$?
81235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81236 (exit $ac_status); }; } &&
81237 { ac_try='test -s conftest$ac_exeext'
81238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81239 (eval $ac_try) 2>&5
81240 ac_status=$?
81241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81242 (exit $ac_status); }; }; then
81243 eval "$as_ac_var=yes"
81244 else
81245 echo "$as_me: failed program was:" >&5
81246 sed 's/^/| /' conftest.$ac_ext >&5
81248 eval "$as_ac_var=no"
81250 rm -f conftest.err conftest.$ac_objext \
81251 conftest$ac_exeext conftest.$ac_ext
81253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81255 if test `eval echo '${'$as_ac_var'}'` = yes; then
81256 cat >>confdefs.h <<_ACEOF
81257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81258 _ACEOF
81261 done
81264 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81265 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81266 if test x"$has_weof" = xyes &&
81267 test x"$has_wchar_minmax" = xyes &&
81268 test x"$ac_wfuncs" = xyes;
81269 then
81270 ac_isoC99_wchar_t=yes
81271 else
81272 ac_isoC99_wchar_t=no
81274 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81275 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81277 # Use iconv for wchar_t to char conversions. As such, check for
81278 # X/Open Portability Guide, version 2 features (XPG2).
81279 if test "${ac_cv_header_iconv_h+set}" = set; then
81280 echo "$as_me:$LINENO: checking for iconv.h" >&5
81281 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81282 if test "${ac_cv_header_iconv_h+set}" = set; then
81283 echo $ECHO_N "(cached) $ECHO_C" >&6
81285 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81286 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81287 else
81288 # Is the header compilable?
81289 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81290 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81291 cat >conftest.$ac_ext <<_ACEOF
81292 /* confdefs.h. */
81293 _ACEOF
81294 cat confdefs.h >>conftest.$ac_ext
81295 cat >>conftest.$ac_ext <<_ACEOF
81296 /* end confdefs.h. */
81297 $ac_includes_default
81298 #include <iconv.h>
81299 _ACEOF
81300 rm -f conftest.$ac_objext
81301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81302 (eval $ac_compile) 2>conftest.er1
81303 ac_status=$?
81304 grep -v '^ *+' conftest.er1 >conftest.err
81305 rm -f conftest.er1
81306 cat conftest.err >&5
81307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81308 (exit $ac_status); } &&
81309 { ac_try='test -z "$ac_c_werror_flag"
81310 || test ! -s conftest.err'
81311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81312 (eval $ac_try) 2>&5
81313 ac_status=$?
81314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81315 (exit $ac_status); }; } &&
81316 { ac_try='test -s conftest.$ac_objext'
81317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81318 (eval $ac_try) 2>&5
81319 ac_status=$?
81320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81321 (exit $ac_status); }; }; then
81322 ac_header_compiler=yes
81323 else
81324 echo "$as_me: failed program was:" >&5
81325 sed 's/^/| /' conftest.$ac_ext >&5
81327 ac_header_compiler=no
81329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81331 echo "${ECHO_T}$ac_header_compiler" >&6
81333 # Is the header present?
81334 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81335 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81336 cat >conftest.$ac_ext <<_ACEOF
81337 /* confdefs.h. */
81338 _ACEOF
81339 cat confdefs.h >>conftest.$ac_ext
81340 cat >>conftest.$ac_ext <<_ACEOF
81341 /* end confdefs.h. */
81342 #include <iconv.h>
81343 _ACEOF
81344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81346 ac_status=$?
81347 grep -v '^ *+' conftest.er1 >conftest.err
81348 rm -f conftest.er1
81349 cat conftest.err >&5
81350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81351 (exit $ac_status); } >/dev/null; then
81352 if test -s conftest.err; then
81353 ac_cpp_err=$ac_c_preproc_warn_flag
81354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81355 else
81356 ac_cpp_err=
81358 else
81359 ac_cpp_err=yes
81361 if test -z "$ac_cpp_err"; then
81362 ac_header_preproc=yes
81363 else
81364 echo "$as_me: failed program was:" >&5
81365 sed 's/^/| /' conftest.$ac_ext >&5
81367 ac_header_preproc=no
81369 rm -f conftest.err conftest.$ac_ext
81370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81371 echo "${ECHO_T}$ac_header_preproc" >&6
81373 # So? What about this header?
81374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81375 yes:no: )
81376 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81377 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81378 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81379 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81380 ac_header_preproc=yes
81382 no:yes:* )
81383 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81384 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81385 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81386 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81387 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81388 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81389 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81390 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81391 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81392 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81393 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81394 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81396 cat <<\_ASBOX
81397 ## ----------------------------------------- ##
81398 ## Report this to the package-unused lists. ##
81399 ## ----------------------------------------- ##
81400 _ASBOX
81402 sed "s/^/$as_me: WARNING: /" >&2
81404 esac
81405 echo "$as_me:$LINENO: checking for iconv.h" >&5
81406 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81407 if test "${ac_cv_header_iconv_h+set}" = set; then
81408 echo $ECHO_N "(cached) $ECHO_C" >&6
81409 else
81410 ac_cv_header_iconv_h=$ac_header_preproc
81412 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81413 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81416 if test $ac_cv_header_iconv_h = yes; then
81417 ac_has_iconv_h=yes
81418 else
81419 ac_has_iconv_h=no
81423 if test "${ac_cv_header_langinfo_h+set}" = set; then
81424 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81425 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81426 if test "${ac_cv_header_langinfo_h+set}" = set; then
81427 echo $ECHO_N "(cached) $ECHO_C" >&6
81429 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81430 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81431 else
81432 # Is the header compilable?
81433 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81434 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81435 cat >conftest.$ac_ext <<_ACEOF
81436 /* confdefs.h. */
81437 _ACEOF
81438 cat confdefs.h >>conftest.$ac_ext
81439 cat >>conftest.$ac_ext <<_ACEOF
81440 /* end confdefs.h. */
81441 $ac_includes_default
81442 #include <langinfo.h>
81443 _ACEOF
81444 rm -f conftest.$ac_objext
81445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81446 (eval $ac_compile) 2>conftest.er1
81447 ac_status=$?
81448 grep -v '^ *+' conftest.er1 >conftest.err
81449 rm -f conftest.er1
81450 cat conftest.err >&5
81451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81452 (exit $ac_status); } &&
81453 { ac_try='test -z "$ac_c_werror_flag"
81454 || test ! -s conftest.err'
81455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81456 (eval $ac_try) 2>&5
81457 ac_status=$?
81458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81459 (exit $ac_status); }; } &&
81460 { ac_try='test -s conftest.$ac_objext'
81461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81462 (eval $ac_try) 2>&5
81463 ac_status=$?
81464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81465 (exit $ac_status); }; }; then
81466 ac_header_compiler=yes
81467 else
81468 echo "$as_me: failed program was:" >&5
81469 sed 's/^/| /' conftest.$ac_ext >&5
81471 ac_header_compiler=no
81473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81475 echo "${ECHO_T}$ac_header_compiler" >&6
81477 # Is the header present?
81478 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81479 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81480 cat >conftest.$ac_ext <<_ACEOF
81481 /* confdefs.h. */
81482 _ACEOF
81483 cat confdefs.h >>conftest.$ac_ext
81484 cat >>conftest.$ac_ext <<_ACEOF
81485 /* end confdefs.h. */
81486 #include <langinfo.h>
81487 _ACEOF
81488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81490 ac_status=$?
81491 grep -v '^ *+' conftest.er1 >conftest.err
81492 rm -f conftest.er1
81493 cat conftest.err >&5
81494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81495 (exit $ac_status); } >/dev/null; then
81496 if test -s conftest.err; then
81497 ac_cpp_err=$ac_c_preproc_warn_flag
81498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81499 else
81500 ac_cpp_err=
81502 else
81503 ac_cpp_err=yes
81505 if test -z "$ac_cpp_err"; then
81506 ac_header_preproc=yes
81507 else
81508 echo "$as_me: failed program was:" >&5
81509 sed 's/^/| /' conftest.$ac_ext >&5
81511 ac_header_preproc=no
81513 rm -f conftest.err conftest.$ac_ext
81514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81515 echo "${ECHO_T}$ac_header_preproc" >&6
81517 # So? What about this header?
81518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81519 yes:no: )
81520 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81521 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81522 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81523 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81524 ac_header_preproc=yes
81526 no:yes:* )
81527 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81528 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81529 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81530 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81531 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81532 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81533 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81534 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81535 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81536 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81537 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81538 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81540 cat <<\_ASBOX
81541 ## ----------------------------------------- ##
81542 ## Report this to the package-unused lists. ##
81543 ## ----------------------------------------- ##
81544 _ASBOX
81546 sed "s/^/$as_me: WARNING: /" >&2
81548 esac
81549 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81550 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81551 if test "${ac_cv_header_langinfo_h+set}" = set; then
81552 echo $ECHO_N "(cached) $ECHO_C" >&6
81553 else
81554 ac_cv_header_langinfo_h=$ac_header_preproc
81556 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81557 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81560 if test $ac_cv_header_langinfo_h = yes; then
81561 ac_has_langinfo_h=yes
81562 else
81563 ac_has_langinfo_h=no
81568 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81569 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81570 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81571 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81572 echo $ECHO_N "(cached) $ECHO_C" >&6
81573 else
81574 ac_check_lib_save_LIBS=$LIBS
81575 LIBS="-liconv $LIBS"
81576 if test x$gcc_no_link = xyes; then
81577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81579 { (exit 1); exit 1; }; }
81581 cat >conftest.$ac_ext <<_ACEOF
81582 /* confdefs.h. */
81583 _ACEOF
81584 cat confdefs.h >>conftest.$ac_ext
81585 cat >>conftest.$ac_ext <<_ACEOF
81586 /* end confdefs.h. */
81588 /* Override any gcc2 internal prototype to avoid an error. */
81589 #ifdef __cplusplus
81590 extern "C"
81591 #endif
81592 /* We use char because int might match the return type of a gcc2
81593 builtin and then its argument prototype would still apply. */
81594 char iconv ();
81596 main ()
81598 iconv ();
81600 return 0;
81602 _ACEOF
81603 rm -f conftest.$ac_objext conftest$ac_exeext
81604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81605 (eval $ac_link) 2>conftest.er1
81606 ac_status=$?
81607 grep -v '^ *+' conftest.er1 >conftest.err
81608 rm -f conftest.er1
81609 cat conftest.err >&5
81610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81611 (exit $ac_status); } &&
81612 { ac_try='test -z "$ac_c_werror_flag"
81613 || test ! -s conftest.err'
81614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81615 (eval $ac_try) 2>&5
81616 ac_status=$?
81617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81618 (exit $ac_status); }; } &&
81619 { ac_try='test -s conftest$ac_exeext'
81620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81621 (eval $ac_try) 2>&5
81622 ac_status=$?
81623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81624 (exit $ac_status); }; }; then
81625 ac_cv_lib_iconv_iconv=yes
81626 else
81627 echo "$as_me: failed program was:" >&5
81628 sed 's/^/| /' conftest.$ac_ext >&5
81630 ac_cv_lib_iconv_iconv=no
81632 rm -f conftest.err conftest.$ac_objext \
81633 conftest$ac_exeext conftest.$ac_ext
81634 LIBS=$ac_check_lib_save_LIBS
81636 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81637 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81638 if test $ac_cv_lib_iconv_iconv = yes; then
81639 LIBICONV="-liconv"
81642 ac_save_LIBS="$LIBS"
81643 LIBS="$LIBS $LIBICONV"
81650 for ac_func in iconv_open iconv_close iconv nl_langinfo
81652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81653 echo "$as_me:$LINENO: checking for $ac_func" >&5
81654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81655 if eval "test \"\${$as_ac_var+set}\" = set"; then
81656 echo $ECHO_N "(cached) $ECHO_C" >&6
81657 else
81658 if test x$gcc_no_link = xyes; then
81659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81661 { (exit 1); exit 1; }; }
81663 cat >conftest.$ac_ext <<_ACEOF
81664 /* confdefs.h. */
81665 _ACEOF
81666 cat confdefs.h >>conftest.$ac_ext
81667 cat >>conftest.$ac_ext <<_ACEOF
81668 /* end confdefs.h. */
81669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81671 #define $ac_func innocuous_$ac_func
81673 /* System header to define __stub macros and hopefully few prototypes,
81674 which can conflict with char $ac_func (); below.
81675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81676 <limits.h> exists even on freestanding compilers. */
81678 #ifdef __STDC__
81679 # include <limits.h>
81680 #else
81681 # include <assert.h>
81682 #endif
81684 #undef $ac_func
81686 /* Override any gcc2 internal prototype to avoid an error. */
81687 #ifdef __cplusplus
81688 extern "C"
81690 #endif
81691 /* We use char because int might match the return type of a gcc2
81692 builtin and then its argument prototype would still apply. */
81693 char $ac_func ();
81694 /* The GNU C library defines this for functions which it implements
81695 to always fail with ENOSYS. Some functions are actually named
81696 something starting with __ and the normal name is an alias. */
81697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81698 choke me
81699 #else
81700 char (*f) () = $ac_func;
81701 #endif
81702 #ifdef __cplusplus
81704 #endif
81707 main ()
81709 return f != $ac_func;
81711 return 0;
81713 _ACEOF
81714 rm -f conftest.$ac_objext conftest$ac_exeext
81715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81716 (eval $ac_link) 2>conftest.er1
81717 ac_status=$?
81718 grep -v '^ *+' conftest.er1 >conftest.err
81719 rm -f conftest.er1
81720 cat conftest.err >&5
81721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81722 (exit $ac_status); } &&
81723 { ac_try='test -z "$ac_c_werror_flag"
81724 || test ! -s conftest.err'
81725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81726 (eval $ac_try) 2>&5
81727 ac_status=$?
81728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81729 (exit $ac_status); }; } &&
81730 { ac_try='test -s conftest$ac_exeext'
81731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81732 (eval $ac_try) 2>&5
81733 ac_status=$?
81734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81735 (exit $ac_status); }; }; then
81736 eval "$as_ac_var=yes"
81737 else
81738 echo "$as_me: failed program was:" >&5
81739 sed 's/^/| /' conftest.$ac_ext >&5
81741 eval "$as_ac_var=no"
81743 rm -f conftest.err conftest.$ac_objext \
81744 conftest$ac_exeext conftest.$ac_ext
81746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81748 if test `eval echo '${'$as_ac_var'}'` = yes; then
81749 cat >>confdefs.h <<_ACEOF
81750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81751 _ACEOF
81752 ac_XPG2funcs=yes
81753 else
81754 ac_XPG2funcs=no
81756 done
81759 LIBS="$ac_save_LIBS"
81761 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81762 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81763 if test x"$ac_has_iconv_h" = xyes &&
81764 test x"$ac_has_langinfo_h" = xyes &&
81765 test x"$ac_XPG2funcs" = xyes;
81766 then
81767 ac_XPG2_wchar_t=yes
81768 else
81769 ac_XPG2_wchar_t=no
81771 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81772 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81774 # At the moment, only enable wchar_t specializations if all the
81775 # above support is present.
81776 if test x"$ac_isoC99_wchar_t" = xyes &&
81777 test x"$ac_XPG2_wchar_t" = xyes;
81778 then
81779 cat >>confdefs.h <<\_ACEOF
81780 #define _GLIBCXX_USE_WCHAR_T 1
81781 _ACEOF
81783 enable_wchar_t=yes
81786 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81787 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81788 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81789 echo "${ECHO_T}$enable_wchar_t" >&6
81792 # For LFS.
81793 cat >>confdefs.h <<\_ACEOF
81794 #define HAVE_INT64_T 1
81795 _ACEOF
81797 case "$target" in
81798 *-uclinux*)
81799 # Don't enable LFS with uClibc
81802 cat >>confdefs.h <<\_ACEOF
81803 #define _GLIBCXX_USE_LFS 1
81804 _ACEOF
81806 esac
81808 # For showmanyc_helper().
81811 for ac_header in sys/ioctl.h sys/filio.h
81813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81815 echo "$as_me:$LINENO: checking for $ac_header" >&5
81816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81818 echo $ECHO_N "(cached) $ECHO_C" >&6
81820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81822 else
81823 # Is the header compilable?
81824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81826 cat >conftest.$ac_ext <<_ACEOF
81827 /* confdefs.h. */
81828 _ACEOF
81829 cat confdefs.h >>conftest.$ac_ext
81830 cat >>conftest.$ac_ext <<_ACEOF
81831 /* end confdefs.h. */
81832 $ac_includes_default
81833 #include <$ac_header>
81834 _ACEOF
81835 rm -f conftest.$ac_objext
81836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81837 (eval $ac_compile) 2>conftest.er1
81838 ac_status=$?
81839 grep -v '^ *+' conftest.er1 >conftest.err
81840 rm -f conftest.er1
81841 cat conftest.err >&5
81842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81843 (exit $ac_status); } &&
81844 { ac_try='test -z "$ac_c_werror_flag"
81845 || test ! -s conftest.err'
81846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81847 (eval $ac_try) 2>&5
81848 ac_status=$?
81849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81850 (exit $ac_status); }; } &&
81851 { ac_try='test -s conftest.$ac_objext'
81852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81853 (eval $ac_try) 2>&5
81854 ac_status=$?
81855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81856 (exit $ac_status); }; }; then
81857 ac_header_compiler=yes
81858 else
81859 echo "$as_me: failed program was:" >&5
81860 sed 's/^/| /' conftest.$ac_ext >&5
81862 ac_header_compiler=no
81864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81866 echo "${ECHO_T}$ac_header_compiler" >&6
81868 # Is the header present?
81869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81871 cat >conftest.$ac_ext <<_ACEOF
81872 /* confdefs.h. */
81873 _ACEOF
81874 cat confdefs.h >>conftest.$ac_ext
81875 cat >>conftest.$ac_ext <<_ACEOF
81876 /* end confdefs.h. */
81877 #include <$ac_header>
81878 _ACEOF
81879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81881 ac_status=$?
81882 grep -v '^ *+' conftest.er1 >conftest.err
81883 rm -f conftest.er1
81884 cat conftest.err >&5
81885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81886 (exit $ac_status); } >/dev/null; then
81887 if test -s conftest.err; then
81888 ac_cpp_err=$ac_c_preproc_warn_flag
81889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81890 else
81891 ac_cpp_err=
81893 else
81894 ac_cpp_err=yes
81896 if test -z "$ac_cpp_err"; then
81897 ac_header_preproc=yes
81898 else
81899 echo "$as_me: failed program was:" >&5
81900 sed 's/^/| /' conftest.$ac_ext >&5
81902 ac_header_preproc=no
81904 rm -f conftest.err conftest.$ac_ext
81905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81906 echo "${ECHO_T}$ac_header_preproc" >&6
81908 # So? What about this header?
81909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81910 yes:no: )
81911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81915 ac_header_preproc=yes
81917 no:yes:* )
81918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81931 cat <<\_ASBOX
81932 ## ----------------------------------------- ##
81933 ## Report this to the package-unused lists. ##
81934 ## ----------------------------------------- ##
81935 _ASBOX
81937 sed "s/^/$as_me: WARNING: /" >&2
81939 esac
81940 echo "$as_me:$LINENO: checking for $ac_header" >&5
81941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81943 echo $ECHO_N "(cached) $ECHO_C" >&6
81944 else
81945 eval "$as_ac_Header=\$ac_header_preproc"
81947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81952 cat >>confdefs.h <<_ACEOF
81953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81954 _ACEOF
81958 done
81961 if test "${glibcxx_cv_POLL+set}" = set; then
81962 echo $ECHO_N "(cached) $ECHO_C" >&6
81963 else
81965 if test x$gcc_no_link = xyes; then
81966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81968 { (exit 1); exit 1; }; }
81970 cat >conftest.$ac_ext <<_ACEOF
81971 /* confdefs.h. */
81972 _ACEOF
81973 cat confdefs.h >>conftest.$ac_ext
81974 cat >>conftest.$ac_ext <<_ACEOF
81975 /* end confdefs.h. */
81976 #include <poll.h>
81978 main ()
81980 struct pollfd pfd[1];
81981 pfd[0].events = POLLIN;
81982 poll(pfd, 1, 0);
81984 return 0;
81986 _ACEOF
81987 rm -f conftest.$ac_objext conftest$ac_exeext
81988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81989 (eval $ac_link) 2>conftest.er1
81990 ac_status=$?
81991 grep -v '^ *+' conftest.er1 >conftest.err
81992 rm -f conftest.er1
81993 cat conftest.err >&5
81994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81995 (exit $ac_status); } &&
81996 { ac_try='test -z "$ac_c_werror_flag"
81997 || test ! -s conftest.err'
81998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81999 (eval $ac_try) 2>&5
82000 ac_status=$?
82001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82002 (exit $ac_status); }; } &&
82003 { ac_try='test -s conftest$ac_exeext'
82004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82005 (eval $ac_try) 2>&5
82006 ac_status=$?
82007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82008 (exit $ac_status); }; }; then
82009 glibcxx_cv_POLL=yes
82010 else
82011 echo "$as_me: failed program was:" >&5
82012 sed 's/^/| /' conftest.$ac_ext >&5
82014 glibcxx_cv_POLL=no
82016 rm -f conftest.err conftest.$ac_objext \
82017 conftest$ac_exeext conftest.$ac_ext
82021 if test $glibcxx_cv_POLL = yes; then
82022 cat >>confdefs.h <<\_ACEOF
82023 #define HAVE_POLL 1
82024 _ACEOF
82029 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82030 echo $ECHO_N "(cached) $ECHO_C" >&6
82031 else
82033 if test x$gcc_no_link = xyes; then
82034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82036 { (exit 1); exit 1; }; }
82038 cat >conftest.$ac_ext <<_ACEOF
82039 /* confdefs.h. */
82040 _ACEOF
82041 cat confdefs.h >>conftest.$ac_ext
82042 cat >>conftest.$ac_ext <<_ACEOF
82043 /* end confdefs.h. */
82044 #include <sys/stat.h>
82046 main ()
82048 struct stat buffer;
82049 fstat(0, &buffer);
82050 S_ISREG(buffer.st_mode);
82052 return 0;
82054 _ACEOF
82055 rm -f conftest.$ac_objext conftest$ac_exeext
82056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82057 (eval $ac_link) 2>conftest.er1
82058 ac_status=$?
82059 grep -v '^ *+' conftest.er1 >conftest.err
82060 rm -f conftest.er1
82061 cat conftest.err >&5
82062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82063 (exit $ac_status); } &&
82064 { ac_try='test -z "$ac_c_werror_flag"
82065 || test ! -s conftest.err'
82066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82067 (eval $ac_try) 2>&5
82068 ac_status=$?
82069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82070 (exit $ac_status); }; } &&
82071 { ac_try='test -s conftest$ac_exeext'
82072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82073 (eval $ac_try) 2>&5
82074 ac_status=$?
82075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82076 (exit $ac_status); }; }; then
82077 glibcxx_cv_S_ISREG=yes
82078 else
82079 echo "$as_me: failed program was:" >&5
82080 sed 's/^/| /' conftest.$ac_ext >&5
82082 glibcxx_cv_S_ISREG=no
82084 rm -f conftest.err conftest.$ac_objext \
82085 conftest$ac_exeext conftest.$ac_ext
82089 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82090 echo $ECHO_N "(cached) $ECHO_C" >&6
82091 else
82093 if test x$gcc_no_link = xyes; then
82094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82096 { (exit 1); exit 1; }; }
82098 cat >conftest.$ac_ext <<_ACEOF
82099 /* confdefs.h. */
82100 _ACEOF
82101 cat confdefs.h >>conftest.$ac_ext
82102 cat >>conftest.$ac_ext <<_ACEOF
82103 /* end confdefs.h. */
82104 #include <sys/stat.h>
82106 main ()
82108 struct stat buffer;
82109 fstat(0, &buffer);
82110 S_IFREG & buffer.st_mode;
82112 return 0;
82114 _ACEOF
82115 rm -f conftest.$ac_objext conftest$ac_exeext
82116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82117 (eval $ac_link) 2>conftest.er1
82118 ac_status=$?
82119 grep -v '^ *+' conftest.er1 >conftest.err
82120 rm -f conftest.er1
82121 cat conftest.err >&5
82122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82123 (exit $ac_status); } &&
82124 { ac_try='test -z "$ac_c_werror_flag"
82125 || test ! -s conftest.err'
82126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82127 (eval $ac_try) 2>&5
82128 ac_status=$?
82129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82130 (exit $ac_status); }; } &&
82131 { ac_try='test -s conftest$ac_exeext'
82132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82133 (eval $ac_try) 2>&5
82134 ac_status=$?
82135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82136 (exit $ac_status); }; }; then
82137 glibcxx_cv_S_IFREG=yes
82138 else
82139 echo "$as_me: failed program was:" >&5
82140 sed 's/^/| /' conftest.$ac_ext >&5
82142 glibcxx_cv_S_IFREG=no
82144 rm -f conftest.err conftest.$ac_objext \
82145 conftest$ac_exeext conftest.$ac_ext
82149 if test $glibcxx_cv_S_ISREG = yes; then
82150 cat >>confdefs.h <<\_ACEOF
82151 #define HAVE_S_ISREG 1
82152 _ACEOF
82154 elif test $glibcxx_cv_S_IFREG = yes; then
82155 cat >>confdefs.h <<\_ACEOF
82156 #define HAVE_S_IFREG 1
82157 _ACEOF
82162 # For xsputn_2().
82164 for ac_header in sys/uio.h
82166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82168 echo "$as_me:$LINENO: checking for $ac_header" >&5
82169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82171 echo $ECHO_N "(cached) $ECHO_C" >&6
82173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82175 else
82176 # Is the header compilable?
82177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82179 cat >conftest.$ac_ext <<_ACEOF
82180 /* confdefs.h. */
82181 _ACEOF
82182 cat confdefs.h >>conftest.$ac_ext
82183 cat >>conftest.$ac_ext <<_ACEOF
82184 /* end confdefs.h. */
82185 $ac_includes_default
82186 #include <$ac_header>
82187 _ACEOF
82188 rm -f conftest.$ac_objext
82189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82190 (eval $ac_compile) 2>conftest.er1
82191 ac_status=$?
82192 grep -v '^ *+' conftest.er1 >conftest.err
82193 rm -f conftest.er1
82194 cat conftest.err >&5
82195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82196 (exit $ac_status); } &&
82197 { ac_try='test -z "$ac_c_werror_flag"
82198 || test ! -s conftest.err'
82199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82200 (eval $ac_try) 2>&5
82201 ac_status=$?
82202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82203 (exit $ac_status); }; } &&
82204 { ac_try='test -s conftest.$ac_objext'
82205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82206 (eval $ac_try) 2>&5
82207 ac_status=$?
82208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82209 (exit $ac_status); }; }; then
82210 ac_header_compiler=yes
82211 else
82212 echo "$as_me: failed program was:" >&5
82213 sed 's/^/| /' conftest.$ac_ext >&5
82215 ac_header_compiler=no
82217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82219 echo "${ECHO_T}$ac_header_compiler" >&6
82221 # Is the header present?
82222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82224 cat >conftest.$ac_ext <<_ACEOF
82225 /* confdefs.h. */
82226 _ACEOF
82227 cat confdefs.h >>conftest.$ac_ext
82228 cat >>conftest.$ac_ext <<_ACEOF
82229 /* end confdefs.h. */
82230 #include <$ac_header>
82231 _ACEOF
82232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82234 ac_status=$?
82235 grep -v '^ *+' conftest.er1 >conftest.err
82236 rm -f conftest.er1
82237 cat conftest.err >&5
82238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82239 (exit $ac_status); } >/dev/null; then
82240 if test -s conftest.err; then
82241 ac_cpp_err=$ac_c_preproc_warn_flag
82242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82243 else
82244 ac_cpp_err=
82246 else
82247 ac_cpp_err=yes
82249 if test -z "$ac_cpp_err"; then
82250 ac_header_preproc=yes
82251 else
82252 echo "$as_me: failed program was:" >&5
82253 sed 's/^/| /' conftest.$ac_ext >&5
82255 ac_header_preproc=no
82257 rm -f conftest.err conftest.$ac_ext
82258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82259 echo "${ECHO_T}$ac_header_preproc" >&6
82261 # So? What about this header?
82262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82263 yes:no: )
82264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82268 ac_header_preproc=yes
82270 no:yes:* )
82271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82284 cat <<\_ASBOX
82285 ## ----------------------------------------- ##
82286 ## Report this to the package-unused lists. ##
82287 ## ----------------------------------------- ##
82288 _ASBOX
82290 sed "s/^/$as_me: WARNING: /" >&2
82292 esac
82293 echo "$as_me:$LINENO: checking for $ac_header" >&5
82294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82296 echo $ECHO_N "(cached) $ECHO_C" >&6
82297 else
82298 eval "$as_ac_Header=\$ac_header_preproc"
82300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82305 cat >>confdefs.h <<_ACEOF
82306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82307 _ACEOF
82311 done
82314 if test "${glibcxx_cv_WRITEV+set}" = set; then
82315 echo $ECHO_N "(cached) $ECHO_C" >&6
82316 else
82318 if test x$gcc_no_link = xyes; then
82319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82321 { (exit 1); exit 1; }; }
82323 cat >conftest.$ac_ext <<_ACEOF
82324 /* confdefs.h. */
82325 _ACEOF
82326 cat confdefs.h >>conftest.$ac_ext
82327 cat >>conftest.$ac_ext <<_ACEOF
82328 /* end confdefs.h. */
82329 #include <sys/uio.h>
82331 main ()
82333 struct iovec iov[2];
82334 writev(0, iov, 0);
82336 return 0;
82338 _ACEOF
82339 rm -f conftest.$ac_objext conftest$ac_exeext
82340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82341 (eval $ac_link) 2>conftest.er1
82342 ac_status=$?
82343 grep -v '^ *+' conftest.er1 >conftest.err
82344 rm -f conftest.er1
82345 cat conftest.err >&5
82346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82347 (exit $ac_status); } &&
82348 { ac_try='test -z "$ac_c_werror_flag"
82349 || test ! -s conftest.err'
82350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82351 (eval $ac_try) 2>&5
82352 ac_status=$?
82353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82354 (exit $ac_status); }; } &&
82355 { ac_try='test -s conftest$ac_exeext'
82356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82357 (eval $ac_try) 2>&5
82358 ac_status=$?
82359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82360 (exit $ac_status); }; }; then
82361 glibcxx_cv_WRITEV=yes
82362 else
82363 echo "$as_me: failed program was:" >&5
82364 sed 's/^/| /' conftest.$ac_ext >&5
82366 glibcxx_cv_WRITEV=no
82368 rm -f conftest.err conftest.$ac_objext \
82369 conftest$ac_exeext conftest.$ac_ext
82373 if test $glibcxx_cv_WRITEV = yes; then
82374 cat >>confdefs.h <<\_ACEOF
82375 #define HAVE_WRITEV 1
82376 _ACEOF
82381 cat >>confdefs.h <<\_ACEOF
82382 #define HAVE_ACOSF 1
82383 _ACEOF
82385 cat >>confdefs.h <<\_ACEOF
82386 #define HAVE_ASINF 1
82387 _ACEOF
82389 cat >>confdefs.h <<\_ACEOF
82390 #define HAVE_ATANF 1
82391 _ACEOF
82393 cat >>confdefs.h <<\_ACEOF
82394 #define HAVE_ATAN2F 1
82395 _ACEOF
82397 cat >>confdefs.h <<\_ACEOF
82398 #define HAVE_CEILF 1
82399 _ACEOF
82401 cat >>confdefs.h <<\_ACEOF
82402 #define HAVE_COPYSIGN 1
82403 _ACEOF
82405 cat >>confdefs.h <<\_ACEOF
82406 #define HAVE_COPYSIGNF 1
82407 _ACEOF
82409 cat >>confdefs.h <<\_ACEOF
82410 #define HAVE_COSF 1
82411 _ACEOF
82413 cat >>confdefs.h <<\_ACEOF
82414 #define HAVE_COSHF 1
82415 _ACEOF
82417 cat >>confdefs.h <<\_ACEOF
82418 #define HAVE_EXPF 1
82419 _ACEOF
82421 cat >>confdefs.h <<\_ACEOF
82422 #define HAVE_FABSF 1
82423 _ACEOF
82425 cat >>confdefs.h <<\_ACEOF
82426 #define HAVE_FINITE 1
82427 _ACEOF
82429 cat >>confdefs.h <<\_ACEOF
82430 #define HAVE_FINITEF 1
82431 _ACEOF
82433 cat >>confdefs.h <<\_ACEOF
82434 #define HAVE_FLOORF 1
82435 _ACEOF
82437 cat >>confdefs.h <<\_ACEOF
82438 #define HAVE_FMODF 1
82439 _ACEOF
82441 cat >>confdefs.h <<\_ACEOF
82442 #define HAVE_FREXPF 1
82443 _ACEOF
82445 cat >>confdefs.h <<\_ACEOF
82446 #define HAVE_HYPOT 1
82447 _ACEOF
82449 cat >>confdefs.h <<\_ACEOF
82450 #define HAVE_HYPOTF 1
82451 _ACEOF
82453 cat >>confdefs.h <<\_ACEOF
82454 #define HAVE_ISINF 1
82455 _ACEOF
82457 cat >>confdefs.h <<\_ACEOF
82458 #define HAVE_ISINFF 1
82459 _ACEOF
82461 cat >>confdefs.h <<\_ACEOF
82462 #define HAVE_ISNAN 1
82463 _ACEOF
82465 cat >>confdefs.h <<\_ACEOF
82466 #define HAVE_ISNANF 1
82467 _ACEOF
82469 cat >>confdefs.h <<\_ACEOF
82470 #define HAVE_LOGF 1
82471 _ACEOF
82473 cat >>confdefs.h <<\_ACEOF
82474 #define HAVE_LOG10F 1
82475 _ACEOF
82477 cat >>confdefs.h <<\_ACEOF
82478 #define HAVE_MODFF 1
82479 _ACEOF
82481 cat >>confdefs.h <<\_ACEOF
82482 #define HAVE_SINF 1
82483 _ACEOF
82485 cat >>confdefs.h <<\_ACEOF
82486 #define HAVE_SINHF 1
82487 _ACEOF
82489 cat >>confdefs.h <<\_ACEOF
82490 #define HAVE_SINCOS 1
82491 _ACEOF
82493 cat >>confdefs.h <<\_ACEOF
82494 #define HAVE_SINCOSF 1
82495 _ACEOF
82497 cat >>confdefs.h <<\_ACEOF
82498 #define HAVE_SQRTF 1
82499 _ACEOF
82501 cat >>confdefs.h <<\_ACEOF
82502 #define HAVE_TANF 1
82503 _ACEOF
82505 cat >>confdefs.h <<\_ACEOF
82506 #define HAVE_TANHF 1
82507 _ACEOF
82509 if test x"long_double_math_on_this_cpu" = x"yes"; then
82510 cat >>confdefs.h <<\_ACEOF
82511 #define HAVE_ACOSL 1
82512 _ACEOF
82514 cat >>confdefs.h <<\_ACEOF
82515 #define HAVE_ASINL 1
82516 _ACEOF
82518 cat >>confdefs.h <<\_ACEOF
82519 #define HAVE_ATANL 1
82520 _ACEOF
82522 cat >>confdefs.h <<\_ACEOF
82523 #define HAVE_ATAN2L 1
82524 _ACEOF
82526 cat >>confdefs.h <<\_ACEOF
82527 #define HAVE_CEILL 1
82528 _ACEOF
82530 cat >>confdefs.h <<\_ACEOF
82531 #define HAVE_COPYSIGNL 1
82532 _ACEOF
82534 cat >>confdefs.h <<\_ACEOF
82535 #define HAVE_COSL 1
82536 _ACEOF
82538 cat >>confdefs.h <<\_ACEOF
82539 #define HAVE_COSHL 1
82540 _ACEOF
82542 cat >>confdefs.h <<\_ACEOF
82543 #define HAVE_EXPL 1
82544 _ACEOF
82546 cat >>confdefs.h <<\_ACEOF
82547 #define HAVE_FABSL 1
82548 _ACEOF
82550 cat >>confdefs.h <<\_ACEOF
82551 #define HAVE_FINITEL 1
82552 _ACEOF
82554 cat >>confdefs.h <<\_ACEOF
82555 #define HAVE_FLOORL 1
82556 _ACEOF
82558 cat >>confdefs.h <<\_ACEOF
82559 #define HAVE_FMODL 1
82560 _ACEOF
82562 cat >>confdefs.h <<\_ACEOF
82563 #define HAVE_FREXPL 1
82564 _ACEOF
82566 cat >>confdefs.h <<\_ACEOF
82567 #define HAVE_HYPOTL 1
82568 _ACEOF
82570 cat >>confdefs.h <<\_ACEOF
82571 #define HAVE_ISINFL 1
82572 _ACEOF
82574 cat >>confdefs.h <<\_ACEOF
82575 #define HAVE_ISNANL 1
82576 _ACEOF
82578 cat >>confdefs.h <<\_ACEOF
82579 #define HAVE_LOGL 1
82580 _ACEOF
82582 cat >>confdefs.h <<\_ACEOF
82583 #define HAVE_LOG10L 1
82584 _ACEOF
82586 cat >>confdefs.h <<\_ACEOF
82587 #define HAVE_MODFL 1
82588 _ACEOF
82590 cat >>confdefs.h <<\_ACEOF
82591 #define HAVE_POWL 1
82592 _ACEOF
82594 cat >>confdefs.h <<\_ACEOF
82595 #define HAVE_SINL 1
82596 _ACEOF
82598 cat >>confdefs.h <<\_ACEOF
82599 #define HAVE_SINHL 1
82600 _ACEOF
82602 cat >>confdefs.h <<\_ACEOF
82603 #define HAVE_SINCOSL 1
82604 _ACEOF
82606 cat >>confdefs.h <<\_ACEOF
82607 #define HAVE_SQRTL 1
82608 _ACEOF
82610 cat >>confdefs.h <<\_ACEOF
82611 #define HAVE_TANL 1
82612 _ACEOF
82614 cat >>confdefs.h <<\_ACEOF
82615 #define HAVE_TANHL 1
82616 _ACEOF
82620 *-mingw32*)
82624 for ac_header in sys/types.h locale.h float.h
82626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82628 echo "$as_me:$LINENO: checking for $ac_header" >&5
82629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82631 echo $ECHO_N "(cached) $ECHO_C" >&6
82633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82635 else
82636 # Is the header compilable?
82637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82639 cat >conftest.$ac_ext <<_ACEOF
82640 /* confdefs.h. */
82641 _ACEOF
82642 cat confdefs.h >>conftest.$ac_ext
82643 cat >>conftest.$ac_ext <<_ACEOF
82644 /* end confdefs.h. */
82645 $ac_includes_default
82646 #include <$ac_header>
82647 _ACEOF
82648 rm -f conftest.$ac_objext
82649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82650 (eval $ac_compile) 2>conftest.er1
82651 ac_status=$?
82652 grep -v '^ *+' conftest.er1 >conftest.err
82653 rm -f conftest.er1
82654 cat conftest.err >&5
82655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82656 (exit $ac_status); } &&
82657 { ac_try='test -z "$ac_c_werror_flag"
82658 || test ! -s conftest.err'
82659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82660 (eval $ac_try) 2>&5
82661 ac_status=$?
82662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82663 (exit $ac_status); }; } &&
82664 { ac_try='test -s conftest.$ac_objext'
82665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82666 (eval $ac_try) 2>&5
82667 ac_status=$?
82668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82669 (exit $ac_status); }; }; then
82670 ac_header_compiler=yes
82671 else
82672 echo "$as_me: failed program was:" >&5
82673 sed 's/^/| /' conftest.$ac_ext >&5
82675 ac_header_compiler=no
82677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82679 echo "${ECHO_T}$ac_header_compiler" >&6
82681 # Is the header present?
82682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82684 cat >conftest.$ac_ext <<_ACEOF
82685 /* confdefs.h. */
82686 _ACEOF
82687 cat confdefs.h >>conftest.$ac_ext
82688 cat >>conftest.$ac_ext <<_ACEOF
82689 /* end confdefs.h. */
82690 #include <$ac_header>
82691 _ACEOF
82692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82694 ac_status=$?
82695 grep -v '^ *+' conftest.er1 >conftest.err
82696 rm -f conftest.er1
82697 cat conftest.err >&5
82698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82699 (exit $ac_status); } >/dev/null; then
82700 if test -s conftest.err; then
82701 ac_cpp_err=$ac_c_preproc_warn_flag
82702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82703 else
82704 ac_cpp_err=
82706 else
82707 ac_cpp_err=yes
82709 if test -z "$ac_cpp_err"; then
82710 ac_header_preproc=yes
82711 else
82712 echo "$as_me: failed program was:" >&5
82713 sed 's/^/| /' conftest.$ac_ext >&5
82715 ac_header_preproc=no
82717 rm -f conftest.err conftest.$ac_ext
82718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82719 echo "${ECHO_T}$ac_header_preproc" >&6
82721 # So? What about this header?
82722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82723 yes:no: )
82724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82728 ac_header_preproc=yes
82730 no:yes:* )
82731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82744 cat <<\_ASBOX
82745 ## ----------------------------------------- ##
82746 ## Report this to the package-unused lists. ##
82747 ## ----------------------------------------- ##
82748 _ASBOX
82750 sed "s/^/$as_me: WARNING: /" >&2
82752 esac
82753 echo "$as_me:$LINENO: checking for $ac_header" >&5
82754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82756 echo $ECHO_N "(cached) $ECHO_C" >&6
82757 else
82758 eval "$as_ac_Header=\$ac_header_preproc"
82760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82765 cat >>confdefs.h <<_ACEOF
82766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82767 _ACEOF
82771 done
82774 # If we're not using GNU ld, then there's no point in even trying these
82775 # tests. Check for that first. We should have already tested for gld
82776 # by now (in libtool), but require it now just to be safe...
82777 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82778 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82782 # The name set by libtool depends on the version of libtool. Shame on us
82783 # for depending on an impl detail, but c'est la vie. Older versions used
82784 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82785 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82786 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82787 # set (hence we're using an older libtool), then set it.
82788 if test x${with_gnu_ld+set} != xset; then
82789 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82790 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82791 with_gnu_ld=no
82792 else
82793 with_gnu_ld=$ac_cv_prog_gnu_ld
82797 # Start by getting the version number. I think the libtool test already
82798 # does some of this, but throws away the result.
82800 ldver=`$LD --version 2>/dev/null | head -1 | \
82801 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82803 glibcxx_gnu_ld_version=`echo $ldver | \
82804 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82806 # Set --gc-sections.
82807 if test "$with_gnu_ld" = "notbroken"; then
82808 # GNU ld it is! Joy and bunny rabbits!
82810 # All these tests are for C++; save the language and the compiler flags.
82811 # Need to do this so that g++ won't try to link in libstdc++
82812 ac_test_CFLAGS="${CFLAGS+set}"
82813 ac_save_CFLAGS="$CFLAGS"
82814 CFLAGS='-x c++ -Wl,--gc-sections'
82816 # Check for -Wl,--gc-sections
82817 # XXX This test is broken at the moment, as symbols required for linking
82818 # are now in libsupc++ (not built yet). In addition, this test has
82819 # cored on solaris in the past. In addition, --gc-sections doesn't
82820 # really work at the moment (keeps on discarding used sections, first
82821 # .eh_frame and now some of the glibc sections for iconv).
82822 # Bzzzzt. Thanks for playing, maybe next time.
82823 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82824 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82825 if test "$cross_compiling" = yes; then
82826 ac_sectionLDflags=yes
82827 else
82828 cat >conftest.$ac_ext <<_ACEOF
82829 /* confdefs.h. */
82830 _ACEOF
82831 cat confdefs.h >>conftest.$ac_ext
82832 cat >>conftest.$ac_ext <<_ACEOF
82833 /* end confdefs.h. */
82835 int main(void)
82837 try { throw 1; }
82838 catch (...) { };
82839 return 0;
82842 _ACEOF
82843 rm -f conftest$ac_exeext
82844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82845 (eval $ac_link) 2>&5
82846 ac_status=$?
82847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82850 (eval $ac_try) 2>&5
82851 ac_status=$?
82852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82853 (exit $ac_status); }; }; then
82854 ac_sectionLDflags=yes
82855 else
82856 echo "$as_me: program exited with status $ac_status" >&5
82857 echo "$as_me: failed program was:" >&5
82858 sed 's/^/| /' conftest.$ac_ext >&5
82860 ( exit $ac_status )
82861 ac_sectionLDflags=no
82863 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82865 if test "$ac_test_CFLAGS" = set; then
82866 CFLAGS="$ac_save_CFLAGS"
82867 else
82868 # this is the suspicious part
82869 CFLAGS=''
82871 if test "$ac_sectionLDflags" = "yes"; then
82872 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82874 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82875 echo "${ECHO_T}$ac_sectionLDflags" >&6
82878 # Set linker optimization flags.
82879 if test x"$with_gnu_ld" = x"yes"; then
82880 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82888 echo "$as_me:$LINENO: checking for main in -lm" >&5
82889 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82890 if test "${ac_cv_lib_m_main+set}" = set; then
82891 echo $ECHO_N "(cached) $ECHO_C" >&6
82892 else
82893 ac_check_lib_save_LIBS=$LIBS
82894 LIBS="-lm $LIBS"
82895 if test x$gcc_no_link = xyes; then
82896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82898 { (exit 1); exit 1; }; }
82900 cat >conftest.$ac_ext <<_ACEOF
82901 /* confdefs.h. */
82902 _ACEOF
82903 cat confdefs.h >>conftest.$ac_ext
82904 cat >>conftest.$ac_ext <<_ACEOF
82905 /* end confdefs.h. */
82909 main ()
82911 main ();
82913 return 0;
82915 _ACEOF
82916 rm -f conftest.$ac_objext conftest$ac_exeext
82917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82918 (eval $ac_link) 2>conftest.er1
82919 ac_status=$?
82920 grep -v '^ *+' conftest.er1 >conftest.err
82921 rm -f conftest.er1
82922 cat conftest.err >&5
82923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82924 (exit $ac_status); } &&
82925 { ac_try='test -z "$ac_c_werror_flag"
82926 || test ! -s conftest.err'
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); }; } &&
82932 { ac_try='test -s conftest$ac_exeext'
82933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82934 (eval $ac_try) 2>&5
82935 ac_status=$?
82936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82937 (exit $ac_status); }; }; then
82938 ac_cv_lib_m_main=yes
82939 else
82940 echo "$as_me: failed program was:" >&5
82941 sed 's/^/| /' conftest.$ac_ext >&5
82943 ac_cv_lib_m_main=no
82945 rm -f conftest.err conftest.$ac_objext \
82946 conftest$ac_exeext conftest.$ac_ext
82947 LIBS=$ac_check_lib_save_LIBS
82949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82950 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82951 if test $ac_cv_lib_m_main = yes; then
82952 cat >>confdefs.h <<_ACEOF
82953 #define HAVE_LIBM 1
82954 _ACEOF
82956 LIBS="-lm $LIBS"
82961 for ac_func in copysignf
82963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82964 echo "$as_me:$LINENO: checking for $ac_func" >&5
82965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82966 if eval "test \"\${$as_ac_var+set}\" = set"; then
82967 echo $ECHO_N "(cached) $ECHO_C" >&6
82968 else
82969 if test x$gcc_no_link = xyes; then
82970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82972 { (exit 1); exit 1; }; }
82974 cat >conftest.$ac_ext <<_ACEOF
82975 /* confdefs.h. */
82976 _ACEOF
82977 cat confdefs.h >>conftest.$ac_ext
82978 cat >>conftest.$ac_ext <<_ACEOF
82979 /* end confdefs.h. */
82980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82982 #define $ac_func innocuous_$ac_func
82984 /* System header to define __stub macros and hopefully few prototypes,
82985 which can conflict with char $ac_func (); below.
82986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82987 <limits.h> exists even on freestanding compilers. */
82989 #ifdef __STDC__
82990 # include <limits.h>
82991 #else
82992 # include <assert.h>
82993 #endif
82995 #undef $ac_func
82997 /* Override any gcc2 internal prototype to avoid an error. */
82998 #ifdef __cplusplus
82999 extern "C"
83001 #endif
83002 /* We use char because int might match the return type of a gcc2
83003 builtin and then its argument prototype would still apply. */
83004 char $ac_func ();
83005 /* The GNU C library defines this for functions which it implements
83006 to always fail with ENOSYS. Some functions are actually named
83007 something starting with __ and the normal name is an alias. */
83008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83009 choke me
83010 #else
83011 char (*f) () = $ac_func;
83012 #endif
83013 #ifdef __cplusplus
83015 #endif
83018 main ()
83020 return f != $ac_func;
83022 return 0;
83024 _ACEOF
83025 rm -f conftest.$ac_objext conftest$ac_exeext
83026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83027 (eval $ac_link) 2>conftest.er1
83028 ac_status=$?
83029 grep -v '^ *+' conftest.er1 >conftest.err
83030 rm -f conftest.er1
83031 cat conftest.err >&5
83032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83033 (exit $ac_status); } &&
83034 { ac_try='test -z "$ac_c_werror_flag"
83035 || test ! -s conftest.err'
83036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83037 (eval $ac_try) 2>&5
83038 ac_status=$?
83039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83040 (exit $ac_status); }; } &&
83041 { ac_try='test -s conftest$ac_exeext'
83042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83043 (eval $ac_try) 2>&5
83044 ac_status=$?
83045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83046 (exit $ac_status); }; }; then
83047 eval "$as_ac_var=yes"
83048 else
83049 echo "$as_me: failed program was:" >&5
83050 sed 's/^/| /' conftest.$ac_ext >&5
83052 eval "$as_ac_var=no"
83054 rm -f conftest.err conftest.$ac_objext \
83055 conftest$ac_exeext conftest.$ac_ext
83057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83059 if test `eval echo '${'$as_ac_var'}'` = yes; then
83060 cat >>confdefs.h <<_ACEOF
83061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83062 _ACEOF
83064 else
83065 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83067 done
83071 for ac_func in __signbit
83073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83074 echo "$as_me:$LINENO: checking for $ac_func" >&5
83075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83076 if eval "test \"\${$as_ac_var+set}\" = set"; then
83077 echo $ECHO_N "(cached) $ECHO_C" >&6
83078 else
83079 if test x$gcc_no_link = xyes; then
83080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83082 { (exit 1); exit 1; }; }
83084 cat >conftest.$ac_ext <<_ACEOF
83085 /* confdefs.h. */
83086 _ACEOF
83087 cat confdefs.h >>conftest.$ac_ext
83088 cat >>conftest.$ac_ext <<_ACEOF
83089 /* end confdefs.h. */
83090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83092 #define $ac_func innocuous_$ac_func
83094 /* System header to define __stub macros and hopefully few prototypes,
83095 which can conflict with char $ac_func (); below.
83096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83097 <limits.h> exists even on freestanding compilers. */
83099 #ifdef __STDC__
83100 # include <limits.h>
83101 #else
83102 # include <assert.h>
83103 #endif
83105 #undef $ac_func
83107 /* Override any gcc2 internal prototype to avoid an error. */
83108 #ifdef __cplusplus
83109 extern "C"
83111 #endif
83112 /* We use char because int might match the return type of a gcc2
83113 builtin and then its argument prototype would still apply. */
83114 char $ac_func ();
83115 /* The GNU C library defines this for functions which it implements
83116 to always fail with ENOSYS. Some functions are actually named
83117 something starting with __ and the normal name is an alias. */
83118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83119 choke me
83120 #else
83121 char (*f) () = $ac_func;
83122 #endif
83123 #ifdef __cplusplus
83125 #endif
83128 main ()
83130 return f != $ac_func;
83132 return 0;
83134 _ACEOF
83135 rm -f conftest.$ac_objext conftest$ac_exeext
83136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83137 (eval $ac_link) 2>conftest.er1
83138 ac_status=$?
83139 grep -v '^ *+' conftest.er1 >conftest.err
83140 rm -f conftest.er1
83141 cat conftest.err >&5
83142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83143 (exit $ac_status); } &&
83144 { ac_try='test -z "$ac_c_werror_flag"
83145 || test ! -s conftest.err'
83146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83147 (eval $ac_try) 2>&5
83148 ac_status=$?
83149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83150 (exit $ac_status); }; } &&
83151 { ac_try='test -s conftest$ac_exeext'
83152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83153 (eval $ac_try) 2>&5
83154 ac_status=$?
83155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83156 (exit $ac_status); }; }; then
83157 eval "$as_ac_var=yes"
83158 else
83159 echo "$as_me: failed program was:" >&5
83160 sed 's/^/| /' conftest.$ac_ext >&5
83162 eval "$as_ac_var=no"
83164 rm -f conftest.err conftest.$ac_objext \
83165 conftest$ac_exeext conftest.$ac_ext
83167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83169 if test `eval echo '${'$as_ac_var'}'` = yes; then
83170 cat >>confdefs.h <<_ACEOF
83171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83172 _ACEOF
83174 else
83175 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83177 done
83181 for ac_func in __signbitf
83183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83184 echo "$as_me:$LINENO: checking for $ac_func" >&5
83185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83186 if eval "test \"\${$as_ac_var+set}\" = set"; then
83187 echo $ECHO_N "(cached) $ECHO_C" >&6
83188 else
83189 if test x$gcc_no_link = xyes; then
83190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83192 { (exit 1); exit 1; }; }
83194 cat >conftest.$ac_ext <<_ACEOF
83195 /* confdefs.h. */
83196 _ACEOF
83197 cat confdefs.h >>conftest.$ac_ext
83198 cat >>conftest.$ac_ext <<_ACEOF
83199 /* end confdefs.h. */
83200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83202 #define $ac_func innocuous_$ac_func
83204 /* System header to define __stub macros and hopefully few prototypes,
83205 which can conflict with char $ac_func (); below.
83206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83207 <limits.h> exists even on freestanding compilers. */
83209 #ifdef __STDC__
83210 # include <limits.h>
83211 #else
83212 # include <assert.h>
83213 #endif
83215 #undef $ac_func
83217 /* Override any gcc2 internal prototype to avoid an error. */
83218 #ifdef __cplusplus
83219 extern "C"
83221 #endif
83222 /* We use char because int might match the return type of a gcc2
83223 builtin and then its argument prototype would still apply. */
83224 char $ac_func ();
83225 /* The GNU C library defines this for functions which it implements
83226 to always fail with ENOSYS. Some functions are actually named
83227 something starting with __ and the normal name is an alias. */
83228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83229 choke me
83230 #else
83231 char (*f) () = $ac_func;
83232 #endif
83233 #ifdef __cplusplus
83235 #endif
83238 main ()
83240 return f != $ac_func;
83242 return 0;
83244 _ACEOF
83245 rm -f conftest.$ac_objext conftest$ac_exeext
83246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83247 (eval $ac_link) 2>conftest.er1
83248 ac_status=$?
83249 grep -v '^ *+' conftest.er1 >conftest.err
83250 rm -f conftest.er1
83251 cat conftest.err >&5
83252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83253 (exit $ac_status); } &&
83254 { ac_try='test -z "$ac_c_werror_flag"
83255 || test ! -s conftest.err'
83256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83257 (eval $ac_try) 2>&5
83258 ac_status=$?
83259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83260 (exit $ac_status); }; } &&
83261 { ac_try='test -s conftest$ac_exeext'
83262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83263 (eval $ac_try) 2>&5
83264 ac_status=$?
83265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83266 (exit $ac_status); }; }; then
83267 eval "$as_ac_var=yes"
83268 else
83269 echo "$as_me: failed program was:" >&5
83270 sed 's/^/| /' conftest.$ac_ext >&5
83272 eval "$as_ac_var=no"
83274 rm -f conftest.err conftest.$ac_objext \
83275 conftest$ac_exeext conftest.$ac_ext
83277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83279 if test `eval echo '${'$as_ac_var'}'` = yes; then
83280 cat >>confdefs.h <<_ACEOF
83281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83282 _ACEOF
83284 else
83285 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83287 done
83290 if test x$ac_cv_func_copysignl = x"yes"; then
83292 for ac_func in __signbitl
83294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83295 echo "$as_me:$LINENO: checking for $ac_func" >&5
83296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83297 if eval "test \"\${$as_ac_var+set}\" = set"; then
83298 echo $ECHO_N "(cached) $ECHO_C" >&6
83299 else
83300 if test x$gcc_no_link = xyes; then
83301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83303 { (exit 1); exit 1; }; }
83305 cat >conftest.$ac_ext <<_ACEOF
83306 /* confdefs.h. */
83307 _ACEOF
83308 cat confdefs.h >>conftest.$ac_ext
83309 cat >>conftest.$ac_ext <<_ACEOF
83310 /* end confdefs.h. */
83311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83313 #define $ac_func innocuous_$ac_func
83315 /* System header to define __stub macros and hopefully few prototypes,
83316 which can conflict with char $ac_func (); below.
83317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83318 <limits.h> exists even on freestanding compilers. */
83320 #ifdef __STDC__
83321 # include <limits.h>
83322 #else
83323 # include <assert.h>
83324 #endif
83326 #undef $ac_func
83328 /* Override any gcc2 internal prototype to avoid an error. */
83329 #ifdef __cplusplus
83330 extern "C"
83332 #endif
83333 /* We use char because int might match the return type of a gcc2
83334 builtin and then its argument prototype would still apply. */
83335 char $ac_func ();
83336 /* The GNU C library defines this for functions which it implements
83337 to always fail with ENOSYS. Some functions are actually named
83338 something starting with __ and the normal name is an alias. */
83339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83340 choke me
83341 #else
83342 char (*f) () = $ac_func;
83343 #endif
83344 #ifdef __cplusplus
83346 #endif
83349 main ()
83351 return f != $ac_func;
83353 return 0;
83355 _ACEOF
83356 rm -f conftest.$ac_objext conftest$ac_exeext
83357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83358 (eval $ac_link) 2>conftest.er1
83359 ac_status=$?
83360 grep -v '^ *+' conftest.er1 >conftest.err
83361 rm -f conftest.er1
83362 cat conftest.err >&5
83363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83364 (exit $ac_status); } &&
83365 { ac_try='test -z "$ac_c_werror_flag"
83366 || test ! -s conftest.err'
83367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83368 (eval $ac_try) 2>&5
83369 ac_status=$?
83370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83371 (exit $ac_status); }; } &&
83372 { ac_try='test -s conftest$ac_exeext'
83373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83374 (eval $ac_try) 2>&5
83375 ac_status=$?
83376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83377 (exit $ac_status); }; }; then
83378 eval "$as_ac_var=yes"
83379 else
83380 echo "$as_me: failed program was:" >&5
83381 sed 's/^/| /' conftest.$ac_ext >&5
83383 eval "$as_ac_var=no"
83385 rm -f conftest.err conftest.$ac_objext \
83386 conftest$ac_exeext conftest.$ac_ext
83388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83390 if test `eval echo '${'$as_ac_var'}'` = yes; then
83391 cat >>confdefs.h <<_ACEOF
83392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83393 _ACEOF
83395 else
83396 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83398 done
83402 # Used in libmath/Makefile.am.
83403 if test -n "$LIBMATHOBJS"; then
83404 need_libmath=yes
83409 # Test wchar.h for mbstate_t, which is needed for char_traits and
83410 # others even if wchar_t support is not on.
83411 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83412 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83413 cat >conftest.$ac_ext <<_ACEOF
83414 /* confdefs.h. */
83415 _ACEOF
83416 cat confdefs.h >>conftest.$ac_ext
83417 cat >>conftest.$ac_ext <<_ACEOF
83418 /* end confdefs.h. */
83419 #include <wchar.h>
83421 main ()
83423 mbstate_t teststate;
83425 return 0;
83427 _ACEOF
83428 rm -f conftest.$ac_objext
83429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83430 (eval $ac_compile) 2>conftest.er1
83431 ac_status=$?
83432 grep -v '^ *+' conftest.er1 >conftest.err
83433 rm -f conftest.er1
83434 cat conftest.err >&5
83435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83436 (exit $ac_status); } &&
83437 { ac_try='test -z "$ac_c_werror_flag"
83438 || test ! -s conftest.err'
83439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83440 (eval $ac_try) 2>&5
83441 ac_status=$?
83442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83443 (exit $ac_status); }; } &&
83444 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
83450 have_mbstate_t=yes
83451 else
83452 echo "$as_me: failed program was:" >&5
83453 sed 's/^/| /' conftest.$ac_ext >&5
83455 have_mbstate_t=no
83457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83458 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83459 echo "${ECHO_T}$have_mbstate_t" >&6
83460 if test x"$have_mbstate_t" = xyes; then
83461 cat >>confdefs.h <<\_ACEOF
83462 #define HAVE_MBSTATE_T 1
83463 _ACEOF
83467 # Sanity check for existence of ISO C99 headers for extended encoding.
83469 for ac_header in wchar.h
83471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83473 echo "$as_me:$LINENO: checking for $ac_header" >&5
83474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83476 echo $ECHO_N "(cached) $ECHO_C" >&6
83478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83480 else
83481 # Is the header compilable?
83482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83484 cat >conftest.$ac_ext <<_ACEOF
83485 /* confdefs.h. */
83486 _ACEOF
83487 cat confdefs.h >>conftest.$ac_ext
83488 cat >>conftest.$ac_ext <<_ACEOF
83489 /* end confdefs.h. */
83490 $ac_includes_default
83491 #include <$ac_header>
83492 _ACEOF
83493 rm -f conftest.$ac_objext
83494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83495 (eval $ac_compile) 2>conftest.er1
83496 ac_status=$?
83497 grep -v '^ *+' conftest.er1 >conftest.err
83498 rm -f conftest.er1
83499 cat conftest.err >&5
83500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83501 (exit $ac_status); } &&
83502 { ac_try='test -z "$ac_c_werror_flag"
83503 || test ! -s conftest.err'
83504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83505 (eval $ac_try) 2>&5
83506 ac_status=$?
83507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83508 (exit $ac_status); }; } &&
83509 { ac_try='test -s conftest.$ac_objext'
83510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83511 (eval $ac_try) 2>&5
83512 ac_status=$?
83513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514 (exit $ac_status); }; }; then
83515 ac_header_compiler=yes
83516 else
83517 echo "$as_me: failed program was:" >&5
83518 sed 's/^/| /' conftest.$ac_ext >&5
83520 ac_header_compiler=no
83522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83524 echo "${ECHO_T}$ac_header_compiler" >&6
83526 # Is the header present?
83527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83529 cat >conftest.$ac_ext <<_ACEOF
83530 /* confdefs.h. */
83531 _ACEOF
83532 cat confdefs.h >>conftest.$ac_ext
83533 cat >>conftest.$ac_ext <<_ACEOF
83534 /* end confdefs.h. */
83535 #include <$ac_header>
83536 _ACEOF
83537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83539 ac_status=$?
83540 grep -v '^ *+' conftest.er1 >conftest.err
83541 rm -f conftest.er1
83542 cat conftest.err >&5
83543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83544 (exit $ac_status); } >/dev/null; then
83545 if test -s conftest.err; then
83546 ac_cpp_err=$ac_c_preproc_warn_flag
83547 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83548 else
83549 ac_cpp_err=
83551 else
83552 ac_cpp_err=yes
83554 if test -z "$ac_cpp_err"; then
83555 ac_header_preproc=yes
83556 else
83557 echo "$as_me: failed program was:" >&5
83558 sed 's/^/| /' conftest.$ac_ext >&5
83560 ac_header_preproc=no
83562 rm -f conftest.err conftest.$ac_ext
83563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83564 echo "${ECHO_T}$ac_header_preproc" >&6
83566 # So? What about this header?
83567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83568 yes:no: )
83569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83573 ac_header_preproc=yes
83575 no:yes:* )
83576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83589 cat <<\_ASBOX
83590 ## ----------------------------------------- ##
83591 ## Report this to the package-unused lists. ##
83592 ## ----------------------------------------- ##
83593 _ASBOX
83595 sed "s/^/$as_me: WARNING: /" >&2
83597 esac
83598 echo "$as_me:$LINENO: checking for $ac_header" >&5
83599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83601 echo $ECHO_N "(cached) $ECHO_C" >&6
83602 else
83603 eval "$as_ac_Header=\$ac_header_preproc"
83605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83610 cat >>confdefs.h <<_ACEOF
83611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83612 _ACEOF
83613 ac_has_wchar_h=yes
83614 else
83615 ac_has_wchar_h=no
83618 done
83621 for ac_header in wctype.h
83623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83625 echo "$as_me:$LINENO: checking for $ac_header" >&5
83626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83628 echo $ECHO_N "(cached) $ECHO_C" >&6
83630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83632 else
83633 # Is the header compilable?
83634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83636 cat >conftest.$ac_ext <<_ACEOF
83637 /* confdefs.h. */
83638 _ACEOF
83639 cat confdefs.h >>conftest.$ac_ext
83640 cat >>conftest.$ac_ext <<_ACEOF
83641 /* end confdefs.h. */
83642 $ac_includes_default
83643 #include <$ac_header>
83644 _ACEOF
83645 rm -f conftest.$ac_objext
83646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83647 (eval $ac_compile) 2>conftest.er1
83648 ac_status=$?
83649 grep -v '^ *+' conftest.er1 >conftest.err
83650 rm -f conftest.er1
83651 cat conftest.err >&5
83652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83653 (exit $ac_status); } &&
83654 { ac_try='test -z "$ac_c_werror_flag"
83655 || test ! -s conftest.err'
83656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83657 (eval $ac_try) 2>&5
83658 ac_status=$?
83659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83660 (exit $ac_status); }; } &&
83661 { ac_try='test -s conftest.$ac_objext'
83662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83663 (eval $ac_try) 2>&5
83664 ac_status=$?
83665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83666 (exit $ac_status); }; }; then
83667 ac_header_compiler=yes
83668 else
83669 echo "$as_me: failed program was:" >&5
83670 sed 's/^/| /' conftest.$ac_ext >&5
83672 ac_header_compiler=no
83674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83676 echo "${ECHO_T}$ac_header_compiler" >&6
83678 # Is the header present?
83679 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83681 cat >conftest.$ac_ext <<_ACEOF
83682 /* confdefs.h. */
83683 _ACEOF
83684 cat confdefs.h >>conftest.$ac_ext
83685 cat >>conftest.$ac_ext <<_ACEOF
83686 /* end confdefs.h. */
83687 #include <$ac_header>
83688 _ACEOF
83689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83691 ac_status=$?
83692 grep -v '^ *+' conftest.er1 >conftest.err
83693 rm -f conftest.er1
83694 cat conftest.err >&5
83695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83696 (exit $ac_status); } >/dev/null; then
83697 if test -s conftest.err; then
83698 ac_cpp_err=$ac_c_preproc_warn_flag
83699 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83700 else
83701 ac_cpp_err=
83703 else
83704 ac_cpp_err=yes
83706 if test -z "$ac_cpp_err"; then
83707 ac_header_preproc=yes
83708 else
83709 echo "$as_me: failed program was:" >&5
83710 sed 's/^/| /' conftest.$ac_ext >&5
83712 ac_header_preproc=no
83714 rm -f conftest.err conftest.$ac_ext
83715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83716 echo "${ECHO_T}$ac_header_preproc" >&6
83718 # So? What about this header?
83719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83720 yes:no: )
83721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83725 ac_header_preproc=yes
83727 no:yes:* )
83728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83732 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83734 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83735 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83738 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83741 cat <<\_ASBOX
83742 ## ----------------------------------------- ##
83743 ## Report this to the package-unused lists. ##
83744 ## ----------------------------------------- ##
83745 _ASBOX
83747 sed "s/^/$as_me: WARNING: /" >&2
83749 esac
83750 echo "$as_me:$LINENO: checking for $ac_header" >&5
83751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83753 echo $ECHO_N "(cached) $ECHO_C" >&6
83754 else
83755 eval "$as_ac_Header=\$ac_header_preproc"
83757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83762 cat >>confdefs.h <<_ACEOF
83763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83764 _ACEOF
83765 ac_has_wctype_h=yes
83766 else
83767 ac_has_wctype_h=no
83770 done
83773 # Only continue checking if the ISO C99 headers exist and support is on.
83774 if test x"$ac_has_wchar_h" = xyes &&
83775 test x"$ac_has_wctype_h" = xyes &&
83776 test x"$enable_c_mbchar" != xno; then
83778 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83779 # numeric_limits can instantiate type_traits<wchar_t>
83780 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83781 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83782 cat >conftest.$ac_ext <<_ACEOF
83783 /* confdefs.h. */
83784 _ACEOF
83785 cat confdefs.h >>conftest.$ac_ext
83786 cat >>conftest.$ac_ext <<_ACEOF
83787 /* end confdefs.h. */
83788 #include <wchar.h>
83790 main ()
83792 int i = WCHAR_MIN; int j = WCHAR_MAX;
83794 return 0;
83796 _ACEOF
83797 rm -f conftest.$ac_objext
83798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83799 (eval $ac_compile) 2>conftest.er1
83800 ac_status=$?
83801 grep -v '^ *+' conftest.er1 >conftest.err
83802 rm -f conftest.er1
83803 cat conftest.err >&5
83804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83805 (exit $ac_status); } &&
83806 { ac_try='test -z "$ac_c_werror_flag"
83807 || test ! -s conftest.err'
83808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83809 (eval $ac_try) 2>&5
83810 ac_status=$?
83811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83812 (exit $ac_status); }; } &&
83813 { ac_try='test -s conftest.$ac_objext'
83814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83815 (eval $ac_try) 2>&5
83816 ac_status=$?
83817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83818 (exit $ac_status); }; }; then
83819 has_wchar_minmax=yes
83820 else
83821 echo "$as_me: failed program was:" >&5
83822 sed 's/^/| /' conftest.$ac_ext >&5
83824 has_wchar_minmax=no
83826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83827 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83828 echo "${ECHO_T}$has_wchar_minmax" >&6
83830 # Test wchar.h for WEOF, which is what we use to determine whether
83831 # to specialize for char_traits<wchar_t> or not.
83832 echo "$as_me:$LINENO: checking for WEOF" >&5
83833 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83834 cat >conftest.$ac_ext <<_ACEOF
83835 /* confdefs.h. */
83836 _ACEOF
83837 cat confdefs.h >>conftest.$ac_ext
83838 cat >>conftest.$ac_ext <<_ACEOF
83839 /* end confdefs.h. */
83841 #include <wchar.h>
83842 #include <stddef.h>
83844 main ()
83846 wint_t i = WEOF;
83848 return 0;
83850 _ACEOF
83851 rm -f conftest.$ac_objext
83852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83853 (eval $ac_compile) 2>conftest.er1
83854 ac_status=$?
83855 grep -v '^ *+' conftest.er1 >conftest.err
83856 rm -f conftest.er1
83857 cat conftest.err >&5
83858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83859 (exit $ac_status); } &&
83860 { ac_try='test -z "$ac_c_werror_flag"
83861 || test ! -s conftest.err'
83862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83863 (eval $ac_try) 2>&5
83864 ac_status=$?
83865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83866 (exit $ac_status); }; } &&
83867 { ac_try='test -s conftest.$ac_objext'
83868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83869 (eval $ac_try) 2>&5
83870 ac_status=$?
83871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83872 (exit $ac_status); }; }; then
83873 has_weof=yes
83874 else
83875 echo "$as_me: failed program was:" >&5
83876 sed 's/^/| /' conftest.$ac_ext >&5
83878 has_weof=no
83880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83881 echo "$as_me:$LINENO: result: $has_weof" >&5
83882 echo "${ECHO_T}$has_weof" >&6
83884 # Tests for wide character functions used in char_traits<wchar_t>.
83885 ac_wfuncs=yes
83892 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83895 echo "$as_me:$LINENO: checking for $ac_func" >&5
83896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83897 if eval "test \"\${$as_ac_var+set}\" = set"; then
83898 echo $ECHO_N "(cached) $ECHO_C" >&6
83899 else
83900 if test x$gcc_no_link = xyes; then
83901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83903 { (exit 1); exit 1; }; }
83905 cat >conftest.$ac_ext <<_ACEOF
83906 /* confdefs.h. */
83907 _ACEOF
83908 cat confdefs.h >>conftest.$ac_ext
83909 cat >>conftest.$ac_ext <<_ACEOF
83910 /* end confdefs.h. */
83911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83913 #define $ac_func innocuous_$ac_func
83915 /* System header to define __stub macros and hopefully few prototypes,
83916 which can conflict with char $ac_func (); below.
83917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83918 <limits.h> exists even on freestanding compilers. */
83920 #ifdef __STDC__
83921 # include <limits.h>
83922 #else
83923 # include <assert.h>
83924 #endif
83926 #undef $ac_func
83928 /* Override any gcc2 internal prototype to avoid an error. */
83929 #ifdef __cplusplus
83930 extern "C"
83932 #endif
83933 /* We use char because int might match the return type of a gcc2
83934 builtin and then its argument prototype would still apply. */
83935 char $ac_func ();
83936 /* The GNU C library defines this for functions which it implements
83937 to always fail with ENOSYS. Some functions are actually named
83938 something starting with __ and the normal name is an alias. */
83939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83940 choke me
83941 #else
83942 char (*f) () = $ac_func;
83943 #endif
83944 #ifdef __cplusplus
83946 #endif
83949 main ()
83951 return f != $ac_func;
83953 return 0;
83955 _ACEOF
83956 rm -f conftest.$ac_objext conftest$ac_exeext
83957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83958 (eval $ac_link) 2>conftest.er1
83959 ac_status=$?
83960 grep -v '^ *+' conftest.er1 >conftest.err
83961 rm -f conftest.er1
83962 cat conftest.err >&5
83963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83964 (exit $ac_status); } &&
83965 { ac_try='test -z "$ac_c_werror_flag"
83966 || test ! -s conftest.err'
83967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83968 (eval $ac_try) 2>&5
83969 ac_status=$?
83970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83971 (exit $ac_status); }; } &&
83972 { ac_try='test -s conftest$ac_exeext'
83973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83974 (eval $ac_try) 2>&5
83975 ac_status=$?
83976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83977 (exit $ac_status); }; }; then
83978 eval "$as_ac_var=yes"
83979 else
83980 echo "$as_me: failed program was:" >&5
83981 sed 's/^/| /' conftest.$ac_ext >&5
83983 eval "$as_ac_var=no"
83985 rm -f conftest.err conftest.$ac_objext \
83986 conftest$ac_exeext conftest.$ac_ext
83988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83990 if test `eval echo '${'$as_ac_var'}'` = yes; then
83991 cat >>confdefs.h <<_ACEOF
83992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83993 _ACEOF
83995 else
83996 ac_wfuncs=no
83998 done
84001 # Checks for names injected into std:: by the c_std headers.
84048 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84049 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84050 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84051 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84052 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84053 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84056 echo "$as_me:$LINENO: checking for $ac_func" >&5
84057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84058 if eval "test \"\${$as_ac_var+set}\" = set"; then
84059 echo $ECHO_N "(cached) $ECHO_C" >&6
84060 else
84061 if test x$gcc_no_link = xyes; then
84062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84064 { (exit 1); exit 1; }; }
84066 cat >conftest.$ac_ext <<_ACEOF
84067 /* confdefs.h. */
84068 _ACEOF
84069 cat confdefs.h >>conftest.$ac_ext
84070 cat >>conftest.$ac_ext <<_ACEOF
84071 /* end confdefs.h. */
84072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84074 #define $ac_func innocuous_$ac_func
84076 /* System header to define __stub macros and hopefully few prototypes,
84077 which can conflict with char $ac_func (); below.
84078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84079 <limits.h> exists even on freestanding compilers. */
84081 #ifdef __STDC__
84082 # include <limits.h>
84083 #else
84084 # include <assert.h>
84085 #endif
84087 #undef $ac_func
84089 /* Override any gcc2 internal prototype to avoid an error. */
84090 #ifdef __cplusplus
84091 extern "C"
84093 #endif
84094 /* We use char because int might match the return type of a gcc2
84095 builtin and then its argument prototype would still apply. */
84096 char $ac_func ();
84097 /* The GNU C library defines this for functions which it implements
84098 to always fail with ENOSYS. Some functions are actually named
84099 something starting with __ and the normal name is an alias. */
84100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84101 choke me
84102 #else
84103 char (*f) () = $ac_func;
84104 #endif
84105 #ifdef __cplusplus
84107 #endif
84110 main ()
84112 return f != $ac_func;
84114 return 0;
84116 _ACEOF
84117 rm -f conftest.$ac_objext conftest$ac_exeext
84118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84119 (eval $ac_link) 2>conftest.er1
84120 ac_status=$?
84121 grep -v '^ *+' conftest.er1 >conftest.err
84122 rm -f conftest.er1
84123 cat conftest.err >&5
84124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84125 (exit $ac_status); } &&
84126 { ac_try='test -z "$ac_c_werror_flag"
84127 || test ! -s conftest.err'
84128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84129 (eval $ac_try) 2>&5
84130 ac_status=$?
84131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84132 (exit $ac_status); }; } &&
84133 { ac_try='test -s conftest$ac_exeext'
84134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84135 (eval $ac_try) 2>&5
84136 ac_status=$?
84137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84138 (exit $ac_status); }; }; then
84139 eval "$as_ac_var=yes"
84140 else
84141 echo "$as_me: failed program was:" >&5
84142 sed 's/^/| /' conftest.$ac_ext >&5
84144 eval "$as_ac_var=no"
84146 rm -f conftest.err conftest.$ac_objext \
84147 conftest$ac_exeext conftest.$ac_ext
84149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84151 if test `eval echo '${'$as_ac_var'}'` = yes; then
84152 cat >>confdefs.h <<_ACEOF
84153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84154 _ACEOF
84156 else
84157 ac_wfuncs=no
84159 done
84162 # Checks for wide character functions that are not required
84163 # for basic wchar_t support. Don't disable support if they are missing.
84164 # Injection of these is wrapped with guard macros.
84170 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84173 echo "$as_me:$LINENO: checking for $ac_func" >&5
84174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84175 if eval "test \"\${$as_ac_var+set}\" = set"; then
84176 echo $ECHO_N "(cached) $ECHO_C" >&6
84177 else
84178 if test x$gcc_no_link = xyes; then
84179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84181 { (exit 1); exit 1; }; }
84183 cat >conftest.$ac_ext <<_ACEOF
84184 /* confdefs.h. */
84185 _ACEOF
84186 cat confdefs.h >>conftest.$ac_ext
84187 cat >>conftest.$ac_ext <<_ACEOF
84188 /* end confdefs.h. */
84189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84191 #define $ac_func innocuous_$ac_func
84193 /* System header to define __stub macros and hopefully few prototypes,
84194 which can conflict with char $ac_func (); below.
84195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84196 <limits.h> exists even on freestanding compilers. */
84198 #ifdef __STDC__
84199 # include <limits.h>
84200 #else
84201 # include <assert.h>
84202 #endif
84204 #undef $ac_func
84206 /* Override any gcc2 internal prototype to avoid an error. */
84207 #ifdef __cplusplus
84208 extern "C"
84210 #endif
84211 /* We use char because int might match the return type of a gcc2
84212 builtin and then its argument prototype would still apply. */
84213 char $ac_func ();
84214 /* The GNU C library defines this for functions which it implements
84215 to always fail with ENOSYS. Some functions are actually named
84216 something starting with __ and the normal name is an alias. */
84217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84218 choke me
84219 #else
84220 char (*f) () = $ac_func;
84221 #endif
84222 #ifdef __cplusplus
84224 #endif
84227 main ()
84229 return f != $ac_func;
84231 return 0;
84233 _ACEOF
84234 rm -f conftest.$ac_objext conftest$ac_exeext
84235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84236 (eval $ac_link) 2>conftest.er1
84237 ac_status=$?
84238 grep -v '^ *+' conftest.er1 >conftest.err
84239 rm -f conftest.er1
84240 cat conftest.err >&5
84241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84242 (exit $ac_status); } &&
84243 { ac_try='test -z "$ac_c_werror_flag"
84244 || test ! -s conftest.err'
84245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84246 (eval $ac_try) 2>&5
84247 ac_status=$?
84248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84249 (exit $ac_status); }; } &&
84250 { ac_try='test -s conftest$ac_exeext'
84251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84252 (eval $ac_try) 2>&5
84253 ac_status=$?
84254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84255 (exit $ac_status); }; }; then
84256 eval "$as_ac_var=yes"
84257 else
84258 echo "$as_me: failed program was:" >&5
84259 sed 's/^/| /' conftest.$ac_ext >&5
84261 eval "$as_ac_var=no"
84263 rm -f conftest.err conftest.$ac_objext \
84264 conftest$ac_exeext conftest.$ac_ext
84266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84268 if test `eval echo '${'$as_ac_var'}'` = yes; then
84269 cat >>confdefs.h <<_ACEOF
84270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84271 _ACEOF
84274 done
84277 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84278 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84279 if test x"$has_weof" = xyes &&
84280 test x"$has_wchar_minmax" = xyes &&
84281 test x"$ac_wfuncs" = xyes;
84282 then
84283 ac_isoC99_wchar_t=yes
84284 else
84285 ac_isoC99_wchar_t=no
84287 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84288 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84290 # Use iconv for wchar_t to char conversions. As such, check for
84291 # X/Open Portability Guide, version 2 features (XPG2).
84292 if test "${ac_cv_header_iconv_h+set}" = set; then
84293 echo "$as_me:$LINENO: checking for iconv.h" >&5
84294 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84295 if test "${ac_cv_header_iconv_h+set}" = set; then
84296 echo $ECHO_N "(cached) $ECHO_C" >&6
84298 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84299 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84300 else
84301 # Is the header compilable?
84302 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84303 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84304 cat >conftest.$ac_ext <<_ACEOF
84305 /* confdefs.h. */
84306 _ACEOF
84307 cat confdefs.h >>conftest.$ac_ext
84308 cat >>conftest.$ac_ext <<_ACEOF
84309 /* end confdefs.h. */
84310 $ac_includes_default
84311 #include <iconv.h>
84312 _ACEOF
84313 rm -f conftest.$ac_objext
84314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84315 (eval $ac_compile) 2>conftest.er1
84316 ac_status=$?
84317 grep -v '^ *+' conftest.er1 >conftest.err
84318 rm -f conftest.er1
84319 cat conftest.err >&5
84320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84321 (exit $ac_status); } &&
84322 { ac_try='test -z "$ac_c_werror_flag"
84323 || test ! -s conftest.err'
84324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84325 (eval $ac_try) 2>&5
84326 ac_status=$?
84327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84328 (exit $ac_status); }; } &&
84329 { ac_try='test -s conftest.$ac_objext'
84330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84331 (eval $ac_try) 2>&5
84332 ac_status=$?
84333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84334 (exit $ac_status); }; }; then
84335 ac_header_compiler=yes
84336 else
84337 echo "$as_me: failed program was:" >&5
84338 sed 's/^/| /' conftest.$ac_ext >&5
84340 ac_header_compiler=no
84342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84344 echo "${ECHO_T}$ac_header_compiler" >&6
84346 # Is the header present?
84347 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84348 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84349 cat >conftest.$ac_ext <<_ACEOF
84350 /* confdefs.h. */
84351 _ACEOF
84352 cat confdefs.h >>conftest.$ac_ext
84353 cat >>conftest.$ac_ext <<_ACEOF
84354 /* end confdefs.h. */
84355 #include <iconv.h>
84356 _ACEOF
84357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84359 ac_status=$?
84360 grep -v '^ *+' conftest.er1 >conftest.err
84361 rm -f conftest.er1
84362 cat conftest.err >&5
84363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84364 (exit $ac_status); } >/dev/null; then
84365 if test -s conftest.err; then
84366 ac_cpp_err=$ac_c_preproc_warn_flag
84367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84368 else
84369 ac_cpp_err=
84371 else
84372 ac_cpp_err=yes
84374 if test -z "$ac_cpp_err"; then
84375 ac_header_preproc=yes
84376 else
84377 echo "$as_me: failed program was:" >&5
84378 sed 's/^/| /' conftest.$ac_ext >&5
84380 ac_header_preproc=no
84382 rm -f conftest.err conftest.$ac_ext
84383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84384 echo "${ECHO_T}$ac_header_preproc" >&6
84386 # So? What about this header?
84387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84388 yes:no: )
84389 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84390 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84391 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84392 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84393 ac_header_preproc=yes
84395 no:yes:* )
84396 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84397 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84398 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84399 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84400 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84401 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84402 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84403 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84404 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84405 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84406 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84407 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84409 cat <<\_ASBOX
84410 ## ----------------------------------------- ##
84411 ## Report this to the package-unused lists. ##
84412 ## ----------------------------------------- ##
84413 _ASBOX
84415 sed "s/^/$as_me: WARNING: /" >&2
84417 esac
84418 echo "$as_me:$LINENO: checking for iconv.h" >&5
84419 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84420 if test "${ac_cv_header_iconv_h+set}" = set; then
84421 echo $ECHO_N "(cached) $ECHO_C" >&6
84422 else
84423 ac_cv_header_iconv_h=$ac_header_preproc
84425 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84426 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84429 if test $ac_cv_header_iconv_h = yes; then
84430 ac_has_iconv_h=yes
84431 else
84432 ac_has_iconv_h=no
84436 if test "${ac_cv_header_langinfo_h+set}" = set; then
84437 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84438 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84439 if test "${ac_cv_header_langinfo_h+set}" = set; then
84440 echo $ECHO_N "(cached) $ECHO_C" >&6
84442 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84443 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84444 else
84445 # Is the header compilable?
84446 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84447 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84448 cat >conftest.$ac_ext <<_ACEOF
84449 /* confdefs.h. */
84450 _ACEOF
84451 cat confdefs.h >>conftest.$ac_ext
84452 cat >>conftest.$ac_ext <<_ACEOF
84453 /* end confdefs.h. */
84454 $ac_includes_default
84455 #include <langinfo.h>
84456 _ACEOF
84457 rm -f conftest.$ac_objext
84458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84459 (eval $ac_compile) 2>conftest.er1
84460 ac_status=$?
84461 grep -v '^ *+' conftest.er1 >conftest.err
84462 rm -f conftest.er1
84463 cat conftest.err >&5
84464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84465 (exit $ac_status); } &&
84466 { ac_try='test -z "$ac_c_werror_flag"
84467 || test ! -s conftest.err'
84468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84469 (eval $ac_try) 2>&5
84470 ac_status=$?
84471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84472 (exit $ac_status); }; } &&
84473 { ac_try='test -s conftest.$ac_objext'
84474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84475 (eval $ac_try) 2>&5
84476 ac_status=$?
84477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84478 (exit $ac_status); }; }; then
84479 ac_header_compiler=yes
84480 else
84481 echo "$as_me: failed program was:" >&5
84482 sed 's/^/| /' conftest.$ac_ext >&5
84484 ac_header_compiler=no
84486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84488 echo "${ECHO_T}$ac_header_compiler" >&6
84490 # Is the header present?
84491 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84492 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84493 cat >conftest.$ac_ext <<_ACEOF
84494 /* confdefs.h. */
84495 _ACEOF
84496 cat confdefs.h >>conftest.$ac_ext
84497 cat >>conftest.$ac_ext <<_ACEOF
84498 /* end confdefs.h. */
84499 #include <langinfo.h>
84500 _ACEOF
84501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84503 ac_status=$?
84504 grep -v '^ *+' conftest.er1 >conftest.err
84505 rm -f conftest.er1
84506 cat conftest.err >&5
84507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84508 (exit $ac_status); } >/dev/null; then
84509 if test -s conftest.err; then
84510 ac_cpp_err=$ac_c_preproc_warn_flag
84511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84512 else
84513 ac_cpp_err=
84515 else
84516 ac_cpp_err=yes
84518 if test -z "$ac_cpp_err"; then
84519 ac_header_preproc=yes
84520 else
84521 echo "$as_me: failed program was:" >&5
84522 sed 's/^/| /' conftest.$ac_ext >&5
84524 ac_header_preproc=no
84526 rm -f conftest.err conftest.$ac_ext
84527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84528 echo "${ECHO_T}$ac_header_preproc" >&6
84530 # So? What about this header?
84531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84532 yes:no: )
84533 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84534 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84535 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84536 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84537 ac_header_preproc=yes
84539 no:yes:* )
84540 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84541 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84542 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84543 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84544 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84545 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84546 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84547 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84548 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84549 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84550 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84551 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84553 cat <<\_ASBOX
84554 ## ----------------------------------------- ##
84555 ## Report this to the package-unused lists. ##
84556 ## ----------------------------------------- ##
84557 _ASBOX
84559 sed "s/^/$as_me: WARNING: /" >&2
84561 esac
84562 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84563 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84564 if test "${ac_cv_header_langinfo_h+set}" = set; then
84565 echo $ECHO_N "(cached) $ECHO_C" >&6
84566 else
84567 ac_cv_header_langinfo_h=$ac_header_preproc
84569 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84570 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84573 if test $ac_cv_header_langinfo_h = yes; then
84574 ac_has_langinfo_h=yes
84575 else
84576 ac_has_langinfo_h=no
84581 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84582 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84583 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84584 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84585 echo $ECHO_N "(cached) $ECHO_C" >&6
84586 else
84587 ac_check_lib_save_LIBS=$LIBS
84588 LIBS="-liconv $LIBS"
84589 if test x$gcc_no_link = xyes; then
84590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84592 { (exit 1); exit 1; }; }
84594 cat >conftest.$ac_ext <<_ACEOF
84595 /* confdefs.h. */
84596 _ACEOF
84597 cat confdefs.h >>conftest.$ac_ext
84598 cat >>conftest.$ac_ext <<_ACEOF
84599 /* end confdefs.h. */
84601 /* Override any gcc2 internal prototype to avoid an error. */
84602 #ifdef __cplusplus
84603 extern "C"
84604 #endif
84605 /* We use char because int might match the return type of a gcc2
84606 builtin and then its argument prototype would still apply. */
84607 char iconv ();
84609 main ()
84611 iconv ();
84613 return 0;
84615 _ACEOF
84616 rm -f conftest.$ac_objext conftest$ac_exeext
84617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84618 (eval $ac_link) 2>conftest.er1
84619 ac_status=$?
84620 grep -v '^ *+' conftest.er1 >conftest.err
84621 rm -f conftest.er1
84622 cat conftest.err >&5
84623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84624 (exit $ac_status); } &&
84625 { ac_try='test -z "$ac_c_werror_flag"
84626 || test ! -s conftest.err'
84627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84628 (eval $ac_try) 2>&5
84629 ac_status=$?
84630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84631 (exit $ac_status); }; } &&
84632 { ac_try='test -s conftest$ac_exeext'
84633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84634 (eval $ac_try) 2>&5
84635 ac_status=$?
84636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84637 (exit $ac_status); }; }; then
84638 ac_cv_lib_iconv_iconv=yes
84639 else
84640 echo "$as_me: failed program was:" >&5
84641 sed 's/^/| /' conftest.$ac_ext >&5
84643 ac_cv_lib_iconv_iconv=no
84645 rm -f conftest.err conftest.$ac_objext \
84646 conftest$ac_exeext conftest.$ac_ext
84647 LIBS=$ac_check_lib_save_LIBS
84649 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84650 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84651 if test $ac_cv_lib_iconv_iconv = yes; then
84652 LIBICONV="-liconv"
84655 ac_save_LIBS="$LIBS"
84656 LIBS="$LIBS $LIBICONV"
84663 for ac_func in iconv_open iconv_close iconv nl_langinfo
84665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84666 echo "$as_me:$LINENO: checking for $ac_func" >&5
84667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84668 if eval "test \"\${$as_ac_var+set}\" = set"; then
84669 echo $ECHO_N "(cached) $ECHO_C" >&6
84670 else
84671 if test x$gcc_no_link = xyes; then
84672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84674 { (exit 1); exit 1; }; }
84676 cat >conftest.$ac_ext <<_ACEOF
84677 /* confdefs.h. */
84678 _ACEOF
84679 cat confdefs.h >>conftest.$ac_ext
84680 cat >>conftest.$ac_ext <<_ACEOF
84681 /* end confdefs.h. */
84682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84684 #define $ac_func innocuous_$ac_func
84686 /* System header to define __stub macros and hopefully few prototypes,
84687 which can conflict with char $ac_func (); below.
84688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84689 <limits.h> exists even on freestanding compilers. */
84691 #ifdef __STDC__
84692 # include <limits.h>
84693 #else
84694 # include <assert.h>
84695 #endif
84697 #undef $ac_func
84699 /* Override any gcc2 internal prototype to avoid an error. */
84700 #ifdef __cplusplus
84701 extern "C"
84703 #endif
84704 /* We use char because int might match the return type of a gcc2
84705 builtin and then its argument prototype would still apply. */
84706 char $ac_func ();
84707 /* The GNU C library defines this for functions which it implements
84708 to always fail with ENOSYS. Some functions are actually named
84709 something starting with __ and the normal name is an alias. */
84710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84711 choke me
84712 #else
84713 char (*f) () = $ac_func;
84714 #endif
84715 #ifdef __cplusplus
84717 #endif
84720 main ()
84722 return f != $ac_func;
84724 return 0;
84726 _ACEOF
84727 rm -f conftest.$ac_objext conftest$ac_exeext
84728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84729 (eval $ac_link) 2>conftest.er1
84730 ac_status=$?
84731 grep -v '^ *+' conftest.er1 >conftest.err
84732 rm -f conftest.er1
84733 cat conftest.err >&5
84734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84735 (exit $ac_status); } &&
84736 { ac_try='test -z "$ac_c_werror_flag"
84737 || test ! -s conftest.err'
84738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84739 (eval $ac_try) 2>&5
84740 ac_status=$?
84741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84742 (exit $ac_status); }; } &&
84743 { ac_try='test -s conftest$ac_exeext'
84744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84745 (eval $ac_try) 2>&5
84746 ac_status=$?
84747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84748 (exit $ac_status); }; }; then
84749 eval "$as_ac_var=yes"
84750 else
84751 echo "$as_me: failed program was:" >&5
84752 sed 's/^/| /' conftest.$ac_ext >&5
84754 eval "$as_ac_var=no"
84756 rm -f conftest.err conftest.$ac_objext \
84757 conftest$ac_exeext conftest.$ac_ext
84759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84761 if test `eval echo '${'$as_ac_var'}'` = yes; then
84762 cat >>confdefs.h <<_ACEOF
84763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84764 _ACEOF
84765 ac_XPG2funcs=yes
84766 else
84767 ac_XPG2funcs=no
84769 done
84772 LIBS="$ac_save_LIBS"
84774 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84775 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84776 if test x"$ac_has_iconv_h" = xyes &&
84777 test x"$ac_has_langinfo_h" = xyes &&
84778 test x"$ac_XPG2funcs" = xyes;
84779 then
84780 ac_XPG2_wchar_t=yes
84781 else
84782 ac_XPG2_wchar_t=no
84784 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84785 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84787 # At the moment, only enable wchar_t specializations if all the
84788 # above support is present.
84789 if test x"$ac_isoC99_wchar_t" = xyes &&
84790 test x"$ac_XPG2_wchar_t" = xyes;
84791 then
84792 cat >>confdefs.h <<\_ACEOF
84793 #define _GLIBCXX_USE_WCHAR_T 1
84794 _ACEOF
84796 enable_wchar_t=yes
84799 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84800 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84801 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84802 echo "${ECHO_T}$enable_wchar_t" >&6
84805 *-netbsd*)
84818 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84819 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84820 fp.h locale.h float.h inttypes.h
84822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84824 echo "$as_me:$LINENO: checking for $ac_header" >&5
84825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84827 echo $ECHO_N "(cached) $ECHO_C" >&6
84829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84831 else
84832 # Is the header compilable?
84833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84835 cat >conftest.$ac_ext <<_ACEOF
84836 /* confdefs.h. */
84837 _ACEOF
84838 cat confdefs.h >>conftest.$ac_ext
84839 cat >>conftest.$ac_ext <<_ACEOF
84840 /* end confdefs.h. */
84841 $ac_includes_default
84842 #include <$ac_header>
84843 _ACEOF
84844 rm -f conftest.$ac_objext
84845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84846 (eval $ac_compile) 2>conftest.er1
84847 ac_status=$?
84848 grep -v '^ *+' conftest.er1 >conftest.err
84849 rm -f conftest.er1
84850 cat conftest.err >&5
84851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84852 (exit $ac_status); } &&
84853 { ac_try='test -z "$ac_c_werror_flag"
84854 || test ! -s conftest.err'
84855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84856 (eval $ac_try) 2>&5
84857 ac_status=$?
84858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84859 (exit $ac_status); }; } &&
84860 { ac_try='test -s conftest.$ac_objext'
84861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84862 (eval $ac_try) 2>&5
84863 ac_status=$?
84864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84865 (exit $ac_status); }; }; then
84866 ac_header_compiler=yes
84867 else
84868 echo "$as_me: failed program was:" >&5
84869 sed 's/^/| /' conftest.$ac_ext >&5
84871 ac_header_compiler=no
84873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84875 echo "${ECHO_T}$ac_header_compiler" >&6
84877 # Is the header present?
84878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84880 cat >conftest.$ac_ext <<_ACEOF
84881 /* confdefs.h. */
84882 _ACEOF
84883 cat confdefs.h >>conftest.$ac_ext
84884 cat >>conftest.$ac_ext <<_ACEOF
84885 /* end confdefs.h. */
84886 #include <$ac_header>
84887 _ACEOF
84888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84890 ac_status=$?
84891 grep -v '^ *+' conftest.er1 >conftest.err
84892 rm -f conftest.er1
84893 cat conftest.err >&5
84894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84895 (exit $ac_status); } >/dev/null; then
84896 if test -s conftest.err; then
84897 ac_cpp_err=$ac_c_preproc_warn_flag
84898 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84899 else
84900 ac_cpp_err=
84902 else
84903 ac_cpp_err=yes
84905 if test -z "$ac_cpp_err"; then
84906 ac_header_preproc=yes
84907 else
84908 echo "$as_me: failed program was:" >&5
84909 sed 's/^/| /' conftest.$ac_ext >&5
84911 ac_header_preproc=no
84913 rm -f conftest.err conftest.$ac_ext
84914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84915 echo "${ECHO_T}$ac_header_preproc" >&6
84917 # So? What about this header?
84918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84919 yes:no: )
84920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84924 ac_header_preproc=yes
84926 no:yes:* )
84927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84940 cat <<\_ASBOX
84941 ## ----------------------------------------- ##
84942 ## Report this to the package-unused lists. ##
84943 ## ----------------------------------------- ##
84944 _ASBOX
84946 sed "s/^/$as_me: WARNING: /" >&2
84948 esac
84949 echo "$as_me:$LINENO: checking for $ac_header" >&5
84950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84952 echo $ECHO_N "(cached) $ECHO_C" >&6
84953 else
84954 eval "$as_ac_Header=\$ac_header_preproc"
84956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84961 cat >>confdefs.h <<_ACEOF
84962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84963 _ACEOF
84967 done
84969 SECTION_FLAGS='-ffunction-sections -fdata-sections'
84972 # If we're not using GNU ld, then there's no point in even trying these
84973 # tests. Check for that first. We should have already tested for gld
84974 # by now (in libtool), but require it now just to be safe...
84975 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84976 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84980 # The name set by libtool depends on the version of libtool. Shame on us
84981 # for depending on an impl detail, but c'est la vie. Older versions used
84982 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84983 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84984 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
84985 # set (hence we're using an older libtool), then set it.
84986 if test x${with_gnu_ld+set} != xset; then
84987 if test x${ac_cv_prog_gnu_ld+set} != xset; then
84988 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
84989 with_gnu_ld=no
84990 else
84991 with_gnu_ld=$ac_cv_prog_gnu_ld
84995 # Start by getting the version number. I think the libtool test already
84996 # does some of this, but throws away the result.
84998 ldver=`$LD --version 2>/dev/null | head -1 | \
84999 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85001 glibcxx_gnu_ld_version=`echo $ldver | \
85002 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85004 # Set --gc-sections.
85005 if test "$with_gnu_ld" = "notbroken"; then
85006 # GNU ld it is! Joy and bunny rabbits!
85008 # All these tests are for C++; save the language and the compiler flags.
85009 # Need to do this so that g++ won't try to link in libstdc++
85010 ac_test_CFLAGS="${CFLAGS+set}"
85011 ac_save_CFLAGS="$CFLAGS"
85012 CFLAGS='-x c++ -Wl,--gc-sections'
85014 # Check for -Wl,--gc-sections
85015 # XXX This test is broken at the moment, as symbols required for linking
85016 # are now in libsupc++ (not built yet). In addition, this test has
85017 # cored on solaris in the past. In addition, --gc-sections doesn't
85018 # really work at the moment (keeps on discarding used sections, first
85019 # .eh_frame and now some of the glibc sections for iconv).
85020 # Bzzzzt. Thanks for playing, maybe next time.
85021 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85022 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85023 if test "$cross_compiling" = yes; then
85024 ac_sectionLDflags=yes
85025 else
85026 cat >conftest.$ac_ext <<_ACEOF
85027 /* confdefs.h. */
85028 _ACEOF
85029 cat confdefs.h >>conftest.$ac_ext
85030 cat >>conftest.$ac_ext <<_ACEOF
85031 /* end confdefs.h. */
85033 int main(void)
85035 try { throw 1; }
85036 catch (...) { };
85037 return 0;
85040 _ACEOF
85041 rm -f conftest$ac_exeext
85042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85043 (eval $ac_link) 2>&5
85044 ac_status=$?
85045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85048 (eval $ac_try) 2>&5
85049 ac_status=$?
85050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85051 (exit $ac_status); }; }; then
85052 ac_sectionLDflags=yes
85053 else
85054 echo "$as_me: program exited with status $ac_status" >&5
85055 echo "$as_me: failed program was:" >&5
85056 sed 's/^/| /' conftest.$ac_ext >&5
85058 ( exit $ac_status )
85059 ac_sectionLDflags=no
85061 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85063 if test "$ac_test_CFLAGS" = set; then
85064 CFLAGS="$ac_save_CFLAGS"
85065 else
85066 # this is the suspicious part
85067 CFLAGS=''
85069 if test "$ac_sectionLDflags" = "yes"; then
85070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85072 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85073 echo "${ECHO_T}$ac_sectionLDflags" >&6
85076 # Set linker optimization flags.
85077 if test x"$with_gnu_ld" = x"yes"; then
85078 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85086 echo "$as_me:$LINENO: checking for main in -lm" >&5
85087 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85088 if test "${ac_cv_lib_m_main+set}" = set; then
85089 echo $ECHO_N "(cached) $ECHO_C" >&6
85090 else
85091 ac_check_lib_save_LIBS=$LIBS
85092 LIBS="-lm $LIBS"
85093 if test x$gcc_no_link = xyes; then
85094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85096 { (exit 1); exit 1; }; }
85098 cat >conftest.$ac_ext <<_ACEOF
85099 /* confdefs.h. */
85100 _ACEOF
85101 cat confdefs.h >>conftest.$ac_ext
85102 cat >>conftest.$ac_ext <<_ACEOF
85103 /* end confdefs.h. */
85107 main ()
85109 main ();
85111 return 0;
85113 _ACEOF
85114 rm -f conftest.$ac_objext conftest$ac_exeext
85115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85116 (eval $ac_link) 2>conftest.er1
85117 ac_status=$?
85118 grep -v '^ *+' conftest.er1 >conftest.err
85119 rm -f conftest.er1
85120 cat conftest.err >&5
85121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122 (exit $ac_status); } &&
85123 { ac_try='test -z "$ac_c_werror_flag"
85124 || test ! -s conftest.err'
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); }; } &&
85130 { ac_try='test -s conftest$ac_exeext'
85131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85132 (eval $ac_try) 2>&5
85133 ac_status=$?
85134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85135 (exit $ac_status); }; }; then
85136 ac_cv_lib_m_main=yes
85137 else
85138 echo "$as_me: failed program was:" >&5
85139 sed 's/^/| /' conftest.$ac_ext >&5
85141 ac_cv_lib_m_main=no
85143 rm -f conftest.err conftest.$ac_objext \
85144 conftest$ac_exeext conftest.$ac_ext
85145 LIBS=$ac_check_lib_save_LIBS
85147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85148 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85149 if test $ac_cv_lib_m_main = yes; then
85150 cat >>confdefs.h <<_ACEOF
85151 #define HAVE_LIBM 1
85152 _ACEOF
85154 LIBS="-lm $LIBS"
85159 for ac_func in copysignf
85161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85162 echo "$as_me:$LINENO: checking for $ac_func" >&5
85163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85164 if eval "test \"\${$as_ac_var+set}\" = set"; then
85165 echo $ECHO_N "(cached) $ECHO_C" >&6
85166 else
85167 if test x$gcc_no_link = xyes; then
85168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85170 { (exit 1); exit 1; }; }
85172 cat >conftest.$ac_ext <<_ACEOF
85173 /* confdefs.h. */
85174 _ACEOF
85175 cat confdefs.h >>conftest.$ac_ext
85176 cat >>conftest.$ac_ext <<_ACEOF
85177 /* end confdefs.h. */
85178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85180 #define $ac_func innocuous_$ac_func
85182 /* System header to define __stub macros and hopefully few prototypes,
85183 which can conflict with char $ac_func (); below.
85184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85185 <limits.h> exists even on freestanding compilers. */
85187 #ifdef __STDC__
85188 # include <limits.h>
85189 #else
85190 # include <assert.h>
85191 #endif
85193 #undef $ac_func
85195 /* Override any gcc2 internal prototype to avoid an error. */
85196 #ifdef __cplusplus
85197 extern "C"
85199 #endif
85200 /* We use char because int might match the return type of a gcc2
85201 builtin and then its argument prototype would still apply. */
85202 char $ac_func ();
85203 /* The GNU C library defines this for functions which it implements
85204 to always fail with ENOSYS. Some functions are actually named
85205 something starting with __ and the normal name is an alias. */
85206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85207 choke me
85208 #else
85209 char (*f) () = $ac_func;
85210 #endif
85211 #ifdef __cplusplus
85213 #endif
85216 main ()
85218 return f != $ac_func;
85220 return 0;
85222 _ACEOF
85223 rm -f conftest.$ac_objext conftest$ac_exeext
85224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85225 (eval $ac_link) 2>conftest.er1
85226 ac_status=$?
85227 grep -v '^ *+' conftest.er1 >conftest.err
85228 rm -f conftest.er1
85229 cat conftest.err >&5
85230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85231 (exit $ac_status); } &&
85232 { ac_try='test -z "$ac_c_werror_flag"
85233 || test ! -s conftest.err'
85234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85235 (eval $ac_try) 2>&5
85236 ac_status=$?
85237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85238 (exit $ac_status); }; } &&
85239 { ac_try='test -s conftest$ac_exeext'
85240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85241 (eval $ac_try) 2>&5
85242 ac_status=$?
85243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85244 (exit $ac_status); }; }; then
85245 eval "$as_ac_var=yes"
85246 else
85247 echo "$as_me: failed program was:" >&5
85248 sed 's/^/| /' conftest.$ac_ext >&5
85250 eval "$as_ac_var=no"
85252 rm -f conftest.err conftest.$ac_objext \
85253 conftest$ac_exeext conftest.$ac_ext
85255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85257 if test `eval echo '${'$as_ac_var'}'` = yes; then
85258 cat >>confdefs.h <<_ACEOF
85259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85260 _ACEOF
85262 else
85263 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85265 done
85269 for ac_func in __signbit
85271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85272 echo "$as_me:$LINENO: checking for $ac_func" >&5
85273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85274 if eval "test \"\${$as_ac_var+set}\" = set"; then
85275 echo $ECHO_N "(cached) $ECHO_C" >&6
85276 else
85277 if test x$gcc_no_link = xyes; then
85278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85280 { (exit 1); exit 1; }; }
85282 cat >conftest.$ac_ext <<_ACEOF
85283 /* confdefs.h. */
85284 _ACEOF
85285 cat confdefs.h >>conftest.$ac_ext
85286 cat >>conftest.$ac_ext <<_ACEOF
85287 /* end confdefs.h. */
85288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85290 #define $ac_func innocuous_$ac_func
85292 /* System header to define __stub macros and hopefully few prototypes,
85293 which can conflict with char $ac_func (); below.
85294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85295 <limits.h> exists even on freestanding compilers. */
85297 #ifdef __STDC__
85298 # include <limits.h>
85299 #else
85300 # include <assert.h>
85301 #endif
85303 #undef $ac_func
85305 /* Override any gcc2 internal prototype to avoid an error. */
85306 #ifdef __cplusplus
85307 extern "C"
85309 #endif
85310 /* We use char because int might match the return type of a gcc2
85311 builtin and then its argument prototype would still apply. */
85312 char $ac_func ();
85313 /* The GNU C library defines this for functions which it implements
85314 to always fail with ENOSYS. Some functions are actually named
85315 something starting with __ and the normal name is an alias. */
85316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85317 choke me
85318 #else
85319 char (*f) () = $ac_func;
85320 #endif
85321 #ifdef __cplusplus
85323 #endif
85326 main ()
85328 return f != $ac_func;
85330 return 0;
85332 _ACEOF
85333 rm -f conftest.$ac_objext conftest$ac_exeext
85334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85335 (eval $ac_link) 2>conftest.er1
85336 ac_status=$?
85337 grep -v '^ *+' conftest.er1 >conftest.err
85338 rm -f conftest.er1
85339 cat conftest.err >&5
85340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85341 (exit $ac_status); } &&
85342 { ac_try='test -z "$ac_c_werror_flag"
85343 || test ! -s conftest.err'
85344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85345 (eval $ac_try) 2>&5
85346 ac_status=$?
85347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85348 (exit $ac_status); }; } &&
85349 { ac_try='test -s conftest$ac_exeext'
85350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85351 (eval $ac_try) 2>&5
85352 ac_status=$?
85353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85354 (exit $ac_status); }; }; then
85355 eval "$as_ac_var=yes"
85356 else
85357 echo "$as_me: failed program was:" >&5
85358 sed 's/^/| /' conftest.$ac_ext >&5
85360 eval "$as_ac_var=no"
85362 rm -f conftest.err conftest.$ac_objext \
85363 conftest$ac_exeext conftest.$ac_ext
85365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85367 if test `eval echo '${'$as_ac_var'}'` = yes; then
85368 cat >>confdefs.h <<_ACEOF
85369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85370 _ACEOF
85372 else
85373 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85375 done
85379 for ac_func in __signbitf
85381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85382 echo "$as_me:$LINENO: checking for $ac_func" >&5
85383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85384 if eval "test \"\${$as_ac_var+set}\" = set"; then
85385 echo $ECHO_N "(cached) $ECHO_C" >&6
85386 else
85387 if test x$gcc_no_link = xyes; then
85388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85390 { (exit 1); exit 1; }; }
85392 cat >conftest.$ac_ext <<_ACEOF
85393 /* confdefs.h. */
85394 _ACEOF
85395 cat confdefs.h >>conftest.$ac_ext
85396 cat >>conftest.$ac_ext <<_ACEOF
85397 /* end confdefs.h. */
85398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85400 #define $ac_func innocuous_$ac_func
85402 /* System header to define __stub macros and hopefully few prototypes,
85403 which can conflict with char $ac_func (); below.
85404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85405 <limits.h> exists even on freestanding compilers. */
85407 #ifdef __STDC__
85408 # include <limits.h>
85409 #else
85410 # include <assert.h>
85411 #endif
85413 #undef $ac_func
85415 /* Override any gcc2 internal prototype to avoid an error. */
85416 #ifdef __cplusplus
85417 extern "C"
85419 #endif
85420 /* We use char because int might match the return type of a gcc2
85421 builtin and then its argument prototype would still apply. */
85422 char $ac_func ();
85423 /* The GNU C library defines this for functions which it implements
85424 to always fail with ENOSYS. Some functions are actually named
85425 something starting with __ and the normal name is an alias. */
85426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85427 choke me
85428 #else
85429 char (*f) () = $ac_func;
85430 #endif
85431 #ifdef __cplusplus
85433 #endif
85436 main ()
85438 return f != $ac_func;
85440 return 0;
85442 _ACEOF
85443 rm -f conftest.$ac_objext conftest$ac_exeext
85444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85445 (eval $ac_link) 2>conftest.er1
85446 ac_status=$?
85447 grep -v '^ *+' conftest.er1 >conftest.err
85448 rm -f conftest.er1
85449 cat conftest.err >&5
85450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85451 (exit $ac_status); } &&
85452 { ac_try='test -z "$ac_c_werror_flag"
85453 || test ! -s conftest.err'
85454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85455 (eval $ac_try) 2>&5
85456 ac_status=$?
85457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85458 (exit $ac_status); }; } &&
85459 { ac_try='test -s conftest$ac_exeext'
85460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85461 (eval $ac_try) 2>&5
85462 ac_status=$?
85463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85464 (exit $ac_status); }; }; then
85465 eval "$as_ac_var=yes"
85466 else
85467 echo "$as_me: failed program was:" >&5
85468 sed 's/^/| /' conftest.$ac_ext >&5
85470 eval "$as_ac_var=no"
85472 rm -f conftest.err conftest.$ac_objext \
85473 conftest$ac_exeext conftest.$ac_ext
85475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85477 if test `eval echo '${'$as_ac_var'}'` = yes; then
85478 cat >>confdefs.h <<_ACEOF
85479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85480 _ACEOF
85482 else
85483 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85485 done
85488 if test x$ac_cv_func_copysignl = x"yes"; then
85490 for ac_func in __signbitl
85492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85493 echo "$as_me:$LINENO: checking for $ac_func" >&5
85494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85495 if eval "test \"\${$as_ac_var+set}\" = set"; then
85496 echo $ECHO_N "(cached) $ECHO_C" >&6
85497 else
85498 if test x$gcc_no_link = xyes; then
85499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85501 { (exit 1); exit 1; }; }
85503 cat >conftest.$ac_ext <<_ACEOF
85504 /* confdefs.h. */
85505 _ACEOF
85506 cat confdefs.h >>conftest.$ac_ext
85507 cat >>conftest.$ac_ext <<_ACEOF
85508 /* end confdefs.h. */
85509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85511 #define $ac_func innocuous_$ac_func
85513 /* System header to define __stub macros and hopefully few prototypes,
85514 which can conflict with char $ac_func (); below.
85515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85516 <limits.h> exists even on freestanding compilers. */
85518 #ifdef __STDC__
85519 # include <limits.h>
85520 #else
85521 # include <assert.h>
85522 #endif
85524 #undef $ac_func
85526 /* Override any gcc2 internal prototype to avoid an error. */
85527 #ifdef __cplusplus
85528 extern "C"
85530 #endif
85531 /* We use char because int might match the return type of a gcc2
85532 builtin and then its argument prototype would still apply. */
85533 char $ac_func ();
85534 /* The GNU C library defines this for functions which it implements
85535 to always fail with ENOSYS. Some functions are actually named
85536 something starting with __ and the normal name is an alias. */
85537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85538 choke me
85539 #else
85540 char (*f) () = $ac_func;
85541 #endif
85542 #ifdef __cplusplus
85544 #endif
85547 main ()
85549 return f != $ac_func;
85551 return 0;
85553 _ACEOF
85554 rm -f conftest.$ac_objext conftest$ac_exeext
85555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85556 (eval $ac_link) 2>conftest.er1
85557 ac_status=$?
85558 grep -v '^ *+' conftest.er1 >conftest.err
85559 rm -f conftest.er1
85560 cat conftest.err >&5
85561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85562 (exit $ac_status); } &&
85563 { ac_try='test -z "$ac_c_werror_flag"
85564 || test ! -s conftest.err'
85565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85566 (eval $ac_try) 2>&5
85567 ac_status=$?
85568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85569 (exit $ac_status); }; } &&
85570 { ac_try='test -s conftest$ac_exeext'
85571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85572 (eval $ac_try) 2>&5
85573 ac_status=$?
85574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85575 (exit $ac_status); }; }; then
85576 eval "$as_ac_var=yes"
85577 else
85578 echo "$as_me: failed program was:" >&5
85579 sed 's/^/| /' conftest.$ac_ext >&5
85581 eval "$as_ac_var=no"
85583 rm -f conftest.err conftest.$ac_objext \
85584 conftest$ac_exeext conftest.$ac_ext
85586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85588 if test `eval echo '${'$as_ac_var'}'` = yes; then
85589 cat >>confdefs.h <<_ACEOF
85590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85591 _ACEOF
85593 else
85594 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85596 done
85600 # Used in libmath/Makefile.am.
85601 if test -n "$LIBMATHOBJS"; then
85602 need_libmath=yes
85607 # Test wchar.h for mbstate_t, which is needed for char_traits and
85608 # others even if wchar_t support is not on.
85609 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85610 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85611 cat >conftest.$ac_ext <<_ACEOF
85612 /* confdefs.h. */
85613 _ACEOF
85614 cat confdefs.h >>conftest.$ac_ext
85615 cat >>conftest.$ac_ext <<_ACEOF
85616 /* end confdefs.h. */
85617 #include <wchar.h>
85619 main ()
85621 mbstate_t teststate;
85623 return 0;
85625 _ACEOF
85626 rm -f conftest.$ac_objext
85627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85628 (eval $ac_compile) 2>conftest.er1
85629 ac_status=$?
85630 grep -v '^ *+' conftest.er1 >conftest.err
85631 rm -f conftest.er1
85632 cat conftest.err >&5
85633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85634 (exit $ac_status); } &&
85635 { ac_try='test -z "$ac_c_werror_flag"
85636 || test ! -s conftest.err'
85637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85638 (eval $ac_try) 2>&5
85639 ac_status=$?
85640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85641 (exit $ac_status); }; } &&
85642 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
85648 have_mbstate_t=yes
85649 else
85650 echo "$as_me: failed program was:" >&5
85651 sed 's/^/| /' conftest.$ac_ext >&5
85653 have_mbstate_t=no
85655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85656 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85657 echo "${ECHO_T}$have_mbstate_t" >&6
85658 if test x"$have_mbstate_t" = xyes; then
85659 cat >>confdefs.h <<\_ACEOF
85660 #define HAVE_MBSTATE_T 1
85661 _ACEOF
85665 # Sanity check for existence of ISO C99 headers for extended encoding.
85667 for ac_header in wchar.h
85669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85671 echo "$as_me:$LINENO: checking for $ac_header" >&5
85672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85674 echo $ECHO_N "(cached) $ECHO_C" >&6
85676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85678 else
85679 # Is the header compilable?
85680 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85681 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85682 cat >conftest.$ac_ext <<_ACEOF
85683 /* confdefs.h. */
85684 _ACEOF
85685 cat confdefs.h >>conftest.$ac_ext
85686 cat >>conftest.$ac_ext <<_ACEOF
85687 /* end confdefs.h. */
85688 $ac_includes_default
85689 #include <$ac_header>
85690 _ACEOF
85691 rm -f conftest.$ac_objext
85692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85693 (eval $ac_compile) 2>conftest.er1
85694 ac_status=$?
85695 grep -v '^ *+' conftest.er1 >conftest.err
85696 rm -f conftest.er1
85697 cat conftest.err >&5
85698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85699 (exit $ac_status); } &&
85700 { ac_try='test -z "$ac_c_werror_flag"
85701 || test ! -s conftest.err'
85702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85703 (eval $ac_try) 2>&5
85704 ac_status=$?
85705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85706 (exit $ac_status); }; } &&
85707 { ac_try='test -s conftest.$ac_objext'
85708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85709 (eval $ac_try) 2>&5
85710 ac_status=$?
85711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85712 (exit $ac_status); }; }; then
85713 ac_header_compiler=yes
85714 else
85715 echo "$as_me: failed program was:" >&5
85716 sed 's/^/| /' conftest.$ac_ext >&5
85718 ac_header_compiler=no
85720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85722 echo "${ECHO_T}$ac_header_compiler" >&6
85724 # Is the header present?
85725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85727 cat >conftest.$ac_ext <<_ACEOF
85728 /* confdefs.h. */
85729 _ACEOF
85730 cat confdefs.h >>conftest.$ac_ext
85731 cat >>conftest.$ac_ext <<_ACEOF
85732 /* end confdefs.h. */
85733 #include <$ac_header>
85734 _ACEOF
85735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85737 ac_status=$?
85738 grep -v '^ *+' conftest.er1 >conftest.err
85739 rm -f conftest.er1
85740 cat conftest.err >&5
85741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85742 (exit $ac_status); } >/dev/null; then
85743 if test -s conftest.err; then
85744 ac_cpp_err=$ac_c_preproc_warn_flag
85745 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85746 else
85747 ac_cpp_err=
85749 else
85750 ac_cpp_err=yes
85752 if test -z "$ac_cpp_err"; then
85753 ac_header_preproc=yes
85754 else
85755 echo "$as_me: failed program was:" >&5
85756 sed 's/^/| /' conftest.$ac_ext >&5
85758 ac_header_preproc=no
85760 rm -f conftest.err conftest.$ac_ext
85761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85762 echo "${ECHO_T}$ac_header_preproc" >&6
85764 # So? What about this header?
85765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85766 yes:no: )
85767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85771 ac_header_preproc=yes
85773 no:yes:* )
85774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85787 cat <<\_ASBOX
85788 ## ----------------------------------------- ##
85789 ## Report this to the package-unused lists. ##
85790 ## ----------------------------------------- ##
85791 _ASBOX
85793 sed "s/^/$as_me: WARNING: /" >&2
85795 esac
85796 echo "$as_me:$LINENO: checking for $ac_header" >&5
85797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85799 echo $ECHO_N "(cached) $ECHO_C" >&6
85800 else
85801 eval "$as_ac_Header=\$ac_header_preproc"
85803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85808 cat >>confdefs.h <<_ACEOF
85809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85810 _ACEOF
85811 ac_has_wchar_h=yes
85812 else
85813 ac_has_wchar_h=no
85816 done
85819 for ac_header in wctype.h
85821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85823 echo "$as_me:$LINENO: checking for $ac_header" >&5
85824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85826 echo $ECHO_N "(cached) $ECHO_C" >&6
85828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85830 else
85831 # Is the header compilable?
85832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85834 cat >conftest.$ac_ext <<_ACEOF
85835 /* confdefs.h. */
85836 _ACEOF
85837 cat confdefs.h >>conftest.$ac_ext
85838 cat >>conftest.$ac_ext <<_ACEOF
85839 /* end confdefs.h. */
85840 $ac_includes_default
85841 #include <$ac_header>
85842 _ACEOF
85843 rm -f conftest.$ac_objext
85844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85845 (eval $ac_compile) 2>conftest.er1
85846 ac_status=$?
85847 grep -v '^ *+' conftest.er1 >conftest.err
85848 rm -f conftest.er1
85849 cat conftest.err >&5
85850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85851 (exit $ac_status); } &&
85852 { ac_try='test -z "$ac_c_werror_flag"
85853 || test ! -s conftest.err'
85854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85855 (eval $ac_try) 2>&5
85856 ac_status=$?
85857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85858 (exit $ac_status); }; } &&
85859 { ac_try='test -s conftest.$ac_objext'
85860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85861 (eval $ac_try) 2>&5
85862 ac_status=$?
85863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85864 (exit $ac_status); }; }; then
85865 ac_header_compiler=yes
85866 else
85867 echo "$as_me: failed program was:" >&5
85868 sed 's/^/| /' conftest.$ac_ext >&5
85870 ac_header_compiler=no
85872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85874 echo "${ECHO_T}$ac_header_compiler" >&6
85876 # Is the header present?
85877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85879 cat >conftest.$ac_ext <<_ACEOF
85880 /* confdefs.h. */
85881 _ACEOF
85882 cat confdefs.h >>conftest.$ac_ext
85883 cat >>conftest.$ac_ext <<_ACEOF
85884 /* end confdefs.h. */
85885 #include <$ac_header>
85886 _ACEOF
85887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85889 ac_status=$?
85890 grep -v '^ *+' conftest.er1 >conftest.err
85891 rm -f conftest.er1
85892 cat conftest.err >&5
85893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85894 (exit $ac_status); } >/dev/null; then
85895 if test -s conftest.err; then
85896 ac_cpp_err=$ac_c_preproc_warn_flag
85897 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85898 else
85899 ac_cpp_err=
85901 else
85902 ac_cpp_err=yes
85904 if test -z "$ac_cpp_err"; then
85905 ac_header_preproc=yes
85906 else
85907 echo "$as_me: failed program was:" >&5
85908 sed 's/^/| /' conftest.$ac_ext >&5
85910 ac_header_preproc=no
85912 rm -f conftest.err conftest.$ac_ext
85913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85914 echo "${ECHO_T}$ac_header_preproc" >&6
85916 # So? What about this header?
85917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85918 yes:no: )
85919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85922 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85923 ac_header_preproc=yes
85925 no:yes:* )
85926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85930 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85931 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85932 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85933 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85936 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85937 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85939 cat <<\_ASBOX
85940 ## ----------------------------------------- ##
85941 ## Report this to the package-unused lists. ##
85942 ## ----------------------------------------- ##
85943 _ASBOX
85945 sed "s/^/$as_me: WARNING: /" >&2
85947 esac
85948 echo "$as_me:$LINENO: checking for $ac_header" >&5
85949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85951 echo $ECHO_N "(cached) $ECHO_C" >&6
85952 else
85953 eval "$as_ac_Header=\$ac_header_preproc"
85955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85960 cat >>confdefs.h <<_ACEOF
85961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85962 _ACEOF
85963 ac_has_wctype_h=yes
85964 else
85965 ac_has_wctype_h=no
85968 done
85971 # Only continue checking if the ISO C99 headers exist and support is on.
85972 if test x"$ac_has_wchar_h" = xyes &&
85973 test x"$ac_has_wctype_h" = xyes &&
85974 test x"$enable_c_mbchar" != xno; then
85976 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
85977 # numeric_limits can instantiate type_traits<wchar_t>
85978 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
85979 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
85980 cat >conftest.$ac_ext <<_ACEOF
85981 /* confdefs.h. */
85982 _ACEOF
85983 cat confdefs.h >>conftest.$ac_ext
85984 cat >>conftest.$ac_ext <<_ACEOF
85985 /* end confdefs.h. */
85986 #include <wchar.h>
85988 main ()
85990 int i = WCHAR_MIN; int j = WCHAR_MAX;
85992 return 0;
85994 _ACEOF
85995 rm -f conftest.$ac_objext
85996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85997 (eval $ac_compile) 2>conftest.er1
85998 ac_status=$?
85999 grep -v '^ *+' conftest.er1 >conftest.err
86000 rm -f conftest.er1
86001 cat conftest.err >&5
86002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86003 (exit $ac_status); } &&
86004 { ac_try='test -z "$ac_c_werror_flag"
86005 || test ! -s conftest.err'
86006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86007 (eval $ac_try) 2>&5
86008 ac_status=$?
86009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86010 (exit $ac_status); }; } &&
86011 { ac_try='test -s conftest.$ac_objext'
86012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86013 (eval $ac_try) 2>&5
86014 ac_status=$?
86015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86016 (exit $ac_status); }; }; then
86017 has_wchar_minmax=yes
86018 else
86019 echo "$as_me: failed program was:" >&5
86020 sed 's/^/| /' conftest.$ac_ext >&5
86022 has_wchar_minmax=no
86024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86025 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86026 echo "${ECHO_T}$has_wchar_minmax" >&6
86028 # Test wchar.h for WEOF, which is what we use to determine whether
86029 # to specialize for char_traits<wchar_t> or not.
86030 echo "$as_me:$LINENO: checking for WEOF" >&5
86031 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86032 cat >conftest.$ac_ext <<_ACEOF
86033 /* confdefs.h. */
86034 _ACEOF
86035 cat confdefs.h >>conftest.$ac_ext
86036 cat >>conftest.$ac_ext <<_ACEOF
86037 /* end confdefs.h. */
86039 #include <wchar.h>
86040 #include <stddef.h>
86042 main ()
86044 wint_t i = WEOF;
86046 return 0;
86048 _ACEOF
86049 rm -f conftest.$ac_objext
86050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86051 (eval $ac_compile) 2>conftest.er1
86052 ac_status=$?
86053 grep -v '^ *+' conftest.er1 >conftest.err
86054 rm -f conftest.er1
86055 cat conftest.err >&5
86056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86057 (exit $ac_status); } &&
86058 { ac_try='test -z "$ac_c_werror_flag"
86059 || test ! -s conftest.err'
86060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86061 (eval $ac_try) 2>&5
86062 ac_status=$?
86063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86064 (exit $ac_status); }; } &&
86065 { ac_try='test -s conftest.$ac_objext'
86066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86067 (eval $ac_try) 2>&5
86068 ac_status=$?
86069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86070 (exit $ac_status); }; }; then
86071 has_weof=yes
86072 else
86073 echo "$as_me: failed program was:" >&5
86074 sed 's/^/| /' conftest.$ac_ext >&5
86076 has_weof=no
86078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86079 echo "$as_me:$LINENO: result: $has_weof" >&5
86080 echo "${ECHO_T}$has_weof" >&6
86082 # Tests for wide character functions used in char_traits<wchar_t>.
86083 ac_wfuncs=yes
86090 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86093 echo "$as_me:$LINENO: checking for $ac_func" >&5
86094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86095 if eval "test \"\${$as_ac_var+set}\" = set"; then
86096 echo $ECHO_N "(cached) $ECHO_C" >&6
86097 else
86098 if test x$gcc_no_link = xyes; then
86099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86101 { (exit 1); exit 1; }; }
86103 cat >conftest.$ac_ext <<_ACEOF
86104 /* confdefs.h. */
86105 _ACEOF
86106 cat confdefs.h >>conftest.$ac_ext
86107 cat >>conftest.$ac_ext <<_ACEOF
86108 /* end confdefs.h. */
86109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86111 #define $ac_func innocuous_$ac_func
86113 /* System header to define __stub macros and hopefully few prototypes,
86114 which can conflict with char $ac_func (); below.
86115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86116 <limits.h> exists even on freestanding compilers. */
86118 #ifdef __STDC__
86119 # include <limits.h>
86120 #else
86121 # include <assert.h>
86122 #endif
86124 #undef $ac_func
86126 /* Override any gcc2 internal prototype to avoid an error. */
86127 #ifdef __cplusplus
86128 extern "C"
86130 #endif
86131 /* We use char because int might match the return type of a gcc2
86132 builtin and then its argument prototype would still apply. */
86133 char $ac_func ();
86134 /* The GNU C library defines this for functions which it implements
86135 to always fail with ENOSYS. Some functions are actually named
86136 something starting with __ and the normal name is an alias. */
86137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86138 choke me
86139 #else
86140 char (*f) () = $ac_func;
86141 #endif
86142 #ifdef __cplusplus
86144 #endif
86147 main ()
86149 return f != $ac_func;
86151 return 0;
86153 _ACEOF
86154 rm -f conftest.$ac_objext conftest$ac_exeext
86155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86156 (eval $ac_link) 2>conftest.er1
86157 ac_status=$?
86158 grep -v '^ *+' conftest.er1 >conftest.err
86159 rm -f conftest.er1
86160 cat conftest.err >&5
86161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86162 (exit $ac_status); } &&
86163 { ac_try='test -z "$ac_c_werror_flag"
86164 || test ! -s conftest.err'
86165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86166 (eval $ac_try) 2>&5
86167 ac_status=$?
86168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86169 (exit $ac_status); }; } &&
86170 { ac_try='test -s conftest$ac_exeext'
86171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86172 (eval $ac_try) 2>&5
86173 ac_status=$?
86174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86175 (exit $ac_status); }; }; then
86176 eval "$as_ac_var=yes"
86177 else
86178 echo "$as_me: failed program was:" >&5
86179 sed 's/^/| /' conftest.$ac_ext >&5
86181 eval "$as_ac_var=no"
86183 rm -f conftest.err conftest.$ac_objext \
86184 conftest$ac_exeext conftest.$ac_ext
86186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86188 if test `eval echo '${'$as_ac_var'}'` = yes; then
86189 cat >>confdefs.h <<_ACEOF
86190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86191 _ACEOF
86193 else
86194 ac_wfuncs=no
86196 done
86199 # Checks for names injected into std:: by the c_std headers.
86246 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86247 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86248 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86249 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86250 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86251 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86254 echo "$as_me:$LINENO: checking for $ac_func" >&5
86255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86256 if eval "test \"\${$as_ac_var+set}\" = set"; then
86257 echo $ECHO_N "(cached) $ECHO_C" >&6
86258 else
86259 if test x$gcc_no_link = xyes; then
86260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86262 { (exit 1); exit 1; }; }
86264 cat >conftest.$ac_ext <<_ACEOF
86265 /* confdefs.h. */
86266 _ACEOF
86267 cat confdefs.h >>conftest.$ac_ext
86268 cat >>conftest.$ac_ext <<_ACEOF
86269 /* end confdefs.h. */
86270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86272 #define $ac_func innocuous_$ac_func
86274 /* System header to define __stub macros and hopefully few prototypes,
86275 which can conflict with char $ac_func (); below.
86276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86277 <limits.h> exists even on freestanding compilers. */
86279 #ifdef __STDC__
86280 # include <limits.h>
86281 #else
86282 # include <assert.h>
86283 #endif
86285 #undef $ac_func
86287 /* Override any gcc2 internal prototype to avoid an error. */
86288 #ifdef __cplusplus
86289 extern "C"
86291 #endif
86292 /* We use char because int might match the return type of a gcc2
86293 builtin and then its argument prototype would still apply. */
86294 char $ac_func ();
86295 /* The GNU C library defines this for functions which it implements
86296 to always fail with ENOSYS. Some functions are actually named
86297 something starting with __ and the normal name is an alias. */
86298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86299 choke me
86300 #else
86301 char (*f) () = $ac_func;
86302 #endif
86303 #ifdef __cplusplus
86305 #endif
86308 main ()
86310 return f != $ac_func;
86312 return 0;
86314 _ACEOF
86315 rm -f conftest.$ac_objext conftest$ac_exeext
86316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86317 (eval $ac_link) 2>conftest.er1
86318 ac_status=$?
86319 grep -v '^ *+' conftest.er1 >conftest.err
86320 rm -f conftest.er1
86321 cat conftest.err >&5
86322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86323 (exit $ac_status); } &&
86324 { ac_try='test -z "$ac_c_werror_flag"
86325 || test ! -s conftest.err'
86326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86327 (eval $ac_try) 2>&5
86328 ac_status=$?
86329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86330 (exit $ac_status); }; } &&
86331 { ac_try='test -s conftest$ac_exeext'
86332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86333 (eval $ac_try) 2>&5
86334 ac_status=$?
86335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86336 (exit $ac_status); }; }; then
86337 eval "$as_ac_var=yes"
86338 else
86339 echo "$as_me: failed program was:" >&5
86340 sed 's/^/| /' conftest.$ac_ext >&5
86342 eval "$as_ac_var=no"
86344 rm -f conftest.err conftest.$ac_objext \
86345 conftest$ac_exeext conftest.$ac_ext
86347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86349 if test `eval echo '${'$as_ac_var'}'` = yes; then
86350 cat >>confdefs.h <<_ACEOF
86351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86352 _ACEOF
86354 else
86355 ac_wfuncs=no
86357 done
86360 # Checks for wide character functions that are not required
86361 # for basic wchar_t support. Don't disable support if they are missing.
86362 # Injection of these is wrapped with guard macros.
86368 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86371 echo "$as_me:$LINENO: checking for $ac_func" >&5
86372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86373 if eval "test \"\${$as_ac_var+set}\" = set"; then
86374 echo $ECHO_N "(cached) $ECHO_C" >&6
86375 else
86376 if test x$gcc_no_link = xyes; then
86377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86379 { (exit 1); exit 1; }; }
86381 cat >conftest.$ac_ext <<_ACEOF
86382 /* confdefs.h. */
86383 _ACEOF
86384 cat confdefs.h >>conftest.$ac_ext
86385 cat >>conftest.$ac_ext <<_ACEOF
86386 /* end confdefs.h. */
86387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86389 #define $ac_func innocuous_$ac_func
86391 /* System header to define __stub macros and hopefully few prototypes,
86392 which can conflict with char $ac_func (); below.
86393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86394 <limits.h> exists even on freestanding compilers. */
86396 #ifdef __STDC__
86397 # include <limits.h>
86398 #else
86399 # include <assert.h>
86400 #endif
86402 #undef $ac_func
86404 /* Override any gcc2 internal prototype to avoid an error. */
86405 #ifdef __cplusplus
86406 extern "C"
86408 #endif
86409 /* We use char because int might match the return type of a gcc2
86410 builtin and then its argument prototype would still apply. */
86411 char $ac_func ();
86412 /* The GNU C library defines this for functions which it implements
86413 to always fail with ENOSYS. Some functions are actually named
86414 something starting with __ and the normal name is an alias. */
86415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86416 choke me
86417 #else
86418 char (*f) () = $ac_func;
86419 #endif
86420 #ifdef __cplusplus
86422 #endif
86425 main ()
86427 return f != $ac_func;
86429 return 0;
86431 _ACEOF
86432 rm -f conftest.$ac_objext conftest$ac_exeext
86433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86434 (eval $ac_link) 2>conftest.er1
86435 ac_status=$?
86436 grep -v '^ *+' conftest.er1 >conftest.err
86437 rm -f conftest.er1
86438 cat conftest.err >&5
86439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86440 (exit $ac_status); } &&
86441 { ac_try='test -z "$ac_c_werror_flag"
86442 || test ! -s conftest.err'
86443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86444 (eval $ac_try) 2>&5
86445 ac_status=$?
86446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86447 (exit $ac_status); }; } &&
86448 { ac_try='test -s conftest$ac_exeext'
86449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86450 (eval $ac_try) 2>&5
86451 ac_status=$?
86452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86453 (exit $ac_status); }; }; then
86454 eval "$as_ac_var=yes"
86455 else
86456 echo "$as_me: failed program was:" >&5
86457 sed 's/^/| /' conftest.$ac_ext >&5
86459 eval "$as_ac_var=no"
86461 rm -f conftest.err conftest.$ac_objext \
86462 conftest$ac_exeext conftest.$ac_ext
86464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86466 if test `eval echo '${'$as_ac_var'}'` = yes; then
86467 cat >>confdefs.h <<_ACEOF
86468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86469 _ACEOF
86472 done
86475 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86476 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86477 if test x"$has_weof" = xyes &&
86478 test x"$has_wchar_minmax" = xyes &&
86479 test x"$ac_wfuncs" = xyes;
86480 then
86481 ac_isoC99_wchar_t=yes
86482 else
86483 ac_isoC99_wchar_t=no
86485 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86486 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86488 # Use iconv for wchar_t to char conversions. As such, check for
86489 # X/Open Portability Guide, version 2 features (XPG2).
86490 if test "${ac_cv_header_iconv_h+set}" = set; then
86491 echo "$as_me:$LINENO: checking for iconv.h" >&5
86492 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86493 if test "${ac_cv_header_iconv_h+set}" = set; then
86494 echo $ECHO_N "(cached) $ECHO_C" >&6
86496 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86497 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86498 else
86499 # Is the header compilable?
86500 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86501 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86502 cat >conftest.$ac_ext <<_ACEOF
86503 /* confdefs.h. */
86504 _ACEOF
86505 cat confdefs.h >>conftest.$ac_ext
86506 cat >>conftest.$ac_ext <<_ACEOF
86507 /* end confdefs.h. */
86508 $ac_includes_default
86509 #include <iconv.h>
86510 _ACEOF
86511 rm -f conftest.$ac_objext
86512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86513 (eval $ac_compile) 2>conftest.er1
86514 ac_status=$?
86515 grep -v '^ *+' conftest.er1 >conftest.err
86516 rm -f conftest.er1
86517 cat conftest.err >&5
86518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86519 (exit $ac_status); } &&
86520 { ac_try='test -z "$ac_c_werror_flag"
86521 || test ! -s conftest.err'
86522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86523 (eval $ac_try) 2>&5
86524 ac_status=$?
86525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86526 (exit $ac_status); }; } &&
86527 { ac_try='test -s conftest.$ac_objext'
86528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86529 (eval $ac_try) 2>&5
86530 ac_status=$?
86531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86532 (exit $ac_status); }; }; then
86533 ac_header_compiler=yes
86534 else
86535 echo "$as_me: failed program was:" >&5
86536 sed 's/^/| /' conftest.$ac_ext >&5
86538 ac_header_compiler=no
86540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86542 echo "${ECHO_T}$ac_header_compiler" >&6
86544 # Is the header present?
86545 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86546 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86547 cat >conftest.$ac_ext <<_ACEOF
86548 /* confdefs.h. */
86549 _ACEOF
86550 cat confdefs.h >>conftest.$ac_ext
86551 cat >>conftest.$ac_ext <<_ACEOF
86552 /* end confdefs.h. */
86553 #include <iconv.h>
86554 _ACEOF
86555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86557 ac_status=$?
86558 grep -v '^ *+' conftest.er1 >conftest.err
86559 rm -f conftest.er1
86560 cat conftest.err >&5
86561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86562 (exit $ac_status); } >/dev/null; then
86563 if test -s conftest.err; then
86564 ac_cpp_err=$ac_c_preproc_warn_flag
86565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86566 else
86567 ac_cpp_err=
86569 else
86570 ac_cpp_err=yes
86572 if test -z "$ac_cpp_err"; then
86573 ac_header_preproc=yes
86574 else
86575 echo "$as_me: failed program was:" >&5
86576 sed 's/^/| /' conftest.$ac_ext >&5
86578 ac_header_preproc=no
86580 rm -f conftest.err conftest.$ac_ext
86581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86582 echo "${ECHO_T}$ac_header_preproc" >&6
86584 # So? What about this header?
86585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86586 yes:no: )
86587 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86588 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86589 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86590 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86591 ac_header_preproc=yes
86593 no:yes:* )
86594 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86595 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86596 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86597 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86598 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86599 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86600 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86601 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86602 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86603 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86604 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86605 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86607 cat <<\_ASBOX
86608 ## ----------------------------------------- ##
86609 ## Report this to the package-unused lists. ##
86610 ## ----------------------------------------- ##
86611 _ASBOX
86613 sed "s/^/$as_me: WARNING: /" >&2
86615 esac
86616 echo "$as_me:$LINENO: checking for iconv.h" >&5
86617 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86618 if test "${ac_cv_header_iconv_h+set}" = set; then
86619 echo $ECHO_N "(cached) $ECHO_C" >&6
86620 else
86621 ac_cv_header_iconv_h=$ac_header_preproc
86623 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86624 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86627 if test $ac_cv_header_iconv_h = yes; then
86628 ac_has_iconv_h=yes
86629 else
86630 ac_has_iconv_h=no
86634 if test "${ac_cv_header_langinfo_h+set}" = set; then
86635 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86636 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86637 if test "${ac_cv_header_langinfo_h+set}" = set; then
86638 echo $ECHO_N "(cached) $ECHO_C" >&6
86640 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86641 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86642 else
86643 # Is the header compilable?
86644 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86645 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86646 cat >conftest.$ac_ext <<_ACEOF
86647 /* confdefs.h. */
86648 _ACEOF
86649 cat confdefs.h >>conftest.$ac_ext
86650 cat >>conftest.$ac_ext <<_ACEOF
86651 /* end confdefs.h. */
86652 $ac_includes_default
86653 #include <langinfo.h>
86654 _ACEOF
86655 rm -f conftest.$ac_objext
86656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86657 (eval $ac_compile) 2>conftest.er1
86658 ac_status=$?
86659 grep -v '^ *+' conftest.er1 >conftest.err
86660 rm -f conftest.er1
86661 cat conftest.err >&5
86662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86663 (exit $ac_status); } &&
86664 { ac_try='test -z "$ac_c_werror_flag"
86665 || test ! -s conftest.err'
86666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86667 (eval $ac_try) 2>&5
86668 ac_status=$?
86669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86670 (exit $ac_status); }; } &&
86671 { ac_try='test -s conftest.$ac_objext'
86672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86673 (eval $ac_try) 2>&5
86674 ac_status=$?
86675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86676 (exit $ac_status); }; }; then
86677 ac_header_compiler=yes
86678 else
86679 echo "$as_me: failed program was:" >&5
86680 sed 's/^/| /' conftest.$ac_ext >&5
86682 ac_header_compiler=no
86684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86686 echo "${ECHO_T}$ac_header_compiler" >&6
86688 # Is the header present?
86689 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86690 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86691 cat >conftest.$ac_ext <<_ACEOF
86692 /* confdefs.h. */
86693 _ACEOF
86694 cat confdefs.h >>conftest.$ac_ext
86695 cat >>conftest.$ac_ext <<_ACEOF
86696 /* end confdefs.h. */
86697 #include <langinfo.h>
86698 _ACEOF
86699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86701 ac_status=$?
86702 grep -v '^ *+' conftest.er1 >conftest.err
86703 rm -f conftest.er1
86704 cat conftest.err >&5
86705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86706 (exit $ac_status); } >/dev/null; then
86707 if test -s conftest.err; then
86708 ac_cpp_err=$ac_c_preproc_warn_flag
86709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86710 else
86711 ac_cpp_err=
86713 else
86714 ac_cpp_err=yes
86716 if test -z "$ac_cpp_err"; then
86717 ac_header_preproc=yes
86718 else
86719 echo "$as_me: failed program was:" >&5
86720 sed 's/^/| /' conftest.$ac_ext >&5
86722 ac_header_preproc=no
86724 rm -f conftest.err conftest.$ac_ext
86725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86726 echo "${ECHO_T}$ac_header_preproc" >&6
86728 # So? What about this header?
86729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86730 yes:no: )
86731 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86732 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86733 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86734 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86735 ac_header_preproc=yes
86737 no:yes:* )
86738 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86739 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86740 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86741 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86742 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86743 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86744 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86745 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86746 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86747 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86748 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86749 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86751 cat <<\_ASBOX
86752 ## ----------------------------------------- ##
86753 ## Report this to the package-unused lists. ##
86754 ## ----------------------------------------- ##
86755 _ASBOX
86757 sed "s/^/$as_me: WARNING: /" >&2
86759 esac
86760 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86761 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86762 if test "${ac_cv_header_langinfo_h+set}" = set; then
86763 echo $ECHO_N "(cached) $ECHO_C" >&6
86764 else
86765 ac_cv_header_langinfo_h=$ac_header_preproc
86767 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86768 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86771 if test $ac_cv_header_langinfo_h = yes; then
86772 ac_has_langinfo_h=yes
86773 else
86774 ac_has_langinfo_h=no
86779 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86780 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86781 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86782 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86783 echo $ECHO_N "(cached) $ECHO_C" >&6
86784 else
86785 ac_check_lib_save_LIBS=$LIBS
86786 LIBS="-liconv $LIBS"
86787 if test x$gcc_no_link = xyes; then
86788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86790 { (exit 1); exit 1; }; }
86792 cat >conftest.$ac_ext <<_ACEOF
86793 /* confdefs.h. */
86794 _ACEOF
86795 cat confdefs.h >>conftest.$ac_ext
86796 cat >>conftest.$ac_ext <<_ACEOF
86797 /* end confdefs.h. */
86799 /* Override any gcc2 internal prototype to avoid an error. */
86800 #ifdef __cplusplus
86801 extern "C"
86802 #endif
86803 /* We use char because int might match the return type of a gcc2
86804 builtin and then its argument prototype would still apply. */
86805 char iconv ();
86807 main ()
86809 iconv ();
86811 return 0;
86813 _ACEOF
86814 rm -f conftest.$ac_objext conftest$ac_exeext
86815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86816 (eval $ac_link) 2>conftest.er1
86817 ac_status=$?
86818 grep -v '^ *+' conftest.er1 >conftest.err
86819 rm -f conftest.er1
86820 cat conftest.err >&5
86821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86822 (exit $ac_status); } &&
86823 { ac_try='test -z "$ac_c_werror_flag"
86824 || test ! -s conftest.err'
86825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86826 (eval $ac_try) 2>&5
86827 ac_status=$?
86828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86829 (exit $ac_status); }; } &&
86830 { ac_try='test -s conftest$ac_exeext'
86831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86832 (eval $ac_try) 2>&5
86833 ac_status=$?
86834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86835 (exit $ac_status); }; }; then
86836 ac_cv_lib_iconv_iconv=yes
86837 else
86838 echo "$as_me: failed program was:" >&5
86839 sed 's/^/| /' conftest.$ac_ext >&5
86841 ac_cv_lib_iconv_iconv=no
86843 rm -f conftest.err conftest.$ac_objext \
86844 conftest$ac_exeext conftest.$ac_ext
86845 LIBS=$ac_check_lib_save_LIBS
86847 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86848 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86849 if test $ac_cv_lib_iconv_iconv = yes; then
86850 LIBICONV="-liconv"
86853 ac_save_LIBS="$LIBS"
86854 LIBS="$LIBS $LIBICONV"
86861 for ac_func in iconv_open iconv_close iconv nl_langinfo
86863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86864 echo "$as_me:$LINENO: checking for $ac_func" >&5
86865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86866 if eval "test \"\${$as_ac_var+set}\" = set"; then
86867 echo $ECHO_N "(cached) $ECHO_C" >&6
86868 else
86869 if test x$gcc_no_link = xyes; then
86870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86872 { (exit 1); exit 1; }; }
86874 cat >conftest.$ac_ext <<_ACEOF
86875 /* confdefs.h. */
86876 _ACEOF
86877 cat confdefs.h >>conftest.$ac_ext
86878 cat >>conftest.$ac_ext <<_ACEOF
86879 /* end confdefs.h. */
86880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86882 #define $ac_func innocuous_$ac_func
86884 /* System header to define __stub macros and hopefully few prototypes,
86885 which can conflict with char $ac_func (); below.
86886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86887 <limits.h> exists even on freestanding compilers. */
86889 #ifdef __STDC__
86890 # include <limits.h>
86891 #else
86892 # include <assert.h>
86893 #endif
86895 #undef $ac_func
86897 /* Override any gcc2 internal prototype to avoid an error. */
86898 #ifdef __cplusplus
86899 extern "C"
86901 #endif
86902 /* We use char because int might match the return type of a gcc2
86903 builtin and then its argument prototype would still apply. */
86904 char $ac_func ();
86905 /* The GNU C library defines this for functions which it implements
86906 to always fail with ENOSYS. Some functions are actually named
86907 something starting with __ and the normal name is an alias. */
86908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86909 choke me
86910 #else
86911 char (*f) () = $ac_func;
86912 #endif
86913 #ifdef __cplusplus
86915 #endif
86918 main ()
86920 return f != $ac_func;
86922 return 0;
86924 _ACEOF
86925 rm -f conftest.$ac_objext conftest$ac_exeext
86926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86927 (eval $ac_link) 2>conftest.er1
86928 ac_status=$?
86929 grep -v '^ *+' conftest.er1 >conftest.err
86930 rm -f conftest.er1
86931 cat conftest.err >&5
86932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86933 (exit $ac_status); } &&
86934 { ac_try='test -z "$ac_c_werror_flag"
86935 || test ! -s conftest.err'
86936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86937 (eval $ac_try) 2>&5
86938 ac_status=$?
86939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86940 (exit $ac_status); }; } &&
86941 { ac_try='test -s conftest$ac_exeext'
86942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86943 (eval $ac_try) 2>&5
86944 ac_status=$?
86945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86946 (exit $ac_status); }; }; then
86947 eval "$as_ac_var=yes"
86948 else
86949 echo "$as_me: failed program was:" >&5
86950 sed 's/^/| /' conftest.$ac_ext >&5
86952 eval "$as_ac_var=no"
86954 rm -f conftest.err conftest.$ac_objext \
86955 conftest$ac_exeext conftest.$ac_ext
86957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86959 if test `eval echo '${'$as_ac_var'}'` = yes; then
86960 cat >>confdefs.h <<_ACEOF
86961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86962 _ACEOF
86963 ac_XPG2funcs=yes
86964 else
86965 ac_XPG2funcs=no
86967 done
86970 LIBS="$ac_save_LIBS"
86972 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86973 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
86974 if test x"$ac_has_iconv_h" = xyes &&
86975 test x"$ac_has_langinfo_h" = xyes &&
86976 test x"$ac_XPG2funcs" = xyes;
86977 then
86978 ac_XPG2_wchar_t=yes
86979 else
86980 ac_XPG2_wchar_t=no
86982 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
86983 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
86985 # At the moment, only enable wchar_t specializations if all the
86986 # above support is present.
86987 if test x"$ac_isoC99_wchar_t" = xyes &&
86988 test x"$ac_XPG2_wchar_t" = xyes;
86989 then
86990 cat >>confdefs.h <<\_ACEOF
86991 #define _GLIBCXX_USE_WCHAR_T 1
86992 _ACEOF
86994 enable_wchar_t=yes
86997 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
86998 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
86999 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87000 echo "${ECHO_T}$enable_wchar_t" >&6
87002 cat >>confdefs.h <<\_ACEOF
87003 #define HAVE_COPYSIGN 1
87004 _ACEOF
87006 cat >>confdefs.h <<\_ACEOF
87007 #define HAVE_COPYSIGNF 1
87008 _ACEOF
87010 cat >>confdefs.h <<\_ACEOF
87011 #define HAVE_FINITEF 1
87012 _ACEOF
87014 cat >>confdefs.h <<\_ACEOF
87015 #define HAVE_FINITE 1
87016 _ACEOF
87018 cat >>confdefs.h <<\_ACEOF
87019 #define HAVE_FREXPF 1
87020 _ACEOF
87022 cat >>confdefs.h <<\_ACEOF
87023 #define HAVE_HYPOTF 1
87024 _ACEOF
87026 cat >>confdefs.h <<\_ACEOF
87027 #define HAVE_ISINF 1
87028 _ACEOF
87030 cat >>confdefs.h <<\_ACEOF
87031 #define HAVE_ISINFF 1
87032 _ACEOF
87034 cat >>confdefs.h <<\_ACEOF
87035 #define HAVE_ISNAN 1
87036 _ACEOF
87038 cat >>confdefs.h <<\_ACEOF
87039 #define HAVE_ISNANF 1
87040 _ACEOF
87042 if test x"long_double_math_on_this_cpu" = x"yes"; then
87043 cat >>confdefs.h <<\_ACEOF
87044 #define HAVE_FINITEL 1
87045 _ACEOF
87047 cat >>confdefs.h <<\_ACEOF
87048 #define HAVE_ISINFL 1
87049 _ACEOF
87051 cat >>confdefs.h <<\_ACEOF
87052 #define HAVE_ISNANL 1
87053 _ACEOF
87057 *-qnx6.1* | *-qnx6.2*)
87058 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87061 # If we're not using GNU ld, then there's no point in even trying these
87062 # tests. Check for that first. We should have already tested for gld
87063 # by now (in libtool), but require it now just to be safe...
87064 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87065 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87069 # The name set by libtool depends on the version of libtool. Shame on us
87070 # for depending on an impl detail, but c'est la vie. Older versions used
87071 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87072 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87073 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87074 # set (hence we're using an older libtool), then set it.
87075 if test x${with_gnu_ld+set} != xset; then
87076 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87077 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87078 with_gnu_ld=no
87079 else
87080 with_gnu_ld=$ac_cv_prog_gnu_ld
87084 # Start by getting the version number. I think the libtool test already
87085 # does some of this, but throws away the result.
87087 ldver=`$LD --version 2>/dev/null | head -1 | \
87088 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87090 glibcxx_gnu_ld_version=`echo $ldver | \
87091 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87093 # Set --gc-sections.
87094 if test "$with_gnu_ld" = "notbroken"; then
87095 # GNU ld it is! Joy and bunny rabbits!
87097 # All these tests are for C++; save the language and the compiler flags.
87098 # Need to do this so that g++ won't try to link in libstdc++
87099 ac_test_CFLAGS="${CFLAGS+set}"
87100 ac_save_CFLAGS="$CFLAGS"
87101 CFLAGS='-x c++ -Wl,--gc-sections'
87103 # Check for -Wl,--gc-sections
87104 # XXX This test is broken at the moment, as symbols required for linking
87105 # are now in libsupc++ (not built yet). In addition, this test has
87106 # cored on solaris in the past. In addition, --gc-sections doesn't
87107 # really work at the moment (keeps on discarding used sections, first
87108 # .eh_frame and now some of the glibc sections for iconv).
87109 # Bzzzzt. Thanks for playing, maybe next time.
87110 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87111 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87112 if test "$cross_compiling" = yes; then
87113 ac_sectionLDflags=yes
87114 else
87115 cat >conftest.$ac_ext <<_ACEOF
87116 /* confdefs.h. */
87117 _ACEOF
87118 cat confdefs.h >>conftest.$ac_ext
87119 cat >>conftest.$ac_ext <<_ACEOF
87120 /* end confdefs.h. */
87122 int main(void)
87124 try { throw 1; }
87125 catch (...) { };
87126 return 0;
87129 _ACEOF
87130 rm -f conftest$ac_exeext
87131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87132 (eval $ac_link) 2>&5
87133 ac_status=$?
87134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87137 (eval $ac_try) 2>&5
87138 ac_status=$?
87139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87140 (exit $ac_status); }; }; then
87141 ac_sectionLDflags=yes
87142 else
87143 echo "$as_me: program exited with status $ac_status" >&5
87144 echo "$as_me: failed program was:" >&5
87145 sed 's/^/| /' conftest.$ac_ext >&5
87147 ( exit $ac_status )
87148 ac_sectionLDflags=no
87150 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87152 if test "$ac_test_CFLAGS" = set; then
87153 CFLAGS="$ac_save_CFLAGS"
87154 else
87155 # this is the suspicious part
87156 CFLAGS=''
87158 if test "$ac_sectionLDflags" = "yes"; then
87159 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87161 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87162 echo "${ECHO_T}$ac_sectionLDflags" >&6
87165 # Set linker optimization flags.
87166 if test x"$with_gnu_ld" = x"yes"; then
87167 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87175 echo "$as_me:$LINENO: checking for main in -lm" >&5
87176 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87177 if test "${ac_cv_lib_m_main+set}" = set; then
87178 echo $ECHO_N "(cached) $ECHO_C" >&6
87179 else
87180 ac_check_lib_save_LIBS=$LIBS
87181 LIBS="-lm $LIBS"
87182 if test x$gcc_no_link = xyes; then
87183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87185 { (exit 1); exit 1; }; }
87187 cat >conftest.$ac_ext <<_ACEOF
87188 /* confdefs.h. */
87189 _ACEOF
87190 cat confdefs.h >>conftest.$ac_ext
87191 cat >>conftest.$ac_ext <<_ACEOF
87192 /* end confdefs.h. */
87196 main ()
87198 main ();
87200 return 0;
87202 _ACEOF
87203 rm -f conftest.$ac_objext conftest$ac_exeext
87204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87205 (eval $ac_link) 2>conftest.er1
87206 ac_status=$?
87207 grep -v '^ *+' conftest.er1 >conftest.err
87208 rm -f conftest.er1
87209 cat conftest.err >&5
87210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87211 (exit $ac_status); } &&
87212 { ac_try='test -z "$ac_c_werror_flag"
87213 || test ! -s conftest.err'
87214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87215 (eval $ac_try) 2>&5
87216 ac_status=$?
87217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87218 (exit $ac_status); }; } &&
87219 { ac_try='test -s conftest$ac_exeext'
87220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87221 (eval $ac_try) 2>&5
87222 ac_status=$?
87223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87224 (exit $ac_status); }; }; then
87225 ac_cv_lib_m_main=yes
87226 else
87227 echo "$as_me: failed program was:" >&5
87228 sed 's/^/| /' conftest.$ac_ext >&5
87230 ac_cv_lib_m_main=no
87232 rm -f conftest.err conftest.$ac_objext \
87233 conftest$ac_exeext conftest.$ac_ext
87234 LIBS=$ac_check_lib_save_LIBS
87236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87237 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87238 if test $ac_cv_lib_m_main = yes; then
87239 cat >>confdefs.h <<_ACEOF
87240 #define HAVE_LIBM 1
87241 _ACEOF
87243 LIBS="-lm $LIBS"
87248 for ac_func in copysignf
87250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87251 echo "$as_me:$LINENO: checking for $ac_func" >&5
87252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87253 if eval "test \"\${$as_ac_var+set}\" = set"; then
87254 echo $ECHO_N "(cached) $ECHO_C" >&6
87255 else
87256 if test x$gcc_no_link = xyes; then
87257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87259 { (exit 1); exit 1; }; }
87261 cat >conftest.$ac_ext <<_ACEOF
87262 /* confdefs.h. */
87263 _ACEOF
87264 cat confdefs.h >>conftest.$ac_ext
87265 cat >>conftest.$ac_ext <<_ACEOF
87266 /* end confdefs.h. */
87267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87269 #define $ac_func innocuous_$ac_func
87271 /* System header to define __stub macros and hopefully few prototypes,
87272 which can conflict with char $ac_func (); below.
87273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87274 <limits.h> exists even on freestanding compilers. */
87276 #ifdef __STDC__
87277 # include <limits.h>
87278 #else
87279 # include <assert.h>
87280 #endif
87282 #undef $ac_func
87284 /* Override any gcc2 internal prototype to avoid an error. */
87285 #ifdef __cplusplus
87286 extern "C"
87288 #endif
87289 /* We use char because int might match the return type of a gcc2
87290 builtin and then its argument prototype would still apply. */
87291 char $ac_func ();
87292 /* The GNU C library defines this for functions which it implements
87293 to always fail with ENOSYS. Some functions are actually named
87294 something starting with __ and the normal name is an alias. */
87295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87296 choke me
87297 #else
87298 char (*f) () = $ac_func;
87299 #endif
87300 #ifdef __cplusplus
87302 #endif
87305 main ()
87307 return f != $ac_func;
87309 return 0;
87311 _ACEOF
87312 rm -f conftest.$ac_objext conftest$ac_exeext
87313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87314 (eval $ac_link) 2>conftest.er1
87315 ac_status=$?
87316 grep -v '^ *+' conftest.er1 >conftest.err
87317 rm -f conftest.er1
87318 cat conftest.err >&5
87319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87320 (exit $ac_status); } &&
87321 { ac_try='test -z "$ac_c_werror_flag"
87322 || test ! -s conftest.err'
87323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87324 (eval $ac_try) 2>&5
87325 ac_status=$?
87326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87327 (exit $ac_status); }; } &&
87328 { ac_try='test -s conftest$ac_exeext'
87329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87330 (eval $ac_try) 2>&5
87331 ac_status=$?
87332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87333 (exit $ac_status); }; }; then
87334 eval "$as_ac_var=yes"
87335 else
87336 echo "$as_me: failed program was:" >&5
87337 sed 's/^/| /' conftest.$ac_ext >&5
87339 eval "$as_ac_var=no"
87341 rm -f conftest.err conftest.$ac_objext \
87342 conftest$ac_exeext conftest.$ac_ext
87344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87346 if test `eval echo '${'$as_ac_var'}'` = yes; then
87347 cat >>confdefs.h <<_ACEOF
87348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87349 _ACEOF
87351 else
87352 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87354 done
87358 for ac_func in __signbit
87360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87361 echo "$as_me:$LINENO: checking for $ac_func" >&5
87362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87363 if eval "test \"\${$as_ac_var+set}\" = set"; then
87364 echo $ECHO_N "(cached) $ECHO_C" >&6
87365 else
87366 if test x$gcc_no_link = xyes; then
87367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87369 { (exit 1); exit 1; }; }
87371 cat >conftest.$ac_ext <<_ACEOF
87372 /* confdefs.h. */
87373 _ACEOF
87374 cat confdefs.h >>conftest.$ac_ext
87375 cat >>conftest.$ac_ext <<_ACEOF
87376 /* end confdefs.h. */
87377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87379 #define $ac_func innocuous_$ac_func
87381 /* System header to define __stub macros and hopefully few prototypes,
87382 which can conflict with char $ac_func (); below.
87383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87384 <limits.h> exists even on freestanding compilers. */
87386 #ifdef __STDC__
87387 # include <limits.h>
87388 #else
87389 # include <assert.h>
87390 #endif
87392 #undef $ac_func
87394 /* Override any gcc2 internal prototype to avoid an error. */
87395 #ifdef __cplusplus
87396 extern "C"
87398 #endif
87399 /* We use char because int might match the return type of a gcc2
87400 builtin and then its argument prototype would still apply. */
87401 char $ac_func ();
87402 /* The GNU C library defines this for functions which it implements
87403 to always fail with ENOSYS. Some functions are actually named
87404 something starting with __ and the normal name is an alias. */
87405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87406 choke me
87407 #else
87408 char (*f) () = $ac_func;
87409 #endif
87410 #ifdef __cplusplus
87412 #endif
87415 main ()
87417 return f != $ac_func;
87419 return 0;
87421 _ACEOF
87422 rm -f conftest.$ac_objext conftest$ac_exeext
87423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87424 (eval $ac_link) 2>conftest.er1
87425 ac_status=$?
87426 grep -v '^ *+' conftest.er1 >conftest.err
87427 rm -f conftest.er1
87428 cat conftest.err >&5
87429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87430 (exit $ac_status); } &&
87431 { ac_try='test -z "$ac_c_werror_flag"
87432 || test ! -s conftest.err'
87433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87434 (eval $ac_try) 2>&5
87435 ac_status=$?
87436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87437 (exit $ac_status); }; } &&
87438 { ac_try='test -s conftest$ac_exeext'
87439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87440 (eval $ac_try) 2>&5
87441 ac_status=$?
87442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87443 (exit $ac_status); }; }; then
87444 eval "$as_ac_var=yes"
87445 else
87446 echo "$as_me: failed program was:" >&5
87447 sed 's/^/| /' conftest.$ac_ext >&5
87449 eval "$as_ac_var=no"
87451 rm -f conftest.err conftest.$ac_objext \
87452 conftest$ac_exeext conftest.$ac_ext
87454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87456 if test `eval echo '${'$as_ac_var'}'` = yes; then
87457 cat >>confdefs.h <<_ACEOF
87458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87459 _ACEOF
87461 else
87462 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87464 done
87468 for ac_func in __signbitf
87470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87471 echo "$as_me:$LINENO: checking for $ac_func" >&5
87472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87473 if eval "test \"\${$as_ac_var+set}\" = set"; then
87474 echo $ECHO_N "(cached) $ECHO_C" >&6
87475 else
87476 if test x$gcc_no_link = xyes; then
87477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87479 { (exit 1); exit 1; }; }
87481 cat >conftest.$ac_ext <<_ACEOF
87482 /* confdefs.h. */
87483 _ACEOF
87484 cat confdefs.h >>conftest.$ac_ext
87485 cat >>conftest.$ac_ext <<_ACEOF
87486 /* end confdefs.h. */
87487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87489 #define $ac_func innocuous_$ac_func
87491 /* System header to define __stub macros and hopefully few prototypes,
87492 which can conflict with char $ac_func (); below.
87493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87494 <limits.h> exists even on freestanding compilers. */
87496 #ifdef __STDC__
87497 # include <limits.h>
87498 #else
87499 # include <assert.h>
87500 #endif
87502 #undef $ac_func
87504 /* Override any gcc2 internal prototype to avoid an error. */
87505 #ifdef __cplusplus
87506 extern "C"
87508 #endif
87509 /* We use char because int might match the return type of a gcc2
87510 builtin and then its argument prototype would still apply. */
87511 char $ac_func ();
87512 /* The GNU C library defines this for functions which it implements
87513 to always fail with ENOSYS. Some functions are actually named
87514 something starting with __ and the normal name is an alias. */
87515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87516 choke me
87517 #else
87518 char (*f) () = $ac_func;
87519 #endif
87520 #ifdef __cplusplus
87522 #endif
87525 main ()
87527 return f != $ac_func;
87529 return 0;
87531 _ACEOF
87532 rm -f conftest.$ac_objext conftest$ac_exeext
87533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87534 (eval $ac_link) 2>conftest.er1
87535 ac_status=$?
87536 grep -v '^ *+' conftest.er1 >conftest.err
87537 rm -f conftest.er1
87538 cat conftest.err >&5
87539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540 (exit $ac_status); } &&
87541 { ac_try='test -z "$ac_c_werror_flag"
87542 || test ! -s conftest.err'
87543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87544 (eval $ac_try) 2>&5
87545 ac_status=$?
87546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87547 (exit $ac_status); }; } &&
87548 { ac_try='test -s conftest$ac_exeext'
87549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87550 (eval $ac_try) 2>&5
87551 ac_status=$?
87552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87553 (exit $ac_status); }; }; then
87554 eval "$as_ac_var=yes"
87555 else
87556 echo "$as_me: failed program was:" >&5
87557 sed 's/^/| /' conftest.$ac_ext >&5
87559 eval "$as_ac_var=no"
87561 rm -f conftest.err conftest.$ac_objext \
87562 conftest$ac_exeext conftest.$ac_ext
87564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87566 if test `eval echo '${'$as_ac_var'}'` = yes; then
87567 cat >>confdefs.h <<_ACEOF
87568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87569 _ACEOF
87571 else
87572 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87574 done
87577 if test x$ac_cv_func_copysignl = x"yes"; then
87579 for ac_func in __signbitl
87581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87582 echo "$as_me:$LINENO: checking for $ac_func" >&5
87583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87584 if eval "test \"\${$as_ac_var+set}\" = set"; then
87585 echo $ECHO_N "(cached) $ECHO_C" >&6
87586 else
87587 if test x$gcc_no_link = xyes; then
87588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87590 { (exit 1); exit 1; }; }
87592 cat >conftest.$ac_ext <<_ACEOF
87593 /* confdefs.h. */
87594 _ACEOF
87595 cat confdefs.h >>conftest.$ac_ext
87596 cat >>conftest.$ac_ext <<_ACEOF
87597 /* end confdefs.h. */
87598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87600 #define $ac_func innocuous_$ac_func
87602 /* System header to define __stub macros and hopefully few prototypes,
87603 which can conflict with char $ac_func (); below.
87604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87605 <limits.h> exists even on freestanding compilers. */
87607 #ifdef __STDC__
87608 # include <limits.h>
87609 #else
87610 # include <assert.h>
87611 #endif
87613 #undef $ac_func
87615 /* Override any gcc2 internal prototype to avoid an error. */
87616 #ifdef __cplusplus
87617 extern "C"
87619 #endif
87620 /* We use char because int might match the return type of a gcc2
87621 builtin and then its argument prototype would still apply. */
87622 char $ac_func ();
87623 /* The GNU C library defines this for functions which it implements
87624 to always fail with ENOSYS. Some functions are actually named
87625 something starting with __ and the normal name is an alias. */
87626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87627 choke me
87628 #else
87629 char (*f) () = $ac_func;
87630 #endif
87631 #ifdef __cplusplus
87633 #endif
87636 main ()
87638 return f != $ac_func;
87640 return 0;
87642 _ACEOF
87643 rm -f conftest.$ac_objext conftest$ac_exeext
87644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87645 (eval $ac_link) 2>conftest.er1
87646 ac_status=$?
87647 grep -v '^ *+' conftest.er1 >conftest.err
87648 rm -f conftest.er1
87649 cat conftest.err >&5
87650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87651 (exit $ac_status); } &&
87652 { ac_try='test -z "$ac_c_werror_flag"
87653 || test ! -s conftest.err'
87654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87655 (eval $ac_try) 2>&5
87656 ac_status=$?
87657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87658 (exit $ac_status); }; } &&
87659 { ac_try='test -s conftest$ac_exeext'
87660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87661 (eval $ac_try) 2>&5
87662 ac_status=$?
87663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87664 (exit $ac_status); }; }; then
87665 eval "$as_ac_var=yes"
87666 else
87667 echo "$as_me: failed program was:" >&5
87668 sed 's/^/| /' conftest.$ac_ext >&5
87670 eval "$as_ac_var=no"
87672 rm -f conftest.err conftest.$ac_objext \
87673 conftest$ac_exeext conftest.$ac_ext
87675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87677 if test `eval echo '${'$as_ac_var'}'` = yes; then
87678 cat >>confdefs.h <<_ACEOF
87679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87680 _ACEOF
87682 else
87683 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87685 done
87689 # Used in libmath/Makefile.am.
87690 if test -n "$LIBMATHOBJS"; then
87691 need_libmath=yes
87696 # Test wchar.h for mbstate_t, which is needed for char_traits and
87697 # others even if wchar_t support is not on.
87698 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87699 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87700 cat >conftest.$ac_ext <<_ACEOF
87701 /* confdefs.h. */
87702 _ACEOF
87703 cat confdefs.h >>conftest.$ac_ext
87704 cat >>conftest.$ac_ext <<_ACEOF
87705 /* end confdefs.h. */
87706 #include <wchar.h>
87708 main ()
87710 mbstate_t teststate;
87712 return 0;
87714 _ACEOF
87715 rm -f conftest.$ac_objext
87716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87717 (eval $ac_compile) 2>conftest.er1
87718 ac_status=$?
87719 grep -v '^ *+' conftest.er1 >conftest.err
87720 rm -f conftest.er1
87721 cat conftest.err >&5
87722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87723 (exit $ac_status); } &&
87724 { ac_try='test -z "$ac_c_werror_flag"
87725 || test ! -s conftest.err'
87726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87727 (eval $ac_try) 2>&5
87728 ac_status=$?
87729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87730 (exit $ac_status); }; } &&
87731 { ac_try='test -s conftest.$ac_objext'
87732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87733 (eval $ac_try) 2>&5
87734 ac_status=$?
87735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87736 (exit $ac_status); }; }; then
87737 have_mbstate_t=yes
87738 else
87739 echo "$as_me: failed program was:" >&5
87740 sed 's/^/| /' conftest.$ac_ext >&5
87742 have_mbstate_t=no
87744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87745 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87746 echo "${ECHO_T}$have_mbstate_t" >&6
87747 if test x"$have_mbstate_t" = xyes; then
87748 cat >>confdefs.h <<\_ACEOF
87749 #define HAVE_MBSTATE_T 1
87750 _ACEOF
87754 # Sanity check for existence of ISO C99 headers for extended encoding.
87756 for ac_header in wchar.h
87758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87760 echo "$as_me:$LINENO: checking for $ac_header" >&5
87761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87763 echo $ECHO_N "(cached) $ECHO_C" >&6
87765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87767 else
87768 # Is the header compilable?
87769 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87771 cat >conftest.$ac_ext <<_ACEOF
87772 /* confdefs.h. */
87773 _ACEOF
87774 cat confdefs.h >>conftest.$ac_ext
87775 cat >>conftest.$ac_ext <<_ACEOF
87776 /* end confdefs.h. */
87777 $ac_includes_default
87778 #include <$ac_header>
87779 _ACEOF
87780 rm -f conftest.$ac_objext
87781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87782 (eval $ac_compile) 2>conftest.er1
87783 ac_status=$?
87784 grep -v '^ *+' conftest.er1 >conftest.err
87785 rm -f conftest.er1
87786 cat conftest.err >&5
87787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87788 (exit $ac_status); } &&
87789 { ac_try='test -z "$ac_c_werror_flag"
87790 || test ! -s conftest.err'
87791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87792 (eval $ac_try) 2>&5
87793 ac_status=$?
87794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87795 (exit $ac_status); }; } &&
87796 { ac_try='test -s conftest.$ac_objext'
87797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87798 (eval $ac_try) 2>&5
87799 ac_status=$?
87800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87801 (exit $ac_status); }; }; then
87802 ac_header_compiler=yes
87803 else
87804 echo "$as_me: failed program was:" >&5
87805 sed 's/^/| /' conftest.$ac_ext >&5
87807 ac_header_compiler=no
87809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87811 echo "${ECHO_T}$ac_header_compiler" >&6
87813 # Is the header present?
87814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87816 cat >conftest.$ac_ext <<_ACEOF
87817 /* confdefs.h. */
87818 _ACEOF
87819 cat confdefs.h >>conftest.$ac_ext
87820 cat >>conftest.$ac_ext <<_ACEOF
87821 /* end confdefs.h. */
87822 #include <$ac_header>
87823 _ACEOF
87824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87826 ac_status=$?
87827 grep -v '^ *+' conftest.er1 >conftest.err
87828 rm -f conftest.er1
87829 cat conftest.err >&5
87830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87831 (exit $ac_status); } >/dev/null; then
87832 if test -s conftest.err; then
87833 ac_cpp_err=$ac_c_preproc_warn_flag
87834 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87835 else
87836 ac_cpp_err=
87838 else
87839 ac_cpp_err=yes
87841 if test -z "$ac_cpp_err"; then
87842 ac_header_preproc=yes
87843 else
87844 echo "$as_me: failed program was:" >&5
87845 sed 's/^/| /' conftest.$ac_ext >&5
87847 ac_header_preproc=no
87849 rm -f conftest.err conftest.$ac_ext
87850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87851 echo "${ECHO_T}$ac_header_preproc" >&6
87853 # So? What about this header?
87854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87855 yes:no: )
87856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87860 ac_header_preproc=yes
87862 no:yes:* )
87863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87876 cat <<\_ASBOX
87877 ## ----------------------------------------- ##
87878 ## Report this to the package-unused lists. ##
87879 ## ----------------------------------------- ##
87880 _ASBOX
87882 sed "s/^/$as_me: WARNING: /" >&2
87884 esac
87885 echo "$as_me:$LINENO: checking for $ac_header" >&5
87886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87888 echo $ECHO_N "(cached) $ECHO_C" >&6
87889 else
87890 eval "$as_ac_Header=\$ac_header_preproc"
87892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87897 cat >>confdefs.h <<_ACEOF
87898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87899 _ACEOF
87900 ac_has_wchar_h=yes
87901 else
87902 ac_has_wchar_h=no
87905 done
87908 for ac_header in wctype.h
87910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87912 echo "$as_me:$LINENO: checking for $ac_header" >&5
87913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87915 echo $ECHO_N "(cached) $ECHO_C" >&6
87917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87919 else
87920 # Is the header compilable?
87921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87923 cat >conftest.$ac_ext <<_ACEOF
87924 /* confdefs.h. */
87925 _ACEOF
87926 cat confdefs.h >>conftest.$ac_ext
87927 cat >>conftest.$ac_ext <<_ACEOF
87928 /* end confdefs.h. */
87929 $ac_includes_default
87930 #include <$ac_header>
87931 _ACEOF
87932 rm -f conftest.$ac_objext
87933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87934 (eval $ac_compile) 2>conftest.er1
87935 ac_status=$?
87936 grep -v '^ *+' conftest.er1 >conftest.err
87937 rm -f conftest.er1
87938 cat conftest.err >&5
87939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87940 (exit $ac_status); } &&
87941 { ac_try='test -z "$ac_c_werror_flag"
87942 || test ! -s conftest.err'
87943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87944 (eval $ac_try) 2>&5
87945 ac_status=$?
87946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87947 (exit $ac_status); }; } &&
87948 { ac_try='test -s conftest.$ac_objext'
87949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87950 (eval $ac_try) 2>&5
87951 ac_status=$?
87952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87953 (exit $ac_status); }; }; then
87954 ac_header_compiler=yes
87955 else
87956 echo "$as_me: failed program was:" >&5
87957 sed 's/^/| /' conftest.$ac_ext >&5
87959 ac_header_compiler=no
87961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87963 echo "${ECHO_T}$ac_header_compiler" >&6
87965 # Is the header present?
87966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87968 cat >conftest.$ac_ext <<_ACEOF
87969 /* confdefs.h. */
87970 _ACEOF
87971 cat confdefs.h >>conftest.$ac_ext
87972 cat >>conftest.$ac_ext <<_ACEOF
87973 /* end confdefs.h. */
87974 #include <$ac_header>
87975 _ACEOF
87976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87978 ac_status=$?
87979 grep -v '^ *+' conftest.er1 >conftest.err
87980 rm -f conftest.er1
87981 cat conftest.err >&5
87982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87983 (exit $ac_status); } >/dev/null; then
87984 if test -s conftest.err; then
87985 ac_cpp_err=$ac_c_preproc_warn_flag
87986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87987 else
87988 ac_cpp_err=
87990 else
87991 ac_cpp_err=yes
87993 if test -z "$ac_cpp_err"; then
87994 ac_header_preproc=yes
87995 else
87996 echo "$as_me: failed program was:" >&5
87997 sed 's/^/| /' conftest.$ac_ext >&5
87999 ac_header_preproc=no
88001 rm -f conftest.err conftest.$ac_ext
88002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88003 echo "${ECHO_T}$ac_header_preproc" >&6
88005 # So? What about this header?
88006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88007 yes:no: )
88008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88012 ac_header_preproc=yes
88014 no:yes:* )
88015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88028 cat <<\_ASBOX
88029 ## ----------------------------------------- ##
88030 ## Report this to the package-unused lists. ##
88031 ## ----------------------------------------- ##
88032 _ASBOX
88034 sed "s/^/$as_me: WARNING: /" >&2
88036 esac
88037 echo "$as_me:$LINENO: checking for $ac_header" >&5
88038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88040 echo $ECHO_N "(cached) $ECHO_C" >&6
88041 else
88042 eval "$as_ac_Header=\$ac_header_preproc"
88044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88049 cat >>confdefs.h <<_ACEOF
88050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88051 _ACEOF
88052 ac_has_wctype_h=yes
88053 else
88054 ac_has_wctype_h=no
88057 done
88060 # Only continue checking if the ISO C99 headers exist and support is on.
88061 if test x"$ac_has_wchar_h" = xyes &&
88062 test x"$ac_has_wctype_h" = xyes &&
88063 test x"$enable_c_mbchar" != xno; then
88065 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88066 # numeric_limits can instantiate type_traits<wchar_t>
88067 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88068 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88069 cat >conftest.$ac_ext <<_ACEOF
88070 /* confdefs.h. */
88071 _ACEOF
88072 cat confdefs.h >>conftest.$ac_ext
88073 cat >>conftest.$ac_ext <<_ACEOF
88074 /* end confdefs.h. */
88075 #include <wchar.h>
88077 main ()
88079 int i = WCHAR_MIN; int j = WCHAR_MAX;
88081 return 0;
88083 _ACEOF
88084 rm -f conftest.$ac_objext
88085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88086 (eval $ac_compile) 2>conftest.er1
88087 ac_status=$?
88088 grep -v '^ *+' conftest.er1 >conftest.err
88089 rm -f conftest.er1
88090 cat conftest.err >&5
88091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88092 (exit $ac_status); } &&
88093 { ac_try='test -z "$ac_c_werror_flag"
88094 || test ! -s conftest.err'
88095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88096 (eval $ac_try) 2>&5
88097 ac_status=$?
88098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88099 (exit $ac_status); }; } &&
88100 { ac_try='test -s conftest.$ac_objext'
88101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88102 (eval $ac_try) 2>&5
88103 ac_status=$?
88104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88105 (exit $ac_status); }; }; then
88106 has_wchar_minmax=yes
88107 else
88108 echo "$as_me: failed program was:" >&5
88109 sed 's/^/| /' conftest.$ac_ext >&5
88111 has_wchar_minmax=no
88113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88114 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88115 echo "${ECHO_T}$has_wchar_minmax" >&6
88117 # Test wchar.h for WEOF, which is what we use to determine whether
88118 # to specialize for char_traits<wchar_t> or not.
88119 echo "$as_me:$LINENO: checking for WEOF" >&5
88120 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88121 cat >conftest.$ac_ext <<_ACEOF
88122 /* confdefs.h. */
88123 _ACEOF
88124 cat confdefs.h >>conftest.$ac_ext
88125 cat >>conftest.$ac_ext <<_ACEOF
88126 /* end confdefs.h. */
88128 #include <wchar.h>
88129 #include <stddef.h>
88131 main ()
88133 wint_t i = WEOF;
88135 return 0;
88137 _ACEOF
88138 rm -f conftest.$ac_objext
88139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88140 (eval $ac_compile) 2>conftest.er1
88141 ac_status=$?
88142 grep -v '^ *+' conftest.er1 >conftest.err
88143 rm -f conftest.er1
88144 cat conftest.err >&5
88145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88146 (exit $ac_status); } &&
88147 { ac_try='test -z "$ac_c_werror_flag"
88148 || test ! -s conftest.err'
88149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88150 (eval $ac_try) 2>&5
88151 ac_status=$?
88152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88153 (exit $ac_status); }; } &&
88154 { ac_try='test -s conftest.$ac_objext'
88155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88156 (eval $ac_try) 2>&5
88157 ac_status=$?
88158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88159 (exit $ac_status); }; }; then
88160 has_weof=yes
88161 else
88162 echo "$as_me: failed program was:" >&5
88163 sed 's/^/| /' conftest.$ac_ext >&5
88165 has_weof=no
88167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88168 echo "$as_me:$LINENO: result: $has_weof" >&5
88169 echo "${ECHO_T}$has_weof" >&6
88171 # Tests for wide character functions used in char_traits<wchar_t>.
88172 ac_wfuncs=yes
88179 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88182 echo "$as_me:$LINENO: checking for $ac_func" >&5
88183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88184 if eval "test \"\${$as_ac_var+set}\" = set"; then
88185 echo $ECHO_N "(cached) $ECHO_C" >&6
88186 else
88187 if test x$gcc_no_link = xyes; then
88188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88190 { (exit 1); exit 1; }; }
88192 cat >conftest.$ac_ext <<_ACEOF
88193 /* confdefs.h. */
88194 _ACEOF
88195 cat confdefs.h >>conftest.$ac_ext
88196 cat >>conftest.$ac_ext <<_ACEOF
88197 /* end confdefs.h. */
88198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88200 #define $ac_func innocuous_$ac_func
88202 /* System header to define __stub macros and hopefully few prototypes,
88203 which can conflict with char $ac_func (); below.
88204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88205 <limits.h> exists even on freestanding compilers. */
88207 #ifdef __STDC__
88208 # include <limits.h>
88209 #else
88210 # include <assert.h>
88211 #endif
88213 #undef $ac_func
88215 /* Override any gcc2 internal prototype to avoid an error. */
88216 #ifdef __cplusplus
88217 extern "C"
88219 #endif
88220 /* We use char because int might match the return type of a gcc2
88221 builtin and then its argument prototype would still apply. */
88222 char $ac_func ();
88223 /* The GNU C library defines this for functions which it implements
88224 to always fail with ENOSYS. Some functions are actually named
88225 something starting with __ and the normal name is an alias. */
88226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88227 choke me
88228 #else
88229 char (*f) () = $ac_func;
88230 #endif
88231 #ifdef __cplusplus
88233 #endif
88236 main ()
88238 return f != $ac_func;
88240 return 0;
88242 _ACEOF
88243 rm -f conftest.$ac_objext conftest$ac_exeext
88244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88245 (eval $ac_link) 2>conftest.er1
88246 ac_status=$?
88247 grep -v '^ *+' conftest.er1 >conftest.err
88248 rm -f conftest.er1
88249 cat conftest.err >&5
88250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88251 (exit $ac_status); } &&
88252 { ac_try='test -z "$ac_c_werror_flag"
88253 || test ! -s conftest.err'
88254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88255 (eval $ac_try) 2>&5
88256 ac_status=$?
88257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88258 (exit $ac_status); }; } &&
88259 { ac_try='test -s conftest$ac_exeext'
88260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88261 (eval $ac_try) 2>&5
88262 ac_status=$?
88263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88264 (exit $ac_status); }; }; then
88265 eval "$as_ac_var=yes"
88266 else
88267 echo "$as_me: failed program was:" >&5
88268 sed 's/^/| /' conftest.$ac_ext >&5
88270 eval "$as_ac_var=no"
88272 rm -f conftest.err conftest.$ac_objext \
88273 conftest$ac_exeext conftest.$ac_ext
88275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88277 if test `eval echo '${'$as_ac_var'}'` = yes; then
88278 cat >>confdefs.h <<_ACEOF
88279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88280 _ACEOF
88282 else
88283 ac_wfuncs=no
88285 done
88288 # Checks for names injected into std:: by the c_std headers.
88335 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88336 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88337 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88338 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88339 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88340 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88343 echo "$as_me:$LINENO: checking for $ac_func" >&5
88344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88345 if eval "test \"\${$as_ac_var+set}\" = set"; then
88346 echo $ECHO_N "(cached) $ECHO_C" >&6
88347 else
88348 if test x$gcc_no_link = xyes; then
88349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88351 { (exit 1); exit 1; }; }
88353 cat >conftest.$ac_ext <<_ACEOF
88354 /* confdefs.h. */
88355 _ACEOF
88356 cat confdefs.h >>conftest.$ac_ext
88357 cat >>conftest.$ac_ext <<_ACEOF
88358 /* end confdefs.h. */
88359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88361 #define $ac_func innocuous_$ac_func
88363 /* System header to define __stub macros and hopefully few prototypes,
88364 which can conflict with char $ac_func (); below.
88365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88366 <limits.h> exists even on freestanding compilers. */
88368 #ifdef __STDC__
88369 # include <limits.h>
88370 #else
88371 # include <assert.h>
88372 #endif
88374 #undef $ac_func
88376 /* Override any gcc2 internal prototype to avoid an error. */
88377 #ifdef __cplusplus
88378 extern "C"
88380 #endif
88381 /* We use char because int might match the return type of a gcc2
88382 builtin and then its argument prototype would still apply. */
88383 char $ac_func ();
88384 /* The GNU C library defines this for functions which it implements
88385 to always fail with ENOSYS. Some functions are actually named
88386 something starting with __ and the normal name is an alias. */
88387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88388 choke me
88389 #else
88390 char (*f) () = $ac_func;
88391 #endif
88392 #ifdef __cplusplus
88394 #endif
88397 main ()
88399 return f != $ac_func;
88401 return 0;
88403 _ACEOF
88404 rm -f conftest.$ac_objext conftest$ac_exeext
88405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88406 (eval $ac_link) 2>conftest.er1
88407 ac_status=$?
88408 grep -v '^ *+' conftest.er1 >conftest.err
88409 rm -f conftest.er1
88410 cat conftest.err >&5
88411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88412 (exit $ac_status); } &&
88413 { ac_try='test -z "$ac_c_werror_flag"
88414 || test ! -s conftest.err'
88415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88416 (eval $ac_try) 2>&5
88417 ac_status=$?
88418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88419 (exit $ac_status); }; } &&
88420 { ac_try='test -s conftest$ac_exeext'
88421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88422 (eval $ac_try) 2>&5
88423 ac_status=$?
88424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88425 (exit $ac_status); }; }; then
88426 eval "$as_ac_var=yes"
88427 else
88428 echo "$as_me: failed program was:" >&5
88429 sed 's/^/| /' conftest.$ac_ext >&5
88431 eval "$as_ac_var=no"
88433 rm -f conftest.err conftest.$ac_objext \
88434 conftest$ac_exeext conftest.$ac_ext
88436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88438 if test `eval echo '${'$as_ac_var'}'` = yes; then
88439 cat >>confdefs.h <<_ACEOF
88440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88441 _ACEOF
88443 else
88444 ac_wfuncs=no
88446 done
88449 # Checks for wide character functions that are not required
88450 # for basic wchar_t support. Don't disable support if they are missing.
88451 # Injection of these is wrapped with guard macros.
88457 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88460 echo "$as_me:$LINENO: checking for $ac_func" >&5
88461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88462 if eval "test \"\${$as_ac_var+set}\" = set"; then
88463 echo $ECHO_N "(cached) $ECHO_C" >&6
88464 else
88465 if test x$gcc_no_link = xyes; then
88466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88468 { (exit 1); exit 1; }; }
88470 cat >conftest.$ac_ext <<_ACEOF
88471 /* confdefs.h. */
88472 _ACEOF
88473 cat confdefs.h >>conftest.$ac_ext
88474 cat >>conftest.$ac_ext <<_ACEOF
88475 /* end confdefs.h. */
88476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88478 #define $ac_func innocuous_$ac_func
88480 /* System header to define __stub macros and hopefully few prototypes,
88481 which can conflict with char $ac_func (); below.
88482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88483 <limits.h> exists even on freestanding compilers. */
88485 #ifdef __STDC__
88486 # include <limits.h>
88487 #else
88488 # include <assert.h>
88489 #endif
88491 #undef $ac_func
88493 /* Override any gcc2 internal prototype to avoid an error. */
88494 #ifdef __cplusplus
88495 extern "C"
88497 #endif
88498 /* We use char because int might match the return type of a gcc2
88499 builtin and then its argument prototype would still apply. */
88500 char $ac_func ();
88501 /* The GNU C library defines this for functions which it implements
88502 to always fail with ENOSYS. Some functions are actually named
88503 something starting with __ and the normal name is an alias. */
88504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88505 choke me
88506 #else
88507 char (*f) () = $ac_func;
88508 #endif
88509 #ifdef __cplusplus
88511 #endif
88514 main ()
88516 return f != $ac_func;
88518 return 0;
88520 _ACEOF
88521 rm -f conftest.$ac_objext conftest$ac_exeext
88522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88523 (eval $ac_link) 2>conftest.er1
88524 ac_status=$?
88525 grep -v '^ *+' conftest.er1 >conftest.err
88526 rm -f conftest.er1
88527 cat conftest.err >&5
88528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88529 (exit $ac_status); } &&
88530 { ac_try='test -z "$ac_c_werror_flag"
88531 || test ! -s conftest.err'
88532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88533 (eval $ac_try) 2>&5
88534 ac_status=$?
88535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88536 (exit $ac_status); }; } &&
88537 { ac_try='test -s conftest$ac_exeext'
88538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88539 (eval $ac_try) 2>&5
88540 ac_status=$?
88541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88542 (exit $ac_status); }; }; then
88543 eval "$as_ac_var=yes"
88544 else
88545 echo "$as_me: failed program was:" >&5
88546 sed 's/^/| /' conftest.$ac_ext >&5
88548 eval "$as_ac_var=no"
88550 rm -f conftest.err conftest.$ac_objext \
88551 conftest$ac_exeext conftest.$ac_ext
88553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88555 if test `eval echo '${'$as_ac_var'}'` = yes; then
88556 cat >>confdefs.h <<_ACEOF
88557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88558 _ACEOF
88561 done
88564 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88565 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88566 if test x"$has_weof" = xyes &&
88567 test x"$has_wchar_minmax" = xyes &&
88568 test x"$ac_wfuncs" = xyes;
88569 then
88570 ac_isoC99_wchar_t=yes
88571 else
88572 ac_isoC99_wchar_t=no
88574 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88575 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88577 # Use iconv for wchar_t to char conversions. As such, check for
88578 # X/Open Portability Guide, version 2 features (XPG2).
88579 if test "${ac_cv_header_iconv_h+set}" = set; then
88580 echo "$as_me:$LINENO: checking for iconv.h" >&5
88581 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88582 if test "${ac_cv_header_iconv_h+set}" = set; then
88583 echo $ECHO_N "(cached) $ECHO_C" >&6
88585 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88586 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88587 else
88588 # Is the header compilable?
88589 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88590 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88591 cat >conftest.$ac_ext <<_ACEOF
88592 /* confdefs.h. */
88593 _ACEOF
88594 cat confdefs.h >>conftest.$ac_ext
88595 cat >>conftest.$ac_ext <<_ACEOF
88596 /* end confdefs.h. */
88597 $ac_includes_default
88598 #include <iconv.h>
88599 _ACEOF
88600 rm -f conftest.$ac_objext
88601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88602 (eval $ac_compile) 2>conftest.er1
88603 ac_status=$?
88604 grep -v '^ *+' conftest.er1 >conftest.err
88605 rm -f conftest.er1
88606 cat conftest.err >&5
88607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88608 (exit $ac_status); } &&
88609 { ac_try='test -z "$ac_c_werror_flag"
88610 || test ! -s conftest.err'
88611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88612 (eval $ac_try) 2>&5
88613 ac_status=$?
88614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88615 (exit $ac_status); }; } &&
88616 { ac_try='test -s conftest.$ac_objext'
88617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88618 (eval $ac_try) 2>&5
88619 ac_status=$?
88620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88621 (exit $ac_status); }; }; then
88622 ac_header_compiler=yes
88623 else
88624 echo "$as_me: failed program was:" >&5
88625 sed 's/^/| /' conftest.$ac_ext >&5
88627 ac_header_compiler=no
88629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88631 echo "${ECHO_T}$ac_header_compiler" >&6
88633 # Is the header present?
88634 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88635 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88636 cat >conftest.$ac_ext <<_ACEOF
88637 /* confdefs.h. */
88638 _ACEOF
88639 cat confdefs.h >>conftest.$ac_ext
88640 cat >>conftest.$ac_ext <<_ACEOF
88641 /* end confdefs.h. */
88642 #include <iconv.h>
88643 _ACEOF
88644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88646 ac_status=$?
88647 grep -v '^ *+' conftest.er1 >conftest.err
88648 rm -f conftest.er1
88649 cat conftest.err >&5
88650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88651 (exit $ac_status); } >/dev/null; then
88652 if test -s conftest.err; then
88653 ac_cpp_err=$ac_c_preproc_warn_flag
88654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88655 else
88656 ac_cpp_err=
88658 else
88659 ac_cpp_err=yes
88661 if test -z "$ac_cpp_err"; then
88662 ac_header_preproc=yes
88663 else
88664 echo "$as_me: failed program was:" >&5
88665 sed 's/^/| /' conftest.$ac_ext >&5
88667 ac_header_preproc=no
88669 rm -f conftest.err conftest.$ac_ext
88670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88671 echo "${ECHO_T}$ac_header_preproc" >&6
88673 # So? What about this header?
88674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88675 yes:no: )
88676 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88677 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88678 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88679 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88680 ac_header_preproc=yes
88682 no:yes:* )
88683 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88684 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88685 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88686 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88687 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88688 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88689 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88690 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88691 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88692 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88693 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88694 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88696 cat <<\_ASBOX
88697 ## ----------------------------------------- ##
88698 ## Report this to the package-unused lists. ##
88699 ## ----------------------------------------- ##
88700 _ASBOX
88702 sed "s/^/$as_me: WARNING: /" >&2
88704 esac
88705 echo "$as_me:$LINENO: checking for iconv.h" >&5
88706 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88707 if test "${ac_cv_header_iconv_h+set}" = set; then
88708 echo $ECHO_N "(cached) $ECHO_C" >&6
88709 else
88710 ac_cv_header_iconv_h=$ac_header_preproc
88712 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88713 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88716 if test $ac_cv_header_iconv_h = yes; then
88717 ac_has_iconv_h=yes
88718 else
88719 ac_has_iconv_h=no
88723 if test "${ac_cv_header_langinfo_h+set}" = set; then
88724 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88725 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88726 if test "${ac_cv_header_langinfo_h+set}" = set; then
88727 echo $ECHO_N "(cached) $ECHO_C" >&6
88729 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88730 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88731 else
88732 # Is the header compilable?
88733 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88734 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88735 cat >conftest.$ac_ext <<_ACEOF
88736 /* confdefs.h. */
88737 _ACEOF
88738 cat confdefs.h >>conftest.$ac_ext
88739 cat >>conftest.$ac_ext <<_ACEOF
88740 /* end confdefs.h. */
88741 $ac_includes_default
88742 #include <langinfo.h>
88743 _ACEOF
88744 rm -f conftest.$ac_objext
88745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88746 (eval $ac_compile) 2>conftest.er1
88747 ac_status=$?
88748 grep -v '^ *+' conftest.er1 >conftest.err
88749 rm -f conftest.er1
88750 cat conftest.err >&5
88751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88752 (exit $ac_status); } &&
88753 { ac_try='test -z "$ac_c_werror_flag"
88754 || test ! -s conftest.err'
88755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88756 (eval $ac_try) 2>&5
88757 ac_status=$?
88758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88759 (exit $ac_status); }; } &&
88760 { ac_try='test -s conftest.$ac_objext'
88761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88762 (eval $ac_try) 2>&5
88763 ac_status=$?
88764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88765 (exit $ac_status); }; }; then
88766 ac_header_compiler=yes
88767 else
88768 echo "$as_me: failed program was:" >&5
88769 sed 's/^/| /' conftest.$ac_ext >&5
88771 ac_header_compiler=no
88773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88775 echo "${ECHO_T}$ac_header_compiler" >&6
88777 # Is the header present?
88778 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88779 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88780 cat >conftest.$ac_ext <<_ACEOF
88781 /* confdefs.h. */
88782 _ACEOF
88783 cat confdefs.h >>conftest.$ac_ext
88784 cat >>conftest.$ac_ext <<_ACEOF
88785 /* end confdefs.h. */
88786 #include <langinfo.h>
88787 _ACEOF
88788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88790 ac_status=$?
88791 grep -v '^ *+' conftest.er1 >conftest.err
88792 rm -f conftest.er1
88793 cat conftest.err >&5
88794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88795 (exit $ac_status); } >/dev/null; then
88796 if test -s conftest.err; then
88797 ac_cpp_err=$ac_c_preproc_warn_flag
88798 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88799 else
88800 ac_cpp_err=
88802 else
88803 ac_cpp_err=yes
88805 if test -z "$ac_cpp_err"; then
88806 ac_header_preproc=yes
88807 else
88808 echo "$as_me: failed program was:" >&5
88809 sed 's/^/| /' conftest.$ac_ext >&5
88811 ac_header_preproc=no
88813 rm -f conftest.err conftest.$ac_ext
88814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88815 echo "${ECHO_T}$ac_header_preproc" >&6
88817 # So? What about this header?
88818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88819 yes:no: )
88820 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
88821 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88822 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
88823 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
88824 ac_header_preproc=yes
88826 no:yes:* )
88827 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
88828 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
88829 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
88830 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
88831 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
88832 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
88833 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
88834 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
88835 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
88836 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
88837 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
88838 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
88840 cat <<\_ASBOX
88841 ## ----------------------------------------- ##
88842 ## Report this to the package-unused lists. ##
88843 ## ----------------------------------------- ##
88844 _ASBOX
88846 sed "s/^/$as_me: WARNING: /" >&2
88848 esac
88849 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88850 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88851 if test "${ac_cv_header_langinfo_h+set}" = set; then
88852 echo $ECHO_N "(cached) $ECHO_C" >&6
88853 else
88854 ac_cv_header_langinfo_h=$ac_header_preproc
88856 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88857 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88860 if test $ac_cv_header_langinfo_h = yes; then
88861 ac_has_langinfo_h=yes
88862 else
88863 ac_has_langinfo_h=no
88868 # Check for existence of libiconv.a providing XPG2 wchar_t support.
88869 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
88870 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
88871 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
88872 echo $ECHO_N "(cached) $ECHO_C" >&6
88873 else
88874 ac_check_lib_save_LIBS=$LIBS
88875 LIBS="-liconv $LIBS"
88876 if test x$gcc_no_link = xyes; then
88877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88879 { (exit 1); exit 1; }; }
88881 cat >conftest.$ac_ext <<_ACEOF
88882 /* confdefs.h. */
88883 _ACEOF
88884 cat confdefs.h >>conftest.$ac_ext
88885 cat >>conftest.$ac_ext <<_ACEOF
88886 /* end confdefs.h. */
88888 /* Override any gcc2 internal prototype to avoid an error. */
88889 #ifdef __cplusplus
88890 extern "C"
88891 #endif
88892 /* We use char because int might match the return type of a gcc2
88893 builtin and then its argument prototype would still apply. */
88894 char iconv ();
88896 main ()
88898 iconv ();
88900 return 0;
88902 _ACEOF
88903 rm -f conftest.$ac_objext conftest$ac_exeext
88904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88905 (eval $ac_link) 2>conftest.er1
88906 ac_status=$?
88907 grep -v '^ *+' conftest.er1 >conftest.err
88908 rm -f conftest.er1
88909 cat conftest.err >&5
88910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88911 (exit $ac_status); } &&
88912 { ac_try='test -z "$ac_c_werror_flag"
88913 || test ! -s conftest.err'
88914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88915 (eval $ac_try) 2>&5
88916 ac_status=$?
88917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88918 (exit $ac_status); }; } &&
88919 { ac_try='test -s conftest$ac_exeext'
88920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88921 (eval $ac_try) 2>&5
88922 ac_status=$?
88923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88924 (exit $ac_status); }; }; then
88925 ac_cv_lib_iconv_iconv=yes
88926 else
88927 echo "$as_me: failed program was:" >&5
88928 sed 's/^/| /' conftest.$ac_ext >&5
88930 ac_cv_lib_iconv_iconv=no
88932 rm -f conftest.err conftest.$ac_objext \
88933 conftest$ac_exeext conftest.$ac_ext
88934 LIBS=$ac_check_lib_save_LIBS
88936 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88937 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88938 if test $ac_cv_lib_iconv_iconv = yes; then
88939 LIBICONV="-liconv"
88942 ac_save_LIBS="$LIBS"
88943 LIBS="$LIBS $LIBICONV"
88950 for ac_func in iconv_open iconv_close iconv nl_langinfo
88952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88953 echo "$as_me:$LINENO: checking for $ac_func" >&5
88954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88955 if eval "test \"\${$as_ac_var+set}\" = set"; then
88956 echo $ECHO_N "(cached) $ECHO_C" >&6
88957 else
88958 if test x$gcc_no_link = xyes; then
88959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88961 { (exit 1); exit 1; }; }
88963 cat >conftest.$ac_ext <<_ACEOF
88964 /* confdefs.h. */
88965 _ACEOF
88966 cat confdefs.h >>conftest.$ac_ext
88967 cat >>conftest.$ac_ext <<_ACEOF
88968 /* end confdefs.h. */
88969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88971 #define $ac_func innocuous_$ac_func
88973 /* System header to define __stub macros and hopefully few prototypes,
88974 which can conflict with char $ac_func (); below.
88975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88976 <limits.h> exists even on freestanding compilers. */
88978 #ifdef __STDC__
88979 # include <limits.h>
88980 #else
88981 # include <assert.h>
88982 #endif
88984 #undef $ac_func
88986 /* Override any gcc2 internal prototype to avoid an error. */
88987 #ifdef __cplusplus
88988 extern "C"
88990 #endif
88991 /* We use char because int might match the return type of a gcc2
88992 builtin and then its argument prototype would still apply. */
88993 char $ac_func ();
88994 /* The GNU C library defines this for functions which it implements
88995 to always fail with ENOSYS. Some functions are actually named
88996 something starting with __ and the normal name is an alias. */
88997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88998 choke me
88999 #else
89000 char (*f) () = $ac_func;
89001 #endif
89002 #ifdef __cplusplus
89004 #endif
89007 main ()
89009 return f != $ac_func;
89011 return 0;
89013 _ACEOF
89014 rm -f conftest.$ac_objext conftest$ac_exeext
89015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89016 (eval $ac_link) 2>conftest.er1
89017 ac_status=$?
89018 grep -v '^ *+' conftest.er1 >conftest.err
89019 rm -f conftest.er1
89020 cat conftest.err >&5
89021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89022 (exit $ac_status); } &&
89023 { ac_try='test -z "$ac_c_werror_flag"
89024 || test ! -s conftest.err'
89025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89026 (eval $ac_try) 2>&5
89027 ac_status=$?
89028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89029 (exit $ac_status); }; } &&
89030 { ac_try='test -s conftest$ac_exeext'
89031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89032 (eval $ac_try) 2>&5
89033 ac_status=$?
89034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89035 (exit $ac_status); }; }; then
89036 eval "$as_ac_var=yes"
89037 else
89038 echo "$as_me: failed program was:" >&5
89039 sed 's/^/| /' conftest.$ac_ext >&5
89041 eval "$as_ac_var=no"
89043 rm -f conftest.err conftest.$ac_objext \
89044 conftest$ac_exeext conftest.$ac_ext
89046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89048 if test `eval echo '${'$as_ac_var'}'` = yes; then
89049 cat >>confdefs.h <<_ACEOF
89050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89051 _ACEOF
89052 ac_XPG2funcs=yes
89053 else
89054 ac_XPG2funcs=no
89056 done
89059 LIBS="$ac_save_LIBS"
89061 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89062 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89063 if test x"$ac_has_iconv_h" = xyes &&
89064 test x"$ac_has_langinfo_h" = xyes &&
89065 test x"$ac_XPG2funcs" = xyes;
89066 then
89067 ac_XPG2_wchar_t=yes
89068 else
89069 ac_XPG2_wchar_t=no
89071 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89072 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89074 # At the moment, only enable wchar_t specializations if all the
89075 # above support is present.
89076 if test x"$ac_isoC99_wchar_t" = xyes &&
89077 test x"$ac_XPG2_wchar_t" = xyes;
89078 then
89079 cat >>confdefs.h <<\_ACEOF
89080 #define _GLIBCXX_USE_WCHAR_T 1
89081 _ACEOF
89083 enable_wchar_t=yes
89086 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89087 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89088 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89089 echo "${ECHO_T}$enable_wchar_t" >&6
89091 cat >>confdefs.h <<\_ACEOF
89092 #define HAVE_COSF 1
89093 _ACEOF
89095 cat >>confdefs.h <<\_ACEOF
89096 #define HAVE_COSL 1
89097 _ACEOF
89099 cat >>confdefs.h <<\_ACEOF
89100 #define HAVE_COSHF 1
89101 _ACEOF
89103 cat >>confdefs.h <<\_ACEOF
89104 #define HAVE_COSHL 1
89105 _ACEOF
89107 cat >>confdefs.h <<\_ACEOF
89108 #define HAVE_LOGF 1
89109 _ACEOF
89111 cat >>confdefs.h <<\_ACEOF
89112 #define HAVE_LOGL 1
89113 _ACEOF
89115 cat >>confdefs.h <<\_ACEOF
89116 #define HAVE_LOG10F 1
89117 _ACEOF
89119 cat >>confdefs.h <<\_ACEOF
89120 #define HAVE_LOG10L 1
89121 _ACEOF
89123 cat >>confdefs.h <<\_ACEOF
89124 #define HAVE_SINF 1
89125 _ACEOF
89127 cat >>confdefs.h <<\_ACEOF
89128 #define HAVE_SINL 1
89129 _ACEOF
89131 cat >>confdefs.h <<\_ACEOF
89132 #define HAVE_SINHF 1
89133 _ACEOF
89135 cat >>confdefs.h <<\_ACEOF
89136 #define HAVE_SINHL 1
89137 _ACEOF
89140 *-solaris*)
89141 case "$target" in
89142 # *-solaris2.5)
89143 # os_include_dir="os/solaris/solaris2.5"
89144 # ;;
89145 # *-solaris2.6)
89146 # os_include_dir="os/solaris/solaris2.6"
89147 # ;;
89148 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
89149 cat >>confdefs.h <<\_ACEOF
89150 #define HAVE_GETPAGESIZE 1
89151 _ACEOF
89153 cat >>confdefs.h <<\_ACEOF
89154 #define HAVE_SIGSETJMP 1
89155 _ACEOF
89157 cat >>confdefs.h <<\_ACEOF
89158 #define HAVE_MBSTATE_T 1
89159 _ACEOF
89161 cat >>confdefs.h <<\_ACEOF
89162 #define HAVE_POLL 1
89163 _ACEOF
89165 cat >>confdefs.h <<\_ACEOF
89166 #define HAVE_S_ISREG 1
89167 _ACEOF
89169 cat >>confdefs.h <<\_ACEOF
89170 #define HAVE_LC_MESSAGES 1
89171 _ACEOF
89173 cat >>confdefs.h <<\_ACEOF
89174 #define HAVE_BTOWC 1
89175 _ACEOF
89177 cat >>confdefs.h <<\_ACEOF
89178 #define HAVE_FGETWC 1
89179 _ACEOF
89181 cat >>confdefs.h <<\_ACEOF
89182 #define HAVE_FGETWS 1
89183 _ACEOF
89185 cat >>confdefs.h <<\_ACEOF
89186 #define HAVE_FINITE 1
89187 _ACEOF
89189 cat >>confdefs.h <<\_ACEOF
89190 #define HAVE_FPCLASS 1
89191 _ACEOF
89193 cat >>confdefs.h <<\_ACEOF
89194 #define HAVE_FPUTWC 1
89195 _ACEOF
89197 cat >>confdefs.h <<\_ACEOF
89198 #define HAVE_FPUTWS 1
89199 _ACEOF
89201 cat >>confdefs.h <<\_ACEOF
89202 #define HAVE_FWIDE 1
89203 _ACEOF
89205 cat >>confdefs.h <<\_ACEOF
89206 #define HAVE_FWPRINTF 1
89207 _ACEOF
89209 cat >>confdefs.h <<\_ACEOF
89210 #define HAVE_FWSCANF 1
89211 _ACEOF
89213 cat >>confdefs.h <<\_ACEOF
89214 #define HAVE_GETPAGESIZE 1
89215 _ACEOF
89217 cat >>confdefs.h <<\_ACEOF
89218 #define HAVE_GETWC 1
89219 _ACEOF
89221 cat >>confdefs.h <<\_ACEOF
89222 #define HAVE_GETWCHAR 1
89223 _ACEOF
89225 cat >>confdefs.h <<\_ACEOF
89226 #define HAVE_MBRLEN 1
89227 _ACEOF
89229 cat >>confdefs.h <<\_ACEOF
89230 #define HAVE_MBRTOWC 1
89231 _ACEOF
89233 cat >>confdefs.h <<\_ACEOF
89234 #define HAVE_MBSINIT 1
89235 _ACEOF
89237 cat >>confdefs.h <<\_ACEOF
89238 #define HAVE_MBSRTOWCS 1
89239 _ACEOF
89241 cat >>confdefs.h <<\_ACEOF
89242 #define HAVE_NL_LANGINFO 1
89243 _ACEOF
89245 cat >>confdefs.h <<\_ACEOF
89246 #define HAVE_PUTWC 1
89247 _ACEOF
89249 cat >>confdefs.h <<\_ACEOF
89250 #define HAVE_PUTWCHAR 1
89251 _ACEOF
89253 cat >>confdefs.h <<\_ACEOF
89254 #define HAVE_SWPRINTF 1
89255 _ACEOF
89257 cat >>confdefs.h <<\_ACEOF
89258 #define HAVE_SWSCANF 1
89259 _ACEOF
89261 cat >>confdefs.h <<\_ACEOF
89262 #define HAVE_UNGETWC 1
89263 _ACEOF
89265 cat >>confdefs.h <<\_ACEOF
89266 #define HAVE_VFWPRINTF 1
89267 _ACEOF
89269 cat >>confdefs.h <<\_ACEOF
89270 #define HAVE_VSWPRINTF 1
89271 _ACEOF
89273 cat >>confdefs.h <<\_ACEOF
89274 #define HAVE_VWPRINTF 1
89275 _ACEOF
89277 cat >>confdefs.h <<\_ACEOF
89278 #define HAVE_WCRTOMB 1
89279 _ACEOF
89281 cat >>confdefs.h <<\_ACEOF
89282 #define HAVE_WCSCAT 1
89283 _ACEOF
89285 cat >>confdefs.h <<\_ACEOF
89286 #define HAVE_WCSCHR 1
89287 _ACEOF
89289 cat >>confdefs.h <<\_ACEOF
89290 #define HAVE_WCSCMP 1
89291 _ACEOF
89293 cat >>confdefs.h <<\_ACEOF
89294 #define HAVE_WCSCOLL 1
89295 _ACEOF
89297 cat >>confdefs.h <<\_ACEOF
89298 #define HAVE_WCSCPY 1
89299 _ACEOF
89301 cat >>confdefs.h <<\_ACEOF
89302 #define HAVE_WCSCSPN 1
89303 _ACEOF
89305 cat >>confdefs.h <<\_ACEOF
89306 #define HAVE_WCSFTIME 1
89307 _ACEOF
89309 cat >>confdefs.h <<\_ACEOF
89310 #define HAVE_WCSLEN 1
89311 _ACEOF
89313 cat >>confdefs.h <<\_ACEOF
89314 #define HAVE_WCSNCAT 1
89315 _ACEOF
89317 cat >>confdefs.h <<\_ACEOF
89318 #define HAVE_WCSNCMP 1
89319 _ACEOF
89321 cat >>confdefs.h <<\_ACEOF
89322 #define HAVE_WCSNCPY 1
89323 _ACEOF
89325 cat >>confdefs.h <<\_ACEOF
89326 #define HAVE_WCSPBRK 1
89327 _ACEOF
89329 cat >>confdefs.h <<\_ACEOF
89330 #define HAVE_WCSRCHR 1
89331 _ACEOF
89333 cat >>confdefs.h <<\_ACEOF
89334 #define HAVE_WCSRTOMBS 1
89335 _ACEOF
89337 cat >>confdefs.h <<\_ACEOF
89338 #define HAVE_WCSSPN 1
89339 _ACEOF
89341 cat >>confdefs.h <<\_ACEOF
89342 #define HAVE_WCSSTR 1
89343 _ACEOF
89345 cat >>confdefs.h <<\_ACEOF
89346 #define HAVE_WCSTOD 1
89347 _ACEOF
89349 cat >>confdefs.h <<\_ACEOF
89350 #define HAVE_WCSTOK 1
89351 _ACEOF
89353 cat >>confdefs.h <<\_ACEOF
89354 #define HAVE_WCSTOL 1
89355 _ACEOF
89357 cat >>confdefs.h <<\_ACEOF
89358 #define HAVE_WCSTOUL 1
89359 _ACEOF
89361 cat >>confdefs.h <<\_ACEOF
89362 #define HAVE_WCSXFRM 1
89363 _ACEOF
89365 cat >>confdefs.h <<\_ACEOF
89366 #define HAVE_WCTOB 1
89367 _ACEOF
89369 cat >>confdefs.h <<\_ACEOF
89370 #define HAVE_WMEMCHR 1
89371 _ACEOF
89373 cat >>confdefs.h <<\_ACEOF
89374 #define HAVE_WMEMCMP 1
89375 _ACEOF
89377 cat >>confdefs.h <<\_ACEOF
89378 #define HAVE_WMEMCPY 1
89379 _ACEOF
89381 cat >>confdefs.h <<\_ACEOF
89382 #define HAVE_WMEMMOVE 1
89383 _ACEOF
89385 cat >>confdefs.h <<\_ACEOF
89386 #define HAVE_WMEMSET 1
89387 _ACEOF
89389 cat >>confdefs.h <<\_ACEOF
89390 #define HAVE_WPRINTF 1
89391 _ACEOF
89393 cat >>confdefs.h <<\_ACEOF
89394 #define HAVE_WSCANF 1
89395 _ACEOF
89397 cat >>confdefs.h <<\_ACEOF
89398 #define HAVE_ICONV 1
89399 _ACEOF
89401 cat >>confdefs.h <<\_ACEOF
89402 #define HAVE_ICONV_CLOSE 1
89403 _ACEOF
89405 cat >>confdefs.h <<\_ACEOF
89406 #define HAVE_ICONV_OPEN 1
89407 _ACEOF
89409 # Look for the pieces required for wchar_t support in order to
89410 # get all the right HAVE_* macros defined.
89412 # Test wchar.h for mbstate_t, which is needed for char_traits and
89413 # others even if wchar_t support is not on.
89414 echo "$as_me:$LINENO: checking for mbstate_t" >&5
89415 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
89416 cat >conftest.$ac_ext <<_ACEOF
89417 /* confdefs.h. */
89418 _ACEOF
89419 cat confdefs.h >>conftest.$ac_ext
89420 cat >>conftest.$ac_ext <<_ACEOF
89421 /* end confdefs.h. */
89422 #include <wchar.h>
89424 main ()
89426 mbstate_t teststate;
89428 return 0;
89430 _ACEOF
89431 rm -f conftest.$ac_objext
89432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89433 (eval $ac_compile) 2>conftest.er1
89434 ac_status=$?
89435 grep -v '^ *+' conftest.er1 >conftest.err
89436 rm -f conftest.er1
89437 cat conftest.err >&5
89438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89439 (exit $ac_status); } &&
89440 { ac_try='test -z "$ac_c_werror_flag"
89441 || test ! -s conftest.err'
89442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89443 (eval $ac_try) 2>&5
89444 ac_status=$?
89445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89446 (exit $ac_status); }; } &&
89447 { ac_try='test -s conftest.$ac_objext'
89448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89449 (eval $ac_try) 2>&5
89450 ac_status=$?
89451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89452 (exit $ac_status); }; }; then
89453 have_mbstate_t=yes
89454 else
89455 echo "$as_me: failed program was:" >&5
89456 sed 's/^/| /' conftest.$ac_ext >&5
89458 have_mbstate_t=no
89460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89461 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
89462 echo "${ECHO_T}$have_mbstate_t" >&6
89463 if test x"$have_mbstate_t" = xyes; then
89464 cat >>confdefs.h <<\_ACEOF
89465 #define HAVE_MBSTATE_T 1
89466 _ACEOF
89470 # Sanity check for existence of ISO C99 headers for extended encoding.
89472 for ac_header in wchar.h
89474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89476 echo "$as_me:$LINENO: checking for $ac_header" >&5
89477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89479 echo $ECHO_N "(cached) $ECHO_C" >&6
89481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89483 else
89484 # Is the header compilable?
89485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89487 cat >conftest.$ac_ext <<_ACEOF
89488 /* confdefs.h. */
89489 _ACEOF
89490 cat confdefs.h >>conftest.$ac_ext
89491 cat >>conftest.$ac_ext <<_ACEOF
89492 /* end confdefs.h. */
89493 $ac_includes_default
89494 #include <$ac_header>
89495 _ACEOF
89496 rm -f conftest.$ac_objext
89497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89498 (eval $ac_compile) 2>conftest.er1
89499 ac_status=$?
89500 grep -v '^ *+' conftest.er1 >conftest.err
89501 rm -f conftest.er1
89502 cat conftest.err >&5
89503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89504 (exit $ac_status); } &&
89505 { ac_try='test -z "$ac_c_werror_flag"
89506 || test ! -s conftest.err'
89507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89508 (eval $ac_try) 2>&5
89509 ac_status=$?
89510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89511 (exit $ac_status); }; } &&
89512 { ac_try='test -s conftest.$ac_objext'
89513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89514 (eval $ac_try) 2>&5
89515 ac_status=$?
89516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89517 (exit $ac_status); }; }; then
89518 ac_header_compiler=yes
89519 else
89520 echo "$as_me: failed program was:" >&5
89521 sed 's/^/| /' conftest.$ac_ext >&5
89523 ac_header_compiler=no
89525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89527 echo "${ECHO_T}$ac_header_compiler" >&6
89529 # Is the header present?
89530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89532 cat >conftest.$ac_ext <<_ACEOF
89533 /* confdefs.h. */
89534 _ACEOF
89535 cat confdefs.h >>conftest.$ac_ext
89536 cat >>conftest.$ac_ext <<_ACEOF
89537 /* end confdefs.h. */
89538 #include <$ac_header>
89539 _ACEOF
89540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89542 ac_status=$?
89543 grep -v '^ *+' conftest.er1 >conftest.err
89544 rm -f conftest.er1
89545 cat conftest.err >&5
89546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89547 (exit $ac_status); } >/dev/null; then
89548 if test -s conftest.err; then
89549 ac_cpp_err=$ac_c_preproc_warn_flag
89550 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89551 else
89552 ac_cpp_err=
89554 else
89555 ac_cpp_err=yes
89557 if test -z "$ac_cpp_err"; then
89558 ac_header_preproc=yes
89559 else
89560 echo "$as_me: failed program was:" >&5
89561 sed 's/^/| /' conftest.$ac_ext >&5
89563 ac_header_preproc=no
89565 rm -f conftest.err conftest.$ac_ext
89566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89567 echo "${ECHO_T}$ac_header_preproc" >&6
89569 # So? What about this header?
89570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89571 yes:no: )
89572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89576 ac_header_preproc=yes
89578 no:yes:* )
89579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89592 cat <<\_ASBOX
89593 ## ----------------------------------------- ##
89594 ## Report this to the package-unused lists. ##
89595 ## ----------------------------------------- ##
89596 _ASBOX
89598 sed "s/^/$as_me: WARNING: /" >&2
89600 esac
89601 echo "$as_me:$LINENO: checking for $ac_header" >&5
89602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89604 echo $ECHO_N "(cached) $ECHO_C" >&6
89605 else
89606 eval "$as_ac_Header=\$ac_header_preproc"
89608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89613 cat >>confdefs.h <<_ACEOF
89614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89615 _ACEOF
89616 ac_has_wchar_h=yes
89617 else
89618 ac_has_wchar_h=no
89621 done
89624 for ac_header in wctype.h
89626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89628 echo "$as_me:$LINENO: checking for $ac_header" >&5
89629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89631 echo $ECHO_N "(cached) $ECHO_C" >&6
89633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89635 else
89636 # Is the header compilable?
89637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89639 cat >conftest.$ac_ext <<_ACEOF
89640 /* confdefs.h. */
89641 _ACEOF
89642 cat confdefs.h >>conftest.$ac_ext
89643 cat >>conftest.$ac_ext <<_ACEOF
89644 /* end confdefs.h. */
89645 $ac_includes_default
89646 #include <$ac_header>
89647 _ACEOF
89648 rm -f conftest.$ac_objext
89649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89650 (eval $ac_compile) 2>conftest.er1
89651 ac_status=$?
89652 grep -v '^ *+' conftest.er1 >conftest.err
89653 rm -f conftest.er1
89654 cat conftest.err >&5
89655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89656 (exit $ac_status); } &&
89657 { ac_try='test -z "$ac_c_werror_flag"
89658 || test ! -s conftest.err'
89659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89660 (eval $ac_try) 2>&5
89661 ac_status=$?
89662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89663 (exit $ac_status); }; } &&
89664 { ac_try='test -s conftest.$ac_objext'
89665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89666 (eval $ac_try) 2>&5
89667 ac_status=$?
89668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89669 (exit $ac_status); }; }; then
89670 ac_header_compiler=yes
89671 else
89672 echo "$as_me: failed program was:" >&5
89673 sed 's/^/| /' conftest.$ac_ext >&5
89675 ac_header_compiler=no
89677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89679 echo "${ECHO_T}$ac_header_compiler" >&6
89681 # Is the header present?
89682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89684 cat >conftest.$ac_ext <<_ACEOF
89685 /* confdefs.h. */
89686 _ACEOF
89687 cat confdefs.h >>conftest.$ac_ext
89688 cat >>conftest.$ac_ext <<_ACEOF
89689 /* end confdefs.h. */
89690 #include <$ac_header>
89691 _ACEOF
89692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89694 ac_status=$?
89695 grep -v '^ *+' conftest.er1 >conftest.err
89696 rm -f conftest.er1
89697 cat conftest.err >&5
89698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89699 (exit $ac_status); } >/dev/null; then
89700 if test -s conftest.err; then
89701 ac_cpp_err=$ac_c_preproc_warn_flag
89702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89703 else
89704 ac_cpp_err=
89706 else
89707 ac_cpp_err=yes
89709 if test -z "$ac_cpp_err"; then
89710 ac_header_preproc=yes
89711 else
89712 echo "$as_me: failed program was:" >&5
89713 sed 's/^/| /' conftest.$ac_ext >&5
89715 ac_header_preproc=no
89717 rm -f conftest.err conftest.$ac_ext
89718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89719 echo "${ECHO_T}$ac_header_preproc" >&6
89721 # So? What about this header?
89722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89723 yes:no: )
89724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89728 ac_header_preproc=yes
89730 no:yes:* )
89731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89744 cat <<\_ASBOX
89745 ## ----------------------------------------- ##
89746 ## Report this to the package-unused lists. ##
89747 ## ----------------------------------------- ##
89748 _ASBOX
89750 sed "s/^/$as_me: WARNING: /" >&2
89752 esac
89753 echo "$as_me:$LINENO: checking for $ac_header" >&5
89754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89756 echo $ECHO_N "(cached) $ECHO_C" >&6
89757 else
89758 eval "$as_ac_Header=\$ac_header_preproc"
89760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89765 cat >>confdefs.h <<_ACEOF
89766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89767 _ACEOF
89768 ac_has_wctype_h=yes
89769 else
89770 ac_has_wctype_h=no
89773 done
89776 # Only continue checking if the ISO C99 headers exist and support is on.
89777 if test x"$ac_has_wchar_h" = xyes &&
89778 test x"$ac_has_wctype_h" = xyes &&
89779 test x"$enable_c_mbchar" != xno; then
89781 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
89782 # numeric_limits can instantiate type_traits<wchar_t>
89783 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
89784 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
89785 cat >conftest.$ac_ext <<_ACEOF
89786 /* confdefs.h. */
89787 _ACEOF
89788 cat confdefs.h >>conftest.$ac_ext
89789 cat >>conftest.$ac_ext <<_ACEOF
89790 /* end confdefs.h. */
89791 #include <wchar.h>
89793 main ()
89795 int i = WCHAR_MIN; int j = WCHAR_MAX;
89797 return 0;
89799 _ACEOF
89800 rm -f conftest.$ac_objext
89801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89802 (eval $ac_compile) 2>conftest.er1
89803 ac_status=$?
89804 grep -v '^ *+' conftest.er1 >conftest.err
89805 rm -f conftest.er1
89806 cat conftest.err >&5
89807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89808 (exit $ac_status); } &&
89809 { ac_try='test -z "$ac_c_werror_flag"
89810 || test ! -s conftest.err'
89811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89812 (eval $ac_try) 2>&5
89813 ac_status=$?
89814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89815 (exit $ac_status); }; } &&
89816 { ac_try='test -s conftest.$ac_objext'
89817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89818 (eval $ac_try) 2>&5
89819 ac_status=$?
89820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89821 (exit $ac_status); }; }; then
89822 has_wchar_minmax=yes
89823 else
89824 echo "$as_me: failed program was:" >&5
89825 sed 's/^/| /' conftest.$ac_ext >&5
89827 has_wchar_minmax=no
89829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89830 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
89831 echo "${ECHO_T}$has_wchar_minmax" >&6
89833 # Test wchar.h for WEOF, which is what we use to determine whether
89834 # to specialize for char_traits<wchar_t> or not.
89835 echo "$as_me:$LINENO: checking for WEOF" >&5
89836 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
89837 cat >conftest.$ac_ext <<_ACEOF
89838 /* confdefs.h. */
89839 _ACEOF
89840 cat confdefs.h >>conftest.$ac_ext
89841 cat >>conftest.$ac_ext <<_ACEOF
89842 /* end confdefs.h. */
89844 #include <wchar.h>
89845 #include <stddef.h>
89847 main ()
89849 wint_t i = WEOF;
89851 return 0;
89853 _ACEOF
89854 rm -f conftest.$ac_objext
89855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89856 (eval $ac_compile) 2>conftest.er1
89857 ac_status=$?
89858 grep -v '^ *+' conftest.er1 >conftest.err
89859 rm -f conftest.er1
89860 cat conftest.err >&5
89861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89862 (exit $ac_status); } &&
89863 { ac_try='test -z "$ac_c_werror_flag"
89864 || test ! -s conftest.err'
89865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89866 (eval $ac_try) 2>&5
89867 ac_status=$?
89868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89869 (exit $ac_status); }; } &&
89870 { ac_try='test -s conftest.$ac_objext'
89871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89872 (eval $ac_try) 2>&5
89873 ac_status=$?
89874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89875 (exit $ac_status); }; }; then
89876 has_weof=yes
89877 else
89878 echo "$as_me: failed program was:" >&5
89879 sed 's/^/| /' conftest.$ac_ext >&5
89881 has_weof=no
89883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89884 echo "$as_me:$LINENO: result: $has_weof" >&5
89885 echo "${ECHO_T}$has_weof" >&6
89887 # Tests for wide character functions used in char_traits<wchar_t>.
89888 ac_wfuncs=yes
89895 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
89897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89898 echo "$as_me:$LINENO: checking for $ac_func" >&5
89899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89900 if eval "test \"\${$as_ac_var+set}\" = set"; then
89901 echo $ECHO_N "(cached) $ECHO_C" >&6
89902 else
89903 if test x$gcc_no_link = xyes; then
89904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89906 { (exit 1); exit 1; }; }
89908 cat >conftest.$ac_ext <<_ACEOF
89909 /* confdefs.h. */
89910 _ACEOF
89911 cat confdefs.h >>conftest.$ac_ext
89912 cat >>conftest.$ac_ext <<_ACEOF
89913 /* end confdefs.h. */
89914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89916 #define $ac_func innocuous_$ac_func
89918 /* System header to define __stub macros and hopefully few prototypes,
89919 which can conflict with char $ac_func (); below.
89920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89921 <limits.h> exists even on freestanding compilers. */
89923 #ifdef __STDC__
89924 # include <limits.h>
89925 #else
89926 # include <assert.h>
89927 #endif
89929 #undef $ac_func
89931 /* Override any gcc2 internal prototype to avoid an error. */
89932 #ifdef __cplusplus
89933 extern "C"
89935 #endif
89936 /* We use char because int might match the return type of a gcc2
89937 builtin and then its argument prototype would still apply. */
89938 char $ac_func ();
89939 /* The GNU C library defines this for functions which it implements
89940 to always fail with ENOSYS. Some functions are actually named
89941 something starting with __ and the normal name is an alias. */
89942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89943 choke me
89944 #else
89945 char (*f) () = $ac_func;
89946 #endif
89947 #ifdef __cplusplus
89949 #endif
89952 main ()
89954 return f != $ac_func;
89956 return 0;
89958 _ACEOF
89959 rm -f conftest.$ac_objext conftest$ac_exeext
89960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89961 (eval $ac_link) 2>conftest.er1
89962 ac_status=$?
89963 grep -v '^ *+' conftest.er1 >conftest.err
89964 rm -f conftest.er1
89965 cat conftest.err >&5
89966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89967 (exit $ac_status); } &&
89968 { ac_try='test -z "$ac_c_werror_flag"
89969 || test ! -s conftest.err'
89970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89971 (eval $ac_try) 2>&5
89972 ac_status=$?
89973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89974 (exit $ac_status); }; } &&
89975 { ac_try='test -s conftest$ac_exeext'
89976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89977 (eval $ac_try) 2>&5
89978 ac_status=$?
89979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89980 (exit $ac_status); }; }; then
89981 eval "$as_ac_var=yes"
89982 else
89983 echo "$as_me: failed program was:" >&5
89984 sed 's/^/| /' conftest.$ac_ext >&5
89986 eval "$as_ac_var=no"
89988 rm -f conftest.err conftest.$ac_objext \
89989 conftest$ac_exeext conftest.$ac_ext
89991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89993 if test `eval echo '${'$as_ac_var'}'` = yes; then
89994 cat >>confdefs.h <<_ACEOF
89995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89996 _ACEOF
89998 else
89999 ac_wfuncs=no
90001 done
90004 # Checks for names injected into std:: by the c_std headers.
90051 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
90052 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
90053 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
90054 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
90055 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
90056 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
90058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90059 echo "$as_me:$LINENO: checking for $ac_func" >&5
90060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90061 if eval "test \"\${$as_ac_var+set}\" = set"; then
90062 echo $ECHO_N "(cached) $ECHO_C" >&6
90063 else
90064 if test x$gcc_no_link = xyes; then
90065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90067 { (exit 1); exit 1; }; }
90069 cat >conftest.$ac_ext <<_ACEOF
90070 /* confdefs.h. */
90071 _ACEOF
90072 cat confdefs.h >>conftest.$ac_ext
90073 cat >>conftest.$ac_ext <<_ACEOF
90074 /* end confdefs.h. */
90075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90077 #define $ac_func innocuous_$ac_func
90079 /* System header to define __stub macros and hopefully few prototypes,
90080 which can conflict with char $ac_func (); below.
90081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90082 <limits.h> exists even on freestanding compilers. */
90084 #ifdef __STDC__
90085 # include <limits.h>
90086 #else
90087 # include <assert.h>
90088 #endif
90090 #undef $ac_func
90092 /* Override any gcc2 internal prototype to avoid an error. */
90093 #ifdef __cplusplus
90094 extern "C"
90096 #endif
90097 /* We use char because int might match the return type of a gcc2
90098 builtin and then its argument prototype would still apply. */
90099 char $ac_func ();
90100 /* The GNU C library defines this for functions which it implements
90101 to always fail with ENOSYS. Some functions are actually named
90102 something starting with __ and the normal name is an alias. */
90103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90104 choke me
90105 #else
90106 char (*f) () = $ac_func;
90107 #endif
90108 #ifdef __cplusplus
90110 #endif
90113 main ()
90115 return f != $ac_func;
90117 return 0;
90119 _ACEOF
90120 rm -f conftest.$ac_objext conftest$ac_exeext
90121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90122 (eval $ac_link) 2>conftest.er1
90123 ac_status=$?
90124 grep -v '^ *+' conftest.er1 >conftest.err
90125 rm -f conftest.er1
90126 cat conftest.err >&5
90127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90128 (exit $ac_status); } &&
90129 { ac_try='test -z "$ac_c_werror_flag"
90130 || test ! -s conftest.err'
90131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90132 (eval $ac_try) 2>&5
90133 ac_status=$?
90134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90135 (exit $ac_status); }; } &&
90136 { ac_try='test -s conftest$ac_exeext'
90137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90138 (eval $ac_try) 2>&5
90139 ac_status=$?
90140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90141 (exit $ac_status); }; }; then
90142 eval "$as_ac_var=yes"
90143 else
90144 echo "$as_me: failed program was:" >&5
90145 sed 's/^/| /' conftest.$ac_ext >&5
90147 eval "$as_ac_var=no"
90149 rm -f conftest.err conftest.$ac_objext \
90150 conftest$ac_exeext conftest.$ac_ext
90152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90154 if test `eval echo '${'$as_ac_var'}'` = yes; then
90155 cat >>confdefs.h <<_ACEOF
90156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90157 _ACEOF
90159 else
90160 ac_wfuncs=no
90162 done
90165 # Checks for wide character functions that are not required
90166 # for basic wchar_t support. Don't disable support if they are missing.
90167 # Injection of these is wrapped with guard macros.
90173 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
90175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90176 echo "$as_me:$LINENO: checking for $ac_func" >&5
90177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90178 if eval "test \"\${$as_ac_var+set}\" = set"; then
90179 echo $ECHO_N "(cached) $ECHO_C" >&6
90180 else
90181 if test x$gcc_no_link = xyes; then
90182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90184 { (exit 1); exit 1; }; }
90186 cat >conftest.$ac_ext <<_ACEOF
90187 /* confdefs.h. */
90188 _ACEOF
90189 cat confdefs.h >>conftest.$ac_ext
90190 cat >>conftest.$ac_ext <<_ACEOF
90191 /* end confdefs.h. */
90192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90194 #define $ac_func innocuous_$ac_func
90196 /* System header to define __stub macros and hopefully few prototypes,
90197 which can conflict with char $ac_func (); below.
90198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90199 <limits.h> exists even on freestanding compilers. */
90201 #ifdef __STDC__
90202 # include <limits.h>
90203 #else
90204 # include <assert.h>
90205 #endif
90207 #undef $ac_func
90209 /* Override any gcc2 internal prototype to avoid an error. */
90210 #ifdef __cplusplus
90211 extern "C"
90213 #endif
90214 /* We use char because int might match the return type of a gcc2
90215 builtin and then its argument prototype would still apply. */
90216 char $ac_func ();
90217 /* The GNU C library defines this for functions which it implements
90218 to always fail with ENOSYS. Some functions are actually named
90219 something starting with __ and the normal name is an alias. */
90220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90221 choke me
90222 #else
90223 char (*f) () = $ac_func;
90224 #endif
90225 #ifdef __cplusplus
90227 #endif
90230 main ()
90232 return f != $ac_func;
90234 return 0;
90236 _ACEOF
90237 rm -f conftest.$ac_objext conftest$ac_exeext
90238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90239 (eval $ac_link) 2>conftest.er1
90240 ac_status=$?
90241 grep -v '^ *+' conftest.er1 >conftest.err
90242 rm -f conftest.er1
90243 cat conftest.err >&5
90244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90245 (exit $ac_status); } &&
90246 { ac_try='test -z "$ac_c_werror_flag"
90247 || test ! -s conftest.err'
90248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90249 (eval $ac_try) 2>&5
90250 ac_status=$?
90251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90252 (exit $ac_status); }; } &&
90253 { ac_try='test -s conftest$ac_exeext'
90254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90255 (eval $ac_try) 2>&5
90256 ac_status=$?
90257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90258 (exit $ac_status); }; }; then
90259 eval "$as_ac_var=yes"
90260 else
90261 echo "$as_me: failed program was:" >&5
90262 sed 's/^/| /' conftest.$ac_ext >&5
90264 eval "$as_ac_var=no"
90266 rm -f conftest.err conftest.$ac_objext \
90267 conftest$ac_exeext conftest.$ac_ext
90269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90271 if test `eval echo '${'$as_ac_var'}'` = yes; then
90272 cat >>confdefs.h <<_ACEOF
90273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90274 _ACEOF
90277 done
90280 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
90281 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
90282 if test x"$has_weof" = xyes &&
90283 test x"$has_wchar_minmax" = xyes &&
90284 test x"$ac_wfuncs" = xyes;
90285 then
90286 ac_isoC99_wchar_t=yes
90287 else
90288 ac_isoC99_wchar_t=no
90290 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
90291 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
90293 # Use iconv for wchar_t to char conversions. As such, check for
90294 # X/Open Portability Guide, version 2 features (XPG2).
90295 if test "${ac_cv_header_iconv_h+set}" = set; then
90296 echo "$as_me:$LINENO: checking for iconv.h" >&5
90297 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90298 if test "${ac_cv_header_iconv_h+set}" = set; then
90299 echo $ECHO_N "(cached) $ECHO_C" >&6
90301 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90302 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90303 else
90304 # Is the header compilable?
90305 echo "$as_me:$LINENO: checking iconv.h usability" >&5
90306 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
90307 cat >conftest.$ac_ext <<_ACEOF
90308 /* confdefs.h. */
90309 _ACEOF
90310 cat confdefs.h >>conftest.$ac_ext
90311 cat >>conftest.$ac_ext <<_ACEOF
90312 /* end confdefs.h. */
90313 $ac_includes_default
90314 #include <iconv.h>
90315 _ACEOF
90316 rm -f conftest.$ac_objext
90317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90318 (eval $ac_compile) 2>conftest.er1
90319 ac_status=$?
90320 grep -v '^ *+' conftest.er1 >conftest.err
90321 rm -f conftest.er1
90322 cat conftest.err >&5
90323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90324 (exit $ac_status); } &&
90325 { ac_try='test -z "$ac_c_werror_flag"
90326 || test ! -s conftest.err'
90327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90328 (eval $ac_try) 2>&5
90329 ac_status=$?
90330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90331 (exit $ac_status); }; } &&
90332 { ac_try='test -s conftest.$ac_objext'
90333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90334 (eval $ac_try) 2>&5
90335 ac_status=$?
90336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90337 (exit $ac_status); }; }; then
90338 ac_header_compiler=yes
90339 else
90340 echo "$as_me: failed program was:" >&5
90341 sed 's/^/| /' conftest.$ac_ext >&5
90343 ac_header_compiler=no
90345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90347 echo "${ECHO_T}$ac_header_compiler" >&6
90349 # Is the header present?
90350 echo "$as_me:$LINENO: checking iconv.h presence" >&5
90351 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
90352 cat >conftest.$ac_ext <<_ACEOF
90353 /* confdefs.h. */
90354 _ACEOF
90355 cat confdefs.h >>conftest.$ac_ext
90356 cat >>conftest.$ac_ext <<_ACEOF
90357 /* end confdefs.h. */
90358 #include <iconv.h>
90359 _ACEOF
90360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90362 ac_status=$?
90363 grep -v '^ *+' conftest.er1 >conftest.err
90364 rm -f conftest.er1
90365 cat conftest.err >&5
90366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90367 (exit $ac_status); } >/dev/null; then
90368 if test -s conftest.err; then
90369 ac_cpp_err=$ac_c_preproc_warn_flag
90370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90371 else
90372 ac_cpp_err=
90374 else
90375 ac_cpp_err=yes
90377 if test -z "$ac_cpp_err"; then
90378 ac_header_preproc=yes
90379 else
90380 echo "$as_me: failed program was:" >&5
90381 sed 's/^/| /' conftest.$ac_ext >&5
90383 ac_header_preproc=no
90385 rm -f conftest.err conftest.$ac_ext
90386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90387 echo "${ECHO_T}$ac_header_preproc" >&6
90389 # So? What about this header?
90390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90391 yes:no: )
90392 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
90393 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90394 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
90395 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
90396 ac_header_preproc=yes
90398 no:yes:* )
90399 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
90400 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
90401 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
90402 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
90403 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
90404 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
90405 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
90406 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
90407 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
90408 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
90409 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
90410 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
90412 cat <<\_ASBOX
90413 ## ----------------------------------------- ##
90414 ## Report this to the package-unused lists. ##
90415 ## ----------------------------------------- ##
90416 _ASBOX
90418 sed "s/^/$as_me: WARNING: /" >&2
90420 esac
90421 echo "$as_me:$LINENO: checking for iconv.h" >&5
90422 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90423 if test "${ac_cv_header_iconv_h+set}" = set; then
90424 echo $ECHO_N "(cached) $ECHO_C" >&6
90425 else
90426 ac_cv_header_iconv_h=$ac_header_preproc
90428 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90429 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90432 if test $ac_cv_header_iconv_h = yes; then
90433 ac_has_iconv_h=yes
90434 else
90435 ac_has_iconv_h=no
90439 if test "${ac_cv_header_langinfo_h+set}" = set; then
90440 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90441 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90442 if test "${ac_cv_header_langinfo_h+set}" = set; then
90443 echo $ECHO_N "(cached) $ECHO_C" >&6
90445 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90446 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90447 else
90448 # Is the header compilable?
90449 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
90450 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
90451 cat >conftest.$ac_ext <<_ACEOF
90452 /* confdefs.h. */
90453 _ACEOF
90454 cat confdefs.h >>conftest.$ac_ext
90455 cat >>conftest.$ac_ext <<_ACEOF
90456 /* end confdefs.h. */
90457 $ac_includes_default
90458 #include <langinfo.h>
90459 _ACEOF
90460 rm -f conftest.$ac_objext
90461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90462 (eval $ac_compile) 2>conftest.er1
90463 ac_status=$?
90464 grep -v '^ *+' conftest.er1 >conftest.err
90465 rm -f conftest.er1
90466 cat conftest.err >&5
90467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90468 (exit $ac_status); } &&
90469 { ac_try='test -z "$ac_c_werror_flag"
90470 || test ! -s conftest.err'
90471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90472 (eval $ac_try) 2>&5
90473 ac_status=$?
90474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90475 (exit $ac_status); }; } &&
90476 { ac_try='test -s conftest.$ac_objext'
90477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90478 (eval $ac_try) 2>&5
90479 ac_status=$?
90480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90481 (exit $ac_status); }; }; then
90482 ac_header_compiler=yes
90483 else
90484 echo "$as_me: failed program was:" >&5
90485 sed 's/^/| /' conftest.$ac_ext >&5
90487 ac_header_compiler=no
90489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90491 echo "${ECHO_T}$ac_header_compiler" >&6
90493 # Is the header present?
90494 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
90495 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
90496 cat >conftest.$ac_ext <<_ACEOF
90497 /* confdefs.h. */
90498 _ACEOF
90499 cat confdefs.h >>conftest.$ac_ext
90500 cat >>conftest.$ac_ext <<_ACEOF
90501 /* end confdefs.h. */
90502 #include <langinfo.h>
90503 _ACEOF
90504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90506 ac_status=$?
90507 grep -v '^ *+' conftest.er1 >conftest.err
90508 rm -f conftest.er1
90509 cat conftest.err >&5
90510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90511 (exit $ac_status); } >/dev/null; then
90512 if test -s conftest.err; then
90513 ac_cpp_err=$ac_c_preproc_warn_flag
90514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90515 else
90516 ac_cpp_err=
90518 else
90519 ac_cpp_err=yes
90521 if test -z "$ac_cpp_err"; then
90522 ac_header_preproc=yes
90523 else
90524 echo "$as_me: failed program was:" >&5
90525 sed 's/^/| /' conftest.$ac_ext >&5
90527 ac_header_preproc=no
90529 rm -f conftest.err conftest.$ac_ext
90530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90531 echo "${ECHO_T}$ac_header_preproc" >&6
90533 # So? What about this header?
90534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90535 yes:no: )
90536 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
90537 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90538 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
90539 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
90540 ac_header_preproc=yes
90542 no:yes:* )
90543 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
90544 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
90545 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
90546 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
90547 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
90548 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
90549 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
90550 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
90551 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
90552 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
90553 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
90554 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
90556 cat <<\_ASBOX
90557 ## ----------------------------------------- ##
90558 ## Report this to the package-unused lists. ##
90559 ## ----------------------------------------- ##
90560 _ASBOX
90562 sed "s/^/$as_me: WARNING: /" >&2
90564 esac
90565 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90566 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90567 if test "${ac_cv_header_langinfo_h+set}" = set; then
90568 echo $ECHO_N "(cached) $ECHO_C" >&6
90569 else
90570 ac_cv_header_langinfo_h=$ac_header_preproc
90572 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90573 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90576 if test $ac_cv_header_langinfo_h = yes; then
90577 ac_has_langinfo_h=yes
90578 else
90579 ac_has_langinfo_h=no
90584 # Check for existence of libiconv.a providing XPG2 wchar_t support.
90585 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
90586 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
90587 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
90588 echo $ECHO_N "(cached) $ECHO_C" >&6
90589 else
90590 ac_check_lib_save_LIBS=$LIBS
90591 LIBS="-liconv $LIBS"
90592 if test x$gcc_no_link = xyes; then
90593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90595 { (exit 1); exit 1; }; }
90597 cat >conftest.$ac_ext <<_ACEOF
90598 /* confdefs.h. */
90599 _ACEOF
90600 cat confdefs.h >>conftest.$ac_ext
90601 cat >>conftest.$ac_ext <<_ACEOF
90602 /* end confdefs.h. */
90604 /* Override any gcc2 internal prototype to avoid an error. */
90605 #ifdef __cplusplus
90606 extern "C"
90607 #endif
90608 /* We use char because int might match the return type of a gcc2
90609 builtin and then its argument prototype would still apply. */
90610 char iconv ();
90612 main ()
90614 iconv ();
90616 return 0;
90618 _ACEOF
90619 rm -f conftest.$ac_objext conftest$ac_exeext
90620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90621 (eval $ac_link) 2>conftest.er1
90622 ac_status=$?
90623 grep -v '^ *+' conftest.er1 >conftest.err
90624 rm -f conftest.er1
90625 cat conftest.err >&5
90626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90627 (exit $ac_status); } &&
90628 { ac_try='test -z "$ac_c_werror_flag"
90629 || test ! -s conftest.err'
90630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90631 (eval $ac_try) 2>&5
90632 ac_status=$?
90633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90634 (exit $ac_status); }; } &&
90635 { ac_try='test -s conftest$ac_exeext'
90636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90637 (eval $ac_try) 2>&5
90638 ac_status=$?
90639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90640 (exit $ac_status); }; }; then
90641 ac_cv_lib_iconv_iconv=yes
90642 else
90643 echo "$as_me: failed program was:" >&5
90644 sed 's/^/| /' conftest.$ac_ext >&5
90646 ac_cv_lib_iconv_iconv=no
90648 rm -f conftest.err conftest.$ac_objext \
90649 conftest$ac_exeext conftest.$ac_ext
90650 LIBS=$ac_check_lib_save_LIBS
90652 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
90653 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
90654 if test $ac_cv_lib_iconv_iconv = yes; then
90655 LIBICONV="-liconv"
90658 ac_save_LIBS="$LIBS"
90659 LIBS="$LIBS $LIBICONV"
90666 for ac_func in iconv_open iconv_close iconv nl_langinfo
90668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90669 echo "$as_me:$LINENO: checking for $ac_func" >&5
90670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90671 if eval "test \"\${$as_ac_var+set}\" = set"; then
90672 echo $ECHO_N "(cached) $ECHO_C" >&6
90673 else
90674 if test x$gcc_no_link = xyes; then
90675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90677 { (exit 1); exit 1; }; }
90679 cat >conftest.$ac_ext <<_ACEOF
90680 /* confdefs.h. */
90681 _ACEOF
90682 cat confdefs.h >>conftest.$ac_ext
90683 cat >>conftest.$ac_ext <<_ACEOF
90684 /* end confdefs.h. */
90685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90687 #define $ac_func innocuous_$ac_func
90689 /* System header to define __stub macros and hopefully few prototypes,
90690 which can conflict with char $ac_func (); below.
90691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90692 <limits.h> exists even on freestanding compilers. */
90694 #ifdef __STDC__
90695 # include <limits.h>
90696 #else
90697 # include <assert.h>
90698 #endif
90700 #undef $ac_func
90702 /* Override any gcc2 internal prototype to avoid an error. */
90703 #ifdef __cplusplus
90704 extern "C"
90706 #endif
90707 /* We use char because int might match the return type of a gcc2
90708 builtin and then its argument prototype would still apply. */
90709 char $ac_func ();
90710 /* The GNU C library defines this for functions which it implements
90711 to always fail with ENOSYS. Some functions are actually named
90712 something starting with __ and the normal name is an alias. */
90713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90714 choke me
90715 #else
90716 char (*f) () = $ac_func;
90717 #endif
90718 #ifdef __cplusplus
90720 #endif
90723 main ()
90725 return f != $ac_func;
90727 return 0;
90729 _ACEOF
90730 rm -f conftest.$ac_objext conftest$ac_exeext
90731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90732 (eval $ac_link) 2>conftest.er1
90733 ac_status=$?
90734 grep -v '^ *+' conftest.er1 >conftest.err
90735 rm -f conftest.er1
90736 cat conftest.err >&5
90737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90738 (exit $ac_status); } &&
90739 { ac_try='test -z "$ac_c_werror_flag"
90740 || test ! -s conftest.err'
90741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90742 (eval $ac_try) 2>&5
90743 ac_status=$?
90744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90745 (exit $ac_status); }; } &&
90746 { ac_try='test -s conftest$ac_exeext'
90747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90748 (eval $ac_try) 2>&5
90749 ac_status=$?
90750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90751 (exit $ac_status); }; }; then
90752 eval "$as_ac_var=yes"
90753 else
90754 echo "$as_me: failed program was:" >&5
90755 sed 's/^/| /' conftest.$ac_ext >&5
90757 eval "$as_ac_var=no"
90759 rm -f conftest.err conftest.$ac_objext \
90760 conftest$ac_exeext conftest.$ac_ext
90762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90764 if test `eval echo '${'$as_ac_var'}'` = yes; then
90765 cat >>confdefs.h <<_ACEOF
90766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90767 _ACEOF
90768 ac_XPG2funcs=yes
90769 else
90770 ac_XPG2funcs=no
90772 done
90775 LIBS="$ac_save_LIBS"
90777 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
90778 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
90779 if test x"$ac_has_iconv_h" = xyes &&
90780 test x"$ac_has_langinfo_h" = xyes &&
90781 test x"$ac_XPG2funcs" = xyes;
90782 then
90783 ac_XPG2_wchar_t=yes
90784 else
90785 ac_XPG2_wchar_t=no
90787 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
90788 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
90790 # At the moment, only enable wchar_t specializations if all the
90791 # above support is present.
90792 if test x"$ac_isoC99_wchar_t" = xyes &&
90793 test x"$ac_XPG2_wchar_t" = xyes;
90794 then
90795 cat >>confdefs.h <<\_ACEOF
90796 #define _GLIBCXX_USE_WCHAR_T 1
90797 _ACEOF
90799 enable_wchar_t=yes
90802 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
90803 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
90804 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
90805 echo "${ECHO_T}$enable_wchar_t" >&6
90807 # All of the dependencies for wide character support are here, so
90808 # turn it on. This requires some syncronization with the
90809 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
90810 cat >>confdefs.h <<\_ACEOF
90811 #define _GLIBCXX_USE_WCHAR_T 1
90812 _ACEOF
90814 # Are these tested for even when cross?
90815 cat >>confdefs.h <<\_ACEOF
90816 #define HAVE_FLOAT_H 1
90817 _ACEOF
90819 cat >>confdefs.h <<\_ACEOF
90820 #define HAVE_IEEEFP_H 1
90821 _ACEOF
90823 cat >>confdefs.h <<\_ACEOF
90824 #define HAVE_INTTYPES_H 1
90825 _ACEOF
90827 cat >>confdefs.h <<\_ACEOF
90828 #define HAVE_LOCALE_H 1
90829 _ACEOF
90831 cat >>confdefs.h <<\_ACEOF
90832 #define HAVE_NAN_H 1
90833 _ACEOF
90835 cat >>confdefs.h <<\_ACEOF
90836 #define HAVE_SYS_FILIO_H 1
90837 _ACEOF
90839 cat >>confdefs.h <<\_ACEOF
90840 #define HAVE_SYS_IOCTL_H 1
90841 _ACEOF
90843 cat >>confdefs.h <<\_ACEOF
90844 #define HAVE_SYS_ISA_DEFS_H 1
90845 _ACEOF
90847 cat >>confdefs.h <<\_ACEOF
90848 #define HAVE_SYS_RESOURCE_H 1
90849 _ACEOF
90851 cat >>confdefs.h <<\_ACEOF
90852 #define HAVE_SYS_TIME_H 1
90853 _ACEOF
90855 cat >>confdefs.h <<\_ACEOF
90856 #define HAVE_SYS_TYPES_H 1
90857 _ACEOF
90859 cat >>confdefs.h <<\_ACEOF
90860 #define HAVE_UNISTD_H 1
90861 _ACEOF
90863 cat >>confdefs.h <<\_ACEOF
90864 #define HAVE_WCHAR_H 1
90865 _ACEOF
90867 cat >>confdefs.h <<\_ACEOF
90868 #define HAVE_WCTYPE_H 1
90869 _ACEOF
90871 cat >>confdefs.h <<\_ACEOF
90872 #define HAVE_LIBM 1
90873 _ACEOF
90876 esac
90877 case "$target" in
90878 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
90879 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
90880 cat >>confdefs.h <<\_ACEOF
90881 #define HAVE___BUILTIN_ABS 1
90882 _ACEOF
90884 cat >>confdefs.h <<\_ACEOF
90885 #define HAVE___BUILTIN_LABS 1
90886 _ACEOF
90888 cat >>confdefs.h <<\_ACEOF
90889 #define HAVE___BUILTIN_FABS 1
90890 _ACEOF
90892 cat >>confdefs.h <<\_ACEOF
90893 #define HAVE___BUILTIN_FABSF 1
90894 _ACEOF
90896 cat >>confdefs.h <<\_ACEOF
90897 #define HAVE___BUILTIN_FABSL 1
90898 _ACEOF
90900 cat >>confdefs.h <<\_ACEOF
90901 #define HAVE___BUILTIN_COS 1
90902 _ACEOF
90904 cat >>confdefs.h <<\_ACEOF
90905 #define HAVE___BUILTIN_COSF 1
90906 _ACEOF
90908 cat >>confdefs.h <<\_ACEOF
90909 #define HAVE___BUILTIN_SIN 1
90910 _ACEOF
90912 cat >>confdefs.h <<\_ACEOF
90913 #define HAVE___BUILTIN_SINF 1
90914 _ACEOF
90917 esac
90918 cat >>confdefs.h <<\_ACEOF
90919 #define HAVE_STRTOF 1
90920 _ACEOF
90922 cat >>confdefs.h <<\_ACEOF
90923 #define HAVE_STRTOLD 1
90924 _ACEOF
90926 cat >>confdefs.h <<\_ACEOF
90927 #define HAVE_MMAP 1
90928 _ACEOF
90930 cat >>confdefs.h <<\_ACEOF
90931 #define HAVE_COPYSIGN 1
90932 _ACEOF
90934 cat >>confdefs.h <<\_ACEOF
90935 #define HAVE_ISNAN 1
90936 _ACEOF
90938 cat >>confdefs.h <<\_ACEOF
90939 #define HAVE_ISNANF 1
90940 _ACEOF
90942 cat >>confdefs.h <<\_ACEOF
90943 #define HAVE_MODFF 1
90944 _ACEOF
90946 cat >>confdefs.h <<\_ACEOF
90947 #define HAVE_HYPOT 1
90948 _ACEOF
90951 *-tpf)
90960 for ac_header in nan.h endian.h machine/endian.h \
90961 sys/param.h sys/types.h locale.h float.h inttypes.h
90963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90965 echo "$as_me:$LINENO: checking for $ac_header" >&5
90966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90968 echo $ECHO_N "(cached) $ECHO_C" >&6
90970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90972 else
90973 # Is the header compilable?
90974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90976 cat >conftest.$ac_ext <<_ACEOF
90977 /* confdefs.h. */
90978 _ACEOF
90979 cat confdefs.h >>conftest.$ac_ext
90980 cat >>conftest.$ac_ext <<_ACEOF
90981 /* end confdefs.h. */
90982 $ac_includes_default
90983 #include <$ac_header>
90984 _ACEOF
90985 rm -f conftest.$ac_objext
90986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90987 (eval $ac_compile) 2>conftest.er1
90988 ac_status=$?
90989 grep -v '^ *+' conftest.er1 >conftest.err
90990 rm -f conftest.er1
90991 cat conftest.err >&5
90992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90993 (exit $ac_status); } &&
90994 { ac_try='test -z "$ac_c_werror_flag"
90995 || test ! -s conftest.err'
90996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90997 (eval $ac_try) 2>&5
90998 ac_status=$?
90999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91000 (exit $ac_status); }; } &&
91001 { ac_try='test -s conftest.$ac_objext'
91002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91003 (eval $ac_try) 2>&5
91004 ac_status=$?
91005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91006 (exit $ac_status); }; }; then
91007 ac_header_compiler=yes
91008 else
91009 echo "$as_me: failed program was:" >&5
91010 sed 's/^/| /' conftest.$ac_ext >&5
91012 ac_header_compiler=no
91014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91016 echo "${ECHO_T}$ac_header_compiler" >&6
91018 # Is the header present?
91019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91021 cat >conftest.$ac_ext <<_ACEOF
91022 /* confdefs.h. */
91023 _ACEOF
91024 cat confdefs.h >>conftest.$ac_ext
91025 cat >>conftest.$ac_ext <<_ACEOF
91026 /* end confdefs.h. */
91027 #include <$ac_header>
91028 _ACEOF
91029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91031 ac_status=$?
91032 grep -v '^ *+' conftest.er1 >conftest.err
91033 rm -f conftest.er1
91034 cat conftest.err >&5
91035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91036 (exit $ac_status); } >/dev/null; then
91037 if test -s conftest.err; then
91038 ac_cpp_err=$ac_c_preproc_warn_flag
91039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91040 else
91041 ac_cpp_err=
91043 else
91044 ac_cpp_err=yes
91046 if test -z "$ac_cpp_err"; then
91047 ac_header_preproc=yes
91048 else
91049 echo "$as_me: failed program was:" >&5
91050 sed 's/^/| /' conftest.$ac_ext >&5
91052 ac_header_preproc=no
91054 rm -f conftest.err conftest.$ac_ext
91055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91056 echo "${ECHO_T}$ac_header_preproc" >&6
91058 # So? What about this header?
91059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91060 yes:no: )
91061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91065 ac_header_preproc=yes
91067 no:yes:* )
91068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91081 cat <<\_ASBOX
91082 ## ----------------------------------------- ##
91083 ## Report this to the package-unused lists. ##
91084 ## ----------------------------------------- ##
91085 _ASBOX
91087 sed "s/^/$as_me: WARNING: /" >&2
91089 esac
91090 echo "$as_me:$LINENO: checking for $ac_header" >&5
91091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91093 echo $ECHO_N "(cached) $ECHO_C" >&6
91094 else
91095 eval "$as_ac_Header=\$ac_header_preproc"
91097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91102 cat >>confdefs.h <<_ACEOF
91103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91104 _ACEOF
91108 done
91110 SECTION_FLAGS='-ffunction-sections -fdata-sections'
91113 # If we're not using GNU ld, then there's no point in even trying these
91114 # tests. Check for that first. We should have already tested for gld
91115 # by now (in libtool), but require it now just to be safe...
91116 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
91117 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
91121 # The name set by libtool depends on the version of libtool. Shame on us
91122 # for depending on an impl detail, but c'est la vie. Older versions used
91123 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
91124 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
91125 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
91126 # set (hence we're using an older libtool), then set it.
91127 if test x${with_gnu_ld+set} != xset; then
91128 if test x${ac_cv_prog_gnu_ld+set} != xset; then
91129 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
91130 with_gnu_ld=no
91131 else
91132 with_gnu_ld=$ac_cv_prog_gnu_ld
91136 # Start by getting the version number. I think the libtool test already
91137 # does some of this, but throws away the result.
91139 ldver=`$LD --version 2>/dev/null | head -1 | \
91140 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
91142 glibcxx_gnu_ld_version=`echo $ldver | \
91143 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
91145 # Set --gc-sections.
91146 if test "$with_gnu_ld" = "notbroken"; then
91147 # GNU ld it is! Joy and bunny rabbits!
91149 # All these tests are for C++; save the language and the compiler flags.
91150 # Need to do this so that g++ won't try to link in libstdc++
91151 ac_test_CFLAGS="${CFLAGS+set}"
91152 ac_save_CFLAGS="$CFLAGS"
91153 CFLAGS='-x c++ -Wl,--gc-sections'
91155 # Check for -Wl,--gc-sections
91156 # XXX This test is broken at the moment, as symbols required for linking
91157 # are now in libsupc++ (not built yet). In addition, this test has
91158 # cored on solaris in the past. In addition, --gc-sections doesn't
91159 # really work at the moment (keeps on discarding used sections, first
91160 # .eh_frame and now some of the glibc sections for iconv).
91161 # Bzzzzt. Thanks for playing, maybe next time.
91162 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
91163 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
91164 if test "$cross_compiling" = yes; then
91165 ac_sectionLDflags=yes
91166 else
91167 cat >conftest.$ac_ext <<_ACEOF
91168 /* confdefs.h. */
91169 _ACEOF
91170 cat confdefs.h >>conftest.$ac_ext
91171 cat >>conftest.$ac_ext <<_ACEOF
91172 /* end confdefs.h. */
91174 int main(void)
91176 try { throw 1; }
91177 catch (...) { };
91178 return 0;
91181 _ACEOF
91182 rm -f conftest$ac_exeext
91183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91184 (eval $ac_link) 2>&5
91185 ac_status=$?
91186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
91188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91189 (eval $ac_try) 2>&5
91190 ac_status=$?
91191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91192 (exit $ac_status); }; }; then
91193 ac_sectionLDflags=yes
91194 else
91195 echo "$as_me: program exited with status $ac_status" >&5
91196 echo "$as_me: failed program was:" >&5
91197 sed 's/^/| /' conftest.$ac_ext >&5
91199 ( exit $ac_status )
91200 ac_sectionLDflags=no
91202 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
91204 if test "$ac_test_CFLAGS" = set; then
91205 CFLAGS="$ac_save_CFLAGS"
91206 else
91207 # this is the suspicious part
91208 CFLAGS=''
91210 if test "$ac_sectionLDflags" = "yes"; then
91211 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91213 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
91214 echo "${ECHO_T}$ac_sectionLDflags" >&6
91217 # Set linker optimization flags.
91218 if test x"$with_gnu_ld" = x"yes"; then
91219 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91227 echo "$as_me:$LINENO: checking for main in -lm" >&5
91228 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
91229 if test "${ac_cv_lib_m_main+set}" = set; then
91230 echo $ECHO_N "(cached) $ECHO_C" >&6
91231 else
91232 ac_check_lib_save_LIBS=$LIBS
91233 LIBS="-lm $LIBS"
91234 if test x$gcc_no_link = xyes; then
91235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91237 { (exit 1); exit 1; }; }
91239 cat >conftest.$ac_ext <<_ACEOF
91240 /* confdefs.h. */
91241 _ACEOF
91242 cat confdefs.h >>conftest.$ac_ext
91243 cat >>conftest.$ac_ext <<_ACEOF
91244 /* end confdefs.h. */
91248 main ()
91250 main ();
91252 return 0;
91254 _ACEOF
91255 rm -f conftest.$ac_objext conftest$ac_exeext
91256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91257 (eval $ac_link) 2>conftest.er1
91258 ac_status=$?
91259 grep -v '^ *+' conftest.er1 >conftest.err
91260 rm -f conftest.er1
91261 cat conftest.err >&5
91262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91263 (exit $ac_status); } &&
91264 { ac_try='test -z "$ac_c_werror_flag"
91265 || test ! -s conftest.err'
91266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91267 (eval $ac_try) 2>&5
91268 ac_status=$?
91269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91270 (exit $ac_status); }; } &&
91271 { ac_try='test -s conftest$ac_exeext'
91272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91273 (eval $ac_try) 2>&5
91274 ac_status=$?
91275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91276 (exit $ac_status); }; }; then
91277 ac_cv_lib_m_main=yes
91278 else
91279 echo "$as_me: failed program was:" >&5
91280 sed 's/^/| /' conftest.$ac_ext >&5
91282 ac_cv_lib_m_main=no
91284 rm -f conftest.err conftest.$ac_objext \
91285 conftest$ac_exeext conftest.$ac_ext
91286 LIBS=$ac_check_lib_save_LIBS
91288 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
91289 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
91290 if test $ac_cv_lib_m_main = yes; then
91291 cat >>confdefs.h <<_ACEOF
91292 #define HAVE_LIBM 1
91293 _ACEOF
91295 LIBS="-lm $LIBS"
91300 for ac_func in copysignf
91302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91303 echo "$as_me:$LINENO: checking for $ac_func" >&5
91304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91305 if eval "test \"\${$as_ac_var+set}\" = set"; then
91306 echo $ECHO_N "(cached) $ECHO_C" >&6
91307 else
91308 if test x$gcc_no_link = xyes; then
91309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91311 { (exit 1); exit 1; }; }
91313 cat >conftest.$ac_ext <<_ACEOF
91314 /* confdefs.h. */
91315 _ACEOF
91316 cat confdefs.h >>conftest.$ac_ext
91317 cat >>conftest.$ac_ext <<_ACEOF
91318 /* end confdefs.h. */
91319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91321 #define $ac_func innocuous_$ac_func
91323 /* System header to define __stub macros and hopefully few prototypes,
91324 which can conflict with char $ac_func (); below.
91325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91326 <limits.h> exists even on freestanding compilers. */
91328 #ifdef __STDC__
91329 # include <limits.h>
91330 #else
91331 # include <assert.h>
91332 #endif
91334 #undef $ac_func
91336 /* Override any gcc2 internal prototype to avoid an error. */
91337 #ifdef __cplusplus
91338 extern "C"
91340 #endif
91341 /* We use char because int might match the return type of a gcc2
91342 builtin and then its argument prototype would still apply. */
91343 char $ac_func ();
91344 /* The GNU C library defines this for functions which it implements
91345 to always fail with ENOSYS. Some functions are actually named
91346 something starting with __ and the normal name is an alias. */
91347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91348 choke me
91349 #else
91350 char (*f) () = $ac_func;
91351 #endif
91352 #ifdef __cplusplus
91354 #endif
91357 main ()
91359 return f != $ac_func;
91361 return 0;
91363 _ACEOF
91364 rm -f conftest.$ac_objext conftest$ac_exeext
91365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91366 (eval $ac_link) 2>conftest.er1
91367 ac_status=$?
91368 grep -v '^ *+' conftest.er1 >conftest.err
91369 rm -f conftest.er1
91370 cat conftest.err >&5
91371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91372 (exit $ac_status); } &&
91373 { ac_try='test -z "$ac_c_werror_flag"
91374 || test ! -s conftest.err'
91375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91376 (eval $ac_try) 2>&5
91377 ac_status=$?
91378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91379 (exit $ac_status); }; } &&
91380 { ac_try='test -s conftest$ac_exeext'
91381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91382 (eval $ac_try) 2>&5
91383 ac_status=$?
91384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91385 (exit $ac_status); }; }; then
91386 eval "$as_ac_var=yes"
91387 else
91388 echo "$as_me: failed program was:" >&5
91389 sed 's/^/| /' conftest.$ac_ext >&5
91391 eval "$as_ac_var=no"
91393 rm -f conftest.err conftest.$ac_objext \
91394 conftest$ac_exeext conftest.$ac_ext
91396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91398 if test `eval echo '${'$as_ac_var'}'` = yes; then
91399 cat >>confdefs.h <<_ACEOF
91400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91401 _ACEOF
91403 else
91404 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91406 done
91410 for ac_func in __signbit
91412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91413 echo "$as_me:$LINENO: checking for $ac_func" >&5
91414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91415 if eval "test \"\${$as_ac_var+set}\" = set"; then
91416 echo $ECHO_N "(cached) $ECHO_C" >&6
91417 else
91418 if test x$gcc_no_link = xyes; then
91419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91421 { (exit 1); exit 1; }; }
91423 cat >conftest.$ac_ext <<_ACEOF
91424 /* confdefs.h. */
91425 _ACEOF
91426 cat confdefs.h >>conftest.$ac_ext
91427 cat >>conftest.$ac_ext <<_ACEOF
91428 /* end confdefs.h. */
91429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91431 #define $ac_func innocuous_$ac_func
91433 /* System header to define __stub macros and hopefully few prototypes,
91434 which can conflict with char $ac_func (); below.
91435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91436 <limits.h> exists even on freestanding compilers. */
91438 #ifdef __STDC__
91439 # include <limits.h>
91440 #else
91441 # include <assert.h>
91442 #endif
91444 #undef $ac_func
91446 /* Override any gcc2 internal prototype to avoid an error. */
91447 #ifdef __cplusplus
91448 extern "C"
91450 #endif
91451 /* We use char because int might match the return type of a gcc2
91452 builtin and then its argument prototype would still apply. */
91453 char $ac_func ();
91454 /* The GNU C library defines this for functions which it implements
91455 to always fail with ENOSYS. Some functions are actually named
91456 something starting with __ and the normal name is an alias. */
91457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91458 choke me
91459 #else
91460 char (*f) () = $ac_func;
91461 #endif
91462 #ifdef __cplusplus
91464 #endif
91467 main ()
91469 return f != $ac_func;
91471 return 0;
91473 _ACEOF
91474 rm -f conftest.$ac_objext conftest$ac_exeext
91475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91476 (eval $ac_link) 2>conftest.er1
91477 ac_status=$?
91478 grep -v '^ *+' conftest.er1 >conftest.err
91479 rm -f conftest.er1
91480 cat conftest.err >&5
91481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91482 (exit $ac_status); } &&
91483 { ac_try='test -z "$ac_c_werror_flag"
91484 || test ! -s conftest.err'
91485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91486 (eval $ac_try) 2>&5
91487 ac_status=$?
91488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91489 (exit $ac_status); }; } &&
91490 { ac_try='test -s conftest$ac_exeext'
91491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91492 (eval $ac_try) 2>&5
91493 ac_status=$?
91494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91495 (exit $ac_status); }; }; then
91496 eval "$as_ac_var=yes"
91497 else
91498 echo "$as_me: failed program was:" >&5
91499 sed 's/^/| /' conftest.$ac_ext >&5
91501 eval "$as_ac_var=no"
91503 rm -f conftest.err conftest.$ac_objext \
91504 conftest$ac_exeext conftest.$ac_ext
91506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91508 if test `eval echo '${'$as_ac_var'}'` = yes; then
91509 cat >>confdefs.h <<_ACEOF
91510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91511 _ACEOF
91513 else
91514 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91516 done
91520 for ac_func in __signbitf
91522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91523 echo "$as_me:$LINENO: checking for $ac_func" >&5
91524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91525 if eval "test \"\${$as_ac_var+set}\" = set"; then
91526 echo $ECHO_N "(cached) $ECHO_C" >&6
91527 else
91528 if test x$gcc_no_link = xyes; then
91529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91531 { (exit 1); exit 1; }; }
91533 cat >conftest.$ac_ext <<_ACEOF
91534 /* confdefs.h. */
91535 _ACEOF
91536 cat confdefs.h >>conftest.$ac_ext
91537 cat >>conftest.$ac_ext <<_ACEOF
91538 /* end confdefs.h. */
91539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91541 #define $ac_func innocuous_$ac_func
91543 /* System header to define __stub macros and hopefully few prototypes,
91544 which can conflict with char $ac_func (); below.
91545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91546 <limits.h> exists even on freestanding compilers. */
91548 #ifdef __STDC__
91549 # include <limits.h>
91550 #else
91551 # include <assert.h>
91552 #endif
91554 #undef $ac_func
91556 /* Override any gcc2 internal prototype to avoid an error. */
91557 #ifdef __cplusplus
91558 extern "C"
91560 #endif
91561 /* We use char because int might match the return type of a gcc2
91562 builtin and then its argument prototype would still apply. */
91563 char $ac_func ();
91564 /* The GNU C library defines this for functions which it implements
91565 to always fail with ENOSYS. Some functions are actually named
91566 something starting with __ and the normal name is an alias. */
91567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91568 choke me
91569 #else
91570 char (*f) () = $ac_func;
91571 #endif
91572 #ifdef __cplusplus
91574 #endif
91577 main ()
91579 return f != $ac_func;
91581 return 0;
91583 _ACEOF
91584 rm -f conftest.$ac_objext conftest$ac_exeext
91585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91586 (eval $ac_link) 2>conftest.er1
91587 ac_status=$?
91588 grep -v '^ *+' conftest.er1 >conftest.err
91589 rm -f conftest.er1
91590 cat conftest.err >&5
91591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91592 (exit $ac_status); } &&
91593 { ac_try='test -z "$ac_c_werror_flag"
91594 || test ! -s conftest.err'
91595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91596 (eval $ac_try) 2>&5
91597 ac_status=$?
91598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91599 (exit $ac_status); }; } &&
91600 { ac_try='test -s conftest$ac_exeext'
91601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91602 (eval $ac_try) 2>&5
91603 ac_status=$?
91604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91605 (exit $ac_status); }; }; then
91606 eval "$as_ac_var=yes"
91607 else
91608 echo "$as_me: failed program was:" >&5
91609 sed 's/^/| /' conftest.$ac_ext >&5
91611 eval "$as_ac_var=no"
91613 rm -f conftest.err conftest.$ac_objext \
91614 conftest$ac_exeext conftest.$ac_ext
91616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91618 if test `eval echo '${'$as_ac_var'}'` = yes; then
91619 cat >>confdefs.h <<_ACEOF
91620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91621 _ACEOF
91623 else
91624 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91626 done
91629 if test x$ac_cv_func_copysignl = x"yes"; then
91631 for ac_func in __signbitl
91633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91634 echo "$as_me:$LINENO: checking for $ac_func" >&5
91635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91636 if eval "test \"\${$as_ac_var+set}\" = set"; then
91637 echo $ECHO_N "(cached) $ECHO_C" >&6
91638 else
91639 if test x$gcc_no_link = xyes; then
91640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91642 { (exit 1); exit 1; }; }
91644 cat >conftest.$ac_ext <<_ACEOF
91645 /* confdefs.h. */
91646 _ACEOF
91647 cat confdefs.h >>conftest.$ac_ext
91648 cat >>conftest.$ac_ext <<_ACEOF
91649 /* end confdefs.h. */
91650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91652 #define $ac_func innocuous_$ac_func
91654 /* System header to define __stub macros and hopefully few prototypes,
91655 which can conflict with char $ac_func (); below.
91656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91657 <limits.h> exists even on freestanding compilers. */
91659 #ifdef __STDC__
91660 # include <limits.h>
91661 #else
91662 # include <assert.h>
91663 #endif
91665 #undef $ac_func
91667 /* Override any gcc2 internal prototype to avoid an error. */
91668 #ifdef __cplusplus
91669 extern "C"
91671 #endif
91672 /* We use char because int might match the return type of a gcc2
91673 builtin and then its argument prototype would still apply. */
91674 char $ac_func ();
91675 /* The GNU C library defines this for functions which it implements
91676 to always fail with ENOSYS. Some functions are actually named
91677 something starting with __ and the normal name is an alias. */
91678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91679 choke me
91680 #else
91681 char (*f) () = $ac_func;
91682 #endif
91683 #ifdef __cplusplus
91685 #endif
91688 main ()
91690 return f != $ac_func;
91692 return 0;
91694 _ACEOF
91695 rm -f conftest.$ac_objext conftest$ac_exeext
91696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91697 (eval $ac_link) 2>conftest.er1
91698 ac_status=$?
91699 grep -v '^ *+' conftest.er1 >conftest.err
91700 rm -f conftest.er1
91701 cat conftest.err >&5
91702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703 (exit $ac_status); } &&
91704 { ac_try='test -z "$ac_c_werror_flag"
91705 || test ! -s conftest.err'
91706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91707 (eval $ac_try) 2>&5
91708 ac_status=$?
91709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91710 (exit $ac_status); }; } &&
91711 { ac_try='test -s conftest$ac_exeext'
91712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91713 (eval $ac_try) 2>&5
91714 ac_status=$?
91715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91716 (exit $ac_status); }; }; then
91717 eval "$as_ac_var=yes"
91718 else
91719 echo "$as_me: failed program was:" >&5
91720 sed 's/^/| /' conftest.$ac_ext >&5
91722 eval "$as_ac_var=no"
91724 rm -f conftest.err conftest.$ac_objext \
91725 conftest$ac_exeext conftest.$ac_ext
91727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91729 if test `eval echo '${'$as_ac_var'}'` = yes; then
91730 cat >>confdefs.h <<_ACEOF
91731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91732 _ACEOF
91734 else
91735 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
91737 done
91741 # Used in libmath/Makefile.am.
91742 if test -n "$LIBMATHOBJS"; then
91743 need_libmath=yes
91748 # Test wchar.h for mbstate_t, which is needed for char_traits and
91749 # others even if wchar_t support is not on.
91750 echo "$as_me:$LINENO: checking for mbstate_t" >&5
91751 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
91752 cat >conftest.$ac_ext <<_ACEOF
91753 /* confdefs.h. */
91754 _ACEOF
91755 cat confdefs.h >>conftest.$ac_ext
91756 cat >>conftest.$ac_ext <<_ACEOF
91757 /* end confdefs.h. */
91758 #include <wchar.h>
91760 main ()
91762 mbstate_t teststate;
91764 return 0;
91766 _ACEOF
91767 rm -f conftest.$ac_objext
91768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91769 (eval $ac_compile) 2>conftest.er1
91770 ac_status=$?
91771 grep -v '^ *+' conftest.er1 >conftest.err
91772 rm -f conftest.er1
91773 cat conftest.err >&5
91774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91775 (exit $ac_status); } &&
91776 { ac_try='test -z "$ac_c_werror_flag"
91777 || test ! -s conftest.err'
91778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91779 (eval $ac_try) 2>&5
91780 ac_status=$?
91781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91782 (exit $ac_status); }; } &&
91783 { ac_try='test -s conftest.$ac_objext'
91784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91785 (eval $ac_try) 2>&5
91786 ac_status=$?
91787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91788 (exit $ac_status); }; }; then
91789 have_mbstate_t=yes
91790 else
91791 echo "$as_me: failed program was:" >&5
91792 sed 's/^/| /' conftest.$ac_ext >&5
91794 have_mbstate_t=no
91796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91797 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
91798 echo "${ECHO_T}$have_mbstate_t" >&6
91799 if test x"$have_mbstate_t" = xyes; then
91800 cat >>confdefs.h <<\_ACEOF
91801 #define HAVE_MBSTATE_T 1
91802 _ACEOF
91806 # Sanity check for existence of ISO C99 headers for extended encoding.
91808 for ac_header in wchar.h
91810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91812 echo "$as_me:$LINENO: checking for $ac_header" >&5
91813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91815 echo $ECHO_N "(cached) $ECHO_C" >&6
91817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91819 else
91820 # Is the header compilable?
91821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91823 cat >conftest.$ac_ext <<_ACEOF
91824 /* confdefs.h. */
91825 _ACEOF
91826 cat confdefs.h >>conftest.$ac_ext
91827 cat >>conftest.$ac_ext <<_ACEOF
91828 /* end confdefs.h. */
91829 $ac_includes_default
91830 #include <$ac_header>
91831 _ACEOF
91832 rm -f conftest.$ac_objext
91833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91834 (eval $ac_compile) 2>conftest.er1
91835 ac_status=$?
91836 grep -v '^ *+' conftest.er1 >conftest.err
91837 rm -f conftest.er1
91838 cat conftest.err >&5
91839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91840 (exit $ac_status); } &&
91841 { ac_try='test -z "$ac_c_werror_flag"
91842 || test ! -s conftest.err'
91843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91844 (eval $ac_try) 2>&5
91845 ac_status=$?
91846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91847 (exit $ac_status); }; } &&
91848 { ac_try='test -s conftest.$ac_objext'
91849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91850 (eval $ac_try) 2>&5
91851 ac_status=$?
91852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91853 (exit $ac_status); }; }; then
91854 ac_header_compiler=yes
91855 else
91856 echo "$as_me: failed program was:" >&5
91857 sed 's/^/| /' conftest.$ac_ext >&5
91859 ac_header_compiler=no
91861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91863 echo "${ECHO_T}$ac_header_compiler" >&6
91865 # Is the header present?
91866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91868 cat >conftest.$ac_ext <<_ACEOF
91869 /* confdefs.h. */
91870 _ACEOF
91871 cat confdefs.h >>conftest.$ac_ext
91872 cat >>conftest.$ac_ext <<_ACEOF
91873 /* end confdefs.h. */
91874 #include <$ac_header>
91875 _ACEOF
91876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91878 ac_status=$?
91879 grep -v '^ *+' conftest.er1 >conftest.err
91880 rm -f conftest.er1
91881 cat conftest.err >&5
91882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91883 (exit $ac_status); } >/dev/null; then
91884 if test -s conftest.err; then
91885 ac_cpp_err=$ac_c_preproc_warn_flag
91886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91887 else
91888 ac_cpp_err=
91890 else
91891 ac_cpp_err=yes
91893 if test -z "$ac_cpp_err"; then
91894 ac_header_preproc=yes
91895 else
91896 echo "$as_me: failed program was:" >&5
91897 sed 's/^/| /' conftest.$ac_ext >&5
91899 ac_header_preproc=no
91901 rm -f conftest.err conftest.$ac_ext
91902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91903 echo "${ECHO_T}$ac_header_preproc" >&6
91905 # So? What about this header?
91906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91907 yes:no: )
91908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91912 ac_header_preproc=yes
91914 no:yes:* )
91915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91928 cat <<\_ASBOX
91929 ## ----------------------------------------- ##
91930 ## Report this to the package-unused lists. ##
91931 ## ----------------------------------------- ##
91932 _ASBOX
91934 sed "s/^/$as_me: WARNING: /" >&2
91936 esac
91937 echo "$as_me:$LINENO: checking for $ac_header" >&5
91938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91940 echo $ECHO_N "(cached) $ECHO_C" >&6
91941 else
91942 eval "$as_ac_Header=\$ac_header_preproc"
91944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91949 cat >>confdefs.h <<_ACEOF
91950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91951 _ACEOF
91952 ac_has_wchar_h=yes
91953 else
91954 ac_has_wchar_h=no
91957 done
91960 for ac_header in wctype.h
91962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91964 echo "$as_me:$LINENO: checking for $ac_header" >&5
91965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91967 echo $ECHO_N "(cached) $ECHO_C" >&6
91969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91971 else
91972 # Is the header compilable?
91973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91975 cat >conftest.$ac_ext <<_ACEOF
91976 /* confdefs.h. */
91977 _ACEOF
91978 cat confdefs.h >>conftest.$ac_ext
91979 cat >>conftest.$ac_ext <<_ACEOF
91980 /* end confdefs.h. */
91981 $ac_includes_default
91982 #include <$ac_header>
91983 _ACEOF
91984 rm -f conftest.$ac_objext
91985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91986 (eval $ac_compile) 2>conftest.er1
91987 ac_status=$?
91988 grep -v '^ *+' conftest.er1 >conftest.err
91989 rm -f conftest.er1
91990 cat conftest.err >&5
91991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91992 (exit $ac_status); } &&
91993 { ac_try='test -z "$ac_c_werror_flag"
91994 || test ! -s conftest.err'
91995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91996 (eval $ac_try) 2>&5
91997 ac_status=$?
91998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91999 (exit $ac_status); }; } &&
92000 { ac_try='test -s conftest.$ac_objext'
92001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92002 (eval $ac_try) 2>&5
92003 ac_status=$?
92004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92005 (exit $ac_status); }; }; then
92006 ac_header_compiler=yes
92007 else
92008 echo "$as_me: failed program was:" >&5
92009 sed 's/^/| /' conftest.$ac_ext >&5
92011 ac_header_compiler=no
92013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92015 echo "${ECHO_T}$ac_header_compiler" >&6
92017 # Is the header present?
92018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92020 cat >conftest.$ac_ext <<_ACEOF
92021 /* confdefs.h. */
92022 _ACEOF
92023 cat confdefs.h >>conftest.$ac_ext
92024 cat >>conftest.$ac_ext <<_ACEOF
92025 /* end confdefs.h. */
92026 #include <$ac_header>
92027 _ACEOF
92028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92030 ac_status=$?
92031 grep -v '^ *+' conftest.er1 >conftest.err
92032 rm -f conftest.er1
92033 cat conftest.err >&5
92034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92035 (exit $ac_status); } >/dev/null; then
92036 if test -s conftest.err; then
92037 ac_cpp_err=$ac_c_preproc_warn_flag
92038 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92039 else
92040 ac_cpp_err=
92042 else
92043 ac_cpp_err=yes
92045 if test -z "$ac_cpp_err"; then
92046 ac_header_preproc=yes
92047 else
92048 echo "$as_me: failed program was:" >&5
92049 sed 's/^/| /' conftest.$ac_ext >&5
92051 ac_header_preproc=no
92053 rm -f conftest.err conftest.$ac_ext
92054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92055 echo "${ECHO_T}$ac_header_preproc" >&6
92057 # So? What about this header?
92058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92059 yes:no: )
92060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92064 ac_header_preproc=yes
92066 no:yes:* )
92067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92080 cat <<\_ASBOX
92081 ## ----------------------------------------- ##
92082 ## Report this to the package-unused lists. ##
92083 ## ----------------------------------------- ##
92084 _ASBOX
92086 sed "s/^/$as_me: WARNING: /" >&2
92088 esac
92089 echo "$as_me:$LINENO: checking for $ac_header" >&5
92090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92092 echo $ECHO_N "(cached) $ECHO_C" >&6
92093 else
92094 eval "$as_ac_Header=\$ac_header_preproc"
92096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92101 cat >>confdefs.h <<_ACEOF
92102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92103 _ACEOF
92104 ac_has_wctype_h=yes
92105 else
92106 ac_has_wctype_h=no
92109 done
92112 # Only continue checking if the ISO C99 headers exist and support is on.
92113 if test x"$ac_has_wchar_h" = xyes &&
92114 test x"$ac_has_wctype_h" = xyes &&
92115 test x"$enable_c_mbchar" != xno; then
92117 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92118 # numeric_limits can instantiate type_traits<wchar_t>
92119 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92120 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92121 cat >conftest.$ac_ext <<_ACEOF
92122 /* confdefs.h. */
92123 _ACEOF
92124 cat confdefs.h >>conftest.$ac_ext
92125 cat >>conftest.$ac_ext <<_ACEOF
92126 /* end confdefs.h. */
92127 #include <wchar.h>
92129 main ()
92131 int i = WCHAR_MIN; int j = WCHAR_MAX;
92133 return 0;
92135 _ACEOF
92136 rm -f conftest.$ac_objext
92137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92138 (eval $ac_compile) 2>conftest.er1
92139 ac_status=$?
92140 grep -v '^ *+' conftest.er1 >conftest.err
92141 rm -f conftest.er1
92142 cat conftest.err >&5
92143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92144 (exit $ac_status); } &&
92145 { ac_try='test -z "$ac_c_werror_flag"
92146 || test ! -s conftest.err'
92147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92148 (eval $ac_try) 2>&5
92149 ac_status=$?
92150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92151 (exit $ac_status); }; } &&
92152 { ac_try='test -s conftest.$ac_objext'
92153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92154 (eval $ac_try) 2>&5
92155 ac_status=$?
92156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92157 (exit $ac_status); }; }; then
92158 has_wchar_minmax=yes
92159 else
92160 echo "$as_me: failed program was:" >&5
92161 sed 's/^/| /' conftest.$ac_ext >&5
92163 has_wchar_minmax=no
92165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92166 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92167 echo "${ECHO_T}$has_wchar_minmax" >&6
92169 # Test wchar.h for WEOF, which is what we use to determine whether
92170 # to specialize for char_traits<wchar_t> or not.
92171 echo "$as_me:$LINENO: checking for WEOF" >&5
92172 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92173 cat >conftest.$ac_ext <<_ACEOF
92174 /* confdefs.h. */
92175 _ACEOF
92176 cat confdefs.h >>conftest.$ac_ext
92177 cat >>conftest.$ac_ext <<_ACEOF
92178 /* end confdefs.h. */
92180 #include <wchar.h>
92181 #include <stddef.h>
92183 main ()
92185 wint_t i = WEOF;
92187 return 0;
92189 _ACEOF
92190 rm -f conftest.$ac_objext
92191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92192 (eval $ac_compile) 2>conftest.er1
92193 ac_status=$?
92194 grep -v '^ *+' conftest.er1 >conftest.err
92195 rm -f conftest.er1
92196 cat conftest.err >&5
92197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92198 (exit $ac_status); } &&
92199 { ac_try='test -z "$ac_c_werror_flag"
92200 || test ! -s conftest.err'
92201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92202 (eval $ac_try) 2>&5
92203 ac_status=$?
92204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92205 (exit $ac_status); }; } &&
92206 { ac_try='test -s conftest.$ac_objext'
92207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92208 (eval $ac_try) 2>&5
92209 ac_status=$?
92210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92211 (exit $ac_status); }; }; then
92212 has_weof=yes
92213 else
92214 echo "$as_me: failed program was:" >&5
92215 sed 's/^/| /' conftest.$ac_ext >&5
92217 has_weof=no
92219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92220 echo "$as_me:$LINENO: result: $has_weof" >&5
92221 echo "${ECHO_T}$has_weof" >&6
92223 # Tests for wide character functions used in char_traits<wchar_t>.
92224 ac_wfuncs=yes
92231 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92234 echo "$as_me:$LINENO: checking for $ac_func" >&5
92235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92236 if eval "test \"\${$as_ac_var+set}\" = set"; then
92237 echo $ECHO_N "(cached) $ECHO_C" >&6
92238 else
92239 if test x$gcc_no_link = xyes; then
92240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92242 { (exit 1); exit 1; }; }
92244 cat >conftest.$ac_ext <<_ACEOF
92245 /* confdefs.h. */
92246 _ACEOF
92247 cat confdefs.h >>conftest.$ac_ext
92248 cat >>conftest.$ac_ext <<_ACEOF
92249 /* end confdefs.h. */
92250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92252 #define $ac_func innocuous_$ac_func
92254 /* System header to define __stub macros and hopefully few prototypes,
92255 which can conflict with char $ac_func (); below.
92256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92257 <limits.h> exists even on freestanding compilers. */
92259 #ifdef __STDC__
92260 # include <limits.h>
92261 #else
92262 # include <assert.h>
92263 #endif
92265 #undef $ac_func
92267 /* Override any gcc2 internal prototype to avoid an error. */
92268 #ifdef __cplusplus
92269 extern "C"
92271 #endif
92272 /* We use char because int might match the return type of a gcc2
92273 builtin and then its argument prototype would still apply. */
92274 char $ac_func ();
92275 /* The GNU C library defines this for functions which it implements
92276 to always fail with ENOSYS. Some functions are actually named
92277 something starting with __ and the normal name is an alias. */
92278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92279 choke me
92280 #else
92281 char (*f) () = $ac_func;
92282 #endif
92283 #ifdef __cplusplus
92285 #endif
92288 main ()
92290 return f != $ac_func;
92292 return 0;
92294 _ACEOF
92295 rm -f conftest.$ac_objext conftest$ac_exeext
92296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92297 (eval $ac_link) 2>conftest.er1
92298 ac_status=$?
92299 grep -v '^ *+' conftest.er1 >conftest.err
92300 rm -f conftest.er1
92301 cat conftest.err >&5
92302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92303 (exit $ac_status); } &&
92304 { ac_try='test -z "$ac_c_werror_flag"
92305 || test ! -s conftest.err'
92306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92307 (eval $ac_try) 2>&5
92308 ac_status=$?
92309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92310 (exit $ac_status); }; } &&
92311 { ac_try='test -s conftest$ac_exeext'
92312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92313 (eval $ac_try) 2>&5
92314 ac_status=$?
92315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92316 (exit $ac_status); }; }; then
92317 eval "$as_ac_var=yes"
92318 else
92319 echo "$as_me: failed program was:" >&5
92320 sed 's/^/| /' conftest.$ac_ext >&5
92322 eval "$as_ac_var=no"
92324 rm -f conftest.err conftest.$ac_objext \
92325 conftest$ac_exeext conftest.$ac_ext
92327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92329 if test `eval echo '${'$as_ac_var'}'` = yes; then
92330 cat >>confdefs.h <<_ACEOF
92331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92332 _ACEOF
92334 else
92335 ac_wfuncs=no
92337 done
92340 # Checks for names injected into std:: by the c_std headers.
92387 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92388 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92389 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92390 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92391 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92392 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92395 echo "$as_me:$LINENO: checking for $ac_func" >&5
92396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92397 if eval "test \"\${$as_ac_var+set}\" = set"; then
92398 echo $ECHO_N "(cached) $ECHO_C" >&6
92399 else
92400 if test x$gcc_no_link = xyes; then
92401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92403 { (exit 1); exit 1; }; }
92405 cat >conftest.$ac_ext <<_ACEOF
92406 /* confdefs.h. */
92407 _ACEOF
92408 cat confdefs.h >>conftest.$ac_ext
92409 cat >>conftest.$ac_ext <<_ACEOF
92410 /* end confdefs.h. */
92411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92413 #define $ac_func innocuous_$ac_func
92415 /* System header to define __stub macros and hopefully few prototypes,
92416 which can conflict with char $ac_func (); below.
92417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92418 <limits.h> exists even on freestanding compilers. */
92420 #ifdef __STDC__
92421 # include <limits.h>
92422 #else
92423 # include <assert.h>
92424 #endif
92426 #undef $ac_func
92428 /* Override any gcc2 internal prototype to avoid an error. */
92429 #ifdef __cplusplus
92430 extern "C"
92432 #endif
92433 /* We use char because int might match the return type of a gcc2
92434 builtin and then its argument prototype would still apply. */
92435 char $ac_func ();
92436 /* The GNU C library defines this for functions which it implements
92437 to always fail with ENOSYS. Some functions are actually named
92438 something starting with __ and the normal name is an alias. */
92439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92440 choke me
92441 #else
92442 char (*f) () = $ac_func;
92443 #endif
92444 #ifdef __cplusplus
92446 #endif
92449 main ()
92451 return f != $ac_func;
92453 return 0;
92455 _ACEOF
92456 rm -f conftest.$ac_objext conftest$ac_exeext
92457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92458 (eval $ac_link) 2>conftest.er1
92459 ac_status=$?
92460 grep -v '^ *+' conftest.er1 >conftest.err
92461 rm -f conftest.er1
92462 cat conftest.err >&5
92463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92464 (exit $ac_status); } &&
92465 { ac_try='test -z "$ac_c_werror_flag"
92466 || test ! -s conftest.err'
92467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92468 (eval $ac_try) 2>&5
92469 ac_status=$?
92470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92471 (exit $ac_status); }; } &&
92472 { ac_try='test -s conftest$ac_exeext'
92473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92474 (eval $ac_try) 2>&5
92475 ac_status=$?
92476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92477 (exit $ac_status); }; }; then
92478 eval "$as_ac_var=yes"
92479 else
92480 echo "$as_me: failed program was:" >&5
92481 sed 's/^/| /' conftest.$ac_ext >&5
92483 eval "$as_ac_var=no"
92485 rm -f conftest.err conftest.$ac_objext \
92486 conftest$ac_exeext conftest.$ac_ext
92488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92490 if test `eval echo '${'$as_ac_var'}'` = yes; then
92491 cat >>confdefs.h <<_ACEOF
92492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92493 _ACEOF
92495 else
92496 ac_wfuncs=no
92498 done
92501 # Checks for wide character functions that are not required
92502 # for basic wchar_t support. Don't disable support if they are missing.
92503 # Injection of these is wrapped with guard macros.
92509 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92512 echo "$as_me:$LINENO: checking for $ac_func" >&5
92513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92514 if eval "test \"\${$as_ac_var+set}\" = set"; then
92515 echo $ECHO_N "(cached) $ECHO_C" >&6
92516 else
92517 if test x$gcc_no_link = xyes; then
92518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92520 { (exit 1); exit 1; }; }
92522 cat >conftest.$ac_ext <<_ACEOF
92523 /* confdefs.h. */
92524 _ACEOF
92525 cat confdefs.h >>conftest.$ac_ext
92526 cat >>conftest.$ac_ext <<_ACEOF
92527 /* end confdefs.h. */
92528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92530 #define $ac_func innocuous_$ac_func
92532 /* System header to define __stub macros and hopefully few prototypes,
92533 which can conflict with char $ac_func (); below.
92534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92535 <limits.h> exists even on freestanding compilers. */
92537 #ifdef __STDC__
92538 # include <limits.h>
92539 #else
92540 # include <assert.h>
92541 #endif
92543 #undef $ac_func
92545 /* Override any gcc2 internal prototype to avoid an error. */
92546 #ifdef __cplusplus
92547 extern "C"
92549 #endif
92550 /* We use char because int might match the return type of a gcc2
92551 builtin and then its argument prototype would still apply. */
92552 char $ac_func ();
92553 /* The GNU C library defines this for functions which it implements
92554 to always fail with ENOSYS. Some functions are actually named
92555 something starting with __ and the normal name is an alias. */
92556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92557 choke me
92558 #else
92559 char (*f) () = $ac_func;
92560 #endif
92561 #ifdef __cplusplus
92563 #endif
92566 main ()
92568 return f != $ac_func;
92570 return 0;
92572 _ACEOF
92573 rm -f conftest.$ac_objext conftest$ac_exeext
92574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92575 (eval $ac_link) 2>conftest.er1
92576 ac_status=$?
92577 grep -v '^ *+' conftest.er1 >conftest.err
92578 rm -f conftest.er1
92579 cat conftest.err >&5
92580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92581 (exit $ac_status); } &&
92582 { ac_try='test -z "$ac_c_werror_flag"
92583 || test ! -s conftest.err'
92584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92585 (eval $ac_try) 2>&5
92586 ac_status=$?
92587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92588 (exit $ac_status); }; } &&
92589 { ac_try='test -s conftest$ac_exeext'
92590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92591 (eval $ac_try) 2>&5
92592 ac_status=$?
92593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92594 (exit $ac_status); }; }; then
92595 eval "$as_ac_var=yes"
92596 else
92597 echo "$as_me: failed program was:" >&5
92598 sed 's/^/| /' conftest.$ac_ext >&5
92600 eval "$as_ac_var=no"
92602 rm -f conftest.err conftest.$ac_objext \
92603 conftest$ac_exeext conftest.$ac_ext
92605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92607 if test `eval echo '${'$as_ac_var'}'` = yes; then
92608 cat >>confdefs.h <<_ACEOF
92609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92610 _ACEOF
92613 done
92616 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
92617 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
92618 if test x"$has_weof" = xyes &&
92619 test x"$has_wchar_minmax" = xyes &&
92620 test x"$ac_wfuncs" = xyes;
92621 then
92622 ac_isoC99_wchar_t=yes
92623 else
92624 ac_isoC99_wchar_t=no
92626 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
92627 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
92629 # Use iconv for wchar_t to char conversions. As such, check for
92630 # X/Open Portability Guide, version 2 features (XPG2).
92631 if test "${ac_cv_header_iconv_h+set}" = set; then
92632 echo "$as_me:$LINENO: checking for iconv.h" >&5
92633 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92634 if test "${ac_cv_header_iconv_h+set}" = set; then
92635 echo $ECHO_N "(cached) $ECHO_C" >&6
92637 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92638 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92639 else
92640 # Is the header compilable?
92641 echo "$as_me:$LINENO: checking iconv.h usability" >&5
92642 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
92643 cat >conftest.$ac_ext <<_ACEOF
92644 /* confdefs.h. */
92645 _ACEOF
92646 cat confdefs.h >>conftest.$ac_ext
92647 cat >>conftest.$ac_ext <<_ACEOF
92648 /* end confdefs.h. */
92649 $ac_includes_default
92650 #include <iconv.h>
92651 _ACEOF
92652 rm -f conftest.$ac_objext
92653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92654 (eval $ac_compile) 2>conftest.er1
92655 ac_status=$?
92656 grep -v '^ *+' conftest.er1 >conftest.err
92657 rm -f conftest.er1
92658 cat conftest.err >&5
92659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92660 (exit $ac_status); } &&
92661 { ac_try='test -z "$ac_c_werror_flag"
92662 || test ! -s conftest.err'
92663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92664 (eval $ac_try) 2>&5
92665 ac_status=$?
92666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92667 (exit $ac_status); }; } &&
92668 { ac_try='test -s conftest.$ac_objext'
92669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92670 (eval $ac_try) 2>&5
92671 ac_status=$?
92672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92673 (exit $ac_status); }; }; then
92674 ac_header_compiler=yes
92675 else
92676 echo "$as_me: failed program was:" >&5
92677 sed 's/^/| /' conftest.$ac_ext >&5
92679 ac_header_compiler=no
92681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92683 echo "${ECHO_T}$ac_header_compiler" >&6
92685 # Is the header present?
92686 echo "$as_me:$LINENO: checking iconv.h presence" >&5
92687 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
92688 cat >conftest.$ac_ext <<_ACEOF
92689 /* confdefs.h. */
92690 _ACEOF
92691 cat confdefs.h >>conftest.$ac_ext
92692 cat >>conftest.$ac_ext <<_ACEOF
92693 /* end confdefs.h. */
92694 #include <iconv.h>
92695 _ACEOF
92696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92698 ac_status=$?
92699 grep -v '^ *+' conftest.er1 >conftest.err
92700 rm -f conftest.er1
92701 cat conftest.err >&5
92702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92703 (exit $ac_status); } >/dev/null; then
92704 if test -s conftest.err; then
92705 ac_cpp_err=$ac_c_preproc_warn_flag
92706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92707 else
92708 ac_cpp_err=
92710 else
92711 ac_cpp_err=yes
92713 if test -z "$ac_cpp_err"; then
92714 ac_header_preproc=yes
92715 else
92716 echo "$as_me: failed program was:" >&5
92717 sed 's/^/| /' conftest.$ac_ext >&5
92719 ac_header_preproc=no
92721 rm -f conftest.err conftest.$ac_ext
92722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92723 echo "${ECHO_T}$ac_header_preproc" >&6
92725 # So? What about this header?
92726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92727 yes:no: )
92728 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
92729 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92730 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
92731 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
92732 ac_header_preproc=yes
92734 no:yes:* )
92735 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
92736 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
92737 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
92738 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
92739 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
92740 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
92741 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
92742 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
92743 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
92744 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
92745 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
92746 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
92748 cat <<\_ASBOX
92749 ## ----------------------------------------- ##
92750 ## Report this to the package-unused lists. ##
92751 ## ----------------------------------------- ##
92752 _ASBOX
92754 sed "s/^/$as_me: WARNING: /" >&2
92756 esac
92757 echo "$as_me:$LINENO: checking for iconv.h" >&5
92758 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92759 if test "${ac_cv_header_iconv_h+set}" = set; then
92760 echo $ECHO_N "(cached) $ECHO_C" >&6
92761 else
92762 ac_cv_header_iconv_h=$ac_header_preproc
92764 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92765 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92768 if test $ac_cv_header_iconv_h = yes; then
92769 ac_has_iconv_h=yes
92770 else
92771 ac_has_iconv_h=no
92775 if test "${ac_cv_header_langinfo_h+set}" = set; then
92776 echo "$as_me:$LINENO: checking for langinfo.h" >&5
92777 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92778 if test "${ac_cv_header_langinfo_h+set}" = set; then
92779 echo $ECHO_N "(cached) $ECHO_C" >&6
92781 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92782 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92783 else
92784 # Is the header compilable?
92785 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
92786 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
92787 cat >conftest.$ac_ext <<_ACEOF
92788 /* confdefs.h. */
92789 _ACEOF
92790 cat confdefs.h >>conftest.$ac_ext
92791 cat >>conftest.$ac_ext <<_ACEOF
92792 /* end confdefs.h. */
92793 $ac_includes_default
92794 #include <langinfo.h>
92795 _ACEOF
92796 rm -f conftest.$ac_objext
92797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92798 (eval $ac_compile) 2>conftest.er1
92799 ac_status=$?
92800 grep -v '^ *+' conftest.er1 >conftest.err
92801 rm -f conftest.er1
92802 cat conftest.err >&5
92803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92804 (exit $ac_status); } &&
92805 { ac_try='test -z "$ac_c_werror_flag"
92806 || test ! -s conftest.err'
92807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92808 (eval $ac_try) 2>&5
92809 ac_status=$?
92810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92811 (exit $ac_status); }; } &&
92812 { ac_try='test -s conftest.$ac_objext'
92813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92814 (eval $ac_try) 2>&5
92815 ac_status=$?
92816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92817 (exit $ac_status); }; }; then
92818 ac_header_compiler=yes
92819 else
92820 echo "$as_me: failed program was:" >&5
92821 sed 's/^/| /' conftest.$ac_ext >&5
92823 ac_header_compiler=no
92825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92827 echo "${ECHO_T}$ac_header_compiler" >&6
92829 # Is the header present?
92830 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
92831 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
92832 cat >conftest.$ac_ext <<_ACEOF
92833 /* confdefs.h. */
92834 _ACEOF
92835 cat confdefs.h >>conftest.$ac_ext
92836 cat >>conftest.$ac_ext <<_ACEOF
92837 /* end confdefs.h. */
92838 #include <langinfo.h>
92839 _ACEOF
92840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92841 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92842 ac_status=$?
92843 grep -v '^ *+' conftest.er1 >conftest.err
92844 rm -f conftest.er1
92845 cat conftest.err >&5
92846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92847 (exit $ac_status); } >/dev/null; then
92848 if test -s conftest.err; then
92849 ac_cpp_err=$ac_c_preproc_warn_flag
92850 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92851 else
92852 ac_cpp_err=
92854 else
92855 ac_cpp_err=yes
92857 if test -z "$ac_cpp_err"; then
92858 ac_header_preproc=yes
92859 else
92860 echo "$as_me: failed program was:" >&5
92861 sed 's/^/| /' conftest.$ac_ext >&5
92863 ac_header_preproc=no
92865 rm -f conftest.err conftest.$ac_ext
92866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92867 echo "${ECHO_T}$ac_header_preproc" >&6
92869 # So? What about this header?
92870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92871 yes:no: )
92872 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
92873 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92874 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
92875 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
92876 ac_header_preproc=yes
92878 no:yes:* )
92879 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
92880 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
92881 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
92882 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
92883 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
92884 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
92885 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
92886 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
92887 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
92888 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
92889 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
92890 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
92892 cat <<\_ASBOX
92893 ## ----------------------------------------- ##
92894 ## Report this to the package-unused lists. ##
92895 ## ----------------------------------------- ##
92896 _ASBOX
92898 sed "s/^/$as_me: WARNING: /" >&2
92900 esac
92901 echo "$as_me:$LINENO: checking for langinfo.h" >&5
92902 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92903 if test "${ac_cv_header_langinfo_h+set}" = set; then
92904 echo $ECHO_N "(cached) $ECHO_C" >&6
92905 else
92906 ac_cv_header_langinfo_h=$ac_header_preproc
92908 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92909 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92912 if test $ac_cv_header_langinfo_h = yes; then
92913 ac_has_langinfo_h=yes
92914 else
92915 ac_has_langinfo_h=no
92920 # Check for existence of libiconv.a providing XPG2 wchar_t support.
92921 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
92922 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
92923 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
92924 echo $ECHO_N "(cached) $ECHO_C" >&6
92925 else
92926 ac_check_lib_save_LIBS=$LIBS
92927 LIBS="-liconv $LIBS"
92928 if test x$gcc_no_link = xyes; then
92929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92931 { (exit 1); exit 1; }; }
92933 cat >conftest.$ac_ext <<_ACEOF
92934 /* confdefs.h. */
92935 _ACEOF
92936 cat confdefs.h >>conftest.$ac_ext
92937 cat >>conftest.$ac_ext <<_ACEOF
92938 /* end confdefs.h. */
92940 /* Override any gcc2 internal prototype to avoid an error. */
92941 #ifdef __cplusplus
92942 extern "C"
92943 #endif
92944 /* We use char because int might match the return type of a gcc2
92945 builtin and then its argument prototype would still apply. */
92946 char iconv ();
92948 main ()
92950 iconv ();
92952 return 0;
92954 _ACEOF
92955 rm -f conftest.$ac_objext conftest$ac_exeext
92956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92957 (eval $ac_link) 2>conftest.er1
92958 ac_status=$?
92959 grep -v '^ *+' conftest.er1 >conftest.err
92960 rm -f conftest.er1
92961 cat conftest.err >&5
92962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92963 (exit $ac_status); } &&
92964 { ac_try='test -z "$ac_c_werror_flag"
92965 || test ! -s conftest.err'
92966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92967 (eval $ac_try) 2>&5
92968 ac_status=$?
92969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92970 (exit $ac_status); }; } &&
92971 { ac_try='test -s conftest$ac_exeext'
92972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92973 (eval $ac_try) 2>&5
92974 ac_status=$?
92975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92976 (exit $ac_status); }; }; then
92977 ac_cv_lib_iconv_iconv=yes
92978 else
92979 echo "$as_me: failed program was:" >&5
92980 sed 's/^/| /' conftest.$ac_ext >&5
92982 ac_cv_lib_iconv_iconv=no
92984 rm -f conftest.err conftest.$ac_objext \
92985 conftest$ac_exeext conftest.$ac_ext
92986 LIBS=$ac_check_lib_save_LIBS
92988 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
92989 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
92990 if test $ac_cv_lib_iconv_iconv = yes; then
92991 LIBICONV="-liconv"
92994 ac_save_LIBS="$LIBS"
92995 LIBS="$LIBS $LIBICONV"
93002 for ac_func in iconv_open iconv_close iconv nl_langinfo
93004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93005 echo "$as_me:$LINENO: checking for $ac_func" >&5
93006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93007 if eval "test \"\${$as_ac_var+set}\" = set"; then
93008 echo $ECHO_N "(cached) $ECHO_C" >&6
93009 else
93010 if test x$gcc_no_link = xyes; then
93011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93013 { (exit 1); exit 1; }; }
93015 cat >conftest.$ac_ext <<_ACEOF
93016 /* confdefs.h. */
93017 _ACEOF
93018 cat confdefs.h >>conftest.$ac_ext
93019 cat >>conftest.$ac_ext <<_ACEOF
93020 /* end confdefs.h. */
93021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93023 #define $ac_func innocuous_$ac_func
93025 /* System header to define __stub macros and hopefully few prototypes,
93026 which can conflict with char $ac_func (); below.
93027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93028 <limits.h> exists even on freestanding compilers. */
93030 #ifdef __STDC__
93031 # include <limits.h>
93032 #else
93033 # include <assert.h>
93034 #endif
93036 #undef $ac_func
93038 /* Override any gcc2 internal prototype to avoid an error. */
93039 #ifdef __cplusplus
93040 extern "C"
93042 #endif
93043 /* We use char because int might match the return type of a gcc2
93044 builtin and then its argument prototype would still apply. */
93045 char $ac_func ();
93046 /* The GNU C library defines this for functions which it implements
93047 to always fail with ENOSYS. Some functions are actually named
93048 something starting with __ and the normal name is an alias. */
93049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93050 choke me
93051 #else
93052 char (*f) () = $ac_func;
93053 #endif
93054 #ifdef __cplusplus
93056 #endif
93059 main ()
93061 return f != $ac_func;
93063 return 0;
93065 _ACEOF
93066 rm -f conftest.$ac_objext conftest$ac_exeext
93067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93068 (eval $ac_link) 2>conftest.er1
93069 ac_status=$?
93070 grep -v '^ *+' conftest.er1 >conftest.err
93071 rm -f conftest.er1
93072 cat conftest.err >&5
93073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93074 (exit $ac_status); } &&
93075 { ac_try='test -z "$ac_c_werror_flag"
93076 || test ! -s conftest.err'
93077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93078 (eval $ac_try) 2>&5
93079 ac_status=$?
93080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93081 (exit $ac_status); }; } &&
93082 { ac_try='test -s conftest$ac_exeext'
93083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93084 (eval $ac_try) 2>&5
93085 ac_status=$?
93086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93087 (exit $ac_status); }; }; then
93088 eval "$as_ac_var=yes"
93089 else
93090 echo "$as_me: failed program was:" >&5
93091 sed 's/^/| /' conftest.$ac_ext >&5
93093 eval "$as_ac_var=no"
93095 rm -f conftest.err conftest.$ac_objext \
93096 conftest$ac_exeext conftest.$ac_ext
93098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93100 if test `eval echo '${'$as_ac_var'}'` = yes; then
93101 cat >>confdefs.h <<_ACEOF
93102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93103 _ACEOF
93104 ac_XPG2funcs=yes
93105 else
93106 ac_XPG2funcs=no
93108 done
93111 LIBS="$ac_save_LIBS"
93113 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93114 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93115 if test x"$ac_has_iconv_h" = xyes &&
93116 test x"$ac_has_langinfo_h" = xyes &&
93117 test x"$ac_XPG2funcs" = xyes;
93118 then
93119 ac_XPG2_wchar_t=yes
93120 else
93121 ac_XPG2_wchar_t=no
93123 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93124 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93126 # At the moment, only enable wchar_t specializations if all the
93127 # above support is present.
93128 if test x"$ac_isoC99_wchar_t" = xyes &&
93129 test x"$ac_XPG2_wchar_t" = xyes;
93130 then
93131 cat >>confdefs.h <<\_ACEOF
93132 #define _GLIBCXX_USE_WCHAR_T 1
93133 _ACEOF
93135 enable_wchar_t=yes
93138 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93139 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93140 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93141 echo "${ECHO_T}$enable_wchar_t" >&6
93143 cat >>confdefs.h <<\_ACEOF
93144 #define HAVE_COPYSIGN 1
93145 _ACEOF
93147 cat >>confdefs.h <<\_ACEOF
93148 #define HAVE_COPYSIGNF 1
93149 _ACEOF
93151 cat >>confdefs.h <<\_ACEOF
93152 #define HAVE_FINITE 1
93153 _ACEOF
93155 cat >>confdefs.h <<\_ACEOF
93156 #define HAVE_FINITEF 1
93157 _ACEOF
93159 cat >>confdefs.h <<\_ACEOF
93160 #define HAVE_FREXPF 1
93161 _ACEOF
93163 cat >>confdefs.h <<\_ACEOF
93164 #define HAVE_HYPOTF 1
93165 _ACEOF
93167 cat >>confdefs.h <<\_ACEOF
93168 #define HAVE_ISINF 1
93169 _ACEOF
93171 cat >>confdefs.h <<\_ACEOF
93172 #define HAVE_ISINFF 1
93173 _ACEOF
93175 cat >>confdefs.h <<\_ACEOF
93176 #define HAVE_ISNAN 1
93177 _ACEOF
93179 cat >>confdefs.h <<\_ACEOF
93180 #define HAVE_ISNANF 1
93181 _ACEOF
93183 cat >>confdefs.h <<\_ACEOF
93184 #define HAVE_SINCOS 1
93185 _ACEOF
93187 cat >>confdefs.h <<\_ACEOF
93188 #define HAVE_SINCOSF 1
93189 _ACEOF
93191 if test x"long_double_math_on_this_cpu" = x"yes"; then
93192 cat >>confdefs.h <<\_ACEOF
93193 #define HAVE_FINITEL 1
93194 _ACEOF
93196 cat >>confdefs.h <<\_ACEOF
93197 #define HAVE_HYPOTL 1
93198 _ACEOF
93200 cat >>confdefs.h <<\_ACEOF
93201 #define HAVE_ISINFL 1
93202 _ACEOF
93204 cat >>confdefs.h <<\_ACEOF
93205 #define HAVE_ISNANL 1
93206 _ACEOF
93210 *-vxworks)
93211 cat >>confdefs.h <<\_ACEOF
93212 #define HAVE_MMAP 1
93213 _ACEOF
93215 cat >>confdefs.h <<\_ACEOF
93216 #define HAVE_ACOSF 1
93217 _ACEOF
93219 cat >>confdefs.h <<\_ACEOF
93220 #define HAVE_ASINF 1
93221 _ACEOF
93223 cat >>confdefs.h <<\_ACEOF
93224 #define HAVE_ATAN2F 1
93225 _ACEOF
93227 cat >>confdefs.h <<\_ACEOF
93228 #define HAVE_ATANF 1
93229 _ACEOF
93231 cat >>confdefs.h <<\_ACEOF
93232 #define HAVE_CEILF 1
93233 _ACEOF
93235 cat >>confdefs.h <<\_ACEOF
93236 #define HAVE_COSF 1
93237 _ACEOF
93239 cat >>confdefs.h <<\_ACEOF
93240 #define HAVE_COSHF 1
93241 _ACEOF
93243 cat >>confdefs.h <<\_ACEOF
93244 #define HAVE_EXPF 1
93245 _ACEOF
93247 cat >>confdefs.h <<\_ACEOF
93248 #define HAVE_FABSF 1
93249 _ACEOF
93251 cat >>confdefs.h <<\_ACEOF
93252 #define HAVE_FLOORF 1
93253 _ACEOF
93255 cat >>confdefs.h <<\_ACEOF
93256 #define HAVE_FMODF 1
93257 _ACEOF
93259 cat >>confdefs.h <<\_ACEOF
93260 #define HAVE_HYPOT 1
93261 _ACEOF
93263 cat >>confdefs.h <<\_ACEOF
93264 #define HAVE_LOG10F 1
93265 _ACEOF
93267 cat >>confdefs.h <<\_ACEOF
93268 #define HAVE_LOGF 1
93269 _ACEOF
93271 cat >>confdefs.h <<\_ACEOF
93272 #define HAVE_POWF 1
93273 _ACEOF
93275 cat >>confdefs.h <<\_ACEOF
93276 #define HAVE_SINF 1
93277 _ACEOF
93279 cat >>confdefs.h <<\_ACEOF
93280 #define HAVE_SINHF 1
93281 _ACEOF
93283 cat >>confdefs.h <<\_ACEOF
93284 #define HAVE_SQRTF 1
93285 _ACEOF
93287 cat >>confdefs.h <<\_ACEOF
93288 #define HAVE_TANF 1
93289 _ACEOF
93291 cat >>confdefs.h <<\_ACEOF
93292 #define HAVE_TANHF 1
93293 _ACEOF
93296 *-windiss*)
93297 cat >>confdefs.h <<\_ACEOF
93298 #define HAVE_ACOSF 1
93299 _ACEOF
93301 cat >>confdefs.h <<\_ACEOF
93302 #define HAVE_ACOSL 1
93303 _ACEOF
93305 cat >>confdefs.h <<\_ACEOF
93306 #define HAVE_ASINF 1
93307 _ACEOF
93309 cat >>confdefs.h <<\_ACEOF
93310 #define HAVE_ASINL 1
93311 _ACEOF
93313 cat >>confdefs.h <<\_ACEOF
93314 #define HAVE_ATAN2F 1
93315 _ACEOF
93317 cat >>confdefs.h <<\_ACEOF
93318 #define HAVE_ATAN2L 1
93319 _ACEOF
93321 cat >>confdefs.h <<\_ACEOF
93322 #define HAVE_ATANF 1
93323 _ACEOF
93325 cat >>confdefs.h <<\_ACEOF
93326 #define HAVE_ATANL 1
93327 _ACEOF
93329 cat >>confdefs.h <<\_ACEOF
93330 #define HAVE_CEILF 1
93331 _ACEOF
93333 cat >>confdefs.h <<\_ACEOF
93334 #define HAVE_CEILL 1
93335 _ACEOF
93337 cat >>confdefs.h <<\_ACEOF
93338 #define HAVE_COPYSIGN 1
93339 _ACEOF
93341 cat >>confdefs.h <<\_ACEOF
93342 #define HAVE_COPYSIGNF 1
93343 _ACEOF
93345 cat >>confdefs.h <<\_ACEOF
93346 #define HAVE_COSF 1
93347 _ACEOF
93349 cat >>confdefs.h <<\_ACEOF
93350 #define HAVE_COSL 1
93351 _ACEOF
93353 cat >>confdefs.h <<\_ACEOF
93354 #define HAVE_COSHF 1
93355 _ACEOF
93357 cat >>confdefs.h <<\_ACEOF
93358 #define HAVE_COSHL 1
93359 _ACEOF
93361 cat >>confdefs.h <<\_ACEOF
93362 #define HAVE_EXPF 1
93363 _ACEOF
93365 cat >>confdefs.h <<\_ACEOF
93366 #define HAVE_EXPL 1
93367 _ACEOF
93369 cat >>confdefs.h <<\_ACEOF
93370 #define HAVE_FABSF 1
93371 _ACEOF
93373 cat >>confdefs.h <<\_ACEOF
93374 #define HAVE_FABSL 1
93375 _ACEOF
93377 cat >>confdefs.h <<\_ACEOF
93378 #define HAVE_FLOORF 1
93379 _ACEOF
93381 cat >>confdefs.h <<\_ACEOF
93382 #define HAVE_FLOORL 1
93383 _ACEOF
93385 cat >>confdefs.h <<\_ACEOF
93386 #define HAVE_FMODF 1
93387 _ACEOF
93389 cat >>confdefs.h <<\_ACEOF
93390 #define HAVE_FMODL 1
93391 _ACEOF
93393 cat >>confdefs.h <<\_ACEOF
93394 #define HAVE_FREXPF 1
93395 _ACEOF
93397 cat >>confdefs.h <<\_ACEOF
93398 #define HAVE_FREXPL 1
93399 _ACEOF
93401 cat >>confdefs.h <<\_ACEOF
93402 #define HAVE_LDEXPF 1
93403 _ACEOF
93405 cat >>confdefs.h <<\_ACEOF
93406 #define HAVE_LDEXPL 1
93407 _ACEOF
93409 cat >>confdefs.h <<\_ACEOF
93410 #define HAVE_LOG10F 1
93411 _ACEOF
93413 cat >>confdefs.h <<\_ACEOF
93414 #define HAVE_LOG10L 1
93415 _ACEOF
93417 cat >>confdefs.h <<\_ACEOF
93418 #define HAVE_LOGF 1
93419 _ACEOF
93421 cat >>confdefs.h <<\_ACEOF
93422 #define HAVE_MODFF 1
93423 _ACEOF
93425 cat >>confdefs.h <<\_ACEOF
93426 #define HAVE_MODFL 1
93427 _ACEOF
93429 cat >>confdefs.h <<\_ACEOF
93430 #define HAVE_POWF 1
93431 _ACEOF
93433 cat >>confdefs.h <<\_ACEOF
93434 #define HAVE_POWL 1
93435 _ACEOF
93437 cat >>confdefs.h <<\_ACEOF
93438 #define HAVE_SINF 1
93439 _ACEOF
93441 cat >>confdefs.h <<\_ACEOF
93442 #define HAVE_SINL 1
93443 _ACEOF
93445 cat >>confdefs.h <<\_ACEOF
93446 #define HAVE_SINHF 1
93447 _ACEOF
93449 cat >>confdefs.h <<\_ACEOF
93450 #define HAVE_SINHL 1
93451 _ACEOF
93453 cat >>confdefs.h <<\_ACEOF
93454 #define HAVE_SQRTF 1
93455 _ACEOF
93457 cat >>confdefs.h <<\_ACEOF
93458 #define HAVE_SQRTL 1
93459 _ACEOF
93461 cat >>confdefs.h <<\_ACEOF
93462 #define HAVE_TANF 1
93463 _ACEOF
93465 cat >>confdefs.h <<\_ACEOF
93466 #define HAVE_TANL 1
93467 _ACEOF
93469 cat >>confdefs.h <<\_ACEOF
93470 #define HAVE_TANHF 1
93471 _ACEOF
93473 cat >>confdefs.h <<\_ACEOF
93474 #define HAVE_TANHL 1
93475 _ACEOF
93479 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
93480 echo "$as_me: error: No support for this host/target combination." >&2;}
93481 { (exit 1); exit 1; }; }
93483 esac
93488 # At some point, we should differentiate between architectures
93489 # like x86, which have long double versions, and alpha/powerpc/etc.,
93490 # which don't. For the time being, punt.
93491 if test x"long_double_math_on_this_cpu" = x"yes"; then
93492 cat >>confdefs.h <<\_ACEOF
93493 #define HAVE_ACOSL 1
93494 _ACEOF
93496 cat >>confdefs.h <<\_ACEOF
93497 #define HAVE_ASINL 1
93498 _ACEOF
93500 cat >>confdefs.h <<\_ACEOF
93501 #define HAVE_ATAN2L 1
93502 _ACEOF
93504 cat >>confdefs.h <<\_ACEOF
93505 #define HAVE_ATANL 1
93506 _ACEOF
93508 cat >>confdefs.h <<\_ACEOF
93509 #define HAVE_CEILL 1
93510 _ACEOF
93512 cat >>confdefs.h <<\_ACEOF
93513 #define HAVE_COPYSIGNL 1
93514 _ACEOF
93516 cat >>confdefs.h <<\_ACEOF
93517 #define HAVE_COSL 1
93518 _ACEOF
93520 cat >>confdefs.h <<\_ACEOF
93521 #define HAVE_COSHL 1
93522 _ACEOF
93524 cat >>confdefs.h <<\_ACEOF
93525 #define HAVE_EXPL 1
93526 _ACEOF
93528 cat >>confdefs.h <<\_ACEOF
93529 #define HAVE_FABSL 1
93530 _ACEOF
93532 cat >>confdefs.h <<\_ACEOF
93533 #define HAVE_FLOORL 1
93534 _ACEOF
93536 cat >>confdefs.h <<\_ACEOF
93537 #define HAVE_FMODL 1
93538 _ACEOF
93540 cat >>confdefs.h <<\_ACEOF
93541 #define HAVE_FREXPL 1
93542 _ACEOF
93544 cat >>confdefs.h <<\_ACEOF
93545 #define HAVE_LDEXPL 1
93546 _ACEOF
93548 cat >>confdefs.h <<\_ACEOF
93549 #define HAVE_LOG10L 1
93550 _ACEOF
93552 cat >>confdefs.h <<\_ACEOF
93553 #define HAVE_LOGL 1
93554 _ACEOF
93556 cat >>confdefs.h <<\_ACEOF
93557 #define HAVE_MODFL 1
93558 _ACEOF
93560 cat >>confdefs.h <<\_ACEOF
93561 #define HAVE_POWL 1
93562 _ACEOF
93564 cat >>confdefs.h <<\_ACEOF
93565 #define HAVE_SINCOSL 1
93566 _ACEOF
93568 cat >>confdefs.h <<\_ACEOF
93569 #define HAVE_SINL 1
93570 _ACEOF
93572 cat >>confdefs.h <<\_ACEOF
93573 #define HAVE_SINHL 1
93574 _ACEOF
93576 cat >>confdefs.h <<\_ACEOF
93577 #define HAVE_SQRTL 1
93578 _ACEOF
93580 cat >>confdefs.h <<\_ACEOF
93581 #define HAVE_TANL 1
93582 _ACEOF
93584 cat >>confdefs.h <<\_ACEOF
93585 #define HAVE_TANHL 1
93586 _ACEOF
93592 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
93595 # Check whether --enable-symvers or --disable-symvers was given.
93596 if test "${enable_symvers+set}" = set; then
93597 enableval="$enable_symvers"
93599 case "$enableval" in
93600 yes|no|gnu) ;;
93601 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
93602 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
93603 { (exit 1); exit 1; }; } ;;
93604 esac
93606 else
93607 enable_symvers=yes
93611 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
93612 # don't know enough about $LD to do tricks...
93614 # FIXME The following test is too strict, in theory.
93615 if test $enable_shared = no ||
93616 test "x$LD" = x ||
93617 test x$glibcxx_gnu_ld_version = x; then
93618 enable_symvers=no
93621 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
93622 if test $enable_symvers != no; then
93623 echo "$as_me:$LINENO: checking for shared libgcc" >&5
93624 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
93625 ac_save_CFLAGS="$CFLAGS"
93626 CFLAGS=' -lgcc_s'
93627 if test x$gcc_no_link = xyes; then
93628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93630 { (exit 1); exit 1; }; }
93632 cat >conftest.$ac_ext <<_ACEOF
93633 /* confdefs.h. */
93634 _ACEOF
93635 cat confdefs.h >>conftest.$ac_ext
93636 cat >>conftest.$ac_ext <<_ACEOF
93637 /* end confdefs.h. */
93640 main ()
93642 return 0;
93644 return 0;
93646 _ACEOF
93647 rm -f conftest.$ac_objext conftest$ac_exeext
93648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93649 (eval $ac_link) 2>conftest.er1
93650 ac_status=$?
93651 grep -v '^ *+' conftest.er1 >conftest.err
93652 rm -f conftest.er1
93653 cat conftest.err >&5
93654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93655 (exit $ac_status); } &&
93656 { ac_try='test -z "$ac_c_werror_flag"
93657 || test ! -s conftest.err'
93658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93659 (eval $ac_try) 2>&5
93660 ac_status=$?
93661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93662 (exit $ac_status); }; } &&
93663 { ac_try='test -s conftest$ac_exeext'
93664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93665 (eval $ac_try) 2>&5
93666 ac_status=$?
93667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93668 (exit $ac_status); }; }; then
93669 glibcxx_shared_libgcc=yes
93670 else
93671 echo "$as_me: failed program was:" >&5
93672 sed 's/^/| /' conftest.$ac_ext >&5
93674 glibcxx_shared_libgcc=no
93676 rm -f conftest.err conftest.$ac_objext \
93677 conftest$ac_exeext conftest.$ac_ext
93678 CFLAGS="$ac_save_CFLAGS"
93679 if test $glibcxx_shared_libgcc = no; then
93680 cat > conftest.c <<EOF
93681 int main (void) { return 0; }
93683 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
93684 -shared -shared-libgcc -o conftest.so \
93685 conftest.c -v 2>&1 >/dev/null \
93686 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
93687 rm -f conftest.c conftest.so
93688 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
93689 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
93690 if test x$gcc_no_link = xyes; then
93691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93693 { (exit 1); exit 1; }; }
93695 cat >conftest.$ac_ext <<_ACEOF
93696 /* confdefs.h. */
93697 _ACEOF
93698 cat confdefs.h >>conftest.$ac_ext
93699 cat >>conftest.$ac_ext <<_ACEOF
93700 /* end confdefs.h. */
93703 main ()
93705 return 0;
93707 return 0;
93709 _ACEOF
93710 rm -f conftest.$ac_objext conftest$ac_exeext
93711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93712 (eval $ac_link) 2>conftest.er1
93713 ac_status=$?
93714 grep -v '^ *+' conftest.er1 >conftest.err
93715 rm -f conftest.er1
93716 cat conftest.err >&5
93717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93718 (exit $ac_status); } &&
93719 { ac_try='test -z "$ac_c_werror_flag"
93720 || test ! -s conftest.err'
93721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93722 (eval $ac_try) 2>&5
93723 ac_status=$?
93724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93725 (exit $ac_status); }; } &&
93726 { ac_try='test -s conftest$ac_exeext'
93727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93728 (eval $ac_try) 2>&5
93729 ac_status=$?
93730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93731 (exit $ac_status); }; }; then
93732 glibcxx_shared_libgcc=yes
93733 else
93734 echo "$as_me: failed program was:" >&5
93735 sed 's/^/| /' conftest.$ac_ext >&5
93738 rm -f conftest.err conftest.$ac_objext \
93739 conftest$ac_exeext conftest.$ac_ext
93740 CFLAGS="$ac_save_CFLAGS"
93743 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
93744 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
93747 # For GNU ld, we need at least this version. The format is described in
93748 # GLIBCXX_CHECK_LINKER_FEATURES above.
93749 glibcxx_min_gnu_ld_version=21400
93750 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
93752 # Check to see if unspecified "yes" value can win, given results above.
93753 # Change "yes" into either "no" or a style name.
93754 if test $enable_symvers = yes; then
93755 if test $with_gnu_ld = yes &&
93756 test $glibcxx_shared_libgcc = yes;
93757 then
93758 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
93759 enable_symvers=gnu
93760 else
93761 # The right tools, the right setup, but too old. Fallbacks?
93762 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
93763 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
93764 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
93765 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
93766 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
93767 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
93768 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
93769 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
93770 if test $glibcxx_gnu_ld_version -ge 21200 ; then
93771 # Globbing fix is present, proper block support is not.
93772 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93773 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93774 enable_symvers=no
93775 else
93776 # 2.11 or older.
93777 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93778 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93779 enable_symvers=no
93782 else
93783 # just fail for now
93784 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
93785 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
93786 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
93787 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
93788 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
93789 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
93790 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93791 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93792 enable_symvers=no
93796 # Everything parsed; figure out what file to use.
93797 case $enable_symvers in
93799 SYMVER_MAP=config/linker-map.dummy
93801 gnu)
93802 SYMVER_MAP=config/linker-map.gnu
93803 cat >>confdefs.h <<\_ACEOF
93804 #define _GLIBCXX_SYMVER 1
93805 _ACEOF
93808 esac
93813 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
93814 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
93817 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
93819 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
93820 # Do checks for resource limit functions.
93822 setrlimit_have_headers=yes
93826 for ac_header in unistd.h sys/time.h sys/resource.h
93828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93830 echo "$as_me:$LINENO: checking for $ac_header" >&5
93831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93833 echo $ECHO_N "(cached) $ECHO_C" >&6
93835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93837 else
93838 # Is the header compilable?
93839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93841 cat >conftest.$ac_ext <<_ACEOF
93842 /* confdefs.h. */
93843 _ACEOF
93844 cat confdefs.h >>conftest.$ac_ext
93845 cat >>conftest.$ac_ext <<_ACEOF
93846 /* end confdefs.h. */
93847 $ac_includes_default
93848 #include <$ac_header>
93849 _ACEOF
93850 rm -f conftest.$ac_objext
93851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93852 (eval $ac_compile) 2>conftest.er1
93853 ac_status=$?
93854 grep -v '^ *+' conftest.er1 >conftest.err
93855 rm -f conftest.er1
93856 cat conftest.err >&5
93857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93858 (exit $ac_status); } &&
93859 { ac_try='test -z "$ac_c_werror_flag"
93860 || test ! -s conftest.err'
93861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93862 (eval $ac_try) 2>&5
93863 ac_status=$?
93864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93865 (exit $ac_status); }; } &&
93866 { ac_try='test -s conftest.$ac_objext'
93867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93868 (eval $ac_try) 2>&5
93869 ac_status=$?
93870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93871 (exit $ac_status); }; }; then
93872 ac_header_compiler=yes
93873 else
93874 echo "$as_me: failed program was:" >&5
93875 sed 's/^/| /' conftest.$ac_ext >&5
93877 ac_header_compiler=no
93879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93881 echo "${ECHO_T}$ac_header_compiler" >&6
93883 # Is the header present?
93884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93886 cat >conftest.$ac_ext <<_ACEOF
93887 /* confdefs.h. */
93888 _ACEOF
93889 cat confdefs.h >>conftest.$ac_ext
93890 cat >>conftest.$ac_ext <<_ACEOF
93891 /* end confdefs.h. */
93892 #include <$ac_header>
93893 _ACEOF
93894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93896 ac_status=$?
93897 grep -v '^ *+' conftest.er1 >conftest.err
93898 rm -f conftest.er1
93899 cat conftest.err >&5
93900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93901 (exit $ac_status); } >/dev/null; then
93902 if test -s conftest.err; then
93903 ac_cpp_err=$ac_c_preproc_warn_flag
93904 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93905 else
93906 ac_cpp_err=
93908 else
93909 ac_cpp_err=yes
93911 if test -z "$ac_cpp_err"; then
93912 ac_header_preproc=yes
93913 else
93914 echo "$as_me: failed program was:" >&5
93915 sed 's/^/| /' conftest.$ac_ext >&5
93917 ac_header_preproc=no
93919 rm -f conftest.err conftest.$ac_ext
93920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93921 echo "${ECHO_T}$ac_header_preproc" >&6
93923 # So? What about this header?
93924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93925 yes:no: )
93926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93930 ac_header_preproc=yes
93932 no:yes:* )
93933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93936 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93937 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93939 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93940 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93943 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93946 cat <<\_ASBOX
93947 ## ----------------------------------------- ##
93948 ## Report this to the package-unused lists. ##
93949 ## ----------------------------------------- ##
93950 _ASBOX
93952 sed "s/^/$as_me: WARNING: /" >&2
93954 esac
93955 echo "$as_me:$LINENO: checking for $ac_header" >&5
93956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93958 echo $ECHO_N "(cached) $ECHO_C" >&6
93959 else
93960 eval "$as_ac_Header=\$ac_header_preproc"
93962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93967 cat >>confdefs.h <<_ACEOF
93968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93969 _ACEOF
93971 else
93972 setrlimit_have_headers=no
93975 done
93977 # If don't have the headers, then we can't run the tests now, and we
93978 # won't be seeing any of these during testsuite compilation.
93979 if test $setrlimit_have_headers = yes; then
93980 # Can't do these in a loop, else the resulting syntax is wrong.
93982 cat >conftest.$ac_ext <<_ACEOF
93983 /* confdefs.h. */
93984 _ACEOF
93985 cat confdefs.h >>conftest.$ac_ext
93986 cat >>conftest.$ac_ext <<_ACEOF
93987 /* end confdefs.h. */
93988 #include <unistd.h>
93989 #include <sys/time.h>
93990 #include <sys/resource.h>
93993 main ()
93995 int f = RLIMIT_DATA ;
93997 return 0;
93999 _ACEOF
94000 rm -f conftest.$ac_objext
94001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94002 (eval $ac_compile) 2>conftest.er1
94003 ac_status=$?
94004 grep -v '^ *+' conftest.er1 >conftest.err
94005 rm -f conftest.er1
94006 cat conftest.err >&5
94007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94008 (exit $ac_status); } &&
94009 { ac_try='test -z "$ac_c_werror_flag"
94010 || test ! -s conftest.err'
94011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94012 (eval $ac_try) 2>&5
94013 ac_status=$?
94014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94015 (exit $ac_status); }; } &&
94016 { ac_try='test -s conftest.$ac_objext'
94017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94018 (eval $ac_try) 2>&5
94019 ac_status=$?
94020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94021 (exit $ac_status); }; }; then
94022 glibcxx_mresult=1
94023 else
94024 echo "$as_me: failed program was:" >&5
94025 sed 's/^/| /' conftest.$ac_ext >&5
94027 glibcxx_mresult=0
94029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94031 cat >>confdefs.h <<_ACEOF
94032 #define HAVE_LIMIT_DATA $glibcxx_mresult
94033 _ACEOF
94037 cat >conftest.$ac_ext <<_ACEOF
94038 /* confdefs.h. */
94039 _ACEOF
94040 cat confdefs.h >>conftest.$ac_ext
94041 cat >>conftest.$ac_ext <<_ACEOF
94042 /* end confdefs.h. */
94043 #include <unistd.h>
94044 #include <sys/time.h>
94045 #include <sys/resource.h>
94048 main ()
94050 int f = RLIMIT_RSS ;
94052 return 0;
94054 _ACEOF
94055 rm -f conftest.$ac_objext
94056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94057 (eval $ac_compile) 2>conftest.er1
94058 ac_status=$?
94059 grep -v '^ *+' conftest.er1 >conftest.err
94060 rm -f conftest.er1
94061 cat conftest.err >&5
94062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94063 (exit $ac_status); } &&
94064 { ac_try='test -z "$ac_c_werror_flag"
94065 || test ! -s conftest.err'
94066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94067 (eval $ac_try) 2>&5
94068 ac_status=$?
94069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94070 (exit $ac_status); }; } &&
94071 { ac_try='test -s conftest.$ac_objext'
94072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94073 (eval $ac_try) 2>&5
94074 ac_status=$?
94075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94076 (exit $ac_status); }; }; then
94077 glibcxx_mresult=1
94078 else
94079 echo "$as_me: failed program was:" >&5
94080 sed 's/^/| /' conftest.$ac_ext >&5
94082 glibcxx_mresult=0
94084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94086 cat >>confdefs.h <<_ACEOF
94087 #define HAVE_LIMIT_RSS $glibcxx_mresult
94088 _ACEOF
94092 cat >conftest.$ac_ext <<_ACEOF
94093 /* confdefs.h. */
94094 _ACEOF
94095 cat confdefs.h >>conftest.$ac_ext
94096 cat >>conftest.$ac_ext <<_ACEOF
94097 /* end confdefs.h. */
94098 #include <unistd.h>
94099 #include <sys/time.h>
94100 #include <sys/resource.h>
94103 main ()
94105 int f = RLIMIT_VMEM ;
94107 return 0;
94109 _ACEOF
94110 rm -f conftest.$ac_objext
94111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94112 (eval $ac_compile) 2>conftest.er1
94113 ac_status=$?
94114 grep -v '^ *+' conftest.er1 >conftest.err
94115 rm -f conftest.er1
94116 cat conftest.err >&5
94117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94118 (exit $ac_status); } &&
94119 { ac_try='test -z "$ac_c_werror_flag"
94120 || test ! -s conftest.err'
94121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94122 (eval $ac_try) 2>&5
94123 ac_status=$?
94124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94125 (exit $ac_status); }; } &&
94126 { ac_try='test -s conftest.$ac_objext'
94127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94128 (eval $ac_try) 2>&5
94129 ac_status=$?
94130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94131 (exit $ac_status); }; }; then
94132 glibcxx_mresult=1
94133 else
94134 echo "$as_me: failed program was:" >&5
94135 sed 's/^/| /' conftest.$ac_ext >&5
94137 glibcxx_mresult=0
94139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94141 cat >>confdefs.h <<_ACEOF
94142 #define HAVE_LIMIT_VMEM $glibcxx_mresult
94143 _ACEOF
94147 cat >conftest.$ac_ext <<_ACEOF
94148 /* confdefs.h. */
94149 _ACEOF
94150 cat confdefs.h >>conftest.$ac_ext
94151 cat >>conftest.$ac_ext <<_ACEOF
94152 /* end confdefs.h. */
94153 #include <unistd.h>
94154 #include <sys/time.h>
94155 #include <sys/resource.h>
94158 main ()
94160 int f = RLIMIT_AS ;
94162 return 0;
94164 _ACEOF
94165 rm -f conftest.$ac_objext
94166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94167 (eval $ac_compile) 2>conftest.er1
94168 ac_status=$?
94169 grep -v '^ *+' conftest.er1 >conftest.err
94170 rm -f conftest.er1
94171 cat conftest.err >&5
94172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94173 (exit $ac_status); } &&
94174 { ac_try='test -z "$ac_c_werror_flag"
94175 || test ! -s conftest.err'
94176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94177 (eval $ac_try) 2>&5
94178 ac_status=$?
94179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94180 (exit $ac_status); }; } &&
94181 { ac_try='test -s conftest.$ac_objext'
94182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94183 (eval $ac_try) 2>&5
94184 ac_status=$?
94185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94186 (exit $ac_status); }; }; then
94187 glibcxx_mresult=1
94188 else
94189 echo "$as_me: failed program was:" >&5
94190 sed 's/^/| /' conftest.$ac_ext >&5
94192 glibcxx_mresult=0
94194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94196 cat >>confdefs.h <<_ACEOF
94197 #define HAVE_LIMIT_AS $glibcxx_mresult
94198 _ACEOF
94202 cat >conftest.$ac_ext <<_ACEOF
94203 /* confdefs.h. */
94204 _ACEOF
94205 cat confdefs.h >>conftest.$ac_ext
94206 cat >>conftest.$ac_ext <<_ACEOF
94207 /* end confdefs.h. */
94208 #include <unistd.h>
94209 #include <sys/time.h>
94210 #include <sys/resource.h>
94213 main ()
94215 int f = RLIMIT_FSIZE ;
94217 return 0;
94219 _ACEOF
94220 rm -f conftest.$ac_objext
94221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94222 (eval $ac_compile) 2>conftest.er1
94223 ac_status=$?
94224 grep -v '^ *+' conftest.er1 >conftest.err
94225 rm -f conftest.er1
94226 cat conftest.err >&5
94227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94228 (exit $ac_status); } &&
94229 { ac_try='test -z "$ac_c_werror_flag"
94230 || test ! -s conftest.err'
94231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94232 (eval $ac_try) 2>&5
94233 ac_status=$?
94234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94235 (exit $ac_status); }; } &&
94236 { ac_try='test -s conftest.$ac_objext'
94237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94238 (eval $ac_try) 2>&5
94239 ac_status=$?
94240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94241 (exit $ac_status); }; }; then
94242 glibcxx_mresult=1
94243 else
94244 echo "$as_me: failed program was:" >&5
94245 sed 's/^/| /' conftest.$ac_ext >&5
94247 glibcxx_mresult=0
94249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94251 cat >>confdefs.h <<_ACEOF
94252 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
94253 _ACEOF
94257 # Check for rlimit, setrlimit.
94258 if test "${ac_setrlimit+set}" = set; then
94259 echo $ECHO_N "(cached) $ECHO_C" >&6
94260 else
94262 cat >conftest.$ac_ext <<_ACEOF
94263 /* confdefs.h. */
94264 _ACEOF
94265 cat confdefs.h >>conftest.$ac_ext
94266 cat >>conftest.$ac_ext <<_ACEOF
94267 /* end confdefs.h. */
94268 #include <unistd.h>
94269 #include <sys/time.h>
94270 #include <sys/resource.h>
94273 main ()
94275 struct rlimit r;
94276 setrlimit(0, &r);
94278 return 0;
94280 _ACEOF
94281 rm -f conftest.$ac_objext
94282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94283 (eval $ac_compile) 2>conftest.er1
94284 ac_status=$?
94285 grep -v '^ *+' conftest.er1 >conftest.err
94286 rm -f conftest.er1
94287 cat conftest.err >&5
94288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94289 (exit $ac_status); } &&
94290 { ac_try='test -z "$ac_c_werror_flag"
94291 || test ! -s conftest.err'
94292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94293 (eval $ac_try) 2>&5
94294 ac_status=$?
94295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94296 (exit $ac_status); }; } &&
94297 { ac_try='test -s conftest.$ac_objext'
94298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94299 (eval $ac_try) 2>&5
94300 ac_status=$?
94301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94302 (exit $ac_status); }; }; then
94303 ac_setrlimit=yes
94304 else
94305 echo "$as_me: failed program was:" >&5
94306 sed 's/^/| /' conftest.$ac_ext >&5
94308 ac_setrlimit=no
94310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94316 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
94317 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
94318 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
94319 ac_res_limits=yes
94320 cat >>confdefs.h <<\_ACEOF
94321 #define _GLIBCXX_RES_LIMITS 1
94322 _ACEOF
94324 else
94325 ac_res_limits=no
94327 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
94328 echo "${ECHO_T}$ac_res_limits" >&6
94331 # Look for setenv, so that extended locale tests can be performed.
94333 echo "$as_me:$LINENO: checking for setenv declaration" >&5
94334 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
94335 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
94336 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
94337 echo $ECHO_N "(cached) $ECHO_C" >&6
94338 else
94342 ac_ext=cc
94343 ac_cpp='$CXXCPP $CPPFLAGS'
94344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94348 cat >conftest.$ac_ext <<_ACEOF
94349 /* confdefs.h. */
94350 _ACEOF
94351 cat confdefs.h >>conftest.$ac_ext
94352 cat >>conftest.$ac_ext <<_ACEOF
94353 /* end confdefs.h. */
94354 #include <stdlib.h>
94356 main ()
94358 setenv(0, 0, 0);
94360 return 0;
94362 _ACEOF
94363 rm -f conftest.$ac_objext
94364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94365 (eval $ac_compile) 2>conftest.er1
94366 ac_status=$?
94367 grep -v '^ *+' conftest.er1 >conftest.err
94368 rm -f conftest.er1
94369 cat conftest.err >&5
94370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94371 (exit $ac_status); } &&
94372 { ac_try='test -z "$ac_cxx_werror_flag"
94373 || test ! -s conftest.err'
94374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94375 (eval $ac_try) 2>&5
94376 ac_status=$?
94377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94378 (exit $ac_status); }; } &&
94379 { ac_try='test -s conftest.$ac_objext'
94380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94381 (eval $ac_try) 2>&5
94382 ac_status=$?
94383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94384 (exit $ac_status); }; }; then
94385 glibcxx_cv_func_setenv_use=yes
94386 else
94387 echo "$as_me: failed program was:" >&5
94388 sed 's/^/| /' conftest.$ac_ext >&5
94390 glibcxx_cv_func_setenv_use=no
94392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94393 ac_ext=c
94394 ac_cpp='$CPP $CPPFLAGS'
94395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
94404 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
94405 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
94407 for ac_func in setenv
94409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94410 echo "$as_me:$LINENO: checking for $ac_func" >&5
94411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94412 if eval "test \"\${$as_ac_var+set}\" = set"; then
94413 echo $ECHO_N "(cached) $ECHO_C" >&6
94414 else
94415 if test x$gcc_no_link = xyes; then
94416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94418 { (exit 1); exit 1; }; }
94420 cat >conftest.$ac_ext <<_ACEOF
94421 /* confdefs.h. */
94422 _ACEOF
94423 cat confdefs.h >>conftest.$ac_ext
94424 cat >>conftest.$ac_ext <<_ACEOF
94425 /* end confdefs.h. */
94426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94428 #define $ac_func innocuous_$ac_func
94430 /* System header to define __stub macros and hopefully few prototypes,
94431 which can conflict with char $ac_func (); below.
94432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94433 <limits.h> exists even on freestanding compilers. */
94435 #ifdef __STDC__
94436 # include <limits.h>
94437 #else
94438 # include <assert.h>
94439 #endif
94441 #undef $ac_func
94443 /* Override any gcc2 internal prototype to avoid an error. */
94444 #ifdef __cplusplus
94445 extern "C"
94447 #endif
94448 /* We use char because int might match the return type of a gcc2
94449 builtin and then its argument prototype would still apply. */
94450 char $ac_func ();
94451 /* The GNU C library defines this for functions which it implements
94452 to always fail with ENOSYS. Some functions are actually named
94453 something starting with __ and the normal name is an alias. */
94454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94455 choke me
94456 #else
94457 char (*f) () = $ac_func;
94458 #endif
94459 #ifdef __cplusplus
94461 #endif
94464 main ()
94466 return f != $ac_func;
94468 return 0;
94470 _ACEOF
94471 rm -f conftest.$ac_objext conftest$ac_exeext
94472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94473 (eval $ac_link) 2>conftest.er1
94474 ac_status=$?
94475 grep -v '^ *+' conftest.er1 >conftest.err
94476 rm -f conftest.er1
94477 cat conftest.err >&5
94478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94479 (exit $ac_status); } &&
94480 { ac_try='test -z "$ac_c_werror_flag"
94481 || test ! -s conftest.err'
94482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94483 (eval $ac_try) 2>&5
94484 ac_status=$?
94485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94486 (exit $ac_status); }; } &&
94487 { ac_try='test -s conftest$ac_exeext'
94488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94489 (eval $ac_try) 2>&5
94490 ac_status=$?
94491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94492 (exit $ac_status); }; }; then
94493 eval "$as_ac_var=yes"
94494 else
94495 echo "$as_me: failed program was:" >&5
94496 sed 's/^/| /' conftest.$ac_ext >&5
94498 eval "$as_ac_var=no"
94500 rm -f conftest.err conftest.$ac_objext \
94501 conftest$ac_exeext conftest.$ac_ext
94503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94505 if test `eval echo '${'$as_ac_var'}'` = yes; then
94506 cat >>confdefs.h <<_ACEOF
94507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94508 _ACEOF
94511 done
94516 if test $enable_symvers = no; then
94517 enable_abi_check=no
94518 else
94519 case "$host" in
94520 *-*-cygwin*)
94521 enable_abi_check=no ;;
94523 enable_abi_check=yes ;;
94524 esac
94526 else
94527 # Only build this as native, since automake does not understand
94528 # CXX_FOR_BUILD.
94529 enable_abi_check=no
94532 # Export file names for ABI checking.
94533 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
94540 # Propagate the target-specific source directories through the build chain.
94541 ATOMICITY_SRCDIR=config/${atomicity_dir}
94542 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
94543 OS_INC_SRCDIR=config/${os_include_dir}
94544 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
94550 # Determine cross-compile flags and AM_CONDITIONALs.
94551 #AC_SUBST(GLIBCXX_IS_NATIVE)
94552 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
94553 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
94554 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
94557 if test $is_hosted = yes; then
94558 GLIBCXX_HOSTED_TRUE=
94559 GLIBCXX_HOSTED_FALSE='#'
94560 else
94561 GLIBCXX_HOSTED_TRUE='#'
94562 GLIBCXX_HOSTED_FALSE=
94568 if test $enable_libstdcxx_pch = yes; then
94569 GLIBCXX_BUILD_PCH_TRUE=
94570 GLIBCXX_BUILD_PCH_FALSE='#'
94571 else
94572 GLIBCXX_BUILD_PCH_TRUE='#'
94573 GLIBCXX_BUILD_PCH_FALSE=
94579 if test $enable_cheaders = c; then
94580 GLIBCXX_C_HEADERS_C_TRUE=
94581 GLIBCXX_C_HEADERS_C_FALSE='#'
94582 else
94583 GLIBCXX_C_HEADERS_C_TRUE='#'
94584 GLIBCXX_C_HEADERS_C_FALSE=
94590 if test $enable_cheaders = c_std; then
94591 GLIBCXX_C_HEADERS_C_STD_TRUE=
94592 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
94593 else
94594 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
94595 GLIBCXX_C_HEADERS_C_STD_FALSE=
94601 if test $c_compatibility = yes; then
94602 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
94603 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
94604 else
94605 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
94606 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
94612 if test $enable_libstdcxx_debug = yes; then
94613 GLIBCXX_BUILD_DEBUG_TRUE=
94614 GLIBCXX_BUILD_DEBUG_FALSE='#'
94615 else
94616 GLIBCXX_BUILD_DEBUG_TRUE='#'
94617 GLIBCXX_BUILD_DEBUG_FALSE=
94623 if test $enable_symvers != no; then
94624 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
94625 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
94626 else
94627 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
94628 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
94634 if test $enable_wchar_t = yes; then
94635 GLIBCXX_TEST_WCHAR_T_TRUE=
94636 GLIBCXX_TEST_WCHAR_T_FALSE='#'
94637 else
94638 GLIBCXX_TEST_WCHAR_T_TRUE='#'
94639 GLIBCXX_TEST_WCHAR_T_FALSE=
94645 if test $enable_abi_check = yes; then
94646 GLIBCXX_TEST_ABI_TRUE=
94647 GLIBCXX_TEST_ABI_FALSE='#'
94648 else
94649 GLIBCXX_TEST_ABI_TRUE='#'
94650 GLIBCXX_TEST_ABI_FALSE=
94656 cat >confcache <<\_ACEOF
94657 # This file is a shell script that caches the results of configure
94658 # tests run on this system so they can be shared between configure
94659 # scripts and configure runs, see configure's option --config-cache.
94660 # It is not useful on other systems. If it contains results you don't
94661 # want to keep, you may remove or edit it.
94663 # config.status only pays attention to the cache file if you give it
94664 # the --recheck option to rerun configure.
94666 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94667 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94668 # following values.
94670 _ACEOF
94672 # The following way of writing the cache mishandles newlines in values,
94673 # but we know of no workaround that is simple, portable, and efficient.
94674 # So, don't put newlines in cache variables' values.
94675 # Ultrix sh set writes to stderr and can't be redirected directly,
94676 # and sets the high bit in the cache file unless we assign to the vars.
94678 (set) 2>&1 |
94679 case `(ac_space=' '; set | grep ac_space) 2>&1` in
94680 *ac_space=\ *)
94681 # `set' does not quote correctly, so add quotes (double-quote
94682 # substitution turns \\\\ into \\, and sed turns \\ into \).
94683 sed -n \
94684 "s/'/'\\\\''/g;
94685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94688 # `set' quotes correctly as required by POSIX, so do not add quotes.
94689 sed -n \
94690 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94692 esac;
94694 sed '
94695 t clear
94696 : clear
94697 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94698 t end
94699 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94700 : end' >>confcache
94701 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94702 if test -w $cache_file; then
94703 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94704 cat confcache >$cache_file
94705 else
94706 echo "not updating unwritable cache $cache_file"
94709 rm -f confcache
94711 if test ${multilib} = yes; then
94712 multilib_arg="--enable-multilib"
94713 else
94714 multilib_arg=
94717 # Export all the install information.
94719 glibcxx_toolexecdir=no
94720 glibcxx_toolexeclibdir=no
94721 glibcxx_prefixdir=$prefix
94723 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
94724 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
94726 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
94727 if test "${with_gxx_include_dir+set}" = set; then
94728 withval="$with_gxx_include_dir"
94729 case "$withval" in
94730 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
94731 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
94732 { (exit 1); exit 1; }; } ;;
94733 no) gxx_include_dir=no ;;
94734 *) gxx_include_dir=$withval ;;
94735 esac
94736 else
94737 gxx_include_dir=no
94739 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94740 echo "${ECHO_T}$gxx_include_dir" >&6
94742 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
94743 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
94744 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
94745 if test "${enable_version_specific_runtime_libs+set}" = set; then
94746 enableval="$enable_version_specific_runtime_libs"
94747 case "$enableval" in
94748 yes) version_specific_libs=yes ;;
94749 no) version_specific_libs=no ;;
94750 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
94751 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
94752 { (exit 1); exit 1; }; };;
94753 esac
94754 else
94755 version_specific_libs=no
94757 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
94758 echo "${ECHO_T}$version_specific_libs" >&6
94760 # Default case for install directory for include files.
94761 if test $version_specific_libs = no && test $gxx_include_dir = no; then
94762 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
94765 # Version-specific runtime libs processing.
94766 if test $version_specific_libs = yes; then
94767 # Need the gcc compiler version to know where to install libraries
94768 # and header files if --enable-version-specific-runtime-libs option
94769 # is selected. FIXME: these variables are misnamed, there are
94770 # no executables installed in _toolexecdir or _toolexeclibdir.
94771 if test x"$gxx_include_dir" = x"no"; then
94772 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
94774 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94775 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
94778 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
94779 # Install a library built with a cross compiler in tooldir, not libdir.
94780 if test x"$glibcxx_toolexecdir" = x"no"; then
94781 if test -n "$with_cross_host" &&
94782 test x"$with_cross_host" != x"no"; then
94783 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
94784 glibcxx_toolexeclibdir='${toolexecdir}/lib'
94785 else
94786 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94787 glibcxx_toolexeclibdir='${libdir}'
94789 multi_os_directory=`$CXX -print-multi-os-directory`
94790 case $multi_os_directory in
94791 .) ;; # Avoid trailing /.
94792 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
94793 esac
94796 echo "$as_me:$LINENO: checking for install location" >&5
94797 echo $ECHO_N "checking for install location... $ECHO_C" >&6
94798 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94799 echo "${ECHO_T}$gxx_include_dir" >&6
94807 # Export all the include and flag information to Makefiles.
94809 # Used for every C++ compile we perform.
94810 GLIBCXX_INCLUDES="\
94811 -I$glibcxx_builddir/include/$host_alias \
94812 -I$glibcxx_builddir/include \
94813 -I$glibcxx_srcdir/libsupc++"
94815 # For Canadian crosses, pick this up too.
94816 if test $CANADIAN = yes; then
94817 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
94820 # Stuff in the actual top level. Currently only used by libsupc++ to
94821 # get unwind* headers from the gcc dir.
94822 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
94823 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
94825 # Now, export this to all the little Makefiles....
94830 # Optimization flags that are probably a good idea for thrill-seekers. Just
94831 # uncomment the lines below and make, everything else is ready to go...
94832 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
94833 OPTIMIZE_CXXFLAGS=
94836 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
94840 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
94841 grep "enable shared" > /dev/null;
94842 then
94843 LIBSUPCXX_PICFLAGS=-prefer-pic
94844 else
94845 LIBSUPCXX_PICFLAGS=
94849 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
94851 ac_config_files="$ac_config_files scripts/check_survey"
94853 ac_config_files="$ac_config_files scripts/testsuite_flags"
94856 ac_config_commands="$ac_config_commands default"
94859 cat >confcache <<\_ACEOF
94860 # This file is a shell script that caches the results of configure
94861 # tests run on this system so they can be shared between configure
94862 # scripts and configure runs, see configure's option --config-cache.
94863 # It is not useful on other systems. If it contains results you don't
94864 # want to keep, you may remove or edit it.
94866 # config.status only pays attention to the cache file if you give it
94867 # the --recheck option to rerun configure.
94869 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94870 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94871 # following values.
94873 _ACEOF
94875 # The following way of writing the cache mishandles newlines in values,
94876 # but we know of no workaround that is simple, portable, and efficient.
94877 # So, don't put newlines in cache variables' values.
94878 # Ultrix sh set writes to stderr and can't be redirected directly,
94879 # and sets the high bit in the cache file unless we assign to the vars.
94881 (set) 2>&1 |
94882 case `(ac_space=' '; set | grep ac_space) 2>&1` in
94883 *ac_space=\ *)
94884 # `set' does not quote correctly, so add quotes (double-quote
94885 # substitution turns \\\\ into \\, and sed turns \\ into \).
94886 sed -n \
94887 "s/'/'\\\\''/g;
94888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94891 # `set' quotes correctly as required by POSIX, so do not add quotes.
94892 sed -n \
94893 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94895 esac;
94897 sed '
94898 t clear
94899 : clear
94900 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94901 t end
94902 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94903 : end' >>confcache
94904 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94905 if test -w $cache_file; then
94906 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94907 cat confcache >$cache_file
94908 else
94909 echo "not updating unwritable cache $cache_file"
94912 rm -f confcache
94914 test "x$prefix" = xNONE && prefix=$ac_default_prefix
94915 # Let make expand exec_prefix.
94916 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
94918 # VPATH may cause trouble with some makes, so we remove $(srcdir),
94919 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
94920 # trailing colons and then remove the whole line if VPATH becomes empty
94921 # (actually we leave an empty line to preserve line numbers).
94922 if test "x$srcdir" = x.; then
94923 ac_vpsub='/^[ ]*VPATH[ ]*=/{
94924 s/:*\$(srcdir):*/:/;
94925 s/:*\${srcdir}:*/:/;
94926 s/:*@srcdir@:*/:/;
94927 s/^\([^=]*=[ ]*\):*/\1/;
94928 s/:*$//;
94929 s/^[^=]*=[ ]*$//;
94933 DEFS=-DHAVE_CONFIG_H
94935 ac_libobjs=
94936 ac_ltlibobjs=
94937 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
94938 # 1. Remove the extension, and $U if already installed.
94939 ac_i=`echo "$ac_i" |
94940 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
94941 # 2. Add them.
94942 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
94943 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
94944 done
94945 LIBOBJS=$ac_libobjs
94947 LTLIBOBJS=$ac_ltlibobjs
94950 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
94951 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
94952 Usually this means the macro was only invoked conditionally." >&5
94953 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
94954 Usually this means the macro was only invoked conditionally." >&2;}
94955 { (exit 1); exit 1; }; }
94957 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
94958 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94959 Usually this means the macro was only invoked conditionally." >&5
94960 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94961 Usually this means the macro was only invoked conditionally." >&2;}
94962 { (exit 1); exit 1; }; }
94964 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
94965 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94966 Usually this means the macro was only invoked conditionally." >&5
94967 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94968 Usually this means the macro was only invoked conditionally." >&2;}
94969 { (exit 1); exit 1; }; }
94971 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
94972 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94973 Usually this means the macro was only invoked conditionally." >&5
94974 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94975 Usually this means the macro was only invoked conditionally." >&2;}
94976 { (exit 1); exit 1; }; }
94978 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
94979 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94980 Usually this means the macro was only invoked conditionally." >&5
94981 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94982 Usually this means the macro was only invoked conditionally." >&2;}
94983 { (exit 1); exit 1; }; }
94985 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
94986 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94987 Usually this means the macro was only invoked conditionally." >&5
94988 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94989 Usually this means the macro was only invoked conditionally." >&2;}
94990 { (exit 1); exit 1; }; }
94992 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
94993 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94994 Usually this means the macro was only invoked conditionally." >&5
94995 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94996 Usually this means the macro was only invoked conditionally." >&2;}
94997 { (exit 1); exit 1; }; }
94999 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
95000 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
95001 Usually this means the macro was only invoked conditionally." >&5
95002 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
95003 Usually this means the macro was only invoked conditionally." >&2;}
95004 { (exit 1); exit 1; }; }
95006 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
95007 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
95008 Usually this means the macro was only invoked conditionally." >&5
95009 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
95010 Usually this means the macro was only invoked conditionally." >&2;}
95011 { (exit 1); exit 1; }; }
95013 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
95014 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95015 Usually this means the macro was only invoked conditionally." >&5
95016 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95017 Usually this means the macro was only invoked conditionally." >&2;}
95018 { (exit 1); exit 1; }; }
95021 : ${CONFIG_STATUS=./config.status}
95022 ac_clean_files_save=$ac_clean_files
95023 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
95024 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
95025 echo "$as_me: creating $CONFIG_STATUS" >&6;}
95026 cat >$CONFIG_STATUS <<_ACEOF
95027 #! $SHELL
95028 # Generated by $as_me.
95029 # Run this file to recreate the current configuration.
95030 # Compiler output produced by configure, useful for debugging
95031 # configure, is in config.log if it exists.
95033 debug=false
95034 ac_cs_recheck=false
95035 ac_cs_silent=false
95036 SHELL=\${CONFIG_SHELL-$SHELL}
95037 _ACEOF
95039 cat >>$CONFIG_STATUS <<\_ACEOF
95040 ## --------------------- ##
95041 ## M4sh Initialization. ##
95042 ## --------------------- ##
95044 # Be Bourne compatible
95045 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
95046 emulate sh
95047 NULLCMD=:
95048 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
95049 # is contrary to our usage. Disable this feature.
95050 alias -g '${1+"$@"}'='"$@"'
95051 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
95052 set -o posix
95054 DUALCASE=1; export DUALCASE # for MKS sh
95056 # Support unset when possible.
95057 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
95058 as_unset=unset
95059 else
95060 as_unset=false
95064 # Work around bugs in pre-3.0 UWIN ksh.
95065 $as_unset ENV MAIL MAILPATH
95066 PS1='$ '
95067 PS2='> '
95068 PS4='+ '
95070 # NLS nuisances.
95071 for as_var in \
95072 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
95073 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95074 LC_TELEPHONE LC_TIME
95076 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
95077 eval $as_var=C; export $as_var
95078 else
95079 $as_unset $as_var
95081 done
95083 # Required to use basename.
95084 if expr a : '\(a\)' >/dev/null 2>&1; then
95085 as_expr=expr
95086 else
95087 as_expr=false
95090 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
95091 as_basename=basename
95092 else
95093 as_basename=false
95097 # Name of the executable.
95098 as_me=`$as_basename "$0" ||
95099 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
95100 X"$0" : 'X\(//\)$' \| \
95101 X"$0" : 'X\(/\)$' \| \
95102 . : '\(.\)' 2>/dev/null ||
95103 echo X/"$0" |
95104 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
95105 /^X\/\(\/\/\)$/{ s//\1/; q; }
95106 /^X\/\(\/\).*/{ s//\1/; q; }
95107 s/.*/./; q'`
95110 # PATH needs CR, and LINENO needs CR and PATH.
95111 # Avoid depending upon Character Ranges.
95112 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
95113 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
95114 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
95115 as_cr_digits='0123456789'
95116 as_cr_alnum=$as_cr_Letters$as_cr_digits
95118 # The user is always right.
95119 if test "${PATH_SEPARATOR+set}" != set; then
95120 echo "#! /bin/sh" >conf$$.sh
95121 echo "exit 0" >>conf$$.sh
95122 chmod +x conf$$.sh
95123 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95124 PATH_SEPARATOR=';'
95125 else
95126 PATH_SEPARATOR=:
95128 rm -f conf$$.sh
95132 as_lineno_1=$LINENO
95133 as_lineno_2=$LINENO
95134 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95135 test "x$as_lineno_1" != "x$as_lineno_2" &&
95136 test "x$as_lineno_3" = "x$as_lineno_2" || {
95137 # Find who we are. Look in the path if we contain no path at all
95138 # relative or not.
95139 case $0 in
95140 *[\\/]* ) as_myself=$0 ;;
95141 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95142 for as_dir in $PATH
95144 IFS=$as_save_IFS
95145 test -z "$as_dir" && as_dir=.
95146 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
95147 done
95150 esac
95151 # We did not find ourselves, most probably we were run as `sh COMMAND'
95152 # in which case we are not to be found in the path.
95153 if test "x$as_myself" = x; then
95154 as_myself=$0
95156 if test ! -f "$as_myself"; then
95157 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
95158 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
95159 { (exit 1); exit 1; }; }
95161 case $CONFIG_SHELL in
95163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95164 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
95166 IFS=$as_save_IFS
95167 test -z "$as_dir" && as_dir=.
95168 for as_base in sh bash ksh sh5; do
95169 case $as_dir in
95171 if ("$as_dir/$as_base" -c '
95172 as_lineno_1=$LINENO
95173 as_lineno_2=$LINENO
95174 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95175 test "x$as_lineno_1" != "x$as_lineno_2" &&
95176 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
95177 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
95178 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
95179 CONFIG_SHELL=$as_dir/$as_base
95180 export CONFIG_SHELL
95181 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
95182 fi;;
95183 esac
95184 done
95185 done
95187 esac
95189 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
95190 # uniformly replaced by the line number. The first 'sed' inserts a
95191 # line-number line before each line; the second 'sed' does the real
95192 # work. The second script uses 'N' to pair each line-number line
95193 # with the numbered line, and appends trailing '-' during
95194 # substitution so that $LINENO is not a special case at line end.
95195 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
95196 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
95197 sed '=' <$as_myself |
95198 sed '
95200 s,$,-,
95201 : loop
95202 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
95203 t loop
95204 s,-$,,
95205 s,^['$as_cr_digits']*\n,,
95206 ' >$as_me.lineno &&
95207 chmod +x $as_me.lineno ||
95208 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
95209 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
95210 { (exit 1); exit 1; }; }
95212 # Don't try to exec as it changes $[0], causing all sort of problems
95213 # (the dirname of $[0] is not the place where we might find the
95214 # original and so on. Autoconf is especially sensible to this).
95215 . ./$as_me.lineno
95216 # Exit status is that of the last command.
95217 exit
95221 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
95222 *c*,-n*) ECHO_N= ECHO_C='
95223 ' ECHO_T=' ' ;;
95224 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
95225 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
95226 esac
95228 if expr a : '\(a\)' >/dev/null 2>&1; then
95229 as_expr=expr
95230 else
95231 as_expr=false
95234 rm -f conf$$ conf$$.exe conf$$.file
95235 echo >conf$$.file
95236 if ln -s conf$$.file conf$$ 2>/dev/null; then
95237 # We could just check for DJGPP; but this test a) works b) is more generic
95238 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
95239 if test -f conf$$.exe; then
95240 # Don't use ln at all; we don't have any links
95241 as_ln_s='cp -p'
95242 else
95243 as_ln_s='ln -s'
95245 elif ln conf$$.file conf$$ 2>/dev/null; then
95246 as_ln_s=ln
95247 else
95248 as_ln_s='cp -p'
95250 rm -f conf$$ conf$$.exe conf$$.file
95252 if mkdir -p . 2>/dev/null; then
95253 as_mkdir_p=:
95254 else
95255 test -d ./-p && rmdir ./-p
95256 as_mkdir_p=false
95259 as_executable_p="test -f"
95261 # Sed expression to map a string onto a valid CPP name.
95262 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
95264 # Sed expression to map a string onto a valid variable name.
95265 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
95268 # IFS
95269 # We need space, tab and new line, in precisely that order.
95270 as_nl='
95272 IFS=" $as_nl"
95274 # CDPATH.
95275 $as_unset CDPATH
95277 exec 6>&1
95279 # Open the log real soon, to keep \$[0] and so on meaningful, and to
95280 # report actual input values of CONFIG_FILES etc. instead of their
95281 # values after options handling. Logging --version etc. is OK.
95282 exec 5>>config.log
95284 echo
95285 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
95286 ## Running $as_me. ##
95287 _ASBOX
95288 } >&5
95289 cat >&5 <<_CSEOF
95291 This file was extended by package-unused $as_me version-unused, which was
95292 generated by GNU Autoconf 2.59. Invocation command line was
95294 CONFIG_FILES = $CONFIG_FILES
95295 CONFIG_HEADERS = $CONFIG_HEADERS
95296 CONFIG_LINKS = $CONFIG_LINKS
95297 CONFIG_COMMANDS = $CONFIG_COMMANDS
95298 $ $0 $@
95300 _CSEOF
95301 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
95302 echo >&5
95303 _ACEOF
95305 # Files that config.status was made for.
95306 if test -n "$ac_config_files"; then
95307 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
95310 if test -n "$ac_config_headers"; then
95311 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
95314 if test -n "$ac_config_links"; then
95315 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
95318 if test -n "$ac_config_commands"; then
95319 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
95322 cat >>$CONFIG_STATUS <<\_ACEOF
95324 ac_cs_usage="\
95325 \`$as_me' instantiates files from templates according to the
95326 current configuration.
95328 Usage: $0 [OPTIONS] [FILE]...
95330 -h, --help print this help, then exit
95331 -V, --version print version number, then exit
95332 -q, --quiet do not print progress messages
95333 -d, --debug don't remove temporary files
95334 --recheck update $as_me by reconfiguring in the same conditions
95335 --file=FILE[:TEMPLATE]
95336 instantiate the configuration file FILE
95337 --header=FILE[:TEMPLATE]
95338 instantiate the configuration header FILE
95340 Configuration files:
95341 $config_files
95343 Configuration headers:
95344 $config_headers
95346 Configuration commands:
95347 $config_commands
95349 Report bugs to <bug-autoconf@gnu.org>."
95350 _ACEOF
95352 cat >>$CONFIG_STATUS <<_ACEOF
95353 ac_cs_version="\\
95354 package-unused config.status version-unused
95355 configured by $0, generated by GNU Autoconf 2.59,
95356 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
95358 Copyright (C) 2003 Free Software Foundation, Inc.
95359 This config.status script is free software; the Free Software Foundation
95360 gives unlimited permission to copy, distribute and modify it."
95361 srcdir=$srcdir
95362 INSTALL="$INSTALL"
95363 _ACEOF
95365 cat >>$CONFIG_STATUS <<\_ACEOF
95366 # If no file are specified by the user, then we need to provide default
95367 # value. By we need to know if files were specified by the user.
95368 ac_need_defaults=:
95369 while test $# != 0
95371 case $1 in
95372 --*=*)
95373 ac_option=`expr "x$1" : 'x\([^=]*\)='`
95374 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
95375 ac_shift=:
95378 ac_option=$1
95379 ac_optarg=$2
95380 ac_shift=shift
95382 *) # This is not an option, so the user has probably given explicit
95383 # arguments.
95384 ac_option=$1
95385 ac_need_defaults=false;;
95386 esac
95388 case $ac_option in
95389 # Handling of the options.
95390 _ACEOF
95391 cat >>$CONFIG_STATUS <<\_ACEOF
95392 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
95393 ac_cs_recheck=: ;;
95394 --version | --vers* | -V )
95395 echo "$ac_cs_version"; exit 0 ;;
95396 --he | --h)
95397 # Conflict between --help and --header
95398 { { echo "$as_me:$LINENO: error: ambiguous option: $1
95399 Try \`$0 --help' for more information." >&5
95400 echo "$as_me: error: ambiguous option: $1
95401 Try \`$0 --help' for more information." >&2;}
95402 { (exit 1); exit 1; }; };;
95403 --help | --hel | -h )
95404 echo "$ac_cs_usage"; exit 0 ;;
95405 --debug | --d* | -d )
95406 debug=: ;;
95407 --file | --fil | --fi | --f )
95408 $ac_shift
95409 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
95410 ac_need_defaults=false;;
95411 --header | --heade | --head | --hea )
95412 $ac_shift
95413 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
95414 ac_need_defaults=false;;
95415 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
95416 | -silent | --silent | --silen | --sile | --sil | --si | --s)
95417 ac_cs_silent=: ;;
95419 # This is an error.
95420 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
95421 Try \`$0 --help' for more information." >&5
95422 echo "$as_me: error: unrecognized option: $1
95423 Try \`$0 --help' for more information." >&2;}
95424 { (exit 1); exit 1; }; } ;;
95426 *) ac_config_targets="$ac_config_targets $1" ;;
95428 esac
95429 shift
95430 done
95432 ac_configure_extra_args=
95434 if $ac_cs_silent; then
95435 exec 6>/dev/null
95436 ac_configure_extra_args="$ac_configure_extra_args --silent"
95439 _ACEOF
95440 cat >>$CONFIG_STATUS <<_ACEOF
95441 if \$ac_cs_recheck; then
95442 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
95443 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
95446 _ACEOF
95448 cat >>$CONFIG_STATUS <<_ACEOF
95450 # INIT-COMMANDS section.
95454 srcdir="$srcdir"
95455 host="$host"
95456 target="$target"
95457 with_multisubdir="$with_multisubdir"
95458 with_multisrctop="$with_multisrctop"
95459 with_target_subdir="$with_target_subdir"
95460 ac_configure_args="${multilib_arg} ${ac_configure_args}"
95461 multi_basedir="$multi_basedir"
95462 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
95463 CC="$CC"
95465 # Variables needed in config.status (file generation) which aren't already
95466 # passed by autoconf.
95467 SUBDIRS="$SUBDIRS"
95470 _ACEOF
95474 cat >>$CONFIG_STATUS <<\_ACEOF
95475 for ac_config_target in $ac_config_targets
95477 case "$ac_config_target" in
95478 # Handling of arguments.
95479 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
95480 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
95481 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
95482 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
95483 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
95484 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
95485 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
95486 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
95487 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
95488 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
95489 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
95490 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
95491 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
95492 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
95493 { (exit 1); exit 1; }; };;
95494 esac
95495 done
95497 # If the user did not use the arguments to specify the items to instantiate,
95498 # then the envvar interface is used. Set only those that are not.
95499 # We use the long form for the default assignment because of an extremely
95500 # bizarre bug on SunOS 4.1.3.
95501 if $ac_need_defaults; then
95502 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
95503 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
95504 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
95507 # Have a temporary directory for convenience. Make it in the build tree
95508 # simply because there is no reason to put it here, and in addition,
95509 # creating and moving files from /tmp can sometimes cause problems.
95510 # Create a temporary directory, and hook for its removal unless debugging.
95511 $debug ||
95513 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
95514 trap '{ (exit 1); exit 1; }' 1 2 13 15
95517 # Create a (secure) tmp directory for tmp files.
95520 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
95521 test -n "$tmp" && test -d "$tmp"
95522 } ||
95524 tmp=./confstat$$-$RANDOM
95525 (umask 077 && mkdir $tmp)
95526 } ||
95528 echo "$me: cannot create a temporary directory in ." >&2
95529 { (exit 1); exit 1; }
95532 _ACEOF
95534 cat >>$CONFIG_STATUS <<_ACEOF
95537 # CONFIG_FILES section.
95540 # No need to generate the scripts if there are no CONFIG_FILES.
95541 # This happens for instance when ./config.status config.h
95542 if test -n "\$CONFIG_FILES"; then
95543 # Protect against being on the right side of a sed subst in config.status.
95544 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
95545 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
95546 s,@SHELL@,$SHELL,;t t
95547 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
95548 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
95549 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
95550 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
95551 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
95552 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
95553 s,@exec_prefix@,$exec_prefix,;t t
95554 s,@prefix@,$prefix,;t t
95555 s,@program_transform_name@,$program_transform_name,;t t
95556 s,@bindir@,$bindir,;t t
95557 s,@sbindir@,$sbindir,;t t
95558 s,@libexecdir@,$libexecdir,;t t
95559 s,@datadir@,$datadir,;t t
95560 s,@sysconfdir@,$sysconfdir,;t t
95561 s,@sharedstatedir@,$sharedstatedir,;t t
95562 s,@localstatedir@,$localstatedir,;t t
95563 s,@libdir@,$libdir,;t t
95564 s,@includedir@,$includedir,;t t
95565 s,@oldincludedir@,$oldincludedir,;t t
95566 s,@infodir@,$infodir,;t t
95567 s,@mandir@,$mandir,;t t
95568 s,@build_alias@,$build_alias,;t t
95569 s,@host_alias@,$host_alias,;t t
95570 s,@target_alias@,$target_alias,;t t
95571 s,@DEFS@,$DEFS,;t t
95572 s,@ECHO_C@,$ECHO_C,;t t
95573 s,@ECHO_N@,$ECHO_N,;t t
95574 s,@ECHO_T@,$ECHO_T,;t t
95575 s,@LIBS@,$LIBS,;t t
95576 s,@libtool_VERSION@,$libtool_VERSION,;t t
95577 s,@multi_basedir@,$multi_basedir,;t t
95578 s,@build@,$build,;t t
95579 s,@build_cpu@,$build_cpu,;t t
95580 s,@build_vendor@,$build_vendor,;t t
95581 s,@build_os@,$build_os,;t t
95582 s,@host@,$host,;t t
95583 s,@host_cpu@,$host_cpu,;t t
95584 s,@host_vendor@,$host_vendor,;t t
95585 s,@host_os@,$host_os,;t t
95586 s,@target@,$target,;t t
95587 s,@target_cpu@,$target_cpu,;t t
95588 s,@target_vendor@,$target_vendor,;t t
95589 s,@target_os@,$target_os,;t t
95590 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
95591 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
95592 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
95593 s,@CYGPATH_W@,$CYGPATH_W,;t t
95594 s,@PACKAGE@,$PACKAGE,;t t
95595 s,@VERSION@,$VERSION,;t t
95596 s,@ACLOCAL@,$ACLOCAL,;t t
95597 s,@AUTOCONF@,$AUTOCONF,;t t
95598 s,@AUTOMAKE@,$AUTOMAKE,;t t
95599 s,@AUTOHEADER@,$AUTOHEADER,;t t
95600 s,@MAKEINFO@,$MAKEINFO,;t t
95601 s,@AMTAR@,$AMTAR,;t t
95602 s,@install_sh@,$install_sh,;t t
95603 s,@STRIP@,$STRIP,;t t
95604 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
95605 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
95606 s,@mkdir_p@,$mkdir_p,;t t
95607 s,@AWK@,$AWK,;t t
95608 s,@SET_MAKE@,$SET_MAKE,;t t
95609 s,@am__leading_dot@,$am__leading_dot,;t t
95610 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
95611 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
95612 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
95613 s,@CC@,$CC,;t t
95614 s,@ac_ct_CC@,$ac_ct_CC,;t t
95615 s,@EXEEXT@,$EXEEXT,;t t
95616 s,@OBJEXT@,$OBJEXT,;t t
95617 s,@CXX@,$CXX,;t t
95618 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
95619 s,@CFLAGS@,$CFLAGS,;t t
95620 s,@CXXFLAGS@,$CXXFLAGS,;t t
95621 s,@LN_S@,$LN_S,;t t
95622 s,@AS@,$AS,;t t
95623 s,@ac_ct_AS@,$ac_ct_AS,;t t
95624 s,@AR@,$AR,;t t
95625 s,@ac_ct_AR@,$ac_ct_AR,;t t
95626 s,@RANLIB@,$RANLIB,;t t
95627 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
95628 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
95629 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
95630 s,@MAINT@,$MAINT,;t t
95631 s,@LIBTOOL@,$LIBTOOL,;t t
95632 s,@CXXCPP@,$CXXCPP,;t t
95633 s,@CPPFLAGS@,$CPPFLAGS,;t t
95634 s,@enable_shared@,$enable_shared,;t t
95635 s,@enable_static@,$enable_static,;t t
95636 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
95637 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
95638 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
95639 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
95640 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
95641 s,@CSTDIO_H@,$CSTDIO_H,;t t
95642 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
95643 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
95644 s,@CPP@,$CPP,;t t
95645 s,@EGREP@,$EGREP,;t t
95646 s,@check_msgfmt@,$check_msgfmt,;t t
95647 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
95648 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
95649 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
95650 s,@USE_NLS@,$USE_NLS,;t t
95651 s,@CLOCALE_H@,$CLOCALE_H,;t t
95652 s,@CCODECVT_H@,$CCODECVT_H,;t t
95653 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
95654 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
95655 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
95656 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
95657 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
95658 s,@CMONEY_CC@,$CMONEY_CC,;t t
95659 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
95660 s,@CTIME_H@,$CTIME_H,;t t
95661 s,@CTIME_CC@,$CTIME_CC,;t t
95662 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
95663 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
95664 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
95665 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
95666 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
95667 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
95668 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
95669 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
95670 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
95671 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
95672 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
95673 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
95674 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
95675 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
95676 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
95677 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
95678 s,@WERROR@,$WERROR,;t t
95679 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
95680 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
95681 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
95682 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
95683 s,@LIBICONV@,$LIBICONV,;t t
95684 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
95685 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
95686 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
95687 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
95688 s,@baseline_dir@,$baseline_dir,;t t
95689 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
95690 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
95691 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
95692 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
95693 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
95694 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
95695 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
95696 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
95697 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
95698 s,@gxx_include_dir@,$gxx_include_dir,;t t
95699 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
95700 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
95701 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
95702 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
95703 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
95704 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
95705 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
95706 s,@LIBOBJS@,$LIBOBJS,;t t
95707 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
95708 CEOF
95710 _ACEOF
95712 cat >>$CONFIG_STATUS <<\_ACEOF
95713 # Split the substitutions into bite-sized pieces for seds with
95714 # small command number limits, like on Digital OSF/1 and HP-UX.
95715 ac_max_sed_lines=48
95716 ac_sed_frag=1 # Number of current file.
95717 ac_beg=1 # First line for current file.
95718 ac_end=$ac_max_sed_lines # Line after last line for current file.
95719 ac_more_lines=:
95720 ac_sed_cmds=
95721 while $ac_more_lines; do
95722 if test $ac_beg -gt 1; then
95723 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95724 else
95725 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95727 if test ! -s $tmp/subs.frag; then
95728 ac_more_lines=false
95729 else
95730 # The purpose of the label and of the branching condition is to
95731 # speed up the sed processing (if there are no `@' at all, there
95732 # is no need to browse any of the substitutions).
95733 # These are the two extra sed commands mentioned above.
95734 (echo ':t
95735 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
95736 if test -z "$ac_sed_cmds"; then
95737 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
95738 else
95739 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
95741 ac_sed_frag=`expr $ac_sed_frag + 1`
95742 ac_beg=$ac_end
95743 ac_end=`expr $ac_end + $ac_max_sed_lines`
95745 done
95746 if test -z "$ac_sed_cmds"; then
95747 ac_sed_cmds=cat
95749 fi # test -n "$CONFIG_FILES"
95751 _ACEOF
95752 cat >>$CONFIG_STATUS <<\_ACEOF
95753 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
95754 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95755 case $ac_file in
95756 - | *:- | *:-:* ) # input from stdin
95757 cat >$tmp/stdin
95758 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95759 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95760 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95761 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95762 * ) ac_file_in=$ac_file.in ;;
95763 esac
95765 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
95766 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95768 X"$ac_file" : 'X\(//\)[^/]' \| \
95769 X"$ac_file" : 'X\(//\)$' \| \
95770 X"$ac_file" : 'X\(/\)' \| \
95771 . : '\(.\)' 2>/dev/null ||
95772 echo X"$ac_file" |
95773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95774 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95775 /^X\(\/\/\)$/{ s//\1/; q; }
95776 /^X\(\/\).*/{ s//\1/; q; }
95777 s/.*/./; q'`
95778 { if $as_mkdir_p; then
95779 mkdir -p "$ac_dir"
95780 else
95781 as_dir="$ac_dir"
95782 as_dirs=
95783 while test ! -d "$as_dir"; do
95784 as_dirs="$as_dir $as_dirs"
95785 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95787 X"$as_dir" : 'X\(//\)[^/]' \| \
95788 X"$as_dir" : 'X\(//\)$' \| \
95789 X"$as_dir" : 'X\(/\)' \| \
95790 . : '\(.\)' 2>/dev/null ||
95791 echo X"$as_dir" |
95792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95794 /^X\(\/\/\)$/{ s//\1/; q; }
95795 /^X\(\/\).*/{ s//\1/; q; }
95796 s/.*/./; q'`
95797 done
95798 test ! -n "$as_dirs" || mkdir $as_dirs
95799 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95800 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95801 { (exit 1); exit 1; }; }; }
95803 ac_builddir=.
95805 if test "$ac_dir" != .; then
95806 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95807 # A "../" for each directory in $ac_dir_suffix.
95808 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95809 else
95810 ac_dir_suffix= ac_top_builddir=
95813 case $srcdir in
95814 .) # No --srcdir option. We are building in place.
95815 ac_srcdir=.
95816 if test -z "$ac_top_builddir"; then
95817 ac_top_srcdir=.
95818 else
95819 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95820 fi ;;
95821 [\\/]* | ?:[\\/]* ) # Absolute path.
95822 ac_srcdir=$srcdir$ac_dir_suffix;
95823 ac_top_srcdir=$srcdir ;;
95824 *) # Relative path.
95825 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95826 ac_top_srcdir=$ac_top_builddir$srcdir ;;
95827 esac
95829 # Do not use `cd foo && pwd` to compute absolute paths, because
95830 # the directories may not exist.
95831 case `pwd` in
95832 .) ac_abs_builddir="$ac_dir";;
95834 case "$ac_dir" in
95835 .) ac_abs_builddir=`pwd`;;
95836 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95837 *) ac_abs_builddir=`pwd`/"$ac_dir";;
95838 esac;;
95839 esac
95840 case $ac_abs_builddir in
95841 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95843 case ${ac_top_builddir}. in
95844 .) ac_abs_top_builddir=$ac_abs_builddir;;
95845 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95846 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95847 esac;;
95848 esac
95849 case $ac_abs_builddir in
95850 .) ac_abs_srcdir=$ac_srcdir;;
95852 case $ac_srcdir in
95853 .) ac_abs_srcdir=$ac_abs_builddir;;
95854 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95855 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95856 esac;;
95857 esac
95858 case $ac_abs_builddir in
95859 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95861 case $ac_top_srcdir in
95862 .) ac_abs_top_srcdir=$ac_abs_builddir;;
95863 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95864 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95865 esac;;
95866 esac
95869 case $INSTALL in
95870 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
95871 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
95872 esac
95874 if test x"$ac_file" != x-; then
95875 { echo "$as_me:$LINENO: creating $ac_file" >&5
95876 echo "$as_me: creating $ac_file" >&6;}
95877 rm -f "$ac_file"
95879 # Let's still pretend it is `configure' which instantiates (i.e., don't
95880 # use $as_me), people would be surprised to read:
95881 # /* config.h. Generated by config.status. */
95882 if test x"$ac_file" = x-; then
95883 configure_input=
95884 else
95885 configure_input="$ac_file. "
95887 configure_input=$configure_input"Generated from `echo $ac_file_in |
95888 sed 's,.*/,,'` by configure."
95890 # First look for the input files in the build tree, otherwise in the
95891 # src tree.
95892 ac_file_inputs=`IFS=:
95893 for f in $ac_file_in; do
95894 case $f in
95895 -) echo $tmp/stdin ;;
95896 [\\/$]*)
95897 # Absolute (can't be DOS-style, as IFS=:)
95898 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95899 echo "$as_me: error: cannot find input file: $f" >&2;}
95900 { (exit 1); exit 1; }; }
95901 echo "$f";;
95902 *) # Relative
95903 if test -f "$f"; then
95904 # Build tree
95905 echo "$f"
95906 elif test -f "$srcdir/$f"; then
95907 # Source tree
95908 echo "$srcdir/$f"
95909 else
95910 # /dev/null tree
95911 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95912 echo "$as_me: error: cannot find input file: $f" >&2;}
95913 { (exit 1); exit 1; }; }
95914 fi;;
95915 esac
95916 done` || { (exit 1); exit 1; }
95917 _ACEOF
95918 cat >>$CONFIG_STATUS <<_ACEOF
95919 sed "$ac_vpsub
95920 $extrasub
95921 _ACEOF
95922 cat >>$CONFIG_STATUS <<\_ACEOF
95924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95925 s,@configure_input@,$configure_input,;t t
95926 s,@srcdir@,$ac_srcdir,;t t
95927 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95928 s,@top_srcdir@,$ac_top_srcdir,;t t
95929 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95930 s,@builddir@,$ac_builddir,;t t
95931 s,@abs_builddir@,$ac_abs_builddir,;t t
95932 s,@top_builddir@,$ac_top_builddir,;t t
95933 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95934 s,@INSTALL@,$ac_INSTALL,;t t
95935 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95936 rm -f $tmp/stdin
95937 if test x"$ac_file" != x-; then
95938 mv $tmp/out $ac_file
95939 else
95940 cat $tmp/out
95941 rm -f $tmp/out
95944 # Run the commands associated with the file.
95945 case $ac_file in
95946 scripts/check_survey ) chmod +x scripts/check_survey ;;
95947 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95948 esac
95949 done
95950 _ACEOF
95951 cat >>$CONFIG_STATUS <<\_ACEOF
95954 # CONFIG_HEADER section.
95957 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95958 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95960 # ac_d sets the value in "#define NAME VALUE" lines.
95961 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
95962 ac_dB='[ ].*$,\1#\2'
95963 ac_dC=' '
95964 ac_dD=',;t'
95965 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95966 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
95967 ac_uB='$,\1#\2define\3'
95968 ac_uC=' '
95969 ac_uD=',;t'
95971 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95973 case $ac_file in
95974 - | *:- | *:-:* ) # input from stdin
95975 cat >$tmp/stdin
95976 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95977 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95978 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95979 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95980 * ) ac_file_in=$ac_file.in ;;
95981 esac
95983 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95984 echo "$as_me: creating $ac_file" >&6;}
95986 # First look for the input files in the build tree, otherwise in the
95987 # src tree.
95988 ac_file_inputs=`IFS=:
95989 for f in $ac_file_in; do
95990 case $f in
95991 -) echo $tmp/stdin ;;
95992 [\\/$]*)
95993 # Absolute (can't be DOS-style, as IFS=:)
95994 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95995 echo "$as_me: error: cannot find input file: $f" >&2;}
95996 { (exit 1); exit 1; }; }
95997 # Do quote $f, to prevent DOS paths from being IFS'd.
95998 echo "$f";;
95999 *) # Relative
96000 if test -f "$f"; then
96001 # Build tree
96002 echo "$f"
96003 elif test -f "$srcdir/$f"; then
96004 # Source tree
96005 echo "$srcdir/$f"
96006 else
96007 # /dev/null tree
96008 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
96009 echo "$as_me: error: cannot find input file: $f" >&2;}
96010 { (exit 1); exit 1; }; }
96011 fi;;
96012 esac
96013 done` || { (exit 1); exit 1; }
96014 # Remove the trailing spaces.
96015 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
96017 _ACEOF
96019 # Transform confdefs.h into two sed scripts, `conftest.defines' and
96020 # `conftest.undefs', that substitutes the proper values into
96021 # config.h.in to produce config.h. The first handles `#define'
96022 # templates, and the second `#undef' templates.
96023 # And first: Protect against being on the right side of a sed subst in
96024 # config.status. Protect against being in an unquoted here document
96025 # in config.status.
96026 rm -f conftest.defines conftest.undefs
96027 # Using a here document instead of a string reduces the quoting nightmare.
96028 # Putting comments in sed scripts is not portable.
96030 # `end' is used to avoid that the second main sed command (meant for
96031 # 0-ary CPP macros) applies to n-ary macro definitions.
96032 # See the Autoconf documentation for `clear'.
96033 cat >confdef2sed.sed <<\_ACEOF
96034 s/[\\&,]/\\&/g
96035 s,[\\$`],\\&,g
96036 t clear
96037 : clear
96038 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
96039 t end
96040 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
96041 : end
96042 _ACEOF
96043 # If some macros were called several times there might be several times
96044 # the same #defines, which is useless. Nevertheless, we may not want to
96045 # sort them, since we want the *last* AC-DEFINE to be honored.
96046 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
96047 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
96048 rm -f confdef2sed.sed
96050 # This sed command replaces #undef with comments. This is necessary, for
96051 # example, in the case of _POSIX_SOURCE, which is predefined and required
96052 # on some systems where configure will not decide to define it.
96053 cat >>conftest.undefs <<\_ACEOF
96054 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
96055 _ACEOF
96057 # Break up conftest.defines because some shells have a limit on the size
96058 # of here documents, and old seds have small limits too (100 cmds).
96059 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
96060 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
96061 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
96062 echo ' :' >>$CONFIG_STATUS
96063 rm -f conftest.tail
96064 while grep . conftest.defines >/dev/null
96066 # Write a limited-size here document to $tmp/defines.sed.
96067 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
96068 # Speed up: don't consider the non `#define' lines.
96069 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
96070 # Work around the forget-to-reset-the-flag bug.
96071 echo 't clr' >>$CONFIG_STATUS
96072 echo ': clr' >>$CONFIG_STATUS
96073 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
96074 echo 'CEOF
96075 sed -f $tmp/defines.sed $tmp/in >$tmp/out
96076 rm -f $tmp/in
96077 mv $tmp/out $tmp/in
96078 ' >>$CONFIG_STATUS
96079 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
96080 rm -f conftest.defines
96081 mv conftest.tail conftest.defines
96082 done
96083 rm -f conftest.defines
96084 echo ' fi # grep' >>$CONFIG_STATUS
96085 echo >>$CONFIG_STATUS
96087 # Break up conftest.undefs because some shells have a limit on the size
96088 # of here documents, and old seds have small limits too (100 cmds).
96089 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
96090 rm -f conftest.tail
96091 while grep . conftest.undefs >/dev/null
96093 # Write a limited-size here document to $tmp/undefs.sed.
96094 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
96095 # Speed up: don't consider the non `#undef'
96096 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
96097 # Work around the forget-to-reset-the-flag bug.
96098 echo 't clr' >>$CONFIG_STATUS
96099 echo ': clr' >>$CONFIG_STATUS
96100 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
96101 echo 'CEOF
96102 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
96103 rm -f $tmp/in
96104 mv $tmp/out $tmp/in
96105 ' >>$CONFIG_STATUS
96106 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
96107 rm -f conftest.undefs
96108 mv conftest.tail conftest.undefs
96109 done
96110 rm -f conftest.undefs
96112 cat >>$CONFIG_STATUS <<\_ACEOF
96113 # Let's still pretend it is `configure' which instantiates (i.e., don't
96114 # use $as_me), people would be surprised to read:
96115 # /* config.h. Generated by config.status. */
96116 if test x"$ac_file" = x-; then
96117 echo "/* Generated by configure. */" >$tmp/config.h
96118 else
96119 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
96121 cat $tmp/in >>$tmp/config.h
96122 rm -f $tmp/in
96123 if test x"$ac_file" != x-; then
96124 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
96125 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
96126 echo "$as_me: $ac_file is unchanged" >&6;}
96127 else
96128 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
96129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96130 X"$ac_file" : 'X\(//\)[^/]' \| \
96131 X"$ac_file" : 'X\(//\)$' \| \
96132 X"$ac_file" : 'X\(/\)' \| \
96133 . : '\(.\)' 2>/dev/null ||
96134 echo X"$ac_file" |
96135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96137 /^X\(\/\/\)$/{ s//\1/; q; }
96138 /^X\(\/\).*/{ s//\1/; q; }
96139 s/.*/./; q'`
96140 { if $as_mkdir_p; then
96141 mkdir -p "$ac_dir"
96142 else
96143 as_dir="$ac_dir"
96144 as_dirs=
96145 while test ! -d "$as_dir"; do
96146 as_dirs="$as_dir $as_dirs"
96147 as_dir=`(dirname "$as_dir") 2>/dev/null ||
96148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96149 X"$as_dir" : 'X\(//\)[^/]' \| \
96150 X"$as_dir" : 'X\(//\)$' \| \
96151 X"$as_dir" : 'X\(/\)' \| \
96152 . : '\(.\)' 2>/dev/null ||
96153 echo X"$as_dir" |
96154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96156 /^X\(\/\/\)$/{ s//\1/; q; }
96157 /^X\(\/\).*/{ s//\1/; q; }
96158 s/.*/./; q'`
96159 done
96160 test ! -n "$as_dirs" || mkdir $as_dirs
96161 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96162 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96163 { (exit 1); exit 1; }; }; }
96165 rm -f $ac_file
96166 mv $tmp/config.h $ac_file
96168 else
96169 cat $tmp/config.h
96170 rm -f $tmp/config.h
96172 # Compute $ac_file's index in $config_headers.
96173 _am_stamp_count=1
96174 for _am_header in $config_headers :; do
96175 case $_am_header in
96176 $ac_file | $ac_file:* )
96177 break ;;
96179 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
96180 esac
96181 done
96182 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
96183 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96184 X$ac_file : 'X\(//\)[^/]' \| \
96185 X$ac_file : 'X\(//\)$' \| \
96186 X$ac_file : 'X\(/\)' \| \
96187 . : '\(.\)' 2>/dev/null ||
96188 echo X$ac_file |
96189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96191 /^X\(\/\/\)$/{ s//\1/; q; }
96192 /^X\(\/\).*/{ s//\1/; q; }
96193 s/.*/./; q'`/stamp-h$_am_stamp_count
96194 done
96195 _ACEOF
96196 cat >>$CONFIG_STATUS <<\_ACEOF
96199 # CONFIG_COMMANDS section.
96201 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
96202 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
96203 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
96204 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
96205 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96206 X"$ac_dest" : 'X\(//\)[^/]' \| \
96207 X"$ac_dest" : 'X\(//\)$' \| \
96208 X"$ac_dest" : 'X\(/\)' \| \
96209 . : '\(.\)' 2>/dev/null ||
96210 echo X"$ac_dest" |
96211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96212 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96213 /^X\(\/\/\)$/{ s//\1/; q; }
96214 /^X\(\/\).*/{ s//\1/; q; }
96215 s/.*/./; q'`
96216 { if $as_mkdir_p; then
96217 mkdir -p "$ac_dir"
96218 else
96219 as_dir="$ac_dir"
96220 as_dirs=
96221 while test ! -d "$as_dir"; do
96222 as_dirs="$as_dir $as_dirs"
96223 as_dir=`(dirname "$as_dir") 2>/dev/null ||
96224 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96225 X"$as_dir" : 'X\(//\)[^/]' \| \
96226 X"$as_dir" : 'X\(//\)$' \| \
96227 X"$as_dir" : 'X\(/\)' \| \
96228 . : '\(.\)' 2>/dev/null ||
96229 echo X"$as_dir" |
96230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96232 /^X\(\/\/\)$/{ s//\1/; q; }
96233 /^X\(\/\).*/{ s//\1/; q; }
96234 s/.*/./; q'`
96235 done
96236 test ! -n "$as_dirs" || mkdir $as_dirs
96237 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96238 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96239 { (exit 1); exit 1; }; }; }
96241 ac_builddir=.
96243 if test "$ac_dir" != .; then
96244 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
96245 # A "../" for each directory in $ac_dir_suffix.
96246 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
96247 else
96248 ac_dir_suffix= ac_top_builddir=
96251 case $srcdir in
96252 .) # No --srcdir option. We are building in place.
96253 ac_srcdir=.
96254 if test -z "$ac_top_builddir"; then
96255 ac_top_srcdir=.
96256 else
96257 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
96258 fi ;;
96259 [\\/]* | ?:[\\/]* ) # Absolute path.
96260 ac_srcdir=$srcdir$ac_dir_suffix;
96261 ac_top_srcdir=$srcdir ;;
96262 *) # Relative path.
96263 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
96264 ac_top_srcdir=$ac_top_builddir$srcdir ;;
96265 esac
96267 # Do not use `cd foo && pwd` to compute absolute paths, because
96268 # the directories may not exist.
96269 case `pwd` in
96270 .) ac_abs_builddir="$ac_dir";;
96272 case "$ac_dir" in
96273 .) ac_abs_builddir=`pwd`;;
96274 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
96275 *) ac_abs_builddir=`pwd`/"$ac_dir";;
96276 esac;;
96277 esac
96278 case $ac_abs_builddir in
96279 .) ac_abs_top_builddir=${ac_top_builddir}.;;
96281 case ${ac_top_builddir}. in
96282 .) ac_abs_top_builddir=$ac_abs_builddir;;
96283 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
96284 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
96285 esac;;
96286 esac
96287 case $ac_abs_builddir in
96288 .) ac_abs_srcdir=$ac_srcdir;;
96290 case $ac_srcdir in
96291 .) ac_abs_srcdir=$ac_abs_builddir;;
96292 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
96293 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
96294 esac;;
96295 esac
96296 case $ac_abs_builddir in
96297 .) ac_abs_top_srcdir=$ac_top_srcdir;;
96299 case $ac_top_srcdir in
96300 .) ac_abs_top_srcdir=$ac_abs_builddir;;
96301 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
96302 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
96303 esac;;
96304 esac
96307 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
96308 echo "$as_me: executing $ac_dest commands" >&6;}
96309 case $ac_dest in
96310 default-1 )
96311 # Only add multilib support code if we just rebuilt the top-level
96312 # Makefile.
96313 case " $CONFIG_FILES " in
96314 *" Makefile "*)
96315 ac_file=Makefile . ${multi_basedir}/config-ml.in
96317 esac ;;
96318 default ) if test -n "$CONFIG_FILES"; then
96319 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96320 # that multilib installs will end up installed in the correct place.
96321 # The testsuite needs it for multilib-aware ABI baseline files.
96322 # To work around this not being passed down from config-ml.in ->
96323 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96324 # append it here. Only modify Makefiles that have just been created.
96326 # Also, get rid of this simulated-VPATH thing that automake does.
96327 cat > vpsed << \_EOF
96328 s!`test -f '$<' || echo '$(srcdir)/'`!!
96329 _EOF
96330 for i in $SUBDIRS; do
96331 case $CONFIG_FILES in
96332 *${i}/Makefile*)
96333 #echo "Adding MULTISUBDIR to $i/Makefile"
96334 sed -f vpsed $i/Makefile > tmp
96335 grep '^MULTISUBDIR =' Makefile >> tmp
96336 mv tmp $i/Makefile
96338 esac
96339 done
96340 rm vpsed
96342 (cd include && ${MAKE-make})
96344 esac
96345 done
96346 _ACEOF
96348 cat >>$CONFIG_STATUS <<\_ACEOF
96350 { (exit 0); exit 0; }
96351 _ACEOF
96352 chmod +x $CONFIG_STATUS
96353 ac_clean_files=$ac_clean_files_save
96356 # configure is writing to config.log, and then calls config.status.
96357 # config.status does its own redirection, appending to config.log.
96358 # Unfortunately, on DOS this fails, as config.log is still kept open
96359 # by configure, so config.status won't be able to write to it; its
96360 # output is simply discarded. So we exec the FD to /dev/null,
96361 # effectively closing config.log, so it can be properly (re)opened and
96362 # appended to by config.status. When coming back to configure, we
96363 # need to make the FD available again.
96364 if test "$no_create" != yes; then
96365 ac_cs_success=:
96366 ac_config_status_args=
96367 test "$silent" = yes &&
96368 ac_config_status_args="$ac_config_status_args --quiet"
96369 exec 5>/dev/null
96370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96371 exec 5>>config.log
96372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96373 # would make configure fail if this is the last instruction.
96374 $ac_cs_success || { (exit 1); exit 1; }