*** empty log message ***
[official-gcc.git] / libstdc++-v3 / configure
blob92492dbe5e5066e100a43a8b4bb70a3903517fe8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-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.9"
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 # We used to keeping the `.' as first argument, in order to
1711 # allow $(mkdir_p) to be used without argument. As in
1712 # $(mkdir_p) $(somedir)
1713 # where $(somedir) is conditionally defined. However this is wrong
1714 # for two reasons:
1715 # 1. if the package is installed by a user who cannot write `.'
1716 # make install will fail,
1717 # 2. the above comment should most certainly read
1718 # $(mkdir_p) $(DESTDIR)$(somedir)
1719 # so it does not work when $(somedir) is undefined and
1720 # $(DESTDIR) is not.
1721 # To support the latter case, we have to write
1722 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1723 # so the `.' trick is pointless.
1724 mkdir_p='mkdir -p --'
1725 else
1726 # On NextStep and OpenStep, the `mkdir' command does not
1727 # recognize any option. It will interpret all options as
1728 # directories to create, and then abort because `.' already
1729 # exists.
1730 for d in ./-p ./--version;
1732 test -d $d && rmdir $d
1733 done
1734 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1735 if test -f "$ac_aux_dir/mkinstalldirs"; then
1736 mkdir_p='$(mkinstalldirs)'
1737 else
1738 mkdir_p='$(install_sh) -d'
1742 for ac_prog in gawk mawk nawk awk
1744 # Extract the first word of "$ac_prog", so it can be a program name with args.
1745 set dummy $ac_prog; ac_word=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_AWK+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1750 else
1751 if test -n "$AWK"; then
1752 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1753 else
1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1755 for as_dir in $PATH
1757 IFS=$as_save_IFS
1758 test -z "$as_dir" && as_dir=.
1759 for ac_exec_ext in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_AWK="$ac_prog"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763 break 2
1765 done
1766 done
1770 AWK=$ac_cv_prog_AWK
1771 if test -n "$AWK"; then
1772 echo "$as_me:$LINENO: result: $AWK" >&5
1773 echo "${ECHO_T}$AWK" >&6
1774 else
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1779 test -n "$AWK" && break
1780 done
1782 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1783 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1784 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1785 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 else
1788 cat >conftest.make <<\_ACEOF
1789 all:
1790 @echo 'ac_maketemp="$(MAKE)"'
1791 _ACEOF
1792 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1793 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1794 if test -n "$ac_maketemp"; then
1795 eval ac_cv_prog_make_${ac_make}_set=yes
1796 else
1797 eval ac_cv_prog_make_${ac_make}_set=no
1799 rm -f conftest.make
1801 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1802 echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6
1804 SET_MAKE=
1805 else
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1808 SET_MAKE="MAKE=${MAKE-make}"
1811 rm -rf .tst 2>/dev/null
1812 mkdir .tst 2>/dev/null
1813 if test -d .tst; then
1814 am__leading_dot=.
1815 else
1816 am__leading_dot=_
1818 rmdir .tst 2>/dev/null
1820 # test to see if srcdir already configured
1821 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1822 test -f $srcdir/config.status; then
1823 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1824 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1825 { (exit 1); exit 1; }; }
1828 # test whether we have cygpath
1829 if test -z "$CYGPATH_W"; then
1830 if (cygpath --version) >/dev/null 2>/dev/null; then
1831 CYGPATH_W='cygpath -w'
1832 else
1833 CYGPATH_W=echo
1838 # Define the identity of the package.
1839 PACKAGE='libstdc++'
1840 VERSION='version-unused'
1843 # Some tools Automake needs.
1845 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1848 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1851 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1854 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1857 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1859 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1861 # Installed binaries are usually stripped using `strip' when the user
1862 # run `make install-strip'. However `strip' might not be the right
1863 # tool to use in cross-compilation environments, therefore Automake
1864 # will honor the `STRIP' environment variable to overrule this program.
1865 if test "$cross_compiling" != no; then
1866 if test -n "$ac_tool_prefix"; then
1867 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1868 set dummy ${ac_tool_prefix}strip; ac_word=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_STRIP+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 else
1874 if test -n "$STRIP"; then
1875 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1876 else
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 for as_dir in $PATH
1880 IFS=$as_save_IFS
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886 break 2
1888 done
1889 done
1893 STRIP=$ac_cv_prog_STRIP
1894 if test -n "$STRIP"; then
1895 echo "$as_me:$LINENO: result: $STRIP" >&5
1896 echo "${ECHO_T}$STRIP" >&6
1897 else
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1903 if test -z "$ac_cv_prog_STRIP"; then
1904 ac_ct_STRIP=$STRIP
1905 # Extract the first word of "strip", so it can be a program name with args.
1906 set dummy strip; ac_word=$2
1907 echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 else
1912 if test -n "$ac_ct_STRIP"; then
1913 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1914 else
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 for as_dir in $PATH
1918 IFS=$as_save_IFS
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922 ac_cv_prog_ac_ct_STRIP="strip"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 break 2
1926 done
1927 done
1929 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1932 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1933 if test -n "$ac_ct_STRIP"; then
1934 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1935 echo "${ECHO_T}$ac_ct_STRIP" >&6
1936 else
1937 echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6
1941 STRIP=$ac_ct_STRIP
1942 else
1943 STRIP="$ac_cv_prog_STRIP"
1947 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1949 # We need awk for the "check" target. The system "awk" is bad on
1950 # some platforms.
1951 # Always define AMTAR for backward compatibility.
1953 AMTAR=${AMTAR-"${am_missing_run}tar"}
1955 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1962 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1963 # up critical shell variables.
1965 # Keep these sync'd with the list in Makefile.am. The first provides an
1966 # expandable list at autoconf time; the second provides an expandable list
1967 # (i.e., shell variable) at configure time.
1969 SUBDIRS='include libmath libsupc++ src po testsuite'
1971 # These need to be absolute paths, yet at the same time need to
1972 # canonicalize only relative paths, because then amd will not unmount
1973 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1974 glibcxx_builddir=`${PWDCMD-pwd}`
1975 case $srcdir in
1976 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1977 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1978 esac
1979 toplevel_srcdir=${glibcxx_srcdir}/..
1984 # We use these options to decide which functions to include. They are
1985 # set from the top level.
1987 # Check whether --with-target-subdir or --without-target-subdir was given.
1988 if test "${with_target_subdir+set}" = set; then
1989 withval="$with_target_subdir"
1994 # Check whether --with-cross-host or --without-cross-host was given.
1995 if test "${with_cross_host+set}" = set; then
1996 withval="$with_cross_host"
2001 # Check whether --with-newlib or --without-newlib was given.
2002 if test "${with_newlib+set}" = set; then
2003 withval="$with_newlib"
2007 # We're almost certainly being configured before anything else which uses
2008 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2009 # we not cache the value of CXX that we "discover" here, because it's set
2010 # to something unique for us and libjava. Other target libraries need to
2011 # find CXX for themselves. We yank the rug out from under the normal AC_*
2012 # process by sneakily renaming the cache variable. This also lets us debug
2013 # the value of "our" CXX in postmortems.
2015 # We must also force CXX to /not/ be a precious variable, otherwise the
2016 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2017 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2018 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2019 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2021 # -fno-builtin must be present here so that a non-conflicting form of
2022 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2027 save_CXXFLAGS="$CXXFLAGS"
2028 CXXFLAGS="$CXXFLAGS -fno-builtin"
2029 ac_ext=c
2030 ac_cpp='$CPP $CPPFLAGS'
2031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 else
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC="$CC" # Let the user override the test.
2044 else
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 for as_dir in $PATH
2048 IFS=$as_save_IFS
2049 test -z "$as_dir" && as_dir=.
2050 for ac_exec_ext in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 break 2
2056 done
2057 done
2061 CC=$ac_cv_prog_CC
2062 if test -n "$CC"; then
2063 echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2065 else
2066 echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2071 if test -z "$ac_cv_prog_CC"; then
2072 ac_ct_CC=$CC
2073 # Extract the first word of "gcc", so it can be a program name with args.
2074 set dummy gcc; ac_word=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 else
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 else
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 for as_dir in $PATH
2086 IFS=$as_save_IFS
2087 test -z "$as_dir" && as_dir=.
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC="gcc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 break 2
2094 done
2095 done
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2103 else
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2108 CC=$ac_ct_CC
2109 else
2110 CC="$ac_cv_prog_CC"
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}cc; ac_word=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 else
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC="$CC" # Let the user override the test.
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH
2128 IFS=$as_save_IFS
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_CC="${ac_tool_prefix}cc"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 break 2
2136 done
2137 done
2141 CC=$ac_cv_prog_CC
2142 if test -n "$CC"; then
2143 echo "$as_me:$LINENO: result: $CC" >&5
2144 echo "${ECHO_T}$CC" >&6
2145 else
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2151 if test -z "$ac_cv_prog_CC"; then
2152 ac_ct_CC=$CC
2153 # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 else
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2162 else
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2166 IFS=$as_save_IFS
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_CC="cc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 break 2
2174 done
2175 done
2179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 echo "${ECHO_T}$ac_ct_CC" >&6
2183 else
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2188 CC=$ac_ct_CC
2189 else
2190 CC="$ac_cv_prog_CC"
2194 if test -z "$CC"; then
2195 # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc; ac_word=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 else
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2204 else
2205 ac_prog_rejected=no
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2209 IFS=$as_save_IFS
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2214 ac_prog_rejected=yes
2215 continue
2217 ac_cv_prog_CC="cc"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2221 done
2222 done
2224 if test $ac_prog_rejected = yes; then
2225 # We found a bogon in the path, so make sure we never use it.
2226 set dummy $ac_cv_prog_CC
2227 shift
2228 if test $# != 0; then
2229 # We chose a different compiler from the bogus one.
2230 # However, it has the same basename, so the bogon will be chosen
2231 # first if we set CC to just the basename; use the full file name.
2232 shift
2233 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2238 CC=$ac_cv_prog_CC
2239 if test -n "$CC"; then
2240 echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2242 else
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2248 if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2250 for ac_prog in cl
2252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2261 else
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 for as_dir in $PATH
2265 IFS=$as_save_IFS
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 break 2
2273 done
2274 done
2278 CC=$ac_cv_prog_CC
2279 if test -n "$CC"; then
2280 echo "$as_me:$LINENO: result: $CC" >&5
2281 echo "${ECHO_T}$CC" >&6
2282 else
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$CC" && break
2288 done
2290 if test -z "$CC"; then
2291 ac_ct_CC=$CC
2292 for ac_prog in cl
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy $ac_prog; ac_word=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 else
2301 if test -n "$ac_ct_CC"; then
2302 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2303 else
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 for as_dir in $PATH
2307 IFS=$as_save_IFS
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_ac_ct_CC="$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 break 2
2315 done
2316 done
2320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323 echo "${ECHO_T}$ac_ct_CC" >&6
2324 else
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2329 test -n "$ac_ct_CC" && break
2330 done
2332 CC=$ac_ct_CC
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346 "checking for C compiler version" >&5
2347 ac_compiler=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349 (eval $ac_compiler --version </dev/null >&5) 2>&5
2350 ac_status=$?
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354 (eval $ac_compiler -v </dev/null >&5) 2>&5
2355 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359 (eval $ac_compiler -V </dev/null >&5) 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2364 cat >conftest.$ac_ext <<_ACEOF
2365 /* confdefs.h. */
2366 _ACEOF
2367 cat confdefs.h >>conftest.$ac_ext
2368 cat >>conftest.$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2372 main ()
2376 return 0;
2378 _ACEOF
2379 # FIXME: Cleanup?
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381 (eval $ac_link) 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; then
2385 gcc_no_link=no
2386 else
2387 gcc_no_link=yes
2390 if test x$gcc_no_link = xyes; then
2391 # Setting cross_compile will disable run tests; it will
2392 # also disable AC_CHECK_FILE but that's generally
2393 # correct if we can't link.
2394 cross_compiling=yes
2395 EXEEXT=
2396 else
2397 cat >conftest.$ac_ext <<_ACEOF
2398 /* confdefs.h. */
2399 _ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2405 main ()
2409 return 0;
2411 _ACEOF
2412 ac_clean_files_save=$ac_clean_files
2413 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2414 # Try to create an executable without -o first, disregard a.out.
2415 # It will help us diagnose broken compilers, and finding out an intuition
2416 # of exeext.
2417 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2418 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2419 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2420 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2421 (eval $ac_link_default) 2>&5
2422 ac_status=$?
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; then
2425 # Find the output, starting from the most likely. This scheme is
2426 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2427 # resort.
2429 # Be careful to initialize this variable, since it used to be cached.
2430 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2431 ac_cv_exeext=
2432 # b.out is created by i960 compilers.
2433 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2435 test -f "$ac_file" || continue
2436 case $ac_file in
2437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2439 conftest.$ac_ext )
2440 # This is the source file.
2442 [ab].out )
2443 # We found the default executable, but exeext='' is most
2444 # certainly right.
2445 break;;
2446 *.* )
2447 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448 # FIXME: I believe we export ac_cv_exeext for Libtool,
2449 # but it would be cool to find out if it's true. Does anybody
2450 # maintain Libtool? --akim.
2451 export ac_cv_exeext
2452 break;;
2454 break;;
2455 esac
2456 done
2457 else
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2461 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&2;}
2465 { (exit 77); exit 77; }; }
2468 ac_exeext=$ac_cv_exeext
2469 echo "$as_me:$LINENO: result: $ac_file" >&5
2470 echo "${ECHO_T}$ac_file" >&6
2472 # Check the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try='./$ac_file'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 (eval $ac_try) 2>&5
2482 ac_status=$?
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2485 cross_compiling=no
2486 else
2487 if test "$cross_compiling" = maybe; then
2488 cross_compiling=yes
2489 else
2490 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2500 echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6
2503 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 # Check the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2509 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6
2512 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515 (eval $ac_link) 2>&5
2516 ac_status=$?
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; then
2519 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2520 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2521 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 # `rm'.
2523 for ac_file in conftest.exe conftest conftest.*; do
2524 test -f "$ac_file" || continue
2525 case $ac_file in
2526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2527 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528 export ac_cv_exeext
2529 break;;
2530 * ) break;;
2531 esac
2532 done
2533 else
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 rm -f conftest$ac_cv_exeext
2542 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6
2545 rm -f conftest.$ac_ext
2546 EXEEXT=$ac_cv_exeext
2547 ac_exeext=$EXEEXT
2549 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2550 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2551 if test "${ac_cv_objext+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 else
2554 cat >conftest.$ac_ext <<_ACEOF
2555 /* confdefs.h. */
2556 _ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2562 main ()
2566 return 0;
2568 _ACEOF
2569 rm -f conftest.o conftest.obj
2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571 (eval $ac_compile) 2>&5
2572 ac_status=$?
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2576 case $ac_file in
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2578 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2579 break;;
2580 esac
2581 done
2582 else
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2586 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2589 See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }
2593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2595 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2596 echo "${ECHO_T}$ac_cv_objext" >&6
2597 OBJEXT=$ac_cv_objext
2598 ac_objext=$OBJEXT
2599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604 cat >conftest.$ac_ext <<_ACEOF
2605 /* confdefs.h. */
2606 _ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2612 main ()
2614 #ifndef __GNUC__
2615 choke me
2616 #endif
2619 return 0;
2621 _ACEOF
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2625 ac_status=$?
2626 grep -v '^ *+' conftest.er1 >conftest.err
2627 rm -f conftest.er1
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try='test -z "$ac_c_werror_flag"
2632 || test ! -s conftest.err'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634 (eval $ac_try) 2>&5
2635 ac_status=$?
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; } &&
2638 { ac_try='test -s conftest.$ac_objext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 (eval $ac_try) 2>&5
2641 ac_status=$?
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2644 ac_compiler_gnu=yes
2645 else
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2649 ac_compiler_gnu=no
2651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2655 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2656 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2657 GCC=`test $ac_compiler_gnu = yes && echo yes`
2658 ac_test_CFLAGS=${CFLAGS+set}
2659 ac_save_CFLAGS=$CFLAGS
2660 CFLAGS="-g"
2661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2663 if test "${ac_cv_prog_cc_g+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 else
2666 cat >conftest.$ac_ext <<_ACEOF
2667 /* confdefs.h. */
2668 _ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2674 main ()
2678 return 0;
2680 _ACEOF
2681 rm -f conftest.$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2684 ac_status=$?
2685 grep -v '^ *+' conftest.er1 >conftest.err
2686 rm -f conftest.er1
2687 cat conftest.err >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try='test -z "$ac_c_werror_flag"
2691 || test ! -s conftest.err'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 (eval $ac_try) 2>&5
2694 ac_status=$?
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; } &&
2697 { ac_try='test -s conftest.$ac_objext'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 (eval $ac_try) 2>&5
2700 ac_status=$?
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; }; then
2703 ac_cv_prog_cc_g=yes
2704 else
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 ac_cv_prog_cc_g=no
2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2714 if test "$ac_test_CFLAGS" = set; then
2715 CFLAGS=$ac_save_CFLAGS
2716 elif test $ac_cv_prog_cc_g = yes; then
2717 if test "$GCC" = yes; then
2718 CFLAGS="-g -O2"
2719 else
2720 CFLAGS="-g"
2722 else
2723 if test "$GCC" = yes; then
2724 CFLAGS="-O2"
2725 else
2726 CFLAGS=
2729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 else
2734 ac_cv_prog_cc_stdc=no
2735 ac_save_CC=$CC
2736 cat >conftest.$ac_ext <<_ACEOF
2737 /* confdefs.h. */
2738 _ACEOF
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2742 #include <stdarg.h>
2743 #include <stdio.h>
2744 #include <sys/types.h>
2745 #include <sys/stat.h>
2746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2747 struct buf { int x; };
2748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2749 static char *e (p, i)
2750 char **p;
2751 int i;
2753 return p[i];
2755 static char *f (char * (*g) (char **, int), char **p, ...)
2757 char *s;
2758 va_list v;
2759 va_start (v,p);
2760 s = g (p, va_arg (v,int));
2761 va_end (v);
2762 return s;
2765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2766 function prototypes and stuff, but not '\xHH' hex character constants.
2767 These don't provoke an error unfortunately, instead are silently treated
2768 as 'x'. The following induces an error, until -std1 is added to get
2769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2770 array size at least. It's necessary to write '\x00'==0 to get something
2771 that's true only with -std1. */
2772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2774 int test (int i, double x);
2775 struct s1 {int (*f) (int a);};
2776 struct s2 {int (*f) (double a);};
2777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2778 int argc;
2779 char **argv;
2781 main ()
2783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2785 return 0;
2787 _ACEOF
2788 # Don't try gcc -ansi; that turns off useful extensions and
2789 # breaks some systems' header files.
2790 # AIX -qlanglvl=ansi
2791 # Ultrix and OSF/1 -std1
2792 # HP-UX 10.20 and later -Ae
2793 # HP-UX older versions -Aa -D_HPUX_SOURCE
2794 # SVR4 -Xc -D__EXTENSIONS__
2795 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2797 CC="$ac_save_CC $ac_arg"
2798 rm -f conftest.$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 (eval $ac_compile) 2>conftest.er1
2801 ac_status=$?
2802 grep -v '^ *+' conftest.er1 >conftest.err
2803 rm -f conftest.er1
2804 cat conftest.err >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } &&
2807 { ac_try='test -z "$ac_c_werror_flag"
2808 || test ! -s conftest.err'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 (eval $ac_try) 2>&5
2811 ac_status=$?
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; } &&
2814 { ac_try='test -s conftest.$ac_objext'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 (eval $ac_try) 2>&5
2817 ac_status=$?
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2820 ac_cv_prog_cc_stdc=$ac_arg
2821 break
2822 else
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2827 rm -f conftest.err conftest.$ac_objext
2828 done
2829 rm -f conftest.$ac_ext conftest.$ac_objext
2830 CC=$ac_save_CC
2834 case "x$ac_cv_prog_cc_stdc" in
2835 x|xno)
2836 echo "$as_me:$LINENO: result: none needed" >&5
2837 echo "${ECHO_T}none needed" >&6 ;;
2839 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2841 CC="$CC $ac_cv_prog_cc_stdc" ;;
2842 esac
2844 # Some people use a C++ compiler to compile C. Since we use `exit',
2845 # in C++ we need to declare it. In case someone uses the same compiler
2846 # for both compiling C and C++ we need to have the C++ compiler decide
2847 # the declaration of exit, since it's the most demanding environment.
2848 cat >conftest.$ac_ext <<_ACEOF
2849 #ifndef __cplusplus
2850 choke me
2851 #endif
2852 _ACEOF
2853 rm -f conftest.$ac_objext
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>conftest.er1
2856 ac_status=$?
2857 grep -v '^ *+' conftest.er1 >conftest.err
2858 rm -f conftest.er1
2859 cat conftest.err >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } &&
2862 { ac_try='test -z "$ac_c_werror_flag"
2863 || test ! -s conftest.err'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865 (eval $ac_try) 2>&5
2866 ac_status=$?
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; } &&
2869 { ac_try='test -s conftest.$ac_objext'
2870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 (eval $ac_try) 2>&5
2872 ac_status=$?
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; }; then
2875 for ac_declaration in \
2876 '' \
2877 'extern "C" void std::exit (int) throw (); using std::exit;' \
2878 'extern "C" void std::exit (int); using std::exit;' \
2879 'extern "C" void exit (int) throw ();' \
2880 'extern "C" void exit (int);' \
2881 'void exit (int);'
2883 cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h. */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2889 $ac_declaration
2890 #include <stdlib.h>
2892 main ()
2894 exit (42);
2896 return 0;
2898 _ACEOF
2899 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>conftest.er1
2902 ac_status=$?
2903 grep -v '^ *+' conftest.er1 >conftest.err
2904 rm -f conftest.er1
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try='test -z "$ac_c_werror_flag"
2909 || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 (eval $ac_try) 2>&5
2912 ac_status=$?
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try='test -s conftest.$ac_objext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 (eval $ac_try) 2>&5
2918 ac_status=$?
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 continue
2928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2929 cat >conftest.$ac_ext <<_ACEOF
2930 /* confdefs.h. */
2931 _ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2935 $ac_declaration
2937 main ()
2939 exit (42);
2941 return 0;
2943 _ACEOF
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>conftest.er1
2947 ac_status=$?
2948 grep -v '^ *+' conftest.er1 >conftest.err
2949 rm -f conftest.er1
2950 cat conftest.err >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try='test -z "$ac_c_werror_flag"
2954 || test ! -s conftest.err'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 (eval $ac_try) 2>&5
2957 ac_status=$?
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; } &&
2960 { ac_try='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962 (eval $ac_try) 2>&5
2963 ac_status=$?
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2966 break
2967 else
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2973 done
2974 rm -f conftest*
2975 if test -n "$ac_declaration"; then
2976 echo '#ifdef __cplusplus' >>confdefs.h
2977 echo $ac_declaration >>confdefs.h
2978 echo '#endif' >>confdefs.h
2981 else
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2987 ac_ext=c
2988 ac_cpp='$CPP $CPPFLAGS'
2989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2993 ac_ext=cc
2994 ac_cpp='$CXXCPP $CPPFLAGS'
2995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2998 if test -n "$ac_tool_prefix"; then
2999 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3003 echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3005 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 else
3008 if test -n "$CXX"; then
3009 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3010 else
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 for as_dir in $PATH
3014 IFS=$as_save_IFS
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 break 2
3022 done
3023 done
3027 CXX=$glibcxx_cv_prog_CXX
3028 if test -n "$CXX"; then
3029 echo "$as_me:$LINENO: result: $CXX" >&5
3030 echo "${ECHO_T}$CXX" >&6
3031 else
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3036 test -n "$CXX" && break
3037 done
3039 if test -z "$CXX"; then
3040 ac_ct_CXX=$CXX
3041 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3043 # Extract the first word of "$ac_prog", so it can be a program name with args.
3044 set dummy $ac_prog; ac_word=$2
3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 else
3050 if test -n "$ac_ct_CXX"; then
3051 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3056 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3058 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_ac_ct_CXX="$ac_prog"
3061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 break 2
3064 done
3065 done
3069 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3070 if test -n "$ac_ct_CXX"; then
3071 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3072 echo "${ECHO_T}$ac_ct_CXX" >&6
3073 else
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3078 test -n "$ac_ct_CXX" && break
3079 done
3080 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3082 CXX=$ac_ct_CXX
3086 # Provide some information about the compiler.
3087 echo "$as_me:$LINENO:" \
3088 "checking for C++ compiler version" >&5
3089 ac_compiler=`set X $ac_compile; echo $2`
3090 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3091 (eval $ac_compiler --version </dev/null >&5) 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3096 (eval $ac_compiler -v </dev/null >&5) 2>&5
3097 ac_status=$?
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }
3100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3101 (eval $ac_compiler -V </dev/null >&5) 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3121 #ifndef __GNUC__
3122 choke me
3123 #endif
3126 return 0;
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3131 (eval $ac_compile) 2>conftest.er1
3132 ac_status=$?
3133 grep -v '^ *+' conftest.er1 >conftest.err
3134 rm -f conftest.er1
3135 cat conftest.err >&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } &&
3138 { ac_try='test -z "$ac_cxx_werror_flag"
3139 || test ! -s conftest.err'
3140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3141 (eval $ac_try) 2>&5
3142 ac_status=$?
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); }; } &&
3145 { ac_try='test -s conftest.$ac_objext'
3146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 (eval $ac_try) 2>&5
3148 ac_status=$?
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; }; then
3151 ac_compiler_gnu=yes
3152 else
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3156 ac_compiler_gnu=no
3158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3159 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3162 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3163 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3164 GXX=`test $ac_compiler_gnu = yes && echo yes`
3165 ac_test_CXXFLAGS=${CXXFLAGS+set}
3166 ac_save_CXXFLAGS=$CXXFLAGS
3167 CXXFLAGS="-g"
3168 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3169 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3170 if test "${ac_cv_prog_cxx_g+set}" = set; then
3171 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 else
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>conftest.er1
3191 ac_status=$?
3192 grep -v '^ *+' conftest.er1 >conftest.err
3193 rm -f conftest.er1
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try='test -z "$ac_cxx_werror_flag"
3198 || test ! -s conftest.err'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 (eval $ac_try) 2>&5
3201 ac_status=$?
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try='test -s conftest.$ac_objext'
3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 (eval $ac_try) 2>&5
3207 ac_status=$?
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3210 ac_cv_prog_cxx_g=yes
3211 else
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3215 ac_cv_prog_cxx_g=no
3217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3219 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3220 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3221 if test "$ac_test_CXXFLAGS" = set; then
3222 CXXFLAGS=$ac_save_CXXFLAGS
3223 elif test $ac_cv_prog_cxx_g = yes; then
3224 if test "$GXX" = yes; then
3225 CXXFLAGS="-g -O2"
3226 else
3227 CXXFLAGS="-g"
3229 else
3230 if test "$GXX" = yes; then
3231 CXXFLAGS="-O2"
3232 else
3233 CXXFLAGS=
3236 for ac_declaration in \
3237 '' \
3238 'extern "C" void std::exit (int) throw (); using std::exit;' \
3239 'extern "C" void std::exit (int); using std::exit;' \
3240 'extern "C" void exit (int) throw ();' \
3241 'extern "C" void exit (int);' \
3242 'void exit (int);'
3244 cat >conftest.$ac_ext <<_ACEOF
3245 /* confdefs.h. */
3246 _ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 $ac_declaration
3251 #include <stdlib.h>
3253 main ()
3255 exit (42);
3257 return 0;
3259 _ACEOF
3260 rm -f conftest.$ac_objext
3261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3262 (eval $ac_compile) 2>conftest.er1
3263 ac_status=$?
3264 grep -v '^ *+' conftest.er1 >conftest.err
3265 rm -f conftest.er1
3266 cat conftest.err >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } &&
3269 { ac_try='test -z "$ac_cxx_werror_flag"
3270 || test ! -s conftest.err'
3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 (eval $ac_try) 2>&5
3273 ac_status=$?
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; } &&
3276 { ac_try='test -s conftest.$ac_objext'
3277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278 (eval $ac_try) 2>&5
3279 ac_status=$?
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; }; then
3283 else
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3287 continue
3289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3290 cat >conftest.$ac_ext <<_ACEOF
3291 /* confdefs.h. */
3292 _ACEOF
3293 cat confdefs.h >>conftest.$ac_ext
3294 cat >>conftest.$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3296 $ac_declaration
3298 main ()
3300 exit (42);
3302 return 0;
3304 _ACEOF
3305 rm -f conftest.$ac_objext
3306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3307 (eval $ac_compile) 2>conftest.er1
3308 ac_status=$?
3309 grep -v '^ *+' conftest.er1 >conftest.err
3310 rm -f conftest.er1
3311 cat conftest.err >&5
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); } &&
3314 { ac_try='test -z "$ac_cxx_werror_flag"
3315 || test ! -s conftest.err'
3316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 (eval $ac_try) 2>&5
3318 ac_status=$?
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; } &&
3321 { ac_try='test -s conftest.$ac_objext'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 (eval $ac_try) 2>&5
3324 ac_status=$?
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then
3327 break
3328 else
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.$ac_ext >&5
3333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3334 done
3335 rm -f conftest*
3336 if test -n "$ac_declaration"; then
3337 echo '#ifdef __cplusplus' >>confdefs.h
3338 echo $ac_declaration >>confdefs.h
3339 echo '#endif' >>confdefs.h
3342 ac_ext=c
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348 CXXFLAGS="$save_CXXFLAGS"
3353 # For directory versioning (e.g., headers) and other variables.
3354 echo "$as_me:$LINENO: checking for GCC version number" >&5
3355 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3356 gcc_version=`$CXX -dumpversion`
3357 echo "$as_me:$LINENO: result: $gcc_version" >&5
3358 echo "${ECHO_T}$gcc_version" >&6
3360 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3361 # available). Uncomment the next line to force a particular method.
3362 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3363 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3364 LN_S=$as_ln_s
3365 if test "$LN_S" = "ln -s"; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3370 echo "${ECHO_T}no, using $LN_S" >&6
3373 #LN_S='cp -p'
3375 if test -n "$ac_tool_prefix"; then
3376 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3377 set dummy ${ac_tool_prefix}as; ac_word=$2
3378 echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3380 if test "${ac_cv_prog_AS+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 else
3383 if test -n "$AS"; then
3384 ac_cv_prog_AS="$AS" # Let the user override the test.
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_prog_AS="${ac_tool_prefix}as"
3394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 break 2
3397 done
3398 done
3402 AS=$ac_cv_prog_AS
3403 if test -n "$AS"; then
3404 echo "$as_me:$LINENO: result: $AS" >&5
3405 echo "${ECHO_T}$AS" >&6
3406 else
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3412 if test -z "$ac_cv_prog_AS"; then
3413 ac_ct_AS=$AS
3414 # Extract the first word of "as", so it can be a program name with args.
3415 set dummy as; ac_word=$2
3416 echo "$as_me:$LINENO: checking for $ac_word" >&5
3417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3418 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 else
3421 if test -n "$ac_ct_AS"; then
3422 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3427 IFS=$as_save_IFS
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_ac_ct_AS="as"
3432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 break 2
3435 done
3436 done
3440 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3441 if test -n "$ac_ct_AS"; then
3442 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3443 echo "${ECHO_T}$ac_ct_AS" >&6
3444 else
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3449 AS=$ac_ct_AS
3450 else
3451 AS="$ac_cv_prog_AS"
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}ar; ac_word=$2
3457 echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3459 if test "${ac_cv_prog_AR+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462 if test -n "$AR"; then
3463 ac_cv_prog_AR="$AR" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3468 IFS=$as_save_IFS
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_AR="${ac_tool_prefix}ar"
3473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 break 2
3476 done
3477 done
3481 AR=$ac_cv_prog_AR
3482 if test -n "$AR"; then
3483 echo "$as_me:$LINENO: result: $AR" >&5
3484 echo "${ECHO_T}$AR" >&6
3485 else
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3491 if test -z "$ac_cv_prog_AR"; then
3492 ac_ct_AR=$AR
3493 # Extract the first word of "ar", so it can be a program name with args.
3494 set dummy ar; ac_word=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500 if test -n "$ac_ct_AR"; then
3501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3506 IFS=$as_save_IFS
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_ac_ct_AR="ar"
3511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 break 2
3514 done
3515 done
3519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3520 if test -n "$ac_ct_AR"; then
3521 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3522 echo "${ECHO_T}$ac_ct_AR" >&6
3523 else
3524 echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3528 AR=$ac_ct_AR
3529 else
3530 AR="$ac_cv_prog_AR"
3533 if test -n "$ac_tool_prefix"; then
3534 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3535 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3536 echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 if test "${ac_cv_prog_RANLIB+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 else
3541 if test -n "$RANLIB"; then
3542 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3543 else
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3547 IFS=$as_save_IFS
3548 test -z "$as_dir" && as_dir=.
3549 for ac_exec_ext in '' $ac_executable_extensions; do
3550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 break 2
3555 done
3556 done
3560 RANLIB=$ac_cv_prog_RANLIB
3561 if test -n "$RANLIB"; then
3562 echo "$as_me:$LINENO: result: $RANLIB" >&5
3563 echo "${ECHO_T}$RANLIB" >&6
3564 else
3565 echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3570 if test -z "$ac_cv_prog_RANLIB"; then
3571 ac_ct_RANLIB=$RANLIB
3572 # Extract the first word of "ranlib", so it can be a program name with args.
3573 set dummy ranlib; ac_word=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 else
3579 if test -n "$ac_ct_RANLIB"; then
3580 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3581 else
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3585 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_ac_ct_RANLIB="ranlib"
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 break 2
3593 done
3594 done
3596 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3599 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3600 if test -n "$ac_ct_RANLIB"; then
3601 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3602 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3603 else
3604 echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3608 RANLIB=$ac_ct_RANLIB
3609 else
3610 RANLIB="$ac_cv_prog_RANLIB"
3614 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3615 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3616 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3617 if test "${enable_maintainer_mode+set}" = set; then
3618 enableval="$enable_maintainer_mode"
3619 USE_MAINTAINER_MODE=$enableval
3620 else
3621 USE_MAINTAINER_MODE=no
3623 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3624 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3627 if test $USE_MAINTAINER_MODE = yes; then
3628 MAINTAINER_MODE_TRUE=
3629 MAINTAINER_MODE_FALSE='#'
3630 else
3631 MAINTAINER_MODE_TRUE='#'
3632 MAINTAINER_MODE_FALSE=
3635 MAINT=$MAINTAINER_MODE_TRUE
3639 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3640 # which are themselves conditionally expanded.
3641 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3642 ## other macros from doing the same. This should be automated.) -pme
3643 need_libmath=no
3644 enable_wchar_t=no
3645 #enable_libstdcxx_debug=no
3646 #enable_libstdcxx_pch=no
3647 #enable_cheaders=c
3648 #c_compatibility=no
3649 #enable_abi_check=no
3650 #enable_symvers=no
3651 #enable_hosted_libstdcxx=yes
3653 # Find platform-specific directories containing configuration info.
3654 # Also possibly modify flags used elsewhere, as needed by the platform.
3656 . $glibcxx_srcdir/configure.host
3657 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3658 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3659 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3660 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3664 #AC_MSG_NOTICE([====== Starting libtool configuration])
3666 # Check whether --enable-shared or --disable-shared was given.
3667 if test "${enable_shared+set}" = set; then
3668 enableval="$enable_shared"
3669 p=${PACKAGE-default}
3670 case $enableval in
3671 yes) enable_shared=yes ;;
3672 no) enable_shared=no ;;
3674 enable_shared=no
3675 # Look at the argument we got. We use all the common list separators.
3676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3677 for pkg in $enableval; do
3678 if test "X$pkg" = "X$p"; then
3679 enable_shared=yes
3681 done
3682 IFS="$ac_save_ifs"
3684 esac
3685 else
3686 enable_shared=yes
3688 # Check whether --enable-static or --disable-static was given.
3689 if test "${enable_static+set}" = set; then
3690 enableval="$enable_static"
3691 p=${PACKAGE-default}
3692 case $enableval in
3693 yes) enable_static=yes ;;
3694 no) enable_static=no ;;
3696 enable_static=no
3697 # Look at the argument we got. We use all the common list separators.
3698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3699 for pkg in $enableval; do
3700 if test "X$pkg" = "X$p"; then
3701 enable_static=yes
3703 done
3704 IFS="$ac_save_ifs"
3706 esac
3707 else
3708 enable_static=yes
3710 # Check whether --enable-fast-install or --disable-fast-install was given.
3711 if test "${enable_fast_install+set}" = set; then
3712 enableval="$enable_fast_install"
3713 p=${PACKAGE-default}
3714 case $enableval in
3715 yes) enable_fast_install=yes ;;
3716 no) enable_fast_install=no ;;
3718 enable_fast_install=no
3719 # Look at the argument we got. We use all the common list separators.
3720 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3721 for pkg in $enableval; do
3722 if test "X$pkg" = "X$p"; then
3723 enable_fast_install=yes
3725 done
3726 IFS="$ac_save_ifs"
3728 esac
3729 else
3730 enable_fast_install=yes
3733 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3734 if test "${with_gnu_ld+set}" = set; then
3735 withval="$with_gnu_ld"
3736 test "$withval" = no || with_gnu_ld=yes
3737 else
3738 with_gnu_ld=no
3740 ac_prog=ld
3741 if test "$GCC" = yes; then
3742 # Check if gcc -print-prog-name=ld gives a path.
3743 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3744 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3745 case $host in
3746 *-*-mingw*)
3747 # gcc leaves a trailing carriage return which upsets mingw
3748 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3750 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3751 esac
3752 case $ac_prog in
3753 # Accept absolute paths.
3754 [\\/]* | [A-Za-z]:[\\/]*)
3755 re_direlt='/[^/][^/]*/\.\./'
3756 # Canonicalize the path of ld
3757 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3758 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3759 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3760 done
3761 test -z "$LD" && LD="$ac_prog"
3764 # If it fails, then pretend we aren't using GCC.
3765 ac_prog=ld
3768 # If it is relative, then search for the first ld in PATH.
3769 with_gnu_ld=unknown
3771 esac
3772 elif test "$with_gnu_ld" = yes; then
3773 echo "$as_me:$LINENO: checking for GNU ld" >&5
3774 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3775 else
3776 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3777 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3779 if test "${lt_cv_path_LD+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 else
3782 if test -z "$LD"; then
3783 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3784 for ac_dir in $PATH; do
3785 test -z "$ac_dir" && ac_dir=.
3786 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3787 lt_cv_path_LD="$ac_dir/$ac_prog"
3788 # Check to see if the program is GNU ld. I'd rather use --version,
3789 # but apparently some GNU ld's only accept -v.
3790 # Break only if it was the GNU/non-GNU ld that we prefer.
3791 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3792 test "$with_gnu_ld" != no && break
3793 else
3794 test "$with_gnu_ld" != yes && break
3797 done
3798 IFS="$ac_save_ifs"
3799 else
3800 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3804 LD="$lt_cv_path_LD"
3805 if test -n "$LD"; then
3806 echo "$as_me:$LINENO: result: $LD" >&5
3807 echo "${ECHO_T}$LD" >&6
3808 else
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3812 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3813 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3814 { (exit 1); exit 1; }; }
3815 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3816 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3817 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 else
3820 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3821 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3822 lt_cv_prog_gnu_ld=yes
3823 else
3824 lt_cv_prog_gnu_ld=no
3827 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3828 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3829 with_gnu_ld=$lt_cv_prog_gnu_ld
3832 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3833 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3834 if test "${lt_cv_ld_reload_flag+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837 lt_cv_ld_reload_flag='-r'
3839 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3840 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3841 reload_flag=$lt_cv_ld_reload_flag
3842 test -n "$reload_flag" && reload_flag=" $reload_flag"
3844 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3845 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3846 if test "${lt_cv_path_NM+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 else
3849 if test -n "$NM"; then
3850 # Let the user override the test.
3851 lt_cv_path_NM="$NM"
3852 else
3853 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3854 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3855 test -z "$ac_dir" && ac_dir=.
3856 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3857 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3858 # Check to see if the nm accepts a BSD-compat flag.
3859 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3860 # nm: unknown option "B" ignored
3861 # Tru64's nm complains that /dev/null is an invalid object file
3862 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3863 lt_cv_path_NM="$tmp_nm -B"
3864 break
3865 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3866 lt_cv_path_NM="$tmp_nm -p"
3867 break
3868 else
3869 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3870 continue # so that we can try to find one that supports BSD flags
3873 done
3874 IFS="$ac_save_ifs"
3875 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3879 NM="$lt_cv_path_NM"
3880 echo "$as_me:$LINENO: result: $NM" >&5
3881 echo "${ECHO_T}$NM" >&6
3883 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3884 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3885 if test "${lt_cv_deplibs_check_method+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 else
3888 lt_cv_file_magic_cmd='$MAGIC_CMD'
3889 lt_cv_file_magic_test_file=
3890 lt_cv_deplibs_check_method='unknown'
3891 # Need to set the preceding variable on all platforms that support
3892 # interlibrary dependencies.
3893 # 'none' -- dependencies not supported.
3894 # `unknown' -- same as none, but documents that we really don't know.
3895 # 'pass_all' -- all dependencies passed with no checks.
3896 # 'test_compile' -- check by making test program.
3897 # 'file_magic [regex]' -- check by looking for files in library path
3898 # which responds to the $file_magic_cmd with a given egrep regex.
3899 # If you have `file' or equivalent on your system and you're not sure
3900 # whether `pass_all' will *always* work, you probably want this one.
3902 case $host_os in
3903 aix*)
3904 lt_cv_deplibs_check_method=pass_all
3907 beos*)
3908 lt_cv_deplibs_check_method=pass_all
3911 bsdi4*)
3912 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3913 lt_cv_file_magic_cmd='/usr/bin/file -L'
3914 lt_cv_file_magic_test_file=/shlib/libc.so
3917 cygwin* | mingw* |pw32*)
3918 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3919 lt_cv_file_magic_cmd='$OBJDUMP -f'
3922 darwin* | rhapsody*)
3923 # this will be overwritten by pass_all, but leave it in just in case
3924 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3925 lt_cv_file_magic_cmd='/usr/bin/file -L'
3926 case "$host_os" in
3927 rhapsody* | darwin1.012)
3928 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3930 *) # Darwin 1.3 on
3931 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3933 esac
3934 lt_cv_deplibs_check_method=pass_all
3937 freebsd* | kfreebsd*-gnu)
3938 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3939 case $host_cpu in
3940 i*86 )
3941 # Not sure whether the presence of OpenBSD here was a mistake.
3942 # Let's accept both of them until this is cleared up.
3943 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3944 lt_cv_file_magic_cmd=/usr/bin/file
3945 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3947 esac
3948 else
3949 lt_cv_deplibs_check_method=pass_all
3953 gnu*)
3954 lt_cv_deplibs_check_method=pass_all
3957 hpux10.20*|hpux11*)
3958 case $host_cpu in
3959 hppa*)
3960 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3961 lt_cv_file_magic_cmd=/usr/bin/file
3962 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3964 ia64*)
3965 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3966 lt_cv_file_magic_cmd=/usr/bin/file
3967 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3969 esac
3972 irix5* | irix6*)
3973 case $host_os in
3974 irix5*)
3975 # this will be overridden with pass_all, but let us keep it just in case
3976 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3979 case $LD in
3980 *-32|*"-32 ") libmagic=32-bit;;
3981 *-n32|*"-n32 ") libmagic=N32;;
3982 *-64|*"-64 ") libmagic=64-bit;;
3983 *) libmagic=never-match;;
3984 esac
3985 # this will be overridden with pass_all, but let us keep it just in case
3986 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3988 esac
3989 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3990 lt_cv_deplibs_check_method=pass_all
3993 # This must be Linux ELF.
3994 linux-gnu*)
3995 case $host_cpu in
3996 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3997 lt_cv_deplibs_check_method=pass_all ;;
3999 # glibc up to 2.1.1 does not perform some relocations on ARM
4000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4001 esac
4002 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4005 netbsd* | knetbsd*-gnu)
4006 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4007 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4008 else
4009 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4013 newsos6)
4014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4015 lt_cv_file_magic_cmd=/usr/bin/file
4016 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4019 osf3* | osf4* | osf5*)
4020 # this will be overridden with pass_all, but let us keep it just in case
4021 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4022 lt_cv_file_magic_test_file=/shlib/libc.so
4023 lt_cv_deplibs_check_method=pass_all
4026 sco3.2v5*)
4027 lt_cv_deplibs_check_method=pass_all
4030 solaris*)
4031 lt_cv_deplibs_check_method=pass_all
4032 lt_cv_file_magic_test_file=/lib/libc.so
4035 sysv5uw[78]* | sysv4*uw2*)
4036 lt_cv_deplibs_check_method=pass_all
4039 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4040 case $host_vendor in
4041 ncr)
4042 lt_cv_deplibs_check_method=pass_all
4044 motorola)
4045 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]'
4046 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4048 esac
4050 esac
4053 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4054 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4055 file_magic_cmd=$lt_cv_file_magic_cmd
4056 deplibs_check_method=$lt_cv_deplibs_check_method
4062 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4064 # Only perform the check for file, if the check method requires it
4065 case $deplibs_check_method in
4066 file_magic*)
4067 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4068 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4069 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4070 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 else
4073 case $MAGIC_CMD in
4075 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4077 ?:/*)
4078 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4081 ac_save_MAGIC_CMD="$MAGIC_CMD"
4082 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4083 ac_dummy="/usr/bin:$PATH"
4084 for ac_dir in $ac_dummy; do
4085 test -z "$ac_dir" && ac_dir=.
4086 if test -f $ac_dir/${ac_tool_prefix}file; then
4087 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4088 if test -n "$file_magic_test_file"; then
4089 case $deplibs_check_method in
4090 "file_magic "*)
4091 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4093 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4094 egrep "$file_magic_regex" > /dev/null; then
4096 else
4097 cat <<EOF 1>&2
4099 *** Warning: the command libtool uses to detect shared libraries,
4100 *** $file_magic_cmd, produces output that libtool cannot recognize.
4101 *** The result is that libtool may fail to recognize shared libraries
4102 *** as such. This will affect the creation of libtool libraries that
4103 *** depend on shared libraries, but programs linked with such libtool
4104 *** libraries will work regardless of this problem. Nevertheless, you
4105 *** may want to report the problem to your system manager and/or to
4106 *** bug-libtool@gnu.org
4109 fi ;;
4110 esac
4112 break
4114 done
4115 IFS="$ac_save_ifs"
4116 MAGIC_CMD="$ac_save_MAGIC_CMD"
4118 esac
4121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4122 if test -n "$MAGIC_CMD"; then
4123 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4124 echo "${ECHO_T}$MAGIC_CMD" >&6
4125 else
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4130 if test -z "$lt_cv_path_MAGIC_CMD"; then
4131 if test -n "$ac_tool_prefix"; then
4132 echo "$as_me:$LINENO: checking for file" >&5
4133 echo $ECHO_N "checking for file... $ECHO_C" >&6
4134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137 case $MAGIC_CMD in
4139 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4141 ?:/*)
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4145 ac_save_MAGIC_CMD="$MAGIC_CMD"
4146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4147 ac_dummy="/usr/bin:$PATH"
4148 for ac_dir in $ac_dummy; do
4149 test -z "$ac_dir" && ac_dir=.
4150 if test -f $ac_dir/file; then
4151 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4152 if test -n "$file_magic_test_file"; then
4153 case $deplibs_check_method in
4154 "file_magic "*)
4155 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4156 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4157 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4158 egrep "$file_magic_regex" > /dev/null; then
4160 else
4161 cat <<EOF 1>&2
4163 *** Warning: the command libtool uses to detect shared libraries,
4164 *** $file_magic_cmd, produces output that libtool cannot recognize.
4165 *** The result is that libtool may fail to recognize shared libraries
4166 *** as such. This will affect the creation of libtool libraries that
4167 *** depend on shared libraries, but programs linked with such libtool
4168 *** libraries will work regardless of this problem. Nevertheless, you
4169 *** may want to report the problem to your system manager and/or to
4170 *** bug-libtool@gnu.org
4173 fi ;;
4174 esac
4176 break
4178 done
4179 IFS="$ac_save_ifs"
4180 MAGIC_CMD="$ac_save_MAGIC_CMD"
4182 esac
4185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4186 if test -n "$MAGIC_CMD"; then
4187 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4188 echo "${ECHO_T}$MAGIC_CMD" >&6
4189 else
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4194 else
4195 MAGIC_CMD=:
4201 esac
4203 if test -n "$ac_tool_prefix"; then
4204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4205 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4206 echo "$as_me:$LINENO: checking for $ac_word" >&5
4207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4208 if test "${ac_cv_prog_RANLIB+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 else
4211 if test -n "$RANLIB"; then
4212 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4213 else
4214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 for as_dir in $PATH
4217 IFS=$as_save_IFS
4218 test -z "$as_dir" && as_dir=.
4219 for ac_exec_ext in '' $ac_executable_extensions; do
4220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4221 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4223 break 2
4225 done
4226 done
4230 RANLIB=$ac_cv_prog_RANLIB
4231 if test -n "$RANLIB"; then
4232 echo "$as_me:$LINENO: result: $RANLIB" >&5
4233 echo "${ECHO_T}$RANLIB" >&6
4234 else
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4240 if test -z "$ac_cv_prog_RANLIB"; then
4241 ac_ct_RANLIB=$RANLIB
4242 # Extract the first word of "ranlib", so it can be a program name with args.
4243 set dummy ranlib; ac_word=$2
4244 echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4246 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 else
4249 if test -n "$ac_ct_RANLIB"; then
4250 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4251 else
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253 for as_dir in $PATH
4255 IFS=$as_save_IFS
4256 test -z "$as_dir" && as_dir=.
4257 for ac_exec_ext in '' $ac_executable_extensions; do
4258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_ac_ct_RANLIB="ranlib"
4260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 break 2
4263 done
4264 done
4266 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4269 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4270 if test -n "$ac_ct_RANLIB"; then
4271 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4272 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4273 else
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4278 RANLIB=$ac_ct_RANLIB
4279 else
4280 RANLIB="$ac_cv_prog_RANLIB"
4283 if test -n "$ac_tool_prefix"; then
4284 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4285 set dummy ${ac_tool_prefix}strip; ac_word=$2
4286 echo "$as_me:$LINENO: checking for $ac_word" >&5
4287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4288 if test "${ac_cv_prog_STRIP+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 else
4291 if test -n "$STRIP"; then
4292 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4293 else
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 for as_dir in $PATH
4297 IFS=$as_save_IFS
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4301 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4303 break 2
4305 done
4306 done
4310 STRIP=$ac_cv_prog_STRIP
4311 if test -n "$STRIP"; then
4312 echo "$as_me:$LINENO: result: $STRIP" >&5
4313 echo "${ECHO_T}$STRIP" >&6
4314 else
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4320 if test -z "$ac_cv_prog_STRIP"; then
4321 ac_ct_STRIP=$STRIP
4322 # Extract the first word of "strip", so it can be a program name with args.
4323 set dummy strip; ac_word=$2
4324 echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4326 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 else
4329 if test -n "$ac_ct_STRIP"; then
4330 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4331 else
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333 for as_dir in $PATH
4335 IFS=$as_save_IFS
4336 test -z "$as_dir" && as_dir=.
4337 for ac_exec_ext in '' $ac_executable_extensions; do
4338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4339 ac_cv_prog_ac_ct_STRIP="strip"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 break 2
4343 done
4344 done
4346 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4349 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4350 if test -n "$ac_ct_STRIP"; then
4351 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4352 echo "${ECHO_T}$ac_ct_STRIP" >&6
4353 else
4354 echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6
4358 STRIP=$ac_ct_STRIP
4359 else
4360 STRIP="$ac_cv_prog_STRIP"
4364 # Check for any special flags to pass to ltconfig.
4365 libtool_flags="--cache-file=$cache_file"
4366 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4367 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4368 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4369 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4370 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4373 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4374 if test "${enable_libtool_lock+set}" = set; then
4375 enableval="$enable_libtool_lock"
4378 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4379 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4382 # Check whether --with-pic or --without-pic was given.
4383 if test "${with_pic+set}" = set; then
4384 withval="$with_pic"
4385 pic_mode="$withval"
4386 else
4387 pic_mode=default
4389 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4390 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4392 # Some flags need to be propagated to the compiler or linker for good
4393 # libtool support.
4394 case $host in
4395 *-*-irix6*)
4396 # Find out which ABI we are using.
4397 echo '#line 4397 "configure"' > conftest.$ac_ext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4399 (eval $ac_compile) 2>&5
4400 ac_status=$?
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; then
4403 if test "$lt_cv_prog_gnu_ld" = yes; then
4404 case `/usr/bin/file conftest.$ac_objext` in
4405 *32-bit*)
4406 LD="${LD-ld} -melf32bsmip"
4408 *N32*)
4409 LD="${LD-ld} -melf32bmipn32"
4411 *64-bit*)
4412 LD="${LD-ld} -melf64bmip"
4414 esac
4415 else
4416 case `/usr/bin/file conftest.$ac_objext` in
4417 *32-bit*)
4418 LD="${LD-ld} -32"
4420 *N32*)
4421 LD="${LD-ld} -n32"
4423 *64-bit*)
4424 LD="${LD-ld} -64"
4426 esac
4429 rm -rf conftest*
4432 ia64-*-hpux*)
4433 # Find out which ABI we are using.
4434 echo 'int i;' > conftest.$ac_ext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4436 (eval $ac_compile) 2>&5
4437 ac_status=$?
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; then
4440 case "`/usr/bin/file conftest.o`" in
4441 *ELF-32*)
4442 HPUX_IA64_MODE="32"
4444 *ELF-64*)
4445 HPUX_IA64_MODE="64"
4447 esac
4449 rm -rf conftest*
4452 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4453 # Find out which ABI we are using.
4454 echo 'int i;' > conftest.$ac_ext
4455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4456 (eval $ac_compile) 2>&5
4457 ac_status=$?
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; then
4460 case "`/usr/bin/file conftest.o`" in
4461 *32-bit*)
4462 case $host in
4463 x86_64-*linux*)
4464 LD="${LD-ld} -m elf_i386"
4466 ppc64-*linux*|powerpc64-*linux*)
4467 LD="${LD-ld} -m elf32ppclinux"
4469 s390x-*linux*)
4470 LD="${LD-ld} -m elf_s390"
4472 sparc64-*linux*)
4473 LD="${LD-ld} -m elf32_sparc"
4475 esac
4477 *64-bit*)
4478 case $host in
4479 x86_64-*linux*)
4480 LD="${LD-ld} -m elf_x86_64"
4482 ppc*-*linux*|powerpc*-*linux*)
4483 LD="${LD-ld} -m elf64ppc"
4485 s390*-*linux*)
4486 LD="${LD-ld} -m elf64_s390"
4488 sparc*-*linux*)
4489 LD="${LD-ld} -m elf64_sparc"
4491 esac
4493 esac
4495 rm -rf conftest*
4498 *-*-sco3.2v5*)
4499 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4500 SAVE_CFLAGS="$CFLAGS"
4501 CFLAGS="$CFLAGS -belf"
4502 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4503 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4504 if test "${lt_cv_cc_needs_belf+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 else
4509 ac_ext=c
4510 ac_cpp='$CPP $CPPFLAGS'
4511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 if test x$gcc_no_link = xyes; then
4516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4518 { (exit 1); exit 1; }; }
4520 cat >conftest.$ac_ext <<_ACEOF
4521 /* confdefs.h. */
4522 _ACEOF
4523 cat confdefs.h >>conftest.$ac_ext
4524 cat >>conftest.$ac_ext <<_ACEOF
4525 /* end confdefs.h. */
4528 main ()
4532 return 0;
4534 _ACEOF
4535 rm -f conftest.$ac_objext conftest$ac_exeext
4536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4537 (eval $ac_link) 2>conftest.er1
4538 ac_status=$?
4539 grep -v '^ *+' conftest.er1 >conftest.err
4540 rm -f conftest.er1
4541 cat conftest.err >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } &&
4544 { ac_try='test -z "$ac_c_werror_flag"
4545 || test ! -s conftest.err'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 (eval $ac_try) 2>&5
4548 ac_status=$?
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; } &&
4551 { ac_try='test -s conftest$ac_exeext'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 (eval $ac_try) 2>&5
4554 ac_status=$?
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; }; then
4557 lt_cv_cc_needs_belf=yes
4558 else
4559 echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.$ac_ext >&5
4562 lt_cv_cc_needs_belf=no
4564 rm -f conftest.err conftest.$ac_objext \
4565 conftest$ac_exeext conftest.$ac_ext
4566 ac_ext=c
4567 ac_cpp='$CPP $CPPFLAGS'
4568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4573 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4574 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4575 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4576 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4577 CFLAGS="$SAVE_CFLAGS"
4582 esac
4585 # Save cache, so that ltconfig can load it
4586 cat >confcache <<\_ACEOF
4587 # This file is a shell script that caches the results of configure
4588 # tests run on this system so they can be shared between configure
4589 # scripts and configure runs, see configure's option --config-cache.
4590 # It is not useful on other systems. If it contains results you don't
4591 # want to keep, you may remove or edit it.
4593 # config.status only pays attention to the cache file if you give it
4594 # the --recheck option to rerun configure.
4596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4598 # following values.
4600 _ACEOF
4602 # The following way of writing the cache mishandles newlines in values,
4603 # but we know of no workaround that is simple, portable, and efficient.
4604 # So, don't put newlines in cache variables' values.
4605 # Ultrix sh set writes to stderr and can't be redirected directly,
4606 # and sets the high bit in the cache file unless we assign to the vars.
4608 (set) 2>&1 |
4609 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4610 *ac_space=\ *)
4611 # `set' does not quote correctly, so add quotes (double-quote
4612 # substitution turns \\\\ into \\, and sed turns \\ into \).
4613 sed -n \
4614 "s/'/'\\\\''/g;
4615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4618 # `set' quotes correctly as required by POSIX, so do not add quotes.
4619 sed -n \
4620 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4622 esac;
4624 sed '
4625 t clear
4626 : clear
4627 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4628 t end
4629 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4630 : end' >>confcache
4631 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4632 if test -w $cache_file; then
4633 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4634 cat confcache >$cache_file
4635 else
4636 echo "not updating unwritable cache $cache_file"
4639 rm -f confcache
4641 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4642 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4643 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4644 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4645 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4646 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4647 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4648 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4649 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4650 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4651 echo "$as_me: error: libtool configure failed" >&2;}
4652 { (exit 1); exit 1; }; }
4654 # Reload cache, that may have been modified by ltconfig
4655 if test -r "$cache_file"; then
4656 # Some versions of bash will fail to source /dev/null (special
4657 # files actually), so we avoid doing that.
4658 if test -f "$cache_file"; then
4659 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4660 echo "$as_me: loading cache $cache_file" >&6;}
4661 case $cache_file in
4662 [\\/]* | ?:[\\/]* ) . $cache_file;;
4663 *) . ./$cache_file;;
4664 esac
4666 else
4667 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4668 echo "$as_me: creating cache $cache_file" >&6;}
4669 >$cache_file
4673 # This can be used to rebuild libtool when needed
4674 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4676 # Always use our own libtool.
4677 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4679 # Redirect the config.log output again, so that the ltconfig log is not
4680 # clobbered by the next message.
4681 exec 5>>./config.log
4683 ac_ext=cc
4684 ac_cpp='$CXXCPP $CPPFLAGS'
4685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4688 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4689 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4690 if test -z "$CXXCPP"; then
4691 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 else
4694 # Double quotes because CXXCPP needs to be expanded
4695 for CXXCPP in "$CXX -E" "/lib/cpp"
4697 ac_preproc_ok=false
4698 for ac_cxx_preproc_warn_flag in '' yes
4700 # Use a header file that comes with gcc, so configuring glibc
4701 # with a fresh cross-compiler works.
4702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4703 # <limits.h> exists even on freestanding compilers.
4704 # On the NeXT, cc -E runs the code through the compiler's parser,
4705 # not just through cpp. "Syntax error" is here to catch this case.
4706 cat >conftest.$ac_ext <<_ACEOF
4707 /* confdefs.h. */
4708 _ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4712 #ifdef __STDC__
4713 # include <limits.h>
4714 #else
4715 # include <assert.h>
4716 #endif
4717 Syntax error
4718 _ACEOF
4719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4721 ac_status=$?
4722 grep -v '^ *+' conftest.er1 >conftest.err
4723 rm -f conftest.er1
4724 cat conftest.err >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); } >/dev/null; then
4727 if test -s conftest.err; then
4728 ac_cpp_err=$ac_cxx_preproc_warn_flag
4729 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4730 else
4731 ac_cpp_err=
4733 else
4734 ac_cpp_err=yes
4736 if test -z "$ac_cpp_err"; then
4738 else
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 # Broken: fails on valid input.
4743 continue
4745 rm -f conftest.err conftest.$ac_ext
4747 # OK, works on sane cases. Now check whether non-existent headers
4748 # can be detected and how.
4749 cat >conftest.$ac_ext <<_ACEOF
4750 /* confdefs.h. */
4751 _ACEOF
4752 cat confdefs.h >>conftest.$ac_ext
4753 cat >>conftest.$ac_ext <<_ACEOF
4754 /* end confdefs.h. */
4755 #include <ac_nonexistent.h>
4756 _ACEOF
4757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4759 ac_status=$?
4760 grep -v '^ *+' conftest.er1 >conftest.err
4761 rm -f conftest.er1
4762 cat conftest.err >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } >/dev/null; then
4765 if test -s conftest.err; then
4766 ac_cpp_err=$ac_cxx_preproc_warn_flag
4767 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4768 else
4769 ac_cpp_err=
4771 else
4772 ac_cpp_err=yes
4774 if test -z "$ac_cpp_err"; then
4775 # Broken: success on invalid input.
4776 continue
4777 else
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.$ac_ext >&5
4781 # Passes both tests.
4782 ac_preproc_ok=:
4783 break
4785 rm -f conftest.err conftest.$ac_ext
4787 done
4788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4789 rm -f conftest.err conftest.$ac_ext
4790 if $ac_preproc_ok; then
4791 break
4794 done
4795 ac_cv_prog_CXXCPP=$CXXCPP
4798 CXXCPP=$ac_cv_prog_CXXCPP
4799 else
4800 ac_cv_prog_CXXCPP=$CXXCPP
4802 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4803 echo "${ECHO_T}$CXXCPP" >&6
4804 ac_preproc_ok=false
4805 for ac_cxx_preproc_warn_flag in '' yes
4807 # Use a header file that comes with gcc, so configuring glibc
4808 # with a fresh cross-compiler works.
4809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4810 # <limits.h> exists even on freestanding compilers.
4811 # On the NeXT, cc -E runs the code through the compiler's parser,
4812 # not just through cpp. "Syntax error" is here to catch this case.
4813 cat >conftest.$ac_ext <<_ACEOF
4814 /* confdefs.h. */
4815 _ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4819 #ifdef __STDC__
4820 # include <limits.h>
4821 #else
4822 # include <assert.h>
4823 #endif
4824 Syntax error
4825 _ACEOF
4826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4828 ac_status=$?
4829 grep -v '^ *+' conftest.er1 >conftest.err
4830 rm -f conftest.er1
4831 cat conftest.err >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } >/dev/null; then
4834 if test -s conftest.err; then
4835 ac_cpp_err=$ac_cxx_preproc_warn_flag
4836 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4837 else
4838 ac_cpp_err=
4840 else
4841 ac_cpp_err=yes
4843 if test -z "$ac_cpp_err"; then
4845 else
4846 echo "$as_me: failed program was:" >&5
4847 sed 's/^/| /' conftest.$ac_ext >&5
4849 # Broken: fails on valid input.
4850 continue
4852 rm -f conftest.err conftest.$ac_ext
4854 # OK, works on sane cases. Now check whether non-existent headers
4855 # can be detected and how.
4856 cat >conftest.$ac_ext <<_ACEOF
4857 /* confdefs.h. */
4858 _ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4862 #include <ac_nonexistent.h>
4863 _ACEOF
4864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4866 ac_status=$?
4867 grep -v '^ *+' conftest.er1 >conftest.err
4868 rm -f conftest.er1
4869 cat conftest.err >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } >/dev/null; then
4872 if test -s conftest.err; then
4873 ac_cpp_err=$ac_cxx_preproc_warn_flag
4874 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4875 else
4876 ac_cpp_err=
4878 else
4879 ac_cpp_err=yes
4881 if test -z "$ac_cpp_err"; then
4882 # Broken: success on invalid input.
4883 continue
4884 else
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.$ac_ext >&5
4888 # Passes both tests.
4889 ac_preproc_ok=:
4890 break
4892 rm -f conftest.err conftest.$ac_ext
4894 done
4895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4896 rm -f conftest.err conftest.$ac_ext
4897 if $ac_preproc_ok; then
4899 else
4900 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4901 See \`config.log' for more details." >&5
4902 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4903 See \`config.log' for more details." >&2;}
4904 { (exit 1); exit 1; }; }
4907 ac_ext=c
4908 ac_cpp='$CPP $CPPFLAGS'
4909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4915 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4916 lt_save_CC="$CC"
4917 lt_save_CFLAGS="$CFLAGS"
4918 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4919 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4920 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4921 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4922 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4923 deplibs_check_method="$deplibs_check_method" \
4924 file_magic_cmd="$file_magic_cmd" \
4925 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4926 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4927 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4928 echo "$as_me: error: libtool tag configuration failed" >&2;}
4929 { (exit 1); exit 1; }; }
4930 CC="$lt_save_CC"
4931 CFLAGS="$lt_save_CFLAGS"
4933 # Redirect the config.log output again, so that the ltconfig log is not
4934 # clobbered by the next message.
4935 exec 5>>./config.log
4944 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4946 # Possibly disable most of the library.
4947 ## XXX Consider skipping unncessary tests altogether in this case, rather
4948 ## than just ignoring the results. Faster /and/ more correct, win win.
4950 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4951 if test "${enable_hosted_libstdcxx+set}" = set; then
4952 enableval="$enable_hosted_libstdcxx"
4954 else
4955 case "$host" in
4956 arm*-*-symbianelf*)
4957 enable_hosted_libstdcxx=no
4960 enable_hosted_libstdcxx=yes
4962 esac
4964 if test "$enable_hosted_libstdcxx" = no; then
4965 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4966 echo "$as_me: Only freestanding libraries will be built" >&6;}
4967 is_hosted=no
4968 hosted_define=0
4969 enable_abi_check=no
4970 enable_libstdcxx_pch=no
4971 else
4972 is_hosted=yes
4973 hosted_define=1
4977 cat >>confdefs.h <<_ACEOF
4978 #define _GLIBCXX_HOSTED $hosted_define
4979 _ACEOF
4983 # Check for support bits and g++ features that don't require linking.
4985 echo "$as_me:$LINENO: checking for exception model to use" >&5
4986 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4989 ac_ext=cc
4990 ac_cpp='$CXXCPP $CPPFLAGS'
4991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4995 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4996 if test "${enable_sjlj_exceptions+set}" = set; then
4997 enableval="$enable_sjlj_exceptions"
4999 case "$enableval" in
5000 yes|no|auto) ;;
5001 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5002 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5003 { (exit 1); exit 1; }; } ;;
5004 esac
5006 else
5007 enable_sjlj_exceptions=auto
5011 if test $enable_sjlj_exceptions = auto; then
5012 # Botheration. Now we've got to detect the exception model. Link tests
5013 # against libgcc.a are problematic since we've not been given proper -L
5014 # bits for single-tree newlib and libgloss.
5016 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5017 cat > conftest.$ac_ext << EOF
5018 #line 5018 "configure"
5019 struct S { ~S(); };
5020 void bar();
5021 void foo()
5023 S s;
5024 bar();
5027 old_CXXFLAGS="$CXXFLAGS"
5028 CXXFLAGS=-S
5029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5030 (eval $ac_compile) 2>&5
5031 ac_status=$?
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); }; then
5034 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5035 enable_sjlj_exceptions=yes
5036 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5037 enable_sjlj_exceptions=no
5040 CXXFLAGS="$old_CXXFLAGS"
5041 rm -f conftest*
5044 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5045 # to two different models.
5046 case $enable_sjlj_exceptions in
5047 yes)
5049 cat >>confdefs.h <<\_ACEOF
5050 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5051 _ACEOF
5053 ac_exception_model_name=sjlj
5056 ac_exception_model_name="call frame"
5059 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5060 echo "$as_me: error: unable to detect exception model" >&2;}
5061 { (exit 1); exit 1; }; }
5063 esac
5064 ac_ext=c
5065 ac_cpp='$CPP $CPPFLAGS'
5066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5071 echo "${ECHO_T}$ac_exception_model_name" >&6
5074 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5075 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5076 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5077 if test "${enable_libstdcxx_pch+set}" = set; then
5078 enableval="$enable_libstdcxx_pch"
5080 case "$enableval" in
5081 yes|no) ;;
5082 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5083 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5084 { (exit 1); exit 1; }; } ;;
5085 esac
5087 else
5088 enable_libstdcxx_pch=$is_hosted
5091 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5092 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5094 if test $enable_libstdcxx_pch = yes; then
5095 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5096 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5097 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 else
5100 ac_save_CXXFLAGS="$CXXFLAGS"
5101 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5104 ac_ext=cc
5105 ac_cpp='$CXXCPP $CPPFLAGS'
5106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5110 echo '#include <math.h>' > conftest.h
5111 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5112 -o conftest.h.gch 1>&5 2>&1 &&
5113 echo '#error "pch failed"' > conftest.h &&
5114 echo '#include "conftest.h"' > conftest.cc &&
5115 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5116 then
5117 glibcxx_cv_prog_CXX_pch=yes
5118 else
5119 glibcxx_cv_prog_CXX_pch=no
5121 rm -f conftest*
5122 CXXFLAGS=$ac_save_CXXFLAGS
5123 ac_ext=c
5124 ac_cpp='$CPP $CPPFLAGS'
5125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5131 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5132 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5133 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5137 if test $enable_libstdcxx_pch = yes; then
5138 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5139 else
5140 glibcxx_PCHFLAGS=""
5145 # Enable all the variable C++ runtime options.
5146 # NB: C_MBCHAR must come early.
5148 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5149 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5150 # Check whether --enable-cstdio or --disable-cstdio was given.
5151 if test "${enable_cstdio+set}" = set; then
5152 enableval="$enable_cstdio"
5154 case "$enableval" in
5155 stdio) ;;
5156 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5157 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5158 { (exit 1); exit 1; }; } ;;
5159 esac
5161 else
5162 enable_cstdio=stdio
5166 # Now that libio has been removed, you can have any color you want as long
5167 # as it's black. This is one big no-op until other packages are added, but
5168 # showing the framework never hurts.
5169 case ${enable_cstdio} in
5170 stdio)
5171 CSTDIO_H=config/io/c_io_stdio.h
5172 BASIC_FILE_H=config/io/basic_file_stdio.h
5173 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5174 echo "$as_me:$LINENO: result: stdio" >&5
5175 echo "${ECHO_T}stdio" >&6
5177 esac
5183 ac_ext=c
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5188 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5189 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5190 # On Suns, sometimes $CPP names a directory.
5191 if test -n "$CPP" && test -d "$CPP"; then
5192 CPP=
5194 if test -z "$CPP"; then
5195 if test "${ac_cv_prog_CPP+set}" = set; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5197 else
5198 # Double quotes because CPP needs to be expanded
5199 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5201 ac_preproc_ok=false
5202 for ac_c_preproc_warn_flag in '' yes
5204 # Use a header file that comes with gcc, so configuring glibc
5205 # with a fresh cross-compiler works.
5206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5207 # <limits.h> exists even on freestanding compilers.
5208 # On the NeXT, cc -E runs the code through the compiler's parser,
5209 # not just through cpp. "Syntax error" is here to catch this case.
5210 cat >conftest.$ac_ext <<_ACEOF
5211 /* confdefs.h. */
5212 _ACEOF
5213 cat confdefs.h >>conftest.$ac_ext
5214 cat >>conftest.$ac_ext <<_ACEOF
5215 /* end confdefs.h. */
5216 #ifdef __STDC__
5217 # include <limits.h>
5218 #else
5219 # include <assert.h>
5220 #endif
5221 Syntax error
5222 _ACEOF
5223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5225 ac_status=$?
5226 grep -v '^ *+' conftest.er1 >conftest.err
5227 rm -f conftest.er1
5228 cat conftest.err >&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); } >/dev/null; then
5231 if test -s conftest.err; then
5232 ac_cpp_err=$ac_c_preproc_warn_flag
5233 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5234 else
5235 ac_cpp_err=
5237 else
5238 ac_cpp_err=yes
5240 if test -z "$ac_cpp_err"; then
5242 else
5243 echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.$ac_ext >&5
5246 # Broken: fails on valid input.
5247 continue
5249 rm -f conftest.err conftest.$ac_ext
5251 # OK, works on sane cases. Now check whether non-existent headers
5252 # can be detected and how.
5253 cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h. */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5259 #include <ac_nonexistent.h>
5260 _ACEOF
5261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5263 ac_status=$?
5264 grep -v '^ *+' conftest.er1 >conftest.err
5265 rm -f conftest.er1
5266 cat conftest.err >&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } >/dev/null; then
5269 if test -s conftest.err; then
5270 ac_cpp_err=$ac_c_preproc_warn_flag
5271 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5272 else
5273 ac_cpp_err=
5275 else
5276 ac_cpp_err=yes
5278 if test -z "$ac_cpp_err"; then
5279 # Broken: success on invalid input.
5280 continue
5281 else
5282 echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.$ac_ext >&5
5285 # Passes both tests.
5286 ac_preproc_ok=:
5287 break
5289 rm -f conftest.err conftest.$ac_ext
5291 done
5292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5293 rm -f conftest.err conftest.$ac_ext
5294 if $ac_preproc_ok; then
5295 break
5298 done
5299 ac_cv_prog_CPP=$CPP
5302 CPP=$ac_cv_prog_CPP
5303 else
5304 ac_cv_prog_CPP=$CPP
5306 echo "$as_me:$LINENO: result: $CPP" >&5
5307 echo "${ECHO_T}$CPP" >&6
5308 ac_preproc_ok=false
5309 for ac_c_preproc_warn_flag in '' yes
5311 # Use a header file that comes with gcc, so configuring glibc
5312 # with a fresh cross-compiler works.
5313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5314 # <limits.h> exists even on freestanding compilers.
5315 # On the NeXT, cc -E runs the code through the compiler's parser,
5316 # not just through cpp. "Syntax error" is here to catch this case.
5317 cat >conftest.$ac_ext <<_ACEOF
5318 /* confdefs.h. */
5319 _ACEOF
5320 cat confdefs.h >>conftest.$ac_ext
5321 cat >>conftest.$ac_ext <<_ACEOF
5322 /* end confdefs.h. */
5323 #ifdef __STDC__
5324 # include <limits.h>
5325 #else
5326 # include <assert.h>
5327 #endif
5328 Syntax error
5329 _ACEOF
5330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5332 ac_status=$?
5333 grep -v '^ *+' conftest.er1 >conftest.err
5334 rm -f conftest.er1
5335 cat conftest.err >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } >/dev/null; then
5338 if test -s conftest.err; then
5339 ac_cpp_err=$ac_c_preproc_warn_flag
5340 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5341 else
5342 ac_cpp_err=
5344 else
5345 ac_cpp_err=yes
5347 if test -z "$ac_cpp_err"; then
5349 else
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5353 # Broken: fails on valid input.
5354 continue
5356 rm -f conftest.err conftest.$ac_ext
5358 # OK, works on sane cases. Now check whether non-existent headers
5359 # can be detected and how.
5360 cat >conftest.$ac_ext <<_ACEOF
5361 /* confdefs.h. */
5362 _ACEOF
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5366 #include <ac_nonexistent.h>
5367 _ACEOF
5368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5370 ac_status=$?
5371 grep -v '^ *+' conftest.er1 >conftest.err
5372 rm -f conftest.er1
5373 cat conftest.err >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } >/dev/null; then
5376 if test -s conftest.err; then
5377 ac_cpp_err=$ac_c_preproc_warn_flag
5378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5379 else
5380 ac_cpp_err=
5382 else
5383 ac_cpp_err=yes
5385 if test -z "$ac_cpp_err"; then
5386 # Broken: success on invalid input.
5387 continue
5388 else
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.$ac_ext >&5
5392 # Passes both tests.
5393 ac_preproc_ok=:
5394 break
5396 rm -f conftest.err conftest.$ac_ext
5398 done
5399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5400 rm -f conftest.err conftest.$ac_ext
5401 if $ac_preproc_ok; then
5403 else
5404 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5405 See \`config.log' for more details." >&5
5406 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5407 See \`config.log' for more details." >&2;}
5408 { (exit 1); exit 1; }; }
5411 ac_ext=c
5412 ac_cpp='$CPP $CPPFLAGS'
5413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5418 echo "$as_me:$LINENO: checking for egrep" >&5
5419 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5420 if test "${ac_cv_prog_egrep+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5422 else
5423 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5424 then ac_cv_prog_egrep='grep -E'
5425 else ac_cv_prog_egrep='egrep'
5428 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5429 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5430 EGREP=$ac_cv_prog_egrep
5433 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5434 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5435 if test "${ac_cv_header_stdc+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 cat >conftest.$ac_ext <<_ACEOF
5439 /* confdefs.h. */
5440 _ACEOF
5441 cat confdefs.h >>conftest.$ac_ext
5442 cat >>conftest.$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5444 #include <stdlib.h>
5445 #include <stdarg.h>
5446 #include <string.h>
5447 #include <float.h>
5450 main ()
5454 return 0;
5456 _ACEOF
5457 rm -f conftest.$ac_objext
5458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5459 (eval $ac_compile) 2>conftest.er1
5460 ac_status=$?
5461 grep -v '^ *+' conftest.er1 >conftest.err
5462 rm -f conftest.er1
5463 cat conftest.err >&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } &&
5466 { ac_try='test -z "$ac_c_werror_flag"
5467 || test ! -s conftest.err'
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5469 (eval $ac_try) 2>&5
5470 ac_status=$?
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); }; } &&
5473 { ac_try='test -s conftest.$ac_objext'
5474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5475 (eval $ac_try) 2>&5
5476 ac_status=$?
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; }; then
5479 ac_cv_header_stdc=yes
5480 else
5481 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.$ac_ext >&5
5484 ac_cv_header_stdc=no
5486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5488 if test $ac_cv_header_stdc = yes; then
5489 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5490 cat >conftest.$ac_ext <<_ACEOF
5491 /* confdefs.h. */
5492 _ACEOF
5493 cat confdefs.h >>conftest.$ac_ext
5494 cat >>conftest.$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 #include <string.h>
5498 _ACEOF
5499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5500 $EGREP "memchr" >/dev/null 2>&1; then
5502 else
5503 ac_cv_header_stdc=no
5505 rm -f conftest*
5509 if test $ac_cv_header_stdc = yes; then
5510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5511 cat >conftest.$ac_ext <<_ACEOF
5512 /* confdefs.h. */
5513 _ACEOF
5514 cat confdefs.h >>conftest.$ac_ext
5515 cat >>conftest.$ac_ext <<_ACEOF
5516 /* end confdefs.h. */
5517 #include <stdlib.h>
5519 _ACEOF
5520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5521 $EGREP "free" >/dev/null 2>&1; then
5523 else
5524 ac_cv_header_stdc=no
5526 rm -f conftest*
5530 if test $ac_cv_header_stdc = yes; then
5531 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5532 if test "$cross_compiling" = yes; then
5534 else
5535 cat >conftest.$ac_ext <<_ACEOF
5536 /* confdefs.h. */
5537 _ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <ctype.h>
5542 #if ((' ' & 0x0FF) == 0x020)
5543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5545 #else
5546 # define ISLOWER(c) \
5547 (('a' <= (c) && (c) <= 'i') \
5548 || ('j' <= (c) && (c) <= 'r') \
5549 || ('s' <= (c) && (c) <= 'z'))
5550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5551 #endif
5553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5555 main ()
5557 int i;
5558 for (i = 0; i < 256; i++)
5559 if (XOR (islower (i), ISLOWER (i))
5560 || toupper (i) != TOUPPER (i))
5561 exit(2);
5562 exit (0);
5564 _ACEOF
5565 rm -f conftest$ac_exeext
5566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5567 (eval $ac_link) 2>&5
5568 ac_status=$?
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572 (eval $ac_try) 2>&5
5573 ac_status=$?
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; }; then
5577 else
5578 echo "$as_me: program exited with status $ac_status" >&5
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5582 ( exit $ac_status )
5583 ac_cv_header_stdc=no
5585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5589 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5590 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5591 if test $ac_cv_header_stdc = yes; then
5593 cat >>confdefs.h <<\_ACEOF
5594 #define STDC_HEADERS 1
5595 _ACEOF
5599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5610 inttypes.h stdint.h unistd.h
5612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5613 echo "$as_me:$LINENO: checking for $ac_header" >&5
5614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5616 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 else
5618 cat >conftest.$ac_ext <<_ACEOF
5619 /* confdefs.h. */
5620 _ACEOF
5621 cat confdefs.h >>conftest.$ac_ext
5622 cat >>conftest.$ac_ext <<_ACEOF
5623 /* end confdefs.h. */
5624 $ac_includes_default
5626 #include <$ac_header>
5627 _ACEOF
5628 rm -f conftest.$ac_objext
5629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5630 (eval $ac_compile) 2>conftest.er1
5631 ac_status=$?
5632 grep -v '^ *+' conftest.er1 >conftest.err
5633 rm -f conftest.er1
5634 cat conftest.err >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } &&
5637 { ac_try='test -z "$ac_c_werror_flag"
5638 || test ! -s conftest.err'
5639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5640 (eval $ac_try) 2>&5
5641 ac_status=$?
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); }; } &&
5644 { ac_try='test -s conftest.$ac_objext'
5645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 (eval $ac_try) 2>&5
5647 ac_status=$?
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); }; }; then
5650 eval "$as_ac_Header=yes"
5651 else
5652 echo "$as_me: failed program was:" >&5
5653 sed 's/^/| /' conftest.$ac_ext >&5
5655 eval "$as_ac_Header=no"
5657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5662 cat >>confdefs.h <<_ACEOF
5663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5664 _ACEOF
5668 done
5672 echo "$as_me:$LINENO: checking for C locale to use" >&5
5673 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5674 # Check whether --enable-clocale or --disable-clocale was given.
5675 if test "${enable_clocale+set}" = set; then
5676 enableval="$enable_clocale"
5678 case "$enableval" in
5679 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5680 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5681 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5682 { (exit 1); exit 1; }; } ;;
5683 esac
5685 else
5686 enable_clocale=auto
5690 # If they didn't use this option switch, or if they specified --enable
5691 # with no specific model, we'll have to look for one. If they
5692 # specified --disable (???), do likewise.
5693 if test $enable_clocale = no || test $enable_clocale = yes; then
5694 enable_clocale=auto
5697 # Either a known package, or "auto"
5698 enable_clocale_flag=$enable_clocale
5700 # Probe for locale support if no specific model is specified.
5701 # Default to "generic".
5702 if test $enable_clocale_flag = auto; then
5703 case ${target_os} in
5704 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5705 cat >conftest.$ac_ext <<_ACEOF
5706 /* confdefs.h. */
5707 _ACEOF
5708 cat confdefs.h >>conftest.$ac_ext
5709 cat >>conftest.$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5712 #include <features.h>
5713 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5714 _GLIBCXX_ok
5715 #endif
5717 _ACEOF
5718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5719 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5720 enable_clocale_flag=gnu
5721 else
5722 enable_clocale_flag=generic
5724 rm -f conftest*
5727 # Test for bugs early in glibc-2.2.x series
5728 if test $enable_clocale_flag = gnu; then
5729 if test "$cross_compiling" = yes; then
5730 enable_clocale_flag=generic
5731 else
5732 cat >conftest.$ac_ext <<_ACEOF
5733 /* confdefs.h. */
5734 _ACEOF
5735 cat confdefs.h >>conftest.$ac_ext
5736 cat >>conftest.$ac_ext <<_ACEOF
5737 /* end confdefs.h. */
5739 #define _GNU_SOURCE 1
5740 #include <locale.h>
5741 #include <string.h>
5742 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5743 extern __typeof(newlocale) __newlocale;
5744 extern __typeof(duplocale) __duplocale;
5745 extern __typeof(strcoll_l) __strcoll_l;
5746 #endif
5747 int main()
5749 const char __one[] = "Äuglein Augmen";
5750 const char __two[] = "Äuglein";
5751 int i;
5752 int j;
5753 __locale_t loc;
5754 __locale_t loc_dup;
5755 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5756 loc_dup = __duplocale(loc);
5757 i = __strcoll_l(__one, __two, loc);
5758 j = __strcoll_l(__one, __two, loc_dup);
5759 return 0;
5762 _ACEOF
5763 rm -f conftest$ac_exeext
5764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5765 (eval $ac_link) 2>&5
5766 ac_status=$?
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770 (eval $ac_try) 2>&5
5771 ac_status=$?
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5774 enable_clocale_flag=gnu
5775 else
5776 echo "$as_me: program exited with status $ac_status" >&5
5777 echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.$ac_ext >&5
5780 ( exit $ac_status )
5781 enable_clocale_flag=generic
5783 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5787 # ... at some point put __strxfrm_l tests in as well.
5790 enable_clocale_flag=generic
5792 esac
5795 # Deal with gettext issues. Default to not using it (=no) until we detect
5796 # support for it later. Let the user turn it off via --e/d, but let that
5797 # default to on for easier handling.
5798 USE_NLS=no
5799 # Check whether --enable-nls or --disable-nls was given.
5800 if test "${enable_nls+set}" = set; then
5801 enableval="$enable_nls"
5803 else
5804 enable_nls=yes
5807 # Set configure bits for specified locale package
5808 case ${enable_clocale_flag} in
5809 generic)
5810 echo "$as_me:$LINENO: result: generic" >&5
5811 echo "${ECHO_T}generic" >&6
5813 CLOCALE_H=config/locale/generic/c_locale.h
5814 CLOCALE_CC=config/locale/generic/c_locale.cc
5815 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5816 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5817 CCOLLATE_CC=config/locale/generic/collate_members.cc
5818 CCTYPE_CC=config/locale/generic/ctype_members.cc
5819 CMESSAGES_H=config/locale/generic/messages_members.h
5820 CMESSAGES_CC=config/locale/generic/messages_members.cc
5821 CMONEY_CC=config/locale/generic/monetary_members.cc
5822 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5823 CTIME_H=config/locale/generic/time_members.h
5824 CTIME_CC=config/locale/generic/time_members.cc
5825 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5827 gnu)
5828 echo "$as_me:$LINENO: result: gnu" >&5
5829 echo "${ECHO_T}gnu" >&6
5831 # Declare intention to use gettext, and add support for specific
5832 # languages.
5833 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5834 ALL_LINGUAS="de fr"
5836 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5837 # Extract the first word of "msgfmt", so it can be a program name with args.
5838 set dummy msgfmt; ac_word=$2
5839 echo "$as_me:$LINENO: checking for $ac_word" >&5
5840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5841 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5843 else
5844 if test -n "$check_msgfmt"; then
5845 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_check_msgfmt="yes"
5855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 break 2
5858 done
5859 done
5861 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5864 check_msgfmt=$ac_cv_prog_check_msgfmt
5865 if test -n "$check_msgfmt"; then
5866 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5867 echo "${ECHO_T}$check_msgfmt" >&6
5868 else
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5873 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5874 USE_NLS=yes
5876 # Export the build objects.
5877 for ling in $ALL_LINGUAS; do \
5878 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5879 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5880 done
5884 CLOCALE_H=config/locale/gnu/c_locale.h
5885 CLOCALE_CC=config/locale/gnu/c_locale.cc
5886 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5887 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5888 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5889 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5890 CMESSAGES_H=config/locale/gnu/messages_members.h
5891 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5892 CMONEY_CC=config/locale/gnu/monetary_members.cc
5893 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5894 CTIME_H=config/locale/gnu/time_members.h
5895 CTIME_CC=config/locale/gnu/time_members.cc
5896 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5898 ieee_1003.1-2001)
5899 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5900 echo "${ECHO_T}IEEE 1003.1" >&6
5902 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5903 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5904 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5905 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5906 CCOLLATE_CC=config/locale/generic/collate_members.cc
5907 CCTYPE_CC=config/locale/generic/ctype_members.cc
5908 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5909 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5910 CMONEY_CC=config/locale/generic/monetary_members.cc
5911 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5912 CTIME_H=config/locale/generic/time_members.h
5913 CTIME_CC=config/locale/generic/time_members.cc
5914 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5916 esac
5918 # This is where the testsuite looks for locale catalogs, using the
5919 # -DLOCALEDIR define during testsuite compilation.
5920 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5923 # A standalone libintl (e.g., GNU libintl) may be in use.
5924 if test $USE_NLS = yes; then
5926 for ac_header in libintl.h
5928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5930 echo "$as_me:$LINENO: checking for $ac_header" >&5
5931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5937 else
5938 # Is the header compilable?
5939 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5941 cat >conftest.$ac_ext <<_ACEOF
5942 /* confdefs.h. */
5943 _ACEOF
5944 cat confdefs.h >>conftest.$ac_ext
5945 cat >>conftest.$ac_ext <<_ACEOF
5946 /* end confdefs.h. */
5947 $ac_includes_default
5948 #include <$ac_header>
5949 _ACEOF
5950 rm -f conftest.$ac_objext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5952 (eval $ac_compile) 2>conftest.er1
5953 ac_status=$?
5954 grep -v '^ *+' conftest.er1 >conftest.err
5955 rm -f conftest.er1
5956 cat conftest.err >&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } &&
5959 { ac_try='test -z "$ac_c_werror_flag"
5960 || test ! -s conftest.err'
5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5962 (eval $ac_try) 2>&5
5963 ac_status=$?
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; } &&
5966 { ac_try='test -s conftest.$ac_objext'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5968 (eval $ac_try) 2>&5
5969 ac_status=$?
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; }; then
5972 ac_header_compiler=yes
5973 else
5974 echo "$as_me: failed program was:" >&5
5975 sed 's/^/| /' conftest.$ac_ext >&5
5977 ac_header_compiler=no
5979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5981 echo "${ECHO_T}$ac_header_compiler" >&6
5983 # Is the header present?
5984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5986 cat >conftest.$ac_ext <<_ACEOF
5987 /* confdefs.h. */
5988 _ACEOF
5989 cat confdefs.h >>conftest.$ac_ext
5990 cat >>conftest.$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5992 #include <$ac_header>
5993 _ACEOF
5994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5996 ac_status=$?
5997 grep -v '^ *+' conftest.er1 >conftest.err
5998 rm -f conftest.er1
5999 cat conftest.err >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); } >/dev/null; then
6002 if test -s conftest.err; then
6003 ac_cpp_err=$ac_c_preproc_warn_flag
6004 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6005 else
6006 ac_cpp_err=
6008 else
6009 ac_cpp_err=yes
6011 if test -z "$ac_cpp_err"; then
6012 ac_header_preproc=yes
6013 else
6014 echo "$as_me: failed program was:" >&5
6015 sed 's/^/| /' conftest.$ac_ext >&5
6017 ac_header_preproc=no
6019 rm -f conftest.err conftest.$ac_ext
6020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6021 echo "${ECHO_T}$ac_header_preproc" >&6
6023 # So? What about this header?
6024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6025 yes:no: )
6026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6030 ac_header_preproc=yes
6032 no:yes:* )
6033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6046 cat <<\_ASBOX
6047 ## ----------------------------------------- ##
6048 ## Report this to the package-unused lists. ##
6049 ## ----------------------------------------- ##
6050 _ASBOX
6052 sed "s/^/$as_me: WARNING: /" >&2
6054 esac
6055 echo "$as_me:$LINENO: checking for $ac_header" >&5
6056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 else
6060 eval "$as_ac_Header=\$ac_header_preproc"
6062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6067 cat >>confdefs.h <<_ACEOF
6068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6069 _ACEOF
6071 else
6072 USE_NLS=no
6075 done
6077 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6078 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6079 if test "${ac_cv_search_gettext+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 else
6082 ac_func_search_save_LIBS=$LIBS
6083 ac_cv_search_gettext=no
6084 if test x$gcc_no_link = xyes; then
6085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6087 { (exit 1); exit 1; }; }
6089 cat >conftest.$ac_ext <<_ACEOF
6090 /* confdefs.h. */
6091 _ACEOF
6092 cat confdefs.h >>conftest.$ac_ext
6093 cat >>conftest.$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6096 /* Override any gcc2 internal prototype to avoid an error. */
6097 #ifdef __cplusplus
6098 extern "C"
6099 #endif
6100 /* We use char because int might match the return type of a gcc2
6101 builtin and then its argument prototype would still apply. */
6102 char gettext ();
6104 main ()
6106 gettext ();
6108 return 0;
6110 _ACEOF
6111 rm -f conftest.$ac_objext conftest$ac_exeext
6112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6113 (eval $ac_link) 2>conftest.er1
6114 ac_status=$?
6115 grep -v '^ *+' conftest.er1 >conftest.err
6116 rm -f conftest.er1
6117 cat conftest.err >&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); } &&
6120 { ac_try='test -z "$ac_c_werror_flag"
6121 || test ! -s conftest.err'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 (eval $ac_try) 2>&5
6124 ac_status=$?
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; } &&
6127 { ac_try='test -s conftest$ac_exeext'
6128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 (eval $ac_try) 2>&5
6130 ac_status=$?
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; }; then
6133 ac_cv_search_gettext="none required"
6134 else
6135 echo "$as_me: failed program was:" >&5
6136 sed 's/^/| /' conftest.$ac_ext >&5
6139 rm -f conftest.err conftest.$ac_objext \
6140 conftest$ac_exeext conftest.$ac_ext
6141 if test "$ac_cv_search_gettext" = no; then
6142 for ac_lib in intl; do
6143 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6144 if test x$gcc_no_link = xyes; then
6145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6147 { (exit 1); exit 1; }; }
6149 cat >conftest.$ac_ext <<_ACEOF
6150 /* confdefs.h. */
6151 _ACEOF
6152 cat confdefs.h >>conftest.$ac_ext
6153 cat >>conftest.$ac_ext <<_ACEOF
6154 /* end confdefs.h. */
6156 /* Override any gcc2 internal prototype to avoid an error. */
6157 #ifdef __cplusplus
6158 extern "C"
6159 #endif
6160 /* We use char because int might match the return type of a gcc2
6161 builtin and then its argument prototype would still apply. */
6162 char gettext ();
6164 main ()
6166 gettext ();
6168 return 0;
6170 _ACEOF
6171 rm -f conftest.$ac_objext conftest$ac_exeext
6172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6173 (eval $ac_link) 2>conftest.er1
6174 ac_status=$?
6175 grep -v '^ *+' conftest.er1 >conftest.err
6176 rm -f conftest.er1
6177 cat conftest.err >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } &&
6180 { ac_try='test -z "$ac_c_werror_flag"
6181 || test ! -s conftest.err'
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 (eval $ac_try) 2>&5
6184 ac_status=$?
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; } &&
6187 { ac_try='test -s conftest$ac_exeext'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 (eval $ac_try) 2>&5
6190 ac_status=$?
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; }; then
6193 ac_cv_search_gettext="-l$ac_lib"
6194 break
6195 else
6196 echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.$ac_ext >&5
6200 rm -f conftest.err conftest.$ac_objext \
6201 conftest$ac_exeext conftest.$ac_ext
6202 done
6204 LIBS=$ac_func_search_save_LIBS
6206 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6207 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6208 if test "$ac_cv_search_gettext" != no; then
6209 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6211 else
6212 USE_NLS=no
6216 if test $USE_NLS = yes; then
6217 cat >>confdefs.h <<\_ACEOF
6218 #define _GLIBCXX_USE_NLS 1
6219 _ACEOF
6239 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6240 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6241 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6242 if test "${enable_libstdcxx_allocator+set}" = set; then
6243 enableval="$enable_libstdcxx_allocator"
6245 case "$enableval" in
6246 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6247 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6248 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6249 { (exit 1); exit 1; }; } ;;
6250 esac
6252 else
6253 enable_libstdcxx_allocator=auto
6257 # If they didn't use this option switch, or if they specified --enable
6258 # with no specific model, we'll have to look for one. If they
6259 # specified --disable (???), do likewise.
6260 if test $enable_libstdcxx_allocator = no ||
6261 test $enable_libstdcxx_allocator = yes;
6262 then
6263 enable_libstdcxx_allocator=auto
6266 # Either a known package, or "auto". Auto implies the default choice
6267 # for a particular platform.
6268 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6270 # Probe for host-specific support if no specific model is specified.
6271 # Default to "new".
6272 if test $enable_libstdcxx_allocator_flag = auto; then
6273 case ${target_os} in
6274 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6275 enable_libstdcxx_allocator_flag=mt
6278 enable_libstdcxx_allocator_flag=new
6280 esac
6282 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6283 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6286 # Set configure bits for specified locale package
6287 case ${enable_libstdcxx_allocator_flag} in
6288 bitmap)
6289 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6290 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6292 malloc)
6293 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6294 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6297 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6298 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6300 new)
6301 ALLOCATOR_H=config/allocator/new_allocator_base.h
6302 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6304 pool)
6305 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6306 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6308 esac
6314 # Check whether --enable-cheaders or --disable-cheaders was given.
6315 if test "${enable_cheaders+set}" = set; then
6316 enableval="$enable_cheaders"
6318 case "$enableval" in
6319 c|c_std) ;;
6320 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6321 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6322 { (exit 1); exit 1; }; } ;;
6323 esac
6325 else
6326 enable_cheaders=$c_model
6329 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6330 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6332 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6339 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6340 if test "${enable_c_mbchar+set}" = set; then
6341 enableval="$enable_c_mbchar"
6343 case "$enableval" in
6344 yes|no) ;;
6345 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6346 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6347 { (exit 1); exit 1; }; } ;;
6348 esac
6350 else
6351 enable_c_mbchar=yes
6354 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6358 # Check whether --enable-c99 or --disable-c99 was given.
6359 if test "${enable_c99+set}" = set; then
6360 enableval="$enable_c99"
6362 case "$enableval" in
6363 yes|no) ;;
6364 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6365 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6366 { (exit 1); exit 1; }; } ;;
6367 esac
6369 else
6370 enable_c99=yes
6376 ac_ext=cc
6377 ac_cpp='$CXXCPP $CPPFLAGS'
6378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6383 # Check for the existence of <math.h> functions used if C99 is enabled.
6384 ac_c99_math=yes;
6385 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6386 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6387 cat >conftest.$ac_ext <<_ACEOF
6388 /* confdefs.h. */
6389 _ACEOF
6390 cat confdefs.h >>conftest.$ac_ext
6391 cat >>conftest.$ac_ext <<_ACEOF
6392 /* end confdefs.h. */
6393 #include <math.h>
6395 main ()
6397 fpclassify(0.0);
6399 return 0;
6401 _ACEOF
6402 rm -f conftest.$ac_objext
6403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6404 (eval $ac_compile) 2>conftest.er1
6405 ac_status=$?
6406 grep -v '^ *+' conftest.er1 >conftest.err
6407 rm -f conftest.er1
6408 cat conftest.err >&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); } &&
6411 { ac_try='test -z "$ac_cxx_werror_flag"
6412 || test ! -s conftest.err'
6413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6414 (eval $ac_try) 2>&5
6415 ac_status=$?
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); }; } &&
6418 { ac_try='test -s conftest.$ac_objext'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 (eval $ac_try) 2>&5
6421 ac_status=$?
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }; then
6425 else
6426 echo "$as_me: failed program was:" >&5
6427 sed 's/^/| /' conftest.$ac_ext >&5
6429 ac_c99_math=no
6431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6432 cat >conftest.$ac_ext <<_ACEOF
6433 /* confdefs.h. */
6434 _ACEOF
6435 cat confdefs.h >>conftest.$ac_ext
6436 cat >>conftest.$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6438 #include <math.h>
6440 main ()
6442 isfinite(0.0);
6444 return 0;
6446 _ACEOF
6447 rm -f conftest.$ac_objext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449 (eval $ac_compile) 2>conftest.er1
6450 ac_status=$?
6451 grep -v '^ *+' conftest.er1 >conftest.err
6452 rm -f conftest.er1
6453 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } &&
6456 { ac_try='test -z "$ac_cxx_werror_flag"
6457 || test ! -s conftest.err'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 (eval $ac_try) 2>&5
6460 ac_status=$?
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; } &&
6463 { ac_try='test -s conftest.$ac_objext'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465 (eval $ac_try) 2>&5
6466 ac_status=$?
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }; then
6470 else
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.$ac_ext >&5
6474 ac_c99_math=no
6476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6477 cat >conftest.$ac_ext <<_ACEOF
6478 /* confdefs.h. */
6479 _ACEOF
6480 cat confdefs.h >>conftest.$ac_ext
6481 cat >>conftest.$ac_ext <<_ACEOF
6482 /* end confdefs.h. */
6483 #include <math.h>
6485 main ()
6487 isinf(0.0);
6489 return 0;
6491 _ACEOF
6492 rm -f conftest.$ac_objext
6493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6494 (eval $ac_compile) 2>conftest.er1
6495 ac_status=$?
6496 grep -v '^ *+' conftest.er1 >conftest.err
6497 rm -f conftest.er1
6498 cat conftest.err >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); } &&
6501 { ac_try='test -z "$ac_cxx_werror_flag"
6502 || test ! -s conftest.err'
6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 (eval $ac_try) 2>&5
6505 ac_status=$?
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); }; } &&
6508 { ac_try='test -s conftest.$ac_objext'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 (eval $ac_try) 2>&5
6511 ac_status=$?
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; }; then
6515 else
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6519 ac_c99_math=no
6521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6522 cat >conftest.$ac_ext <<_ACEOF
6523 /* confdefs.h. */
6524 _ACEOF
6525 cat confdefs.h >>conftest.$ac_ext
6526 cat >>conftest.$ac_ext <<_ACEOF
6527 /* end confdefs.h. */
6528 #include <math.h>
6530 main ()
6532 isnan(0.0);
6534 return 0;
6536 _ACEOF
6537 rm -f conftest.$ac_objext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539 (eval $ac_compile) 2>conftest.er1
6540 ac_status=$?
6541 grep -v '^ *+' conftest.er1 >conftest.err
6542 rm -f conftest.er1
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try='test -z "$ac_cxx_werror_flag"
6547 || test ! -s conftest.err'
6548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 (eval $ac_try) 2>&5
6550 ac_status=$?
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); }; } &&
6553 { ac_try='test -s conftest.$ac_objext'
6554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 (eval $ac_try) 2>&5
6556 ac_status=$?
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; }; then
6560 else
6561 echo "$as_me: failed program was:" >&5
6562 sed 's/^/| /' conftest.$ac_ext >&5
6564 ac_c99_math=no
6566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6567 cat >conftest.$ac_ext <<_ACEOF
6568 /* confdefs.h. */
6569 _ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6573 #include <math.h>
6575 main ()
6577 isnormal(0.0);
6579 return 0;
6581 _ACEOF
6582 rm -f conftest.$ac_objext
6583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6584 (eval $ac_compile) 2>conftest.er1
6585 ac_status=$?
6586 grep -v '^ *+' conftest.er1 >conftest.err
6587 rm -f conftest.er1
6588 cat conftest.err >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } &&
6591 { ac_try='test -z "$ac_cxx_werror_flag"
6592 || test ! -s conftest.err'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 (eval $ac_try) 2>&5
6595 ac_status=$?
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; } &&
6598 { ac_try='test -s conftest.$ac_objext'
6599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600 (eval $ac_try) 2>&5
6601 ac_status=$?
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); }; }; then
6605 else
6606 echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.$ac_ext >&5
6609 ac_c99_math=no
6611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <math.h>
6620 main ()
6622 signbit(0.0);
6624 return 0;
6626 _ACEOF
6627 rm -f conftest.$ac_objext
6628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6629 (eval $ac_compile) 2>conftest.er1
6630 ac_status=$?
6631 grep -v '^ *+' conftest.er1 >conftest.err
6632 rm -f conftest.er1
6633 cat conftest.err >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try='test -z "$ac_cxx_werror_flag"
6637 || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 (eval $ac_try) 2>&5
6640 ac_status=$?
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try='test -s conftest.$ac_objext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 (eval $ac_try) 2>&5
6646 ac_status=$?
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6650 else
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6654 ac_c99_math=no
6656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6657 cat >conftest.$ac_ext <<_ACEOF
6658 /* confdefs.h. */
6659 _ACEOF
6660 cat confdefs.h >>conftest.$ac_ext
6661 cat >>conftest.$ac_ext <<_ACEOF
6662 /* end confdefs.h. */
6663 #include <math.h>
6665 main ()
6667 isgreater(0.0,0.0);
6669 return 0;
6671 _ACEOF
6672 rm -f conftest.$ac_objext
6673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6674 (eval $ac_compile) 2>conftest.er1
6675 ac_status=$?
6676 grep -v '^ *+' conftest.er1 >conftest.err
6677 rm -f conftest.er1
6678 cat conftest.err >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } &&
6681 { ac_try='test -z "$ac_cxx_werror_flag"
6682 || test ! -s conftest.err'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 (eval $ac_try) 2>&5
6685 ac_status=$?
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; } &&
6688 { ac_try='test -s conftest.$ac_objext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690 (eval $ac_try) 2>&5
6691 ac_status=$?
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6695 else
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.$ac_ext >&5
6699 ac_c99_math=no
6701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6702 cat >conftest.$ac_ext <<_ACEOF
6703 /* confdefs.h. */
6704 _ACEOF
6705 cat confdefs.h >>conftest.$ac_ext
6706 cat >>conftest.$ac_ext <<_ACEOF
6707 /* end confdefs.h. */
6708 #include <math.h>
6710 main ()
6712 isgreaterequal(0.0,0.0);
6714 return 0;
6716 _ACEOF
6717 rm -f conftest.$ac_objext
6718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6719 (eval $ac_compile) 2>conftest.er1
6720 ac_status=$?
6721 grep -v '^ *+' conftest.er1 >conftest.err
6722 rm -f conftest.er1
6723 cat conftest.err >&5
6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725 (exit $ac_status); } &&
6726 { ac_try='test -z "$ac_cxx_werror_flag"
6727 || test ! -s conftest.err'
6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729 (eval $ac_try) 2>&5
6730 ac_status=$?
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; } &&
6733 { ac_try='test -s conftest.$ac_objext'
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6735 (eval $ac_try) 2>&5
6736 ac_status=$?
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; }; then
6740 else
6741 echo "$as_me: failed program was:" >&5
6742 sed 's/^/| /' conftest.$ac_ext >&5
6744 ac_c99_math=no
6746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6747 cat >conftest.$ac_ext <<_ACEOF
6748 /* confdefs.h. */
6749 _ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6753 #include <math.h>
6755 main ()
6757 isless(0.0,0.0);
6759 return 0;
6761 _ACEOF
6762 rm -f conftest.$ac_objext
6763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6764 (eval $ac_compile) 2>conftest.er1
6765 ac_status=$?
6766 grep -v '^ *+' conftest.er1 >conftest.err
6767 rm -f conftest.er1
6768 cat conftest.err >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); } &&
6771 { ac_try='test -z "$ac_cxx_werror_flag"
6772 || test ! -s conftest.err'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6774 (eval $ac_try) 2>&5
6775 ac_status=$?
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; } &&
6778 { ac_try='test -s conftest.$ac_objext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 (eval $ac_try) 2>&5
6781 ac_status=$?
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6785 else
6786 echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.$ac_ext >&5
6789 ac_c99_math=no
6791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6792 cat >conftest.$ac_ext <<_ACEOF
6793 /* confdefs.h. */
6794 _ACEOF
6795 cat confdefs.h >>conftest.$ac_ext
6796 cat >>conftest.$ac_ext <<_ACEOF
6797 /* end confdefs.h. */
6798 #include <math.h>
6800 main ()
6802 islessequal(0.0,0.0);
6804 return 0;
6806 _ACEOF
6807 rm -f conftest.$ac_objext
6808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6809 (eval $ac_compile) 2>conftest.er1
6810 ac_status=$?
6811 grep -v '^ *+' conftest.er1 >conftest.err
6812 rm -f conftest.er1
6813 cat conftest.err >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); } &&
6816 { ac_try='test -z "$ac_cxx_werror_flag"
6817 || test ! -s conftest.err'
6818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 (eval $ac_try) 2>&5
6820 ac_status=$?
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); }; } &&
6823 { ac_try='test -s conftest.$ac_objext'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6825 (eval $ac_try) 2>&5
6826 ac_status=$?
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; }; then
6830 else
6831 echo "$as_me: failed program was:" >&5
6832 sed 's/^/| /' conftest.$ac_ext >&5
6834 ac_c99_math=no
6836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6837 cat >conftest.$ac_ext <<_ACEOF
6838 /* confdefs.h. */
6839 _ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6843 #include <math.h>
6845 main ()
6847 islessgreater(0.0,0.0);
6849 return 0;
6851 _ACEOF
6852 rm -f conftest.$ac_objext
6853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6854 (eval $ac_compile) 2>conftest.er1
6855 ac_status=$?
6856 grep -v '^ *+' conftest.er1 >conftest.err
6857 rm -f conftest.er1
6858 cat conftest.err >&5
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); } &&
6861 { ac_try='test -z "$ac_cxx_werror_flag"
6862 || test ! -s conftest.err'
6863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 (eval $ac_try) 2>&5
6865 ac_status=$?
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); }; } &&
6868 { ac_try='test -s conftest.$ac_objext'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 (eval $ac_try) 2>&5
6871 ac_status=$?
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; }; then
6875 else
6876 echo "$as_me: failed program was:" >&5
6877 sed 's/^/| /' conftest.$ac_ext >&5
6879 ac_c99_math=no
6881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6882 cat >conftest.$ac_ext <<_ACEOF
6883 /* confdefs.h. */
6884 _ACEOF
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6888 #include <math.h>
6890 main ()
6892 isunordered(0.0,0.0);
6894 return 0;
6896 _ACEOF
6897 rm -f conftest.$ac_objext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6899 (eval $ac_compile) 2>conftest.er1
6900 ac_status=$?
6901 grep -v '^ *+' conftest.er1 >conftest.err
6902 rm -f conftest.er1
6903 cat conftest.err >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } &&
6906 { ac_try='test -z "$ac_cxx_werror_flag"
6907 || test ! -s conftest.err'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6909 (eval $ac_try) 2>&5
6910 ac_status=$?
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; } &&
6913 { ac_try='test -s conftest.$ac_objext'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 (eval $ac_try) 2>&5
6916 ac_status=$?
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; }; then
6920 else
6921 echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.$ac_ext >&5
6924 ac_c99_math=no
6926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6927 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6928 echo "${ECHO_T}$ac_c99_math" >&6
6930 if test x"$ac_c99_math" = x"yes"; then
6931 cat >>confdefs.h <<\_ACEOF
6932 #define _GLIBCXX_USE_C99_MATH 1
6933 _ACEOF
6937 # Check for the existence in <stdio.h> of vscanf, et. al.
6938 ac_c99_stdio=yes;
6939 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6940 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6941 cat >conftest.$ac_ext <<_ACEOF
6942 /* confdefs.h. */
6943 _ACEOF
6944 cat confdefs.h >>conftest.$ac_ext
6945 cat >>conftest.$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 #include <stdio.h>
6949 main ()
6951 snprintf("12", 0, "%i");
6953 return 0;
6955 _ACEOF
6956 rm -f conftest.$ac_objext
6957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6958 (eval $ac_compile) 2>conftest.er1
6959 ac_status=$?
6960 grep -v '^ *+' conftest.er1 >conftest.err
6961 rm -f conftest.er1
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -z "$ac_cxx_werror_flag"
6966 || test ! -s conftest.err'
6967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6968 (eval $ac_try) 2>&5
6969 ac_status=$?
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); }; } &&
6972 { ac_try='test -s conftest.$ac_objext'
6973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6974 (eval $ac_try) 2>&5
6975 ac_status=$?
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); }; }; then
6979 else
6980 echo "$as_me: failed program was:" >&5
6981 sed 's/^/| /' conftest.$ac_ext >&5
6983 ac_c99_stdio=no
6985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6986 cat >conftest.$ac_ext <<_ACEOF
6987 /* confdefs.h. */
6988 _ACEOF
6989 cat confdefs.h >>conftest.$ac_ext
6990 cat >>conftest.$ac_ext <<_ACEOF
6991 /* end confdefs.h. */
6992 #include <stdio.h>
6993 #include <stdarg.h>
6994 void foo(char* fmt, ...)
6995 {va_list args; va_start(args, fmt);
6996 vfscanf(stderr, "%i", args);}
6998 main ()
7002 return 0;
7004 _ACEOF
7005 rm -f conftest.$ac_objext
7006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7007 (eval $ac_compile) 2>conftest.er1
7008 ac_status=$?
7009 grep -v '^ *+' conftest.er1 >conftest.err
7010 rm -f conftest.er1
7011 cat conftest.err >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } &&
7014 { ac_try='test -z "$ac_cxx_werror_flag"
7015 || test ! -s conftest.err'
7016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 (eval $ac_try) 2>&5
7018 ac_status=$?
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); }; } &&
7021 { ac_try='test -s conftest.$ac_objext'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 (eval $ac_try) 2>&5
7024 ac_status=$?
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then
7028 else
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.$ac_ext >&5
7032 ac_c99_stdio=no
7034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7035 cat >conftest.$ac_ext <<_ACEOF
7036 /* confdefs.h. */
7037 _ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 #include <stdio.h>
7042 #include <stdarg.h>
7043 void foo(char* fmt, ...)
7044 {va_list args; va_start(args, fmt);
7045 vscanf("%i", args);}
7047 main ()
7051 return 0;
7053 _ACEOF
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7057 ac_status=$?
7058 grep -v '^ *+' conftest.er1 >conftest.err
7059 rm -f conftest.er1
7060 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_cxx_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 (eval $ac_try) 2>&5
7067 ac_status=$?
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 (eval $ac_try) 2>&5
7073 ac_status=$?
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_c99_stdio=no
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <stdio.h>
7091 #include <stdarg.h>
7092 void foo(char* fmt, ...)
7093 {va_list args; va_start(args, fmt);
7094 vsnprintf(fmt, 0, "%i", args);}
7096 main ()
7100 return 0;
7102 _ACEOF
7103 rm -f conftest.$ac_objext
7104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7105 (eval $ac_compile) 2>conftest.er1
7106 ac_status=$?
7107 grep -v '^ *+' conftest.er1 >conftest.err
7108 rm -f conftest.er1
7109 cat conftest.err >&5
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); } &&
7112 { ac_try='test -z "$ac_cxx_werror_flag"
7113 || test ! -s conftest.err'
7114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7115 (eval $ac_try) 2>&5
7116 ac_status=$?
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); }; } &&
7119 { ac_try='test -s conftest.$ac_objext'
7120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121 (eval $ac_try) 2>&5
7122 ac_status=$?
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); }; }; then
7126 else
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.$ac_ext >&5
7130 ac_c99_stdio=no
7132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7133 cat >conftest.$ac_ext <<_ACEOF
7134 /* confdefs.h. */
7135 _ACEOF
7136 cat confdefs.h >>conftest.$ac_ext
7137 cat >>conftest.$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 #include <stdio.h>
7140 #include <stdarg.h>
7141 void foo(char* fmt, ...)
7142 {va_list args; va_start(args, fmt);
7143 vsscanf(fmt, "%i", args);}
7145 main ()
7149 return 0;
7151 _ACEOF
7152 rm -f conftest.$ac_objext
7153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7154 (eval $ac_compile) 2>conftest.er1
7155 ac_status=$?
7156 grep -v '^ *+' conftest.er1 >conftest.err
7157 rm -f conftest.er1
7158 cat conftest.err >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); } &&
7161 { ac_try='test -z "$ac_cxx_werror_flag"
7162 || test ! -s conftest.err'
7163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 (eval $ac_try) 2>&5
7165 ac_status=$?
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); }; } &&
7168 { ac_try='test -s conftest.$ac_objext'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 (eval $ac_try) 2>&5
7171 ac_status=$?
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; }; then
7175 else
7176 echo "$as_me: failed program was:" >&5
7177 sed 's/^/| /' conftest.$ac_ext >&5
7179 ac_c99_stdio=no
7181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7182 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7183 echo "${ECHO_T}$ac_c99_stdio" >&6
7185 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7186 ac_c99_stdlib=yes;
7187 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7188 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7189 if test "${ac_c99_lldiv_t+set}" = set; then
7190 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 else
7193 cat >conftest.$ac_ext <<_ACEOF
7194 /* confdefs.h. */
7195 _ACEOF
7196 cat confdefs.h >>conftest.$ac_ext
7197 cat >>conftest.$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7199 #include <stdlib.h>
7201 main ()
7203 lldiv_t mydivt;
7205 return 0;
7207 _ACEOF
7208 rm -f conftest.$ac_objext
7209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7210 (eval $ac_compile) 2>conftest.er1
7211 ac_status=$?
7212 grep -v '^ *+' conftest.er1 >conftest.err
7213 rm -f conftest.er1
7214 cat conftest.err >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } &&
7217 { ac_try='test -z "$ac_cxx_werror_flag"
7218 || test ! -s conftest.err'
7219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7220 (eval $ac_try) 2>&5
7221 ac_status=$?
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; } &&
7224 { ac_try='test -s conftest.$ac_objext'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 (eval $ac_try) 2>&5
7227 ac_status=$?
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; }; then
7230 ac_c99_lldiv_t=yes
7231 else
7232 echo "$as_me: failed program was:" >&5
7233 sed 's/^/| /' conftest.$ac_ext >&5
7235 ac_c99_lldiv_t=no
7237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7241 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7242 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7244 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7245 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7246 cat >conftest.$ac_ext <<_ACEOF
7247 /* confdefs.h. */
7248 _ACEOF
7249 cat confdefs.h >>conftest.$ac_ext
7250 cat >>conftest.$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 #include <stdlib.h>
7254 main ()
7256 char* tmp; strtof("gnu", &tmp);
7258 return 0;
7260 _ACEOF
7261 rm -f conftest.$ac_objext
7262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7263 (eval $ac_compile) 2>conftest.er1
7264 ac_status=$?
7265 grep -v '^ *+' conftest.er1 >conftest.err
7266 rm -f conftest.er1
7267 cat conftest.err >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); } &&
7270 { ac_try='test -z "$ac_cxx_werror_flag"
7271 || test ! -s conftest.err'
7272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 (eval $ac_try) 2>&5
7274 ac_status=$?
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); }; } &&
7277 { ac_try='test -s conftest.$ac_objext'
7278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7279 (eval $ac_try) 2>&5
7280 ac_status=$?
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); }; }; then
7284 else
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 ac_c99_stdlib=no
7290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7291 cat >conftest.$ac_ext <<_ACEOF
7292 /* confdefs.h. */
7293 _ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 #include <stdlib.h>
7299 main ()
7301 char* tmp; strtold("gnu", &tmp);
7303 return 0;
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7308 (eval $ac_compile) 2>conftest.er1
7309 ac_status=$?
7310 grep -v '^ *+' conftest.er1 >conftest.err
7311 rm -f conftest.er1
7312 cat conftest.err >&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } &&
7315 { ac_try='test -z "$ac_cxx_werror_flag"
7316 || test ! -s conftest.err'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7318 (eval $ac_try) 2>&5
7319 ac_status=$?
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; } &&
7322 { ac_try='test -s conftest.$ac_objext'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7324 (eval $ac_try) 2>&5
7325 ac_status=$?
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; }; then
7329 else
7330 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.$ac_ext >&5
7333 ac_c99_stdlib=no
7335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7336 cat >conftest.$ac_ext <<_ACEOF
7337 /* confdefs.h. */
7338 _ACEOF
7339 cat confdefs.h >>conftest.$ac_ext
7340 cat >>conftest.$ac_ext <<_ACEOF
7341 /* end confdefs.h. */
7342 #include <stdlib.h>
7344 main ()
7346 llabs(10);
7348 return 0;
7350 _ACEOF
7351 rm -f conftest.$ac_objext
7352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7353 (eval $ac_compile) 2>conftest.er1
7354 ac_status=$?
7355 grep -v '^ *+' conftest.er1 >conftest.err
7356 rm -f conftest.er1
7357 cat conftest.err >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); } &&
7360 { ac_try='test -z "$ac_cxx_werror_flag"
7361 || test ! -s conftest.err'
7362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363 (eval $ac_try) 2>&5
7364 ac_status=$?
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; } &&
7367 { ac_try='test -s conftest.$ac_objext'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 (eval $ac_try) 2>&5
7370 ac_status=$?
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; }; then
7374 else
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.$ac_ext >&5
7378 ac_c99_stdlib=no
7380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7381 cat >conftest.$ac_ext <<_ACEOF
7382 /* confdefs.h. */
7383 _ACEOF
7384 cat confdefs.h >>conftest.$ac_ext
7385 cat >>conftest.$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7387 #include <stdlib.h>
7389 main ()
7391 lldiv(10,1);
7393 return 0;
7395 _ACEOF
7396 rm -f conftest.$ac_objext
7397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7398 (eval $ac_compile) 2>conftest.er1
7399 ac_status=$?
7400 grep -v '^ *+' conftest.er1 >conftest.err
7401 rm -f conftest.er1
7402 cat conftest.err >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } &&
7405 { ac_try='test -z "$ac_cxx_werror_flag"
7406 || test ! -s conftest.err'
7407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 (eval $ac_try) 2>&5
7409 ac_status=$?
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); }; } &&
7412 { ac_try='test -s conftest.$ac_objext'
7413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 (eval $ac_try) 2>&5
7415 ac_status=$?
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); }; }; then
7419 else
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.$ac_ext >&5
7423 ac_c99_stdlib=no
7425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7426 cat >conftest.$ac_ext <<_ACEOF
7427 /* confdefs.h. */
7428 _ACEOF
7429 cat confdefs.h >>conftest.$ac_ext
7430 cat >>conftest.$ac_ext <<_ACEOF
7431 /* end confdefs.h. */
7432 #include <stdlib.h>
7434 main ()
7436 atoll("10");
7438 return 0;
7440 _ACEOF
7441 rm -f conftest.$ac_objext
7442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7443 (eval $ac_compile) 2>conftest.er1
7444 ac_status=$?
7445 grep -v '^ *+' conftest.er1 >conftest.err
7446 rm -f conftest.er1
7447 cat conftest.err >&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); } &&
7450 { ac_try='test -z "$ac_cxx_werror_flag"
7451 || test ! -s conftest.err'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 (eval $ac_try) 2>&5
7454 ac_status=$?
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; } &&
7457 { ac_try='test -s conftest.$ac_objext'
7458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459 (eval $ac_try) 2>&5
7460 ac_status=$?
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; }; then
7464 else
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.$ac_ext >&5
7468 ac_c99_stdlib=no
7470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7471 cat >conftest.$ac_ext <<_ACEOF
7472 /* confdefs.h. */
7473 _ACEOF
7474 cat confdefs.h >>conftest.$ac_ext
7475 cat >>conftest.$ac_ext <<_ACEOF
7476 /* end confdefs.h. */
7477 #include <stdlib.h>
7479 main ()
7481 _Exit(0);
7483 return 0;
7485 _ACEOF
7486 rm -f conftest.$ac_objext
7487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7488 (eval $ac_compile) 2>conftest.er1
7489 ac_status=$?
7490 grep -v '^ *+' conftest.er1 >conftest.err
7491 rm -f conftest.er1
7492 cat conftest.err >&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); } &&
7495 { ac_try='test -z "$ac_cxx_werror_flag"
7496 || test ! -s conftest.err'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498 (eval $ac_try) 2>&5
7499 ac_status=$?
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; } &&
7502 { ac_try='test -s conftest.$ac_objext'
7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 (eval $ac_try) 2>&5
7505 ac_status=$?
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); }; }; then
7509 else
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.$ac_ext >&5
7513 ac_c99_stdlib=no
7515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7516 if test x"$ac_c99_lldiv_t" = x"no"; then
7517 ac_c99_stdlib=no;
7519 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7520 echo "${ECHO_T}$ac_c99_stdlib" >&6
7522 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7523 # XXX the wchar.h checks should be rolled into the general C99 bits.
7524 ac_c99_wchar=yes;
7525 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7526 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7527 cat >conftest.$ac_ext <<_ACEOF
7528 /* confdefs.h. */
7529 _ACEOF
7530 cat confdefs.h >>conftest.$ac_ext
7531 cat >>conftest.$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7533 #include <wchar.h>
7535 main ()
7537 wcstold(L"10.0", NULL);
7539 return 0;
7541 _ACEOF
7542 rm -f conftest.$ac_objext
7543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7544 (eval $ac_compile) 2>conftest.er1
7545 ac_status=$?
7546 grep -v '^ *+' conftest.er1 >conftest.err
7547 rm -f conftest.er1
7548 cat conftest.err >&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } &&
7551 { ac_try='test -z "$ac_cxx_werror_flag"
7552 || test ! -s conftest.err'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 (eval $ac_try) 2>&5
7555 ac_status=$?
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; } &&
7558 { ac_try='test -s conftest.$ac_objext'
7559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7560 (eval $ac_try) 2>&5
7561 ac_status=$?
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then
7565 else
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.$ac_ext >&5
7569 ac_c99_wchar=no
7571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7572 cat >conftest.$ac_ext <<_ACEOF
7573 /* confdefs.h. */
7574 _ACEOF
7575 cat confdefs.h >>conftest.$ac_ext
7576 cat >>conftest.$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #include <wchar.h>
7580 main ()
7582 wcstoll(L"10", NULL, 10);
7584 return 0;
7586 _ACEOF
7587 rm -f conftest.$ac_objext
7588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7589 (eval $ac_compile) 2>conftest.er1
7590 ac_status=$?
7591 grep -v '^ *+' conftest.er1 >conftest.err
7592 rm -f conftest.er1
7593 cat conftest.err >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } &&
7596 { ac_try='test -z "$ac_cxx_werror_flag"
7597 || test ! -s conftest.err'
7598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599 (eval $ac_try) 2>&5
7600 ac_status=$?
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }; } &&
7603 { ac_try='test -s conftest.$ac_objext'
7604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 (eval $ac_try) 2>&5
7606 ac_status=$?
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); }; }; then
7610 else
7611 echo "$as_me: failed program was:" >&5
7612 sed 's/^/| /' conftest.$ac_ext >&5
7614 ac_c99_wchar=no
7616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7617 cat >conftest.$ac_ext <<_ACEOF
7618 /* confdefs.h. */
7619 _ACEOF
7620 cat confdefs.h >>conftest.$ac_ext
7621 cat >>conftest.$ac_ext <<_ACEOF
7622 /* end confdefs.h. */
7623 #include <wchar.h>
7625 main ()
7627 wcstoull(L"10", NULL, 10);
7629 return 0;
7631 _ACEOF
7632 rm -f conftest.$ac_objext
7633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7634 (eval $ac_compile) 2>conftest.er1
7635 ac_status=$?
7636 grep -v '^ *+' conftest.er1 >conftest.err
7637 rm -f conftest.er1
7638 cat conftest.err >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } &&
7641 { ac_try='test -z "$ac_cxx_werror_flag"
7642 || test ! -s conftest.err'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7644 (eval $ac_try) 2>&5
7645 ac_status=$?
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; } &&
7648 { ac_try='test -s conftest.$ac_objext'
7649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7650 (eval $ac_try) 2>&5
7651 ac_status=$?
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); }; }; then
7655 else
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.$ac_ext >&5
7659 ac_c99_wchar=no
7661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7662 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7663 echo "${ECHO_T}$ac_c99_wchar" >&6
7665 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7666 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7667 if test x"$ac_c99_math" = x"no" ||
7668 test x"$ac_c99_stdio" = x"no" ||
7669 test x"$ac_c99_stdlib" = x"no" ||
7670 test x"$ac_c99_wchar" = x"no"; then
7671 enable_c99=no;
7673 echo "$as_me:$LINENO: result: $enable_c99" >&5
7674 echo "${ECHO_T}$enable_c99" >&6
7676 if test x"$ac_99_math" = x"yes"; then
7677 cat >>confdefs.h <<\_ACEOF
7678 #define _GLIBCXX_USE_C99_MATH 1
7679 _ACEOF
7683 # Option parsed, now set things appropriately
7684 if test x"$enable_c99" = x"yes"; then
7685 cat >>confdefs.h <<\_ACEOF
7686 #define _GLIBCXX_USE_C99 1
7687 _ACEOF
7691 ac_ext=c
7692 ac_cpp='$CPP $CPPFLAGS'
7693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7699 # Check whether --enable-long-long or --disable-long-long was given.
7700 if test "${enable_long_long+set}" = set; then
7701 enableval="$enable_long_long"
7703 case "$enableval" in
7704 yes|no) ;;
7705 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7706 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7707 { (exit 1); exit 1; }; } ;;
7708 esac
7710 else
7711 enable_long_long=yes
7714 if test $enable_long_long = yes; then
7715 cat >>confdefs.h <<\_ACEOF
7716 #define _GLIBCXX_USE_LONG_LONG 1
7717 _ACEOF
7722 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7723 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7724 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7725 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7726 echo "${ECHO_T}$target_thread_file" >&6
7728 if test $target_thread_file != single; then
7729 cat >>confdefs.h <<\_ACEOF
7730 #define HAVE_GTHR_DEFAULT 1
7731 _ACEOF
7735 glibcxx_thread_h=gthr-$target_thread_file.h
7739 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7740 if test "${enable_concept_checks+set}" = set; then
7741 enableval="$enable_concept_checks"
7743 case "$enableval" in
7744 yes|no) ;;
7745 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7746 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7747 { (exit 1); exit 1; }; } ;;
7748 esac
7750 else
7751 enable_concept_checks=no
7754 if test $enable_concept_checks = yes; then
7755 cat >>confdefs.h <<\_ACEOF
7756 #define _GLIBCXX_CONCEPT_CHECKS 1
7757 _ACEOF
7762 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7763 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7764 enableval="$enable_libstdcxx_debug_flags"
7765 case "x$enable_libstdcxx_debug_flags" in
7766 xno | x) enable_libstdcxx_debug_flags= ;;
7767 x-*) ;;
7768 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7769 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7770 { (exit 1); exit 1; }; } ;;
7771 esac
7772 else
7773 enable_libstdcxx_debug_flags="-g3 -O0"
7777 # Option parsed, now set things appropriately
7778 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7781 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7782 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7785 echo "$as_me:$LINENO: checking for additional debug build" >&5
7786 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7787 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7788 if test "${enable_libstdcxx_debug+set}" = set; then
7789 enableval="$enable_libstdcxx_debug"
7791 case "$enableval" in
7792 yes|no) ;;
7793 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7794 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7795 { (exit 1); exit 1; }; } ;;
7796 esac
7798 else
7799 enable_libstdcxx_debug=no
7802 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7803 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7806 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7807 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7808 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7809 if test "${enable_cxx_flags+set}" = set; then
7810 enableval="$enable_cxx_flags"
7811 case "x$enable_cxx_flags" in
7812 xno | x) enable_cxx_flags= ;;
7813 x-*) ;;
7814 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7815 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7816 { (exit 1); exit 1; }; } ;;
7817 esac
7818 else
7819 enable_cxx_flags=
7823 # Run through flags (either default or command-line) and set anything
7824 # extra (e.g., #defines) that must accompany particular g++ options.
7825 if test -n "$enable_cxx_flags"; then
7826 for f in $enable_cxx_flags; do
7827 case "$f" in
7828 -fhonor-std) ;;
7829 -*) ;;
7830 *) # and we're trying to pass /what/ exactly?
7831 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7832 echo "$as_me: error: compiler flags start with a -" >&2;}
7833 { (exit 1); exit 1; }; } ;;
7834 esac
7835 done
7838 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7839 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7840 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7844 # No surprises, no surprises...
7845 if test $atomicity_dir = cpu/generic ; then
7846 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7847 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7848 if test $target_thread_file = single; then
7849 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7850 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7851 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7852 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7853 else
7854 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7855 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7856 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7857 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7862 if $GLIBCXX_IS_NATIVE; then
7864 # We can do more elaborate tests that assume a working linker.
7865 CANADIAN=no
7867 # Check for available headers.
7881 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7882 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7883 sys/types.h
7885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7887 echo "$as_me:$LINENO: checking for $ac_header" >&5
7888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7890 echo $ECHO_N "(cached) $ECHO_C" >&6
7892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7894 else
7895 # Is the header compilable?
7896 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7898 cat >conftest.$ac_ext <<_ACEOF
7899 /* confdefs.h. */
7900 _ACEOF
7901 cat confdefs.h >>conftest.$ac_ext
7902 cat >>conftest.$ac_ext <<_ACEOF
7903 /* end confdefs.h. */
7904 $ac_includes_default
7905 #include <$ac_header>
7906 _ACEOF
7907 rm -f conftest.$ac_objext
7908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7909 (eval $ac_compile) 2>conftest.er1
7910 ac_status=$?
7911 grep -v '^ *+' conftest.er1 >conftest.err
7912 rm -f conftest.er1
7913 cat conftest.err >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); } &&
7916 { ac_try='test -z "$ac_c_werror_flag"
7917 || test ! -s conftest.err'
7918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 (eval $ac_try) 2>&5
7920 ac_status=$?
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); }; } &&
7923 { ac_try='test -s conftest.$ac_objext'
7924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 (eval $ac_try) 2>&5
7926 ac_status=$?
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); }; }; then
7929 ac_header_compiler=yes
7930 else
7931 echo "$as_me: failed program was:" >&5
7932 sed 's/^/| /' conftest.$ac_ext >&5
7934 ac_header_compiler=no
7936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7938 echo "${ECHO_T}$ac_header_compiler" >&6
7940 # Is the header present?
7941 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7943 cat >conftest.$ac_ext <<_ACEOF
7944 /* confdefs.h. */
7945 _ACEOF
7946 cat confdefs.h >>conftest.$ac_ext
7947 cat >>conftest.$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7949 #include <$ac_header>
7950 _ACEOF
7951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7953 ac_status=$?
7954 grep -v '^ *+' conftest.er1 >conftest.err
7955 rm -f conftest.er1
7956 cat conftest.err >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); } >/dev/null; then
7959 if test -s conftest.err; then
7960 ac_cpp_err=$ac_c_preproc_warn_flag
7961 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7962 else
7963 ac_cpp_err=
7965 else
7966 ac_cpp_err=yes
7968 if test -z "$ac_cpp_err"; then
7969 ac_header_preproc=yes
7970 else
7971 echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7974 ac_header_preproc=no
7976 rm -f conftest.err conftest.$ac_ext
7977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7978 echo "${ECHO_T}$ac_header_preproc" >&6
7980 # So? What about this header?
7981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7982 yes:no: )
7983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7986 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7987 ac_header_preproc=yes
7989 no:yes:* )
7990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7994 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7995 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7996 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7997 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8000 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8001 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8003 cat <<\_ASBOX
8004 ## ----------------------------------------- ##
8005 ## Report this to the package-unused lists. ##
8006 ## ----------------------------------------- ##
8007 _ASBOX
8009 sed "s/^/$as_me: WARNING: /" >&2
8011 esac
8012 echo "$as_me:$LINENO: checking for $ac_header" >&5
8013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8015 echo $ECHO_N "(cached) $ECHO_C" >&6
8016 else
8017 eval "$as_ac_Header=\$ac_header_preproc"
8019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8024 cat >>confdefs.h <<_ACEOF
8025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8026 _ACEOF
8030 done
8034 # All these tests are for C++; save the language and the compiler flags.
8035 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8036 # found in GLIBCXX_CONFIGURE.
8039 ac_ext=cc
8040 ac_cpp='$CXXCPP $CPPFLAGS'
8041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8045 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8046 ac_save_CXXFLAGS="$CXXFLAGS"
8048 # Check for maintainer-mode bits.
8049 if test x"$USE_MAINTAINER_MODE" = xno; then
8050 WERROR=''
8051 else
8052 WERROR='-Werror'
8055 # Check for -ffunction-sections -fdata-sections
8056 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8057 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8058 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8059 cat >conftest.$ac_ext <<_ACEOF
8060 /* confdefs.h. */
8061 _ACEOF
8062 cat confdefs.h >>conftest.$ac_ext
8063 cat >>conftest.$ac_ext <<_ACEOF
8064 /* end confdefs.h. */
8067 main ()
8069 int foo;
8071 return 0;
8073 _ACEOF
8074 rm -f conftest.$ac_objext
8075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8076 (eval $ac_compile) 2>conftest.er1
8077 ac_status=$?
8078 grep -v '^ *+' conftest.er1 >conftest.err
8079 rm -f conftest.er1
8080 cat conftest.err >&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); } &&
8083 { ac_try='test -z "$ac_cxx_werror_flag"
8084 || test ! -s conftest.err'
8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 (eval $ac_try) 2>&5
8087 ac_status=$?
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); }; } &&
8090 { ac_try='test -s conftest.$ac_objext'
8091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8092 (eval $ac_try) 2>&5
8093 ac_status=$?
8094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 (exit $ac_status); }; }; then
8096 ac_fdsections=yes
8097 else
8098 echo "$as_me: failed program was:" >&5
8099 sed 's/^/| /' conftest.$ac_ext >&5
8101 ac_fdsections=no
8103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8104 if test "$ac_test_CXXFLAGS" = set; then
8105 CXXFLAGS="$ac_save_CXXFLAGS"
8106 else
8107 # this is the suspicious part
8108 CXXFLAGS=''
8110 if test x"$ac_fdsections" = x"yes"; then
8111 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8113 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8114 echo "${ECHO_T}$ac_fdsections" >&6
8116 ac_ext=c
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8126 # If we're not using GNU ld, then there's no point in even trying these
8127 # tests. Check for that first. We should have already tested for gld
8128 # by now (in libtool), but require it now just to be safe...
8129 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8130 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8134 # The name set by libtool depends on the version of libtool. Shame on us
8135 # for depending on an impl detail, but c'est la vie. Older versions used
8136 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8137 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8138 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8139 # set (hence we're using an older libtool), then set it.
8140 if test x${with_gnu_ld+set} != xset; then
8141 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8142 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8143 with_gnu_ld=no
8144 else
8145 with_gnu_ld=$ac_cv_prog_gnu_ld
8149 # Start by getting the version number. I think the libtool test already
8150 # does some of this, but throws away the result.
8152 ldver=`$LD --version 2>/dev/null | head -1 | \
8153 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8155 glibcxx_gnu_ld_version=`echo $ldver | \
8156 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8158 # Set --gc-sections.
8159 if test "$with_gnu_ld" = "notbroken"; then
8160 # GNU ld it is! Joy and bunny rabbits!
8162 # All these tests are for C++; save the language and the compiler flags.
8163 # Need to do this so that g++ won't try to link in libstdc++
8164 ac_test_CFLAGS="${CFLAGS+set}"
8165 ac_save_CFLAGS="$CFLAGS"
8166 CFLAGS='-x c++ -Wl,--gc-sections'
8168 # Check for -Wl,--gc-sections
8169 # XXX This test is broken at the moment, as symbols required for linking
8170 # are now in libsupc++ (not built yet). In addition, this test has
8171 # cored on solaris in the past. In addition, --gc-sections doesn't
8172 # really work at the moment (keeps on discarding used sections, first
8173 # .eh_frame and now some of the glibc sections for iconv).
8174 # Bzzzzt. Thanks for playing, maybe next time.
8175 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8176 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8177 if test "$cross_compiling" = yes; then
8178 ac_sectionLDflags=yes
8179 else
8180 cat >conftest.$ac_ext <<_ACEOF
8181 /* confdefs.h. */
8182 _ACEOF
8183 cat confdefs.h >>conftest.$ac_ext
8184 cat >>conftest.$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8187 int main(void)
8189 try { throw 1; }
8190 catch (...) { };
8191 return 0;
8194 _ACEOF
8195 rm -f conftest$ac_exeext
8196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8197 (eval $ac_link) 2>&5
8198 ac_status=$?
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 ac_sectionLDflags=yes
8207 else
8208 echo "$as_me: program exited with status $ac_status" >&5
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 ( exit $ac_status )
8213 ac_sectionLDflags=no
8215 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8217 if test "$ac_test_CFLAGS" = set; then
8218 CFLAGS="$ac_save_CFLAGS"
8219 else
8220 # this is the suspicious part
8221 CFLAGS=''
8223 if test "$ac_sectionLDflags" = "yes"; then
8224 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8226 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8227 echo "${ECHO_T}$ac_sectionLDflags" >&6
8230 # Set linker optimization flags.
8231 if test x"$with_gnu_ld" = x"yes"; then
8232 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8239 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8240 ac_save_CXXFLAGS="$CXXFLAGS"
8241 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8243 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8244 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8245 if test "${ac_cv_lib_m_sin+set}" = set; then
8246 echo $ECHO_N "(cached) $ECHO_C" >&6
8247 else
8248 ac_check_lib_save_LIBS=$LIBS
8249 LIBS="-lm $LIBS"
8250 if test x$gcc_no_link = xyes; then
8251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8253 { (exit 1); exit 1; }; }
8255 cat >conftest.$ac_ext <<_ACEOF
8256 /* confdefs.h. */
8257 _ACEOF
8258 cat confdefs.h >>conftest.$ac_ext
8259 cat >>conftest.$ac_ext <<_ACEOF
8260 /* end confdefs.h. */
8262 /* Override any gcc2 internal prototype to avoid an error. */
8263 #ifdef __cplusplus
8264 extern "C"
8265 #endif
8266 /* We use char because int might match the return type of a gcc2
8267 builtin and then its argument prototype would still apply. */
8268 char sin ();
8270 main ()
8272 sin ();
8274 return 0;
8276 _ACEOF
8277 rm -f conftest.$ac_objext conftest$ac_exeext
8278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8279 (eval $ac_link) 2>conftest.er1
8280 ac_status=$?
8281 grep -v '^ *+' conftest.er1 >conftest.err
8282 rm -f conftest.er1
8283 cat conftest.err >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } &&
8286 { ac_try='test -z "$ac_c_werror_flag"
8287 || test ! -s conftest.err'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8289 (eval $ac_try) 2>&5
8290 ac_status=$?
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; } &&
8293 { ac_try='test -s conftest$ac_exeext'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 (eval $ac_try) 2>&5
8296 ac_status=$?
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; }; then
8299 ac_cv_lib_m_sin=yes
8300 else
8301 echo "$as_me: failed program was:" >&5
8302 sed 's/^/| /' conftest.$ac_ext >&5
8304 ac_cv_lib_m_sin=no
8306 rm -f conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 LIBS=$ac_check_lib_save_LIBS
8310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8311 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8312 if test $ac_cv_lib_m_sin = yes; then
8313 libm="-lm"
8316 ac_save_LIBS="$LIBS"
8317 LIBS="$LIBS $libm"
8321 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8322 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8323 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8324 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8325 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 else
8330 ac_ext=cc
8331 ac_cpp='$CXXCPP $CPPFLAGS'
8332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8336 cat >conftest.$ac_ext <<_ACEOF
8337 /* confdefs.h. */
8338 _ACEOF
8339 cat confdefs.h >>conftest.$ac_ext
8340 cat >>conftest.$ac_ext <<_ACEOF
8341 /* end confdefs.h. */
8342 #include <math.h>
8343 #ifdef HAVE_IEEEFP_H
8344 #include <ieeefp.h>
8345 #endif
8348 main ()
8350 isinf(0);
8352 return 0;
8354 _ACEOF
8355 rm -f conftest.$ac_objext
8356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8357 (eval $ac_compile) 2>conftest.er1
8358 ac_status=$?
8359 grep -v '^ *+' conftest.er1 >conftest.err
8360 rm -f conftest.er1
8361 cat conftest.err >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } &&
8364 { ac_try='test -z "$ac_cxx_werror_flag"
8365 || test ! -s conftest.err'
8366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8367 (eval $ac_try) 2>&5
8368 ac_status=$?
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); }; } &&
8371 { ac_try='test -s conftest.$ac_objext'
8372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373 (eval $ac_try) 2>&5
8374 ac_status=$?
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; }; then
8377 glibcxx_cv_func_isinf_use=yes
8378 else
8379 echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.$ac_ext >&5
8382 glibcxx_cv_func_isinf_use=no
8384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8385 ac_ext=c
8386 ac_cpp='$CPP $CPPFLAGS'
8387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8396 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8398 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8400 for ac_func in isinf
8402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8403 echo "$as_me:$LINENO: checking for $ac_func" >&5
8404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8405 if eval "test \"\${$as_ac_var+set}\" = set"; then
8406 echo $ECHO_N "(cached) $ECHO_C" >&6
8407 else
8408 if test x$gcc_no_link = xyes; then
8409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8411 { (exit 1); exit 1; }; }
8413 cat >conftest.$ac_ext <<_ACEOF
8414 /* confdefs.h. */
8415 _ACEOF
8416 cat confdefs.h >>conftest.$ac_ext
8417 cat >>conftest.$ac_ext <<_ACEOF
8418 /* end confdefs.h. */
8419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8421 #define $ac_func innocuous_$ac_func
8423 /* System header to define __stub macros and hopefully few prototypes,
8424 which can conflict with char $ac_func (); below.
8425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8426 <limits.h> exists even on freestanding compilers. */
8428 #ifdef __STDC__
8429 # include <limits.h>
8430 #else
8431 # include <assert.h>
8432 #endif
8434 #undef $ac_func
8436 /* Override any gcc2 internal prototype to avoid an error. */
8437 #ifdef __cplusplus
8438 extern "C"
8440 #endif
8441 /* We use char because int might match the return type of a gcc2
8442 builtin and then its argument prototype would still apply. */
8443 char $ac_func ();
8444 /* The GNU C library defines this for functions which it implements
8445 to always fail with ENOSYS. Some functions are actually named
8446 something starting with __ and the normal name is an alias. */
8447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8448 choke me
8449 #else
8450 char (*f) () = $ac_func;
8451 #endif
8452 #ifdef __cplusplus
8454 #endif
8457 main ()
8459 return f != $ac_func;
8461 return 0;
8463 _ACEOF
8464 rm -f conftest.$ac_objext conftest$ac_exeext
8465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8466 (eval $ac_link) 2>conftest.er1
8467 ac_status=$?
8468 grep -v '^ *+' conftest.er1 >conftest.err
8469 rm -f conftest.er1
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } &&
8473 { ac_try='test -z "$ac_c_werror_flag"
8474 || test ! -s conftest.err'
8475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476 (eval $ac_try) 2>&5
8477 ac_status=$?
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); }; } &&
8480 { ac_try='test -s conftest$ac_exeext'
8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 (eval $ac_try) 2>&5
8483 ac_status=$?
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; }; then
8486 eval "$as_ac_var=yes"
8487 else
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8491 eval "$as_ac_var=no"
8493 rm -f conftest.err conftest.$ac_objext \
8494 conftest$ac_exeext conftest.$ac_ext
8496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8498 if test `eval echo '${'$as_ac_var'}'` = yes; then
8499 cat >>confdefs.h <<_ACEOF
8500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8501 _ACEOF
8504 done
8506 else
8508 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8509 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8510 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8511 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8513 else
8517 ac_ext=cc
8518 ac_cpp='$CXXCPP $CPPFLAGS'
8519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8523 cat >conftest.$ac_ext <<_ACEOF
8524 /* confdefs.h. */
8525 _ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8529 #include <math.h>
8530 #ifdef HAVE_IEEEFP_H
8531 #include <ieeefp.h>
8532 #endif
8535 main ()
8537 _isinf(0);
8539 return 0;
8541 _ACEOF
8542 rm -f conftest.$ac_objext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8544 (eval $ac_compile) 2>conftest.er1
8545 ac_status=$?
8546 grep -v '^ *+' conftest.er1 >conftest.err
8547 rm -f conftest.er1
8548 cat conftest.err >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } &&
8551 { ac_try='test -z "$ac_cxx_werror_flag"
8552 || test ! -s conftest.err'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 (eval $ac_try) 2>&5
8555 ac_status=$?
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; } &&
8558 { ac_try='test -s conftest.$ac_objext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 (eval $ac_try) 2>&5
8561 ac_status=$?
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 glibcxx_cv_func__isinf_use=yes
8565 else
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8569 glibcxx_cv_func__isinf_use=no
8571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8572 ac_ext=c
8573 ac_cpp='$CPP $CPPFLAGS'
8574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8583 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8585 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8587 for ac_func in _isinf
8589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8590 echo "$as_me:$LINENO: checking for $ac_func" >&5
8591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8592 if eval "test \"\${$as_ac_var+set}\" = set"; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8594 else
8595 if test x$gcc_no_link = xyes; then
8596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8598 { (exit 1); exit 1; }; }
8600 cat >conftest.$ac_ext <<_ACEOF
8601 /* confdefs.h. */
8602 _ACEOF
8603 cat confdefs.h >>conftest.$ac_ext
8604 cat >>conftest.$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8608 #define $ac_func innocuous_$ac_func
8610 /* System header to define __stub macros and hopefully few prototypes,
8611 which can conflict with char $ac_func (); below.
8612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8613 <limits.h> exists even on freestanding compilers. */
8615 #ifdef __STDC__
8616 # include <limits.h>
8617 #else
8618 # include <assert.h>
8619 #endif
8621 #undef $ac_func
8623 /* Override any gcc2 internal prototype to avoid an error. */
8624 #ifdef __cplusplus
8625 extern "C"
8627 #endif
8628 /* We use char because int might match the return type of a gcc2
8629 builtin and then its argument prototype would still apply. */
8630 char $ac_func ();
8631 /* The GNU C library defines this for functions which it implements
8632 to always fail with ENOSYS. Some functions are actually named
8633 something starting with __ and the normal name is an alias. */
8634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8635 choke me
8636 #else
8637 char (*f) () = $ac_func;
8638 #endif
8639 #ifdef __cplusplus
8641 #endif
8644 main ()
8646 return f != $ac_func;
8648 return 0;
8650 _ACEOF
8651 rm -f conftest.$ac_objext conftest$ac_exeext
8652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8653 (eval $ac_link) 2>conftest.er1
8654 ac_status=$?
8655 grep -v '^ *+' conftest.er1 >conftest.err
8656 rm -f conftest.er1
8657 cat conftest.err >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } &&
8660 { ac_try='test -z "$ac_c_werror_flag"
8661 || test ! -s conftest.err'
8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 (eval $ac_try) 2>&5
8664 ac_status=$?
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); }; } &&
8667 { ac_try='test -s conftest$ac_exeext'
8668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 (eval $ac_try) 2>&5
8670 ac_status=$?
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); }; }; then
8673 eval "$as_ac_var=yes"
8674 else
8675 echo "$as_me: failed program was:" >&5
8676 sed 's/^/| /' conftest.$ac_ext >&5
8678 eval "$as_ac_var=no"
8680 rm -f conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8685 if test `eval echo '${'$as_ac_var'}'` = yes; then
8686 cat >>confdefs.h <<_ACEOF
8687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8688 _ACEOF
8691 done
8698 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8699 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8700 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8701 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8702 echo $ECHO_N "(cached) $ECHO_C" >&6
8703 else
8707 ac_ext=cc
8708 ac_cpp='$CXXCPP $CPPFLAGS'
8709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8713 cat >conftest.$ac_ext <<_ACEOF
8714 /* confdefs.h. */
8715 _ACEOF
8716 cat confdefs.h >>conftest.$ac_ext
8717 cat >>conftest.$ac_ext <<_ACEOF
8718 /* end confdefs.h. */
8719 #include <math.h>
8720 #ifdef HAVE_IEEEFP_H
8721 #include <ieeefp.h>
8722 #endif
8725 main ()
8727 isnan(0);
8729 return 0;
8731 _ACEOF
8732 rm -f conftest.$ac_objext
8733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8734 (eval $ac_compile) 2>conftest.er1
8735 ac_status=$?
8736 grep -v '^ *+' conftest.er1 >conftest.err
8737 rm -f conftest.er1
8738 cat conftest.err >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } &&
8741 { ac_try='test -z "$ac_cxx_werror_flag"
8742 || test ! -s conftest.err'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 (eval $ac_try) 2>&5
8745 ac_status=$?
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; } &&
8748 { ac_try='test -s conftest.$ac_objext'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 (eval $ac_try) 2>&5
8751 ac_status=$?
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; }; then
8754 glibcxx_cv_func_isnan_use=yes
8755 else
8756 echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.$ac_ext >&5
8759 glibcxx_cv_func_isnan_use=no
8761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8762 ac_ext=c
8763 ac_cpp='$CPP $CPPFLAGS'
8764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8773 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8775 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8777 for ac_func in isnan
8779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8780 echo "$as_me:$LINENO: checking for $ac_func" >&5
8781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8782 if eval "test \"\${$as_ac_var+set}\" = set"; then
8783 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 else
8785 if test x$gcc_no_link = xyes; then
8786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8788 { (exit 1); exit 1; }; }
8790 cat >conftest.$ac_ext <<_ACEOF
8791 /* confdefs.h. */
8792 _ACEOF
8793 cat confdefs.h >>conftest.$ac_ext
8794 cat >>conftest.$ac_ext <<_ACEOF
8795 /* end confdefs.h. */
8796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8798 #define $ac_func innocuous_$ac_func
8800 /* System header to define __stub macros and hopefully few prototypes,
8801 which can conflict with char $ac_func (); below.
8802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8803 <limits.h> exists even on freestanding compilers. */
8805 #ifdef __STDC__
8806 # include <limits.h>
8807 #else
8808 # include <assert.h>
8809 #endif
8811 #undef $ac_func
8813 /* Override any gcc2 internal prototype to avoid an error. */
8814 #ifdef __cplusplus
8815 extern "C"
8817 #endif
8818 /* We use char because int might match the return type of a gcc2
8819 builtin and then its argument prototype would still apply. */
8820 char $ac_func ();
8821 /* The GNU C library defines this for functions which it implements
8822 to always fail with ENOSYS. Some functions are actually named
8823 something starting with __ and the normal name is an alias. */
8824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8825 choke me
8826 #else
8827 char (*f) () = $ac_func;
8828 #endif
8829 #ifdef __cplusplus
8831 #endif
8834 main ()
8836 return f != $ac_func;
8838 return 0;
8840 _ACEOF
8841 rm -f conftest.$ac_objext conftest$ac_exeext
8842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8843 (eval $ac_link) 2>conftest.er1
8844 ac_status=$?
8845 grep -v '^ *+' conftest.er1 >conftest.err
8846 rm -f conftest.er1
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); } &&
8850 { ac_try='test -z "$ac_c_werror_flag"
8851 || test ! -s conftest.err'
8852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8853 (eval $ac_try) 2>&5
8854 ac_status=$?
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); }; } &&
8857 { ac_try='test -s conftest$ac_exeext'
8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8859 (eval $ac_try) 2>&5
8860 ac_status=$?
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); }; }; then
8863 eval "$as_ac_var=yes"
8864 else
8865 echo "$as_me: failed program was:" >&5
8866 sed 's/^/| /' conftest.$ac_ext >&5
8868 eval "$as_ac_var=no"
8870 rm -f conftest.err conftest.$ac_objext \
8871 conftest$ac_exeext conftest.$ac_ext
8873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8875 if test `eval echo '${'$as_ac_var'}'` = yes; then
8876 cat >>confdefs.h <<_ACEOF
8877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8878 _ACEOF
8881 done
8883 else
8885 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8886 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8887 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8888 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8889 echo $ECHO_N "(cached) $ECHO_C" >&6
8890 else
8894 ac_ext=cc
8895 ac_cpp='$CXXCPP $CPPFLAGS'
8896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8900 cat >conftest.$ac_ext <<_ACEOF
8901 /* confdefs.h. */
8902 _ACEOF
8903 cat confdefs.h >>conftest.$ac_ext
8904 cat >>conftest.$ac_ext <<_ACEOF
8905 /* end confdefs.h. */
8906 #include <math.h>
8907 #ifdef HAVE_IEEEFP_H
8908 #include <ieeefp.h>
8909 #endif
8912 main ()
8914 _isnan(0);
8916 return 0;
8918 _ACEOF
8919 rm -f conftest.$ac_objext
8920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8921 (eval $ac_compile) 2>conftest.er1
8922 ac_status=$?
8923 grep -v '^ *+' conftest.er1 >conftest.err
8924 rm -f conftest.er1
8925 cat conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } &&
8928 { ac_try='test -z "$ac_cxx_werror_flag"
8929 || test ! -s conftest.err'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 (eval $ac_try) 2>&5
8932 ac_status=$?
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; } &&
8935 { ac_try='test -s conftest.$ac_objext'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 (eval $ac_try) 2>&5
8938 ac_status=$?
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; }; then
8941 glibcxx_cv_func__isnan_use=yes
8942 else
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.$ac_ext >&5
8946 glibcxx_cv_func__isnan_use=no
8948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8949 ac_ext=c
8950 ac_cpp='$CPP $CPPFLAGS'
8951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8960 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8962 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8964 for ac_func in _isnan
8966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8967 echo "$as_me:$LINENO: checking for $ac_func" >&5
8968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8969 if eval "test \"\${$as_ac_var+set}\" = set"; then
8970 echo $ECHO_N "(cached) $ECHO_C" >&6
8971 else
8972 if test x$gcc_no_link = xyes; then
8973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8975 { (exit 1); exit 1; }; }
8977 cat >conftest.$ac_ext <<_ACEOF
8978 /* confdefs.h. */
8979 _ACEOF
8980 cat confdefs.h >>conftest.$ac_ext
8981 cat >>conftest.$ac_ext <<_ACEOF
8982 /* end confdefs.h. */
8983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8985 #define $ac_func innocuous_$ac_func
8987 /* System header to define __stub macros and hopefully few prototypes,
8988 which can conflict with char $ac_func (); below.
8989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8990 <limits.h> exists even on freestanding compilers. */
8992 #ifdef __STDC__
8993 # include <limits.h>
8994 #else
8995 # include <assert.h>
8996 #endif
8998 #undef $ac_func
9000 /* Override any gcc2 internal prototype to avoid an error. */
9001 #ifdef __cplusplus
9002 extern "C"
9004 #endif
9005 /* We use char because int might match the return type of a gcc2
9006 builtin and then its argument prototype would still apply. */
9007 char $ac_func ();
9008 /* The GNU C library defines this for functions which it implements
9009 to always fail with ENOSYS. Some functions are actually named
9010 something starting with __ and the normal name is an alias. */
9011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9012 choke me
9013 #else
9014 char (*f) () = $ac_func;
9015 #endif
9016 #ifdef __cplusplus
9018 #endif
9021 main ()
9023 return f != $ac_func;
9025 return 0;
9027 _ACEOF
9028 rm -f conftest.$ac_objext conftest$ac_exeext
9029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9030 (eval $ac_link) 2>conftest.er1
9031 ac_status=$?
9032 grep -v '^ *+' conftest.er1 >conftest.err
9033 rm -f conftest.er1
9034 cat conftest.err >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } &&
9037 { ac_try='test -z "$ac_c_werror_flag"
9038 || test ! -s conftest.err'
9039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9040 (eval $ac_try) 2>&5
9041 ac_status=$?
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); }; } &&
9044 { ac_try='test -s conftest$ac_exeext'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 (eval $ac_try) 2>&5
9047 ac_status=$?
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; }; then
9050 eval "$as_ac_var=yes"
9051 else
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.$ac_ext >&5
9055 eval "$as_ac_var=no"
9057 rm -f conftest.err conftest.$ac_objext \
9058 conftest$ac_exeext conftest.$ac_ext
9060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9062 if test `eval echo '${'$as_ac_var'}'` = yes; then
9063 cat >>confdefs.h <<_ACEOF
9064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9065 _ACEOF
9068 done
9075 echo "$as_me:$LINENO: checking for finite declaration" >&5
9076 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9077 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9078 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9079 echo $ECHO_N "(cached) $ECHO_C" >&6
9080 else
9084 ac_ext=cc
9085 ac_cpp='$CXXCPP $CPPFLAGS'
9086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9090 cat >conftest.$ac_ext <<_ACEOF
9091 /* confdefs.h. */
9092 _ACEOF
9093 cat confdefs.h >>conftest.$ac_ext
9094 cat >>conftest.$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9096 #include <math.h>
9097 #ifdef HAVE_IEEEFP_H
9098 #include <ieeefp.h>
9099 #endif
9102 main ()
9104 finite(0);
9106 return 0;
9108 _ACEOF
9109 rm -f conftest.$ac_objext
9110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9111 (eval $ac_compile) 2>conftest.er1
9112 ac_status=$?
9113 grep -v '^ *+' conftest.er1 >conftest.err
9114 rm -f conftest.er1
9115 cat conftest.err >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } &&
9118 { ac_try='test -z "$ac_cxx_werror_flag"
9119 || test ! -s conftest.err'
9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 (eval $ac_try) 2>&5
9122 ac_status=$?
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); }; } &&
9125 { ac_try='test -s conftest.$ac_objext'
9126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 (eval $ac_try) 2>&5
9128 ac_status=$?
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; }; then
9131 glibcxx_cv_func_finite_use=yes
9132 else
9133 echo "$as_me: failed program was:" >&5
9134 sed 's/^/| /' conftest.$ac_ext >&5
9136 glibcxx_cv_func_finite_use=no
9138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9139 ac_ext=c
9140 ac_cpp='$CPP $CPPFLAGS'
9141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9150 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9152 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9154 for ac_func in finite
9156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9157 echo "$as_me:$LINENO: checking for $ac_func" >&5
9158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9159 if eval "test \"\${$as_ac_var+set}\" = set"; then
9160 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 else
9162 if test x$gcc_no_link = xyes; then
9163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9165 { (exit 1); exit 1; }; }
9167 cat >conftest.$ac_ext <<_ACEOF
9168 /* confdefs.h. */
9169 _ACEOF
9170 cat confdefs.h >>conftest.$ac_ext
9171 cat >>conftest.$ac_ext <<_ACEOF
9172 /* end confdefs.h. */
9173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9175 #define $ac_func innocuous_$ac_func
9177 /* System header to define __stub macros and hopefully few prototypes,
9178 which can conflict with char $ac_func (); below.
9179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9180 <limits.h> exists even on freestanding compilers. */
9182 #ifdef __STDC__
9183 # include <limits.h>
9184 #else
9185 # include <assert.h>
9186 #endif
9188 #undef $ac_func
9190 /* Override any gcc2 internal prototype to avoid an error. */
9191 #ifdef __cplusplus
9192 extern "C"
9194 #endif
9195 /* We use char because int might match the return type of a gcc2
9196 builtin and then its argument prototype would still apply. */
9197 char $ac_func ();
9198 /* The GNU C library defines this for functions which it implements
9199 to always fail with ENOSYS. Some functions are actually named
9200 something starting with __ and the normal name is an alias. */
9201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9202 choke me
9203 #else
9204 char (*f) () = $ac_func;
9205 #endif
9206 #ifdef __cplusplus
9208 #endif
9211 main ()
9213 return f != $ac_func;
9215 return 0;
9217 _ACEOF
9218 rm -f conftest.$ac_objext conftest$ac_exeext
9219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9220 (eval $ac_link) 2>conftest.er1
9221 ac_status=$?
9222 grep -v '^ *+' conftest.er1 >conftest.err
9223 rm -f conftest.er1
9224 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } &&
9227 { ac_try='test -z "$ac_c_werror_flag"
9228 || test ! -s conftest.err'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 (eval $ac_try) 2>&5
9231 ac_status=$?
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; } &&
9234 { ac_try='test -s conftest$ac_exeext'
9235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9236 (eval $ac_try) 2>&5
9237 ac_status=$?
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 eval "$as_ac_var=yes"
9241 else
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.$ac_ext >&5
9245 eval "$as_ac_var=no"
9247 rm -f conftest.err conftest.$ac_objext \
9248 conftest$ac_exeext conftest.$ac_ext
9250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9252 if test `eval echo '${'$as_ac_var'}'` = yes; then
9253 cat >>confdefs.h <<_ACEOF
9254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9255 _ACEOF
9258 done
9260 else
9262 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9263 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9264 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9265 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9266 echo $ECHO_N "(cached) $ECHO_C" >&6
9267 else
9271 ac_ext=cc
9272 ac_cpp='$CXXCPP $CPPFLAGS'
9273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9277 cat >conftest.$ac_ext <<_ACEOF
9278 /* confdefs.h. */
9279 _ACEOF
9280 cat confdefs.h >>conftest.$ac_ext
9281 cat >>conftest.$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9283 #include <math.h>
9284 #ifdef HAVE_IEEEFP_H
9285 #include <ieeefp.h>
9286 #endif
9289 main ()
9291 _finite(0);
9293 return 0;
9295 _ACEOF
9296 rm -f conftest.$ac_objext
9297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9298 (eval $ac_compile) 2>conftest.er1
9299 ac_status=$?
9300 grep -v '^ *+' conftest.er1 >conftest.err
9301 rm -f conftest.er1
9302 cat conftest.err >&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); } &&
9305 { ac_try='test -z "$ac_cxx_werror_flag"
9306 || test ! -s conftest.err'
9307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308 (eval $ac_try) 2>&5
9309 ac_status=$?
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); }; } &&
9312 { ac_try='test -s conftest.$ac_objext'
9313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314 (eval $ac_try) 2>&5
9315 ac_status=$?
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); }; }; then
9318 glibcxx_cv_func__finite_use=yes
9319 else
9320 echo "$as_me: failed program was:" >&5
9321 sed 's/^/| /' conftest.$ac_ext >&5
9323 glibcxx_cv_func__finite_use=no
9325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9326 ac_ext=c
9327 ac_cpp='$CPP $CPPFLAGS'
9328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9337 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9339 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9341 for ac_func in _finite
9343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9344 echo "$as_me:$LINENO: checking for $ac_func" >&5
9345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9346 if eval "test \"\${$as_ac_var+set}\" = set"; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else
9349 if test x$gcc_no_link = xyes; then
9350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9352 { (exit 1); exit 1; }; }
9354 cat >conftest.$ac_ext <<_ACEOF
9355 /* confdefs.h. */
9356 _ACEOF
9357 cat confdefs.h >>conftest.$ac_ext
9358 cat >>conftest.$ac_ext <<_ACEOF
9359 /* end confdefs.h. */
9360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9362 #define $ac_func innocuous_$ac_func
9364 /* System header to define __stub macros and hopefully few prototypes,
9365 which can conflict with char $ac_func (); below.
9366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9367 <limits.h> exists even on freestanding compilers. */
9369 #ifdef __STDC__
9370 # include <limits.h>
9371 #else
9372 # include <assert.h>
9373 #endif
9375 #undef $ac_func
9377 /* Override any gcc2 internal prototype to avoid an error. */
9378 #ifdef __cplusplus
9379 extern "C"
9381 #endif
9382 /* We use char because int might match the return type of a gcc2
9383 builtin and then its argument prototype would still apply. */
9384 char $ac_func ();
9385 /* The GNU C library defines this for functions which it implements
9386 to always fail with ENOSYS. Some functions are actually named
9387 something starting with __ and the normal name is an alias. */
9388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9389 choke me
9390 #else
9391 char (*f) () = $ac_func;
9392 #endif
9393 #ifdef __cplusplus
9395 #endif
9398 main ()
9400 return f != $ac_func;
9402 return 0;
9404 _ACEOF
9405 rm -f conftest.$ac_objext conftest$ac_exeext
9406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9407 (eval $ac_link) 2>conftest.er1
9408 ac_status=$?
9409 grep -v '^ *+' conftest.er1 >conftest.err
9410 rm -f conftest.er1
9411 cat conftest.err >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); } &&
9414 { ac_try='test -z "$ac_c_werror_flag"
9415 || test ! -s conftest.err'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417 (eval $ac_try) 2>&5
9418 ac_status=$?
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; } &&
9421 { ac_try='test -s conftest$ac_exeext'
9422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9423 (eval $ac_try) 2>&5
9424 ac_status=$?
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; }; then
9427 eval "$as_ac_var=yes"
9428 else
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9432 eval "$as_ac_var=no"
9434 rm -f conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9439 if test `eval echo '${'$as_ac_var'}'` = yes; then
9440 cat >>confdefs.h <<_ACEOF
9441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9442 _ACEOF
9445 done
9452 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9453 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9454 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9455 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9456 echo $ECHO_N "(cached) $ECHO_C" >&6
9457 else
9461 ac_ext=cc
9462 ac_cpp='$CXXCPP $CPPFLAGS'
9463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9467 cat >conftest.$ac_ext <<_ACEOF
9468 /* confdefs.h. */
9469 _ACEOF
9470 cat confdefs.h >>conftest.$ac_ext
9471 cat >>conftest.$ac_ext <<_ACEOF
9472 /* end confdefs.h. */
9473 #include <math.h>
9475 main ()
9477 copysign(0, 0);
9479 return 0;
9481 _ACEOF
9482 rm -f conftest.$ac_objext
9483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9484 (eval $ac_compile) 2>conftest.er1
9485 ac_status=$?
9486 grep -v '^ *+' conftest.er1 >conftest.err
9487 rm -f conftest.er1
9488 cat conftest.err >&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try='test -z "$ac_cxx_werror_flag"
9492 || test ! -s conftest.err'
9493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 (eval $ac_try) 2>&5
9495 ac_status=$?
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); }; } &&
9498 { ac_try='test -s conftest.$ac_objext'
9499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9500 (eval $ac_try) 2>&5
9501 ac_status=$?
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); }; }; then
9504 glibcxx_cv_func_copysign_use=yes
9505 else
9506 echo "$as_me: failed program was:" >&5
9507 sed 's/^/| /' conftest.$ac_ext >&5
9509 glibcxx_cv_func_copysign_use=no
9511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9512 ac_ext=c
9513 ac_cpp='$CPP $CPPFLAGS'
9514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9523 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9525 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9527 for ac_func in copysign
9529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9530 echo "$as_me:$LINENO: checking for $ac_func" >&5
9531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9532 if eval "test \"\${$as_ac_var+set}\" = set"; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9534 else
9535 if test x$gcc_no_link = xyes; then
9536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9538 { (exit 1); exit 1; }; }
9540 cat >conftest.$ac_ext <<_ACEOF
9541 /* confdefs.h. */
9542 _ACEOF
9543 cat confdefs.h >>conftest.$ac_ext
9544 cat >>conftest.$ac_ext <<_ACEOF
9545 /* end confdefs.h. */
9546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9548 #define $ac_func innocuous_$ac_func
9550 /* System header to define __stub macros and hopefully few prototypes,
9551 which can conflict with char $ac_func (); below.
9552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9553 <limits.h> exists even on freestanding compilers. */
9555 #ifdef __STDC__
9556 # include <limits.h>
9557 #else
9558 # include <assert.h>
9559 #endif
9561 #undef $ac_func
9563 /* Override any gcc2 internal prototype to avoid an error. */
9564 #ifdef __cplusplus
9565 extern "C"
9567 #endif
9568 /* We use char because int might match the return type of a gcc2
9569 builtin and then its argument prototype would still apply. */
9570 char $ac_func ();
9571 /* The GNU C library defines this for functions which it implements
9572 to always fail with ENOSYS. Some functions are actually named
9573 something starting with __ and the normal name is an alias. */
9574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9575 choke me
9576 #else
9577 char (*f) () = $ac_func;
9578 #endif
9579 #ifdef __cplusplus
9581 #endif
9584 main ()
9586 return f != $ac_func;
9588 return 0;
9590 _ACEOF
9591 rm -f conftest.$ac_objext conftest$ac_exeext
9592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9593 (eval $ac_link) 2>conftest.er1
9594 ac_status=$?
9595 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } &&
9600 { ac_try='test -z "$ac_c_werror_flag"
9601 || test ! -s conftest.err'
9602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 (eval $ac_try) 2>&5
9604 ac_status=$?
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); }; } &&
9607 { ac_try='test -s conftest$ac_exeext'
9608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 (eval $ac_try) 2>&5
9610 ac_status=$?
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); }; }; then
9613 eval "$as_ac_var=yes"
9614 else
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.$ac_ext >&5
9618 eval "$as_ac_var=no"
9620 rm -f conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9625 if test `eval echo '${'$as_ac_var'}'` = yes; then
9626 cat >>confdefs.h <<_ACEOF
9627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9628 _ACEOF
9631 done
9633 else
9635 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9636 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9637 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9638 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 else
9644 ac_ext=cc
9645 ac_cpp='$CXXCPP $CPPFLAGS'
9646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9650 cat >conftest.$ac_ext <<_ACEOF
9651 /* confdefs.h. */
9652 _ACEOF
9653 cat confdefs.h >>conftest.$ac_ext
9654 cat >>conftest.$ac_ext <<_ACEOF
9655 /* end confdefs.h. */
9656 #include <math.h>
9658 main ()
9660 _copysign(0, 0);
9662 return 0;
9664 _ACEOF
9665 rm -f conftest.$ac_objext
9666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9667 (eval $ac_compile) 2>conftest.er1
9668 ac_status=$?
9669 grep -v '^ *+' conftest.er1 >conftest.err
9670 rm -f conftest.er1
9671 cat conftest.err >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } &&
9674 { ac_try='test -z "$ac_cxx_werror_flag"
9675 || test ! -s conftest.err'
9676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 (eval $ac_try) 2>&5
9678 ac_status=$?
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); }; } &&
9681 { ac_try='test -s conftest.$ac_objext'
9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 (eval $ac_try) 2>&5
9684 ac_status=$?
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; }; then
9687 glibcxx_cv_func__copysign_use=yes
9688 else
9689 echo "$as_me: failed program was:" >&5
9690 sed 's/^/| /' conftest.$ac_ext >&5
9692 glibcxx_cv_func__copysign_use=no
9694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9695 ac_ext=c
9696 ac_cpp='$CPP $CPPFLAGS'
9697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9706 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9708 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9710 for ac_func in _copysign
9712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9713 echo "$as_me:$LINENO: checking for $ac_func" >&5
9714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9715 if eval "test \"\${$as_ac_var+set}\" = set"; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 else
9718 if test x$gcc_no_link = xyes; then
9719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9721 { (exit 1); exit 1; }; }
9723 cat >conftest.$ac_ext <<_ACEOF
9724 /* confdefs.h. */
9725 _ACEOF
9726 cat confdefs.h >>conftest.$ac_ext
9727 cat >>conftest.$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9731 #define $ac_func innocuous_$ac_func
9733 /* System header to define __stub macros and hopefully few prototypes,
9734 which can conflict with char $ac_func (); below.
9735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9736 <limits.h> exists even on freestanding compilers. */
9738 #ifdef __STDC__
9739 # include <limits.h>
9740 #else
9741 # include <assert.h>
9742 #endif
9744 #undef $ac_func
9746 /* Override any gcc2 internal prototype to avoid an error. */
9747 #ifdef __cplusplus
9748 extern "C"
9750 #endif
9751 /* We use char because int might match the return type of a gcc2
9752 builtin and then its argument prototype would still apply. */
9753 char $ac_func ();
9754 /* The GNU C library defines this for functions which it implements
9755 to always fail with ENOSYS. Some functions are actually named
9756 something starting with __ and the normal name is an alias. */
9757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9758 choke me
9759 #else
9760 char (*f) () = $ac_func;
9761 #endif
9762 #ifdef __cplusplus
9764 #endif
9767 main ()
9769 return f != $ac_func;
9771 return 0;
9773 _ACEOF
9774 rm -f conftest.$ac_objext conftest$ac_exeext
9775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9776 (eval $ac_link) 2>conftest.er1
9777 ac_status=$?
9778 grep -v '^ *+' conftest.er1 >conftest.err
9779 rm -f conftest.er1
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } &&
9783 { ac_try='test -z "$ac_c_werror_flag"
9784 || test ! -s conftest.err'
9785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 (eval $ac_try) 2>&5
9787 ac_status=$?
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); }; } &&
9790 { ac_try='test -s conftest$ac_exeext'
9791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792 (eval $ac_try) 2>&5
9793 ac_status=$?
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); }; }; then
9796 eval "$as_ac_var=yes"
9797 else
9798 echo "$as_me: failed program was:" >&5
9799 sed 's/^/| /' conftest.$ac_ext >&5
9801 eval "$as_ac_var=no"
9803 rm -f conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9808 if test `eval echo '${'$as_ac_var'}'` = yes; then
9809 cat >>confdefs.h <<_ACEOF
9810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9811 _ACEOF
9814 done
9821 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9822 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9823 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9824 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9825 echo $ECHO_N "(cached) $ECHO_C" >&6
9826 else
9830 ac_ext=cc
9831 ac_cpp='$CXXCPP $CPPFLAGS'
9832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9836 cat >conftest.$ac_ext <<_ACEOF
9837 /* confdefs.h. */
9838 _ACEOF
9839 cat confdefs.h >>conftest.$ac_ext
9840 cat >>conftest.$ac_ext <<_ACEOF
9841 /* end confdefs.h. */
9842 #include <math.h>
9844 main ()
9846 sincos(0, 0, 0);
9848 return 0;
9850 _ACEOF
9851 rm -f conftest.$ac_objext
9852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9853 (eval $ac_compile) 2>conftest.er1
9854 ac_status=$?
9855 grep -v '^ *+' conftest.er1 >conftest.err
9856 rm -f conftest.er1
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } &&
9860 { ac_try='test -z "$ac_cxx_werror_flag"
9861 || test ! -s conftest.err'
9862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9863 (eval $ac_try) 2>&5
9864 ac_status=$?
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); }; } &&
9867 { ac_try='test -s conftest.$ac_objext'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9869 (eval $ac_try) 2>&5
9870 ac_status=$?
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; }; then
9873 glibcxx_cv_func_sincos_use=yes
9874 else
9875 echo "$as_me: failed program was:" >&5
9876 sed 's/^/| /' conftest.$ac_ext >&5
9878 glibcxx_cv_func_sincos_use=no
9880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9881 ac_ext=c
9882 ac_cpp='$CPP $CPPFLAGS'
9883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9892 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9894 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9896 for ac_func in sincos
9898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9899 echo "$as_me:$LINENO: checking for $ac_func" >&5
9900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9901 if eval "test \"\${$as_ac_var+set}\" = set"; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 else
9904 if test x$gcc_no_link = xyes; then
9905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9907 { (exit 1); exit 1; }; }
9909 cat >conftest.$ac_ext <<_ACEOF
9910 /* confdefs.h. */
9911 _ACEOF
9912 cat confdefs.h >>conftest.$ac_ext
9913 cat >>conftest.$ac_ext <<_ACEOF
9914 /* end confdefs.h. */
9915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9917 #define $ac_func innocuous_$ac_func
9919 /* System header to define __stub macros and hopefully few prototypes,
9920 which can conflict with char $ac_func (); below.
9921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9922 <limits.h> exists even on freestanding compilers. */
9924 #ifdef __STDC__
9925 # include <limits.h>
9926 #else
9927 # include <assert.h>
9928 #endif
9930 #undef $ac_func
9932 /* Override any gcc2 internal prototype to avoid an error. */
9933 #ifdef __cplusplus
9934 extern "C"
9936 #endif
9937 /* We use char because int might match the return type of a gcc2
9938 builtin and then its argument prototype would still apply. */
9939 char $ac_func ();
9940 /* The GNU C library defines this for functions which it implements
9941 to always fail with ENOSYS. Some functions are actually named
9942 something starting with __ and the normal name is an alias. */
9943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9944 choke me
9945 #else
9946 char (*f) () = $ac_func;
9947 #endif
9948 #ifdef __cplusplus
9950 #endif
9953 main ()
9955 return f != $ac_func;
9957 return 0;
9959 _ACEOF
9960 rm -f conftest.$ac_objext conftest$ac_exeext
9961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9962 (eval $ac_link) 2>conftest.er1
9963 ac_status=$?
9964 grep -v '^ *+' conftest.er1 >conftest.err
9965 rm -f conftest.er1
9966 cat conftest.err >&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } &&
9969 { ac_try='test -z "$ac_c_werror_flag"
9970 || test ! -s conftest.err'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 (eval $ac_try) 2>&5
9973 ac_status=$?
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try='test -s conftest$ac_exeext'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 (eval $ac_try) 2>&5
9979 ac_status=$?
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9982 eval "$as_ac_var=yes"
9983 else
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9987 eval "$as_ac_var=no"
9989 rm -f conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9994 if test `eval echo '${'$as_ac_var'}'` = yes; then
9995 cat >>confdefs.h <<_ACEOF
9996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9997 _ACEOF
10000 done
10002 else
10004 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10005 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10006 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10007 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10008 echo $ECHO_N "(cached) $ECHO_C" >&6
10009 else
10013 ac_ext=cc
10014 ac_cpp='$CXXCPP $CPPFLAGS'
10015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10019 cat >conftest.$ac_ext <<_ACEOF
10020 /* confdefs.h. */
10021 _ACEOF
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10025 #include <math.h>
10027 main ()
10029 _sincos(0, 0, 0);
10031 return 0;
10033 _ACEOF
10034 rm -f conftest.$ac_objext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10036 (eval $ac_compile) 2>conftest.er1
10037 ac_status=$?
10038 grep -v '^ *+' conftest.er1 >conftest.err
10039 rm -f conftest.er1
10040 cat conftest.err >&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try='test -z "$ac_cxx_werror_flag"
10044 || test ! -s conftest.err'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10047 ac_status=$?
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; } &&
10050 { ac_try='test -s conftest.$ac_objext'
10051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10052 (eval $ac_try) 2>&5
10053 ac_status=$?
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; }; then
10056 glibcxx_cv_func__sincos_use=yes
10057 else
10058 echo "$as_me: failed program was:" >&5
10059 sed 's/^/| /' conftest.$ac_ext >&5
10061 glibcxx_cv_func__sincos_use=no
10063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10064 ac_ext=c
10065 ac_cpp='$CPP $CPPFLAGS'
10066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10075 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10077 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10079 for ac_func in _sincos
10081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10082 echo "$as_me:$LINENO: checking for $ac_func" >&5
10083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10084 if eval "test \"\${$as_ac_var+set}\" = set"; then
10085 echo $ECHO_N "(cached) $ECHO_C" >&6
10086 else
10087 if test x$gcc_no_link = xyes; then
10088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10090 { (exit 1); exit 1; }; }
10092 cat >conftest.$ac_ext <<_ACEOF
10093 /* confdefs.h. */
10094 _ACEOF
10095 cat confdefs.h >>conftest.$ac_ext
10096 cat >>conftest.$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10100 #define $ac_func innocuous_$ac_func
10102 /* System header to define __stub macros and hopefully few prototypes,
10103 which can conflict with char $ac_func (); below.
10104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10105 <limits.h> exists even on freestanding compilers. */
10107 #ifdef __STDC__
10108 # include <limits.h>
10109 #else
10110 # include <assert.h>
10111 #endif
10113 #undef $ac_func
10115 /* Override any gcc2 internal prototype to avoid an error. */
10116 #ifdef __cplusplus
10117 extern "C"
10119 #endif
10120 /* We use char because int might match the return type of a gcc2
10121 builtin and then its argument prototype would still apply. */
10122 char $ac_func ();
10123 /* The GNU C library defines this for functions which it implements
10124 to always fail with ENOSYS. Some functions are actually named
10125 something starting with __ and the normal name is an alias. */
10126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10127 choke me
10128 #else
10129 char (*f) () = $ac_func;
10130 #endif
10131 #ifdef __cplusplus
10133 #endif
10136 main ()
10138 return f != $ac_func;
10140 return 0;
10142 _ACEOF
10143 rm -f conftest.$ac_objext conftest$ac_exeext
10144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145 (eval $ac_link) 2>conftest.er1
10146 ac_status=$?
10147 grep -v '^ *+' conftest.er1 >conftest.err
10148 rm -f conftest.er1
10149 cat conftest.err >&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); } &&
10152 { ac_try='test -z "$ac_c_werror_flag"
10153 || test ! -s conftest.err'
10154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10155 (eval $ac_try) 2>&5
10156 ac_status=$?
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); }; } &&
10159 { ac_try='test -s conftest$ac_exeext'
10160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10161 (eval $ac_try) 2>&5
10162 ac_status=$?
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; }; then
10165 eval "$as_ac_var=yes"
10166 else
10167 echo "$as_me: failed program was:" >&5
10168 sed 's/^/| /' conftest.$ac_ext >&5
10170 eval "$as_ac_var=no"
10172 rm -f conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10177 if test `eval echo '${'$as_ac_var'}'` = yes; then
10178 cat >>confdefs.h <<_ACEOF
10179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10180 _ACEOF
10183 done
10190 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10191 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10192 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10193 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 else
10199 ac_ext=cc
10200 ac_cpp='$CXXCPP $CPPFLAGS'
10201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10205 cat >conftest.$ac_ext <<_ACEOF
10206 /* confdefs.h. */
10207 _ACEOF
10208 cat confdefs.h >>conftest.$ac_ext
10209 cat >>conftest.$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10211 #include <math.h>
10212 #ifdef HAVE_IEEEFP_H
10213 #include <ieeefp.h>
10214 #endif
10217 main ()
10219 fpclass(0);
10221 return 0;
10223 _ACEOF
10224 rm -f conftest.$ac_objext
10225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10226 (eval $ac_compile) 2>conftest.er1
10227 ac_status=$?
10228 grep -v '^ *+' conftest.er1 >conftest.err
10229 rm -f conftest.er1
10230 cat conftest.err >&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); } &&
10233 { ac_try='test -z "$ac_cxx_werror_flag"
10234 || test ! -s conftest.err'
10235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10236 (eval $ac_try) 2>&5
10237 ac_status=$?
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); }; } &&
10240 { ac_try='test -s conftest.$ac_objext'
10241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10242 (eval $ac_try) 2>&5
10243 ac_status=$?
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); }; }; then
10246 glibcxx_cv_func_fpclass_use=yes
10247 else
10248 echo "$as_me: failed program was:" >&5
10249 sed 's/^/| /' conftest.$ac_ext >&5
10251 glibcxx_cv_func_fpclass_use=no
10253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10254 ac_ext=c
10255 ac_cpp='$CPP $CPPFLAGS'
10256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10265 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10267 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10269 for ac_func in fpclass
10271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10272 echo "$as_me:$LINENO: checking for $ac_func" >&5
10273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10274 if eval "test \"\${$as_ac_var+set}\" = set"; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 else
10277 if test x$gcc_no_link = xyes; then
10278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10280 { (exit 1); exit 1; }; }
10282 cat >conftest.$ac_ext <<_ACEOF
10283 /* confdefs.h. */
10284 _ACEOF
10285 cat confdefs.h >>conftest.$ac_ext
10286 cat >>conftest.$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10290 #define $ac_func innocuous_$ac_func
10292 /* System header to define __stub macros and hopefully few prototypes,
10293 which can conflict with char $ac_func (); below.
10294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10295 <limits.h> exists even on freestanding compilers. */
10297 #ifdef __STDC__
10298 # include <limits.h>
10299 #else
10300 # include <assert.h>
10301 #endif
10303 #undef $ac_func
10305 /* Override any gcc2 internal prototype to avoid an error. */
10306 #ifdef __cplusplus
10307 extern "C"
10309 #endif
10310 /* We use char because int might match the return type of a gcc2
10311 builtin and then its argument prototype would still apply. */
10312 char $ac_func ();
10313 /* The GNU C library defines this for functions which it implements
10314 to always fail with ENOSYS. Some functions are actually named
10315 something starting with __ and the normal name is an alias. */
10316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10317 choke me
10318 #else
10319 char (*f) () = $ac_func;
10320 #endif
10321 #ifdef __cplusplus
10323 #endif
10326 main ()
10328 return f != $ac_func;
10330 return 0;
10332 _ACEOF
10333 rm -f conftest.$ac_objext conftest$ac_exeext
10334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10335 (eval $ac_link) 2>conftest.er1
10336 ac_status=$?
10337 grep -v '^ *+' conftest.er1 >conftest.err
10338 rm -f conftest.er1
10339 cat conftest.err >&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); } &&
10342 { ac_try='test -z "$ac_c_werror_flag"
10343 || test ! -s conftest.err'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10346 ac_status=$?
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; } &&
10349 { ac_try='test -s conftest$ac_exeext'
10350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10351 (eval $ac_try) 2>&5
10352 ac_status=$?
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); }; }; then
10355 eval "$as_ac_var=yes"
10356 else
10357 echo "$as_me: failed program was:" >&5
10358 sed 's/^/| /' conftest.$ac_ext >&5
10360 eval "$as_ac_var=no"
10362 rm -f conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10367 if test `eval echo '${'$as_ac_var'}'` = yes; then
10368 cat >>confdefs.h <<_ACEOF
10369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10370 _ACEOF
10373 done
10375 else
10377 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10378 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10379 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10380 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 else
10386 ac_ext=cc
10387 ac_cpp='$CXXCPP $CPPFLAGS'
10388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10392 cat >conftest.$ac_ext <<_ACEOF
10393 /* confdefs.h. */
10394 _ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10398 #include <math.h>
10399 #ifdef HAVE_IEEEFP_H
10400 #include <ieeefp.h>
10401 #endif
10404 main ()
10406 _fpclass(0);
10408 return 0;
10410 _ACEOF
10411 rm -f conftest.$ac_objext
10412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10413 (eval $ac_compile) 2>conftest.er1
10414 ac_status=$?
10415 grep -v '^ *+' conftest.er1 >conftest.err
10416 rm -f conftest.er1
10417 cat conftest.err >&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); } &&
10420 { ac_try='test -z "$ac_cxx_werror_flag"
10421 || test ! -s conftest.err'
10422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423 (eval $ac_try) 2>&5
10424 ac_status=$?
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); }; } &&
10427 { ac_try='test -s conftest.$ac_objext'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10430 ac_status=$?
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 glibcxx_cv_func__fpclass_use=yes
10434 else
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.$ac_ext >&5
10438 glibcxx_cv_func__fpclass_use=no
10440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10441 ac_ext=c
10442 ac_cpp='$CPP $CPPFLAGS'
10443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10452 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10454 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10456 for ac_func in _fpclass
10458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10459 echo "$as_me:$LINENO: checking for $ac_func" >&5
10460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10461 if eval "test \"\${$as_ac_var+set}\" = set"; then
10462 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 else
10464 if test x$gcc_no_link = xyes; then
10465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10467 { (exit 1); exit 1; }; }
10469 cat >conftest.$ac_ext <<_ACEOF
10470 /* confdefs.h. */
10471 _ACEOF
10472 cat confdefs.h >>conftest.$ac_ext
10473 cat >>conftest.$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10477 #define $ac_func innocuous_$ac_func
10479 /* System header to define __stub macros and hopefully few prototypes,
10480 which can conflict with char $ac_func (); below.
10481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10482 <limits.h> exists even on freestanding compilers. */
10484 #ifdef __STDC__
10485 # include <limits.h>
10486 #else
10487 # include <assert.h>
10488 #endif
10490 #undef $ac_func
10492 /* Override any gcc2 internal prototype to avoid an error. */
10493 #ifdef __cplusplus
10494 extern "C"
10496 #endif
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10499 char $ac_func ();
10500 /* The GNU C library defines this for functions which it implements
10501 to always fail with ENOSYS. Some functions are actually named
10502 something starting with __ and the normal name is an alias. */
10503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10504 choke me
10505 #else
10506 char (*f) () = $ac_func;
10507 #endif
10508 #ifdef __cplusplus
10510 #endif
10513 main ()
10515 return f != $ac_func;
10517 return 0;
10519 _ACEOF
10520 rm -f conftest.$ac_objext conftest$ac_exeext
10521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10522 (eval $ac_link) 2>conftest.er1
10523 ac_status=$?
10524 grep -v '^ *+' conftest.er1 >conftest.err
10525 rm -f conftest.er1
10526 cat conftest.err >&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try='test -z "$ac_c_werror_flag"
10530 || test ! -s conftest.err'
10531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532 (eval $ac_try) 2>&5
10533 ac_status=$?
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); }; } &&
10536 { ac_try='test -s conftest$ac_exeext'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10539 ac_status=$?
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; }; then
10542 eval "$as_ac_var=yes"
10543 else
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.$ac_ext >&5
10547 eval "$as_ac_var=no"
10549 rm -f conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10554 if test `eval echo '${'$as_ac_var'}'` = yes; then
10555 cat >>confdefs.h <<_ACEOF
10556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10557 _ACEOF
10560 done
10567 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10568 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10569 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10570 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 else
10576 ac_ext=cc
10577 ac_cpp='$CXXCPP $CPPFLAGS'
10578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10582 cat >conftest.$ac_ext <<_ACEOF
10583 /* confdefs.h. */
10584 _ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 #include <math.h>
10589 #ifdef HAVE_IEEEFP_H
10590 #include <ieeefp.h>
10591 #endif
10594 main ()
10596 qfpclass(0);
10598 return 0;
10600 _ACEOF
10601 rm -f conftest.$ac_objext
10602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10603 (eval $ac_compile) 2>conftest.er1
10604 ac_status=$?
10605 grep -v '^ *+' conftest.er1 >conftest.err
10606 rm -f conftest.er1
10607 cat conftest.err >&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } &&
10610 { ac_try='test -z "$ac_cxx_werror_flag"
10611 || test ! -s conftest.err'
10612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613 (eval $ac_try) 2>&5
10614 ac_status=$?
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; } &&
10617 { ac_try='test -s conftest.$ac_objext'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10620 ac_status=$?
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; }; then
10623 glibcxx_cv_func_qfpclass_use=yes
10624 else
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.$ac_ext >&5
10628 glibcxx_cv_func_qfpclass_use=no
10630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10631 ac_ext=c
10632 ac_cpp='$CPP $CPPFLAGS'
10633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10642 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10644 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10646 for ac_func in qfpclass
10648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10649 echo "$as_me:$LINENO: checking for $ac_func" >&5
10650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10651 if eval "test \"\${$as_ac_var+set}\" = set"; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 else
10654 if test x$gcc_no_link = xyes; then
10655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10657 { (exit 1); exit 1; }; }
10659 cat >conftest.$ac_ext <<_ACEOF
10660 /* confdefs.h. */
10661 _ACEOF
10662 cat confdefs.h >>conftest.$ac_ext
10663 cat >>conftest.$ac_ext <<_ACEOF
10664 /* end confdefs.h. */
10665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10667 #define $ac_func innocuous_$ac_func
10669 /* System header to define __stub macros and hopefully few prototypes,
10670 which can conflict with char $ac_func (); below.
10671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10672 <limits.h> exists even on freestanding compilers. */
10674 #ifdef __STDC__
10675 # include <limits.h>
10676 #else
10677 # include <assert.h>
10678 #endif
10680 #undef $ac_func
10682 /* Override any gcc2 internal prototype to avoid an error. */
10683 #ifdef __cplusplus
10684 extern "C"
10686 #endif
10687 /* We use char because int might match the return type of a gcc2
10688 builtin and then its argument prototype would still apply. */
10689 char $ac_func ();
10690 /* The GNU C library defines this for functions which it implements
10691 to always fail with ENOSYS. Some functions are actually named
10692 something starting with __ and the normal name is an alias. */
10693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10694 choke me
10695 #else
10696 char (*f) () = $ac_func;
10697 #endif
10698 #ifdef __cplusplus
10700 #endif
10703 main ()
10705 return f != $ac_func;
10707 return 0;
10709 _ACEOF
10710 rm -f conftest.$ac_objext conftest$ac_exeext
10711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10712 (eval $ac_link) 2>conftest.er1
10713 ac_status=$?
10714 grep -v '^ *+' conftest.er1 >conftest.err
10715 rm -f conftest.er1
10716 cat conftest.err >&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } &&
10719 { ac_try='test -z "$ac_c_werror_flag"
10720 || test ! -s conftest.err'
10721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10722 (eval $ac_try) 2>&5
10723 ac_status=$?
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; } &&
10726 { ac_try='test -s conftest$ac_exeext'
10727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5
10729 ac_status=$?
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); }; }; then
10732 eval "$as_ac_var=yes"
10733 else
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.$ac_ext >&5
10737 eval "$as_ac_var=no"
10739 rm -f conftest.err conftest.$ac_objext \
10740 conftest$ac_exeext conftest.$ac_ext
10742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10744 if test `eval echo '${'$as_ac_var'}'` = yes; then
10745 cat >>confdefs.h <<_ACEOF
10746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10747 _ACEOF
10750 done
10752 else
10754 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10755 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10756 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10757 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 else
10763 ac_ext=cc
10764 ac_cpp='$CXXCPP $CPPFLAGS'
10765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10769 cat >conftest.$ac_ext <<_ACEOF
10770 /* confdefs.h. */
10771 _ACEOF
10772 cat confdefs.h >>conftest.$ac_ext
10773 cat >>conftest.$ac_ext <<_ACEOF
10774 /* end confdefs.h. */
10775 #include <math.h>
10776 #ifdef HAVE_IEEEFP_H
10777 #include <ieeefp.h>
10778 #endif
10781 main ()
10783 _qfpclass(0);
10785 return 0;
10787 _ACEOF
10788 rm -f conftest.$ac_objext
10789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10790 (eval $ac_compile) 2>conftest.er1
10791 ac_status=$?
10792 grep -v '^ *+' conftest.er1 >conftest.err
10793 rm -f conftest.er1
10794 cat conftest.err >&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); } &&
10797 { ac_try='test -z "$ac_cxx_werror_flag"
10798 || test ! -s conftest.err'
10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10800 (eval $ac_try) 2>&5
10801 ac_status=$?
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); }; } &&
10804 { ac_try='test -s conftest.$ac_objext'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10807 ac_status=$?
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; }; then
10810 glibcxx_cv_func__qfpclass_use=yes
10811 else
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 glibcxx_cv_func__qfpclass_use=no
10817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10818 ac_ext=c
10819 ac_cpp='$CPP $CPPFLAGS'
10820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10829 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10831 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10833 for ac_func in _qfpclass
10835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10836 echo "$as_me:$LINENO: checking for $ac_func" >&5
10837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10838 if eval "test \"\${$as_ac_var+set}\" = set"; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 else
10841 if test x$gcc_no_link = xyes; then
10842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10844 { (exit 1); exit 1; }; }
10846 cat >conftest.$ac_ext <<_ACEOF
10847 /* confdefs.h. */
10848 _ACEOF
10849 cat confdefs.h >>conftest.$ac_ext
10850 cat >>conftest.$ac_ext <<_ACEOF
10851 /* end confdefs.h. */
10852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10854 #define $ac_func innocuous_$ac_func
10856 /* System header to define __stub macros and hopefully few prototypes,
10857 which can conflict with char $ac_func (); below.
10858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10859 <limits.h> exists even on freestanding compilers. */
10861 #ifdef __STDC__
10862 # include <limits.h>
10863 #else
10864 # include <assert.h>
10865 #endif
10867 #undef $ac_func
10869 /* Override any gcc2 internal prototype to avoid an error. */
10870 #ifdef __cplusplus
10871 extern "C"
10873 #endif
10874 /* We use char because int might match the return type of a gcc2
10875 builtin and then its argument prototype would still apply. */
10876 char $ac_func ();
10877 /* The GNU C library defines this for functions which it implements
10878 to always fail with ENOSYS. Some functions are actually named
10879 something starting with __ and the normal name is an alias. */
10880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10881 choke me
10882 #else
10883 char (*f) () = $ac_func;
10884 #endif
10885 #ifdef __cplusplus
10887 #endif
10890 main ()
10892 return f != $ac_func;
10894 return 0;
10896 _ACEOF
10897 rm -f conftest.$ac_objext conftest$ac_exeext
10898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10899 (eval $ac_link) 2>conftest.er1
10900 ac_status=$?
10901 grep -v '^ *+' conftest.er1 >conftest.err
10902 rm -f conftest.er1
10903 cat conftest.err >&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); } &&
10906 { ac_try='test -z "$ac_c_werror_flag"
10907 || test ! -s conftest.err'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10910 ac_status=$?
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; } &&
10913 { ac_try='test -s conftest$ac_exeext'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10916 ac_status=$?
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; }; then
10919 eval "$as_ac_var=yes"
10920 else
10921 echo "$as_me: failed program was:" >&5
10922 sed 's/^/| /' conftest.$ac_ext >&5
10924 eval "$as_ac_var=no"
10926 rm -f conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10931 if test `eval echo '${'$as_ac_var'}'` = yes; then
10932 cat >>confdefs.h <<_ACEOF
10933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10934 _ACEOF
10937 done
10944 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10945 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10946 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10947 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 else
10953 ac_ext=cc
10954 ac_cpp='$CXXCPP $CPPFLAGS'
10955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10959 cat >conftest.$ac_ext <<_ACEOF
10960 /* confdefs.h. */
10961 _ACEOF
10962 cat confdefs.h >>conftest.$ac_ext
10963 cat >>conftest.$ac_ext <<_ACEOF
10964 /* end confdefs.h. */
10965 #include <math.h>
10967 main ()
10969 hypot(0, 0);
10971 return 0;
10973 _ACEOF
10974 rm -f conftest.$ac_objext
10975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10976 (eval $ac_compile) 2>conftest.er1
10977 ac_status=$?
10978 grep -v '^ *+' conftest.er1 >conftest.err
10979 rm -f conftest.er1
10980 cat conftest.err >&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } &&
10983 { ac_try='test -z "$ac_cxx_werror_flag"
10984 || test ! -s conftest.err'
10985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10986 (eval $ac_try) 2>&5
10987 ac_status=$?
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); }; } &&
10990 { ac_try='test -s conftest.$ac_objext'
10991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 (eval $ac_try) 2>&5
10993 ac_status=$?
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); }; }; then
10996 glibcxx_cv_func_hypot_use=yes
10997 else
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11001 glibcxx_cv_func_hypot_use=no
11003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11004 ac_ext=c
11005 ac_cpp='$CPP $CPPFLAGS'
11006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11015 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11017 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11019 for ac_func in hypot
11021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11022 echo "$as_me:$LINENO: checking for $ac_func" >&5
11023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11024 if eval "test \"\${$as_ac_var+set}\" = set"; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027 if test x$gcc_no_link = xyes; then
11028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11030 { (exit 1); exit 1; }; }
11032 cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h. */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11040 #define $ac_func innocuous_$ac_func
11042 /* System header to define __stub macros and hopefully few prototypes,
11043 which can conflict with char $ac_func (); below.
11044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11045 <limits.h> exists even on freestanding compilers. */
11047 #ifdef __STDC__
11048 # include <limits.h>
11049 #else
11050 # include <assert.h>
11051 #endif
11053 #undef $ac_func
11055 /* Override any gcc2 internal prototype to avoid an error. */
11056 #ifdef __cplusplus
11057 extern "C"
11059 #endif
11060 /* We use char because int might match the return type of a gcc2
11061 builtin and then its argument prototype would still apply. */
11062 char $ac_func ();
11063 /* The GNU C library defines this for functions which it implements
11064 to always fail with ENOSYS. Some functions are actually named
11065 something starting with __ and the normal name is an alias. */
11066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11067 choke me
11068 #else
11069 char (*f) () = $ac_func;
11070 #endif
11071 #ifdef __cplusplus
11073 #endif
11076 main ()
11078 return f != $ac_func;
11080 return 0;
11082 _ACEOF
11083 rm -f conftest.$ac_objext conftest$ac_exeext
11084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11085 (eval $ac_link) 2>conftest.er1
11086 ac_status=$?
11087 grep -v '^ *+' conftest.er1 >conftest.err
11088 rm -f conftest.er1
11089 cat conftest.err >&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); } &&
11092 { ac_try='test -z "$ac_c_werror_flag"
11093 || test ! -s conftest.err'
11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095 (eval $ac_try) 2>&5
11096 ac_status=$?
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); }; } &&
11099 { ac_try='test -s conftest$ac_exeext'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11102 ac_status=$?
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; }; then
11105 eval "$as_ac_var=yes"
11106 else
11107 echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.$ac_ext >&5
11110 eval "$as_ac_var=no"
11112 rm -f conftest.err conftest.$ac_objext \
11113 conftest$ac_exeext conftest.$ac_ext
11115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11117 if test `eval echo '${'$as_ac_var'}'` = yes; then
11118 cat >>confdefs.h <<_ACEOF
11119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11120 _ACEOF
11123 done
11125 else
11127 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11128 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11129 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11130 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11132 else
11136 ac_ext=cc
11137 ac_cpp='$CXXCPP $CPPFLAGS'
11138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11142 cat >conftest.$ac_ext <<_ACEOF
11143 /* confdefs.h. */
11144 _ACEOF
11145 cat confdefs.h >>conftest.$ac_ext
11146 cat >>conftest.$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11148 #include <math.h>
11150 main ()
11152 _hypot(0, 0);
11154 return 0;
11156 _ACEOF
11157 rm -f conftest.$ac_objext
11158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11159 (eval $ac_compile) 2>conftest.er1
11160 ac_status=$?
11161 grep -v '^ *+' conftest.er1 >conftest.err
11162 rm -f conftest.er1
11163 cat conftest.err >&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); } &&
11166 { ac_try='test -z "$ac_cxx_werror_flag"
11167 || test ! -s conftest.err'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11170 ac_status=$?
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; } &&
11173 { ac_try='test -s conftest.$ac_objext'
11174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11175 (eval $ac_try) 2>&5
11176 ac_status=$?
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; }; then
11179 glibcxx_cv_func__hypot_use=yes
11180 else
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.$ac_ext >&5
11184 glibcxx_cv_func__hypot_use=no
11186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11187 ac_ext=c
11188 ac_cpp='$CPP $CPPFLAGS'
11189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11198 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11200 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11202 for ac_func in _hypot
11204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11205 echo "$as_me:$LINENO: checking for $ac_func" >&5
11206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11207 if eval "test \"\${$as_ac_var+set}\" = set"; then
11208 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 else
11210 if test x$gcc_no_link = xyes; then
11211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11213 { (exit 1); exit 1; }; }
11215 cat >conftest.$ac_ext <<_ACEOF
11216 /* confdefs.h. */
11217 _ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11223 #define $ac_func innocuous_$ac_func
11225 /* System header to define __stub macros and hopefully few prototypes,
11226 which can conflict with char $ac_func (); below.
11227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11228 <limits.h> exists even on freestanding compilers. */
11230 #ifdef __STDC__
11231 # include <limits.h>
11232 #else
11233 # include <assert.h>
11234 #endif
11236 #undef $ac_func
11238 /* Override any gcc2 internal prototype to avoid an error. */
11239 #ifdef __cplusplus
11240 extern "C"
11242 #endif
11243 /* We use char because int might match the return type of a gcc2
11244 builtin and then its argument prototype would still apply. */
11245 char $ac_func ();
11246 /* The GNU C library defines this for functions which it implements
11247 to always fail with ENOSYS. Some functions are actually named
11248 something starting with __ and the normal name is an alias. */
11249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11250 choke me
11251 #else
11252 char (*f) () = $ac_func;
11253 #endif
11254 #ifdef __cplusplus
11256 #endif
11259 main ()
11261 return f != $ac_func;
11263 return 0;
11265 _ACEOF
11266 rm -f conftest.$ac_objext conftest$ac_exeext
11267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11268 (eval $ac_link) 2>conftest.er1
11269 ac_status=$?
11270 grep -v '^ *+' conftest.er1 >conftest.err
11271 rm -f conftest.er1
11272 cat conftest.err >&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } &&
11275 { ac_try='test -z "$ac_c_werror_flag"
11276 || test ! -s conftest.err'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11279 ac_status=$?
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; } &&
11282 { ac_try='test -s conftest$ac_exeext'
11283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284 (eval $ac_try) 2>&5
11285 ac_status=$?
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); }; }; then
11288 eval "$as_ac_var=yes"
11289 else
11290 echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.$ac_ext >&5
11293 eval "$as_ac_var=no"
11295 rm -f conftest.err conftest.$ac_objext \
11296 conftest$ac_exeext conftest.$ac_ext
11298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11300 if test `eval echo '${'$as_ac_var'}'` = yes; then
11301 cat >>confdefs.h <<_ACEOF
11302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11303 _ACEOF
11306 done
11313 echo "$as_me:$LINENO: checking for float trig functions" >&5
11314 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11315 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11316 echo $ECHO_N "(cached) $ECHO_C" >&6
11317 else
11321 ac_ext=cc
11322 ac_cpp='$CXXCPP $CPPFLAGS'
11323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11327 cat >conftest.$ac_ext <<_ACEOF
11328 /* confdefs.h. */
11329 _ACEOF
11330 cat confdefs.h >>conftest.$ac_ext
11331 cat >>conftest.$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11333 #include <math.h>
11335 main ()
11337 `for x in acosf asinf atanf \
11338 cosf sinf tanf \
11339 coshf sinhf tanhf; do echo "$x (0);"; done`
11341 return 0;
11343 _ACEOF
11344 rm -f conftest.$ac_objext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11346 (eval $ac_compile) 2>conftest.er1
11347 ac_status=$?
11348 grep -v '^ *+' conftest.er1 >conftest.err
11349 rm -f conftest.er1
11350 cat conftest.err >&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try='test -z "$ac_cxx_werror_flag"
11354 || test ! -s conftest.err'
11355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11356 (eval $ac_try) 2>&5
11357 ac_status=$?
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); }; } &&
11360 { ac_try='test -s conftest.$ac_objext'
11361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11362 (eval $ac_try) 2>&5
11363 ac_status=$?
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); }; }; then
11366 glibcxx_cv_func_float_trig_use=yes
11367 else
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.$ac_ext >&5
11371 glibcxx_cv_func_float_trig_use=no
11373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11374 ac_ext=c
11375 ac_cpp='$CPP $CPPFLAGS'
11376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11383 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11384 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11394 for ac_func in acosf asinf atanf \
11395 cosf sinf tanf \
11396 coshf sinhf tanhf
11398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11399 echo "$as_me:$LINENO: checking for $ac_func" >&5
11400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11401 if eval "test \"\${$as_ac_var+set}\" = set"; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 else
11404 if test x$gcc_no_link = xyes; then
11405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11407 { (exit 1); exit 1; }; }
11409 cat >conftest.$ac_ext <<_ACEOF
11410 /* confdefs.h. */
11411 _ACEOF
11412 cat confdefs.h >>conftest.$ac_ext
11413 cat >>conftest.$ac_ext <<_ACEOF
11414 /* end confdefs.h. */
11415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11417 #define $ac_func innocuous_$ac_func
11419 /* System header to define __stub macros and hopefully few prototypes,
11420 which can conflict with char $ac_func (); below.
11421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11422 <limits.h> exists even on freestanding compilers. */
11424 #ifdef __STDC__
11425 # include <limits.h>
11426 #else
11427 # include <assert.h>
11428 #endif
11430 #undef $ac_func
11432 /* Override any gcc2 internal prototype to avoid an error. */
11433 #ifdef __cplusplus
11434 extern "C"
11436 #endif
11437 /* We use char because int might match the return type of a gcc2
11438 builtin and then its argument prototype would still apply. */
11439 char $ac_func ();
11440 /* The GNU C library defines this for functions which it implements
11441 to always fail with ENOSYS. Some functions are actually named
11442 something starting with __ and the normal name is an alias. */
11443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11444 choke me
11445 #else
11446 char (*f) () = $ac_func;
11447 #endif
11448 #ifdef __cplusplus
11450 #endif
11453 main ()
11455 return f != $ac_func;
11457 return 0;
11459 _ACEOF
11460 rm -f conftest.$ac_objext conftest$ac_exeext
11461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11462 (eval $ac_link) 2>conftest.er1
11463 ac_status=$?
11464 grep -v '^ *+' conftest.er1 >conftest.err
11465 rm -f conftest.er1
11466 cat conftest.err >&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); } &&
11469 { ac_try='test -z "$ac_c_werror_flag"
11470 || test ! -s conftest.err'
11471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11472 (eval $ac_try) 2>&5
11473 ac_status=$?
11474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475 (exit $ac_status); }; } &&
11476 { ac_try='test -s conftest$ac_exeext'
11477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11478 (eval $ac_try) 2>&5
11479 ac_status=$?
11480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11481 (exit $ac_status); }; }; then
11482 eval "$as_ac_var=yes"
11483 else
11484 echo "$as_me: failed program was:" >&5
11485 sed 's/^/| /' conftest.$ac_ext >&5
11487 eval "$as_ac_var=no"
11489 rm -f conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11494 if test `eval echo '${'$as_ac_var'}'` = yes; then
11495 cat >>confdefs.h <<_ACEOF
11496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11497 _ACEOF
11500 done
11505 echo "$as_me:$LINENO: checking for float round functions" >&5
11506 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11507 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11509 else
11513 ac_ext=cc
11514 ac_cpp='$CXXCPP $CPPFLAGS'
11515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11519 cat >conftest.$ac_ext <<_ACEOF
11520 /* confdefs.h. */
11521 _ACEOF
11522 cat confdefs.h >>conftest.$ac_ext
11523 cat >>conftest.$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11525 #include <math.h>
11527 main ()
11529 `for x in ceilf floorf; do echo "$x (0);"; done`
11531 return 0;
11533 _ACEOF
11534 rm -f conftest.$ac_objext
11535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11536 (eval $ac_compile) 2>conftest.er1
11537 ac_status=$?
11538 grep -v '^ *+' conftest.er1 >conftest.err
11539 rm -f conftest.er1
11540 cat conftest.err >&5
11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); } &&
11543 { ac_try='test -z "$ac_cxx_werror_flag"
11544 || test ! -s conftest.err'
11545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546 (eval $ac_try) 2>&5
11547 ac_status=$?
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); }; } &&
11550 { ac_try='test -s conftest.$ac_objext'
11551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552 (eval $ac_try) 2>&5
11553 ac_status=$?
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); }; }; then
11556 glibcxx_cv_func_float_round_use=yes
11557 else
11558 echo "$as_me: failed program was:" >&5
11559 sed 's/^/| /' conftest.$ac_ext >&5
11561 glibcxx_cv_func_float_round_use=no
11563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11564 ac_ext=c
11565 ac_cpp='$CPP $CPPFLAGS'
11566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11572 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11573 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11574 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11577 for ac_func in ceilf floorf
11579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11580 echo "$as_me:$LINENO: checking for $ac_func" >&5
11581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11582 if eval "test \"\${$as_ac_var+set}\" = set"; then
11583 echo $ECHO_N "(cached) $ECHO_C" >&6
11584 else
11585 if test x$gcc_no_link = xyes; then
11586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11588 { (exit 1); exit 1; }; }
11590 cat >conftest.$ac_ext <<_ACEOF
11591 /* confdefs.h. */
11592 _ACEOF
11593 cat confdefs.h >>conftest.$ac_ext
11594 cat >>conftest.$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11598 #define $ac_func innocuous_$ac_func
11600 /* System header to define __stub macros and hopefully few prototypes,
11601 which can conflict with char $ac_func (); below.
11602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11603 <limits.h> exists even on freestanding compilers. */
11605 #ifdef __STDC__
11606 # include <limits.h>
11607 #else
11608 # include <assert.h>
11609 #endif
11611 #undef $ac_func
11613 /* Override any gcc2 internal prototype to avoid an error. */
11614 #ifdef __cplusplus
11615 extern "C"
11617 #endif
11618 /* We use char because int might match the return type of a gcc2
11619 builtin and then its argument prototype would still apply. */
11620 char $ac_func ();
11621 /* The GNU C library defines this for functions which it implements
11622 to always fail with ENOSYS. Some functions are actually named
11623 something starting with __ and the normal name is an alias. */
11624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11625 choke me
11626 #else
11627 char (*f) () = $ac_func;
11628 #endif
11629 #ifdef __cplusplus
11631 #endif
11634 main ()
11636 return f != $ac_func;
11638 return 0;
11640 _ACEOF
11641 rm -f conftest.$ac_objext conftest$ac_exeext
11642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11643 (eval $ac_link) 2>conftest.er1
11644 ac_status=$?
11645 grep -v '^ *+' conftest.er1 >conftest.err
11646 rm -f conftest.er1
11647 cat conftest.err >&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try='test -z "$ac_c_werror_flag"
11651 || test ! -s conftest.err'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11654 ac_status=$?
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try='test -s conftest$ac_exeext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 eval "$as_ac_var=yes"
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11668 eval "$as_ac_var=no"
11670 rm -f conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11675 if test `eval echo '${'$as_ac_var'}'` = yes; then
11676 cat >>confdefs.h <<_ACEOF
11677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11678 _ACEOF
11681 done
11687 echo "$as_me:$LINENO: checking for expf declaration" >&5
11688 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11689 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11690 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11696 ac_ext=cc
11697 ac_cpp='$CXXCPP $CPPFLAGS'
11698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11702 cat >conftest.$ac_ext <<_ACEOF
11703 /* confdefs.h. */
11704 _ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 #include <math.h>
11709 #ifdef HAVE_IEEEFP_H
11710 #include <ieeefp.h>
11711 #endif
11714 main ()
11716 expf(0);
11718 return 0;
11720 _ACEOF
11721 rm -f conftest.$ac_objext
11722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11723 (eval $ac_compile) 2>conftest.er1
11724 ac_status=$?
11725 grep -v '^ *+' conftest.er1 >conftest.err
11726 rm -f conftest.er1
11727 cat conftest.err >&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); } &&
11730 { ac_try='test -z "$ac_cxx_werror_flag"
11731 || test ! -s conftest.err'
11732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11733 (eval $ac_try) 2>&5
11734 ac_status=$?
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); }; } &&
11737 { ac_try='test -s conftest.$ac_objext'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11740 ac_status=$?
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; }; then
11743 glibcxx_cv_func_expf_use=yes
11744 else
11745 echo "$as_me: failed program was:" >&5
11746 sed 's/^/| /' conftest.$ac_ext >&5
11748 glibcxx_cv_func_expf_use=no
11750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11751 ac_ext=c
11752 ac_cpp='$CPP $CPPFLAGS'
11753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11762 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11764 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11766 for ac_func in expf
11768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11769 echo "$as_me:$LINENO: checking for $ac_func" >&5
11770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11771 if eval "test \"\${$as_ac_var+set}\" = set"; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11774 if test x$gcc_no_link = xyes; then
11775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11777 { (exit 1); exit 1; }; }
11779 cat >conftest.$ac_ext <<_ACEOF
11780 /* confdefs.h. */
11781 _ACEOF
11782 cat confdefs.h >>conftest.$ac_ext
11783 cat >>conftest.$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11787 #define $ac_func innocuous_$ac_func
11789 /* System header to define __stub macros and hopefully few prototypes,
11790 which can conflict with char $ac_func (); below.
11791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11792 <limits.h> exists even on freestanding compilers. */
11794 #ifdef __STDC__
11795 # include <limits.h>
11796 #else
11797 # include <assert.h>
11798 #endif
11800 #undef $ac_func
11802 /* Override any gcc2 internal prototype to avoid an error. */
11803 #ifdef __cplusplus
11804 extern "C"
11806 #endif
11807 /* We use char because int might match the return type of a gcc2
11808 builtin and then its argument prototype would still apply. */
11809 char $ac_func ();
11810 /* The GNU C library defines this for functions which it implements
11811 to always fail with ENOSYS. Some functions are actually named
11812 something starting with __ and the normal name is an alias. */
11813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11814 choke me
11815 #else
11816 char (*f) () = $ac_func;
11817 #endif
11818 #ifdef __cplusplus
11820 #endif
11823 main ()
11825 return f != $ac_func;
11827 return 0;
11829 _ACEOF
11830 rm -f conftest.$ac_objext conftest$ac_exeext
11831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11832 (eval $ac_link) 2>conftest.er1
11833 ac_status=$?
11834 grep -v '^ *+' conftest.er1 >conftest.err
11835 rm -f conftest.er1
11836 cat conftest.err >&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); } &&
11839 { ac_try='test -z "$ac_c_werror_flag"
11840 || test ! -s conftest.err'
11841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11842 (eval $ac_try) 2>&5
11843 ac_status=$?
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); }; } &&
11846 { ac_try='test -s conftest$ac_exeext'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11849 ac_status=$?
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; }; then
11852 eval "$as_ac_var=yes"
11853 else
11854 echo "$as_me: failed program was:" >&5
11855 sed 's/^/| /' conftest.$ac_ext >&5
11857 eval "$as_ac_var=no"
11859 rm -f conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11864 if test `eval echo '${'$as_ac_var'}'` = yes; then
11865 cat >>confdefs.h <<_ACEOF
11866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11867 _ACEOF
11870 done
11872 else
11874 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11875 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11876 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11877 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 else
11883 ac_ext=cc
11884 ac_cpp='$CXXCPP $CPPFLAGS'
11885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11889 cat >conftest.$ac_ext <<_ACEOF
11890 /* confdefs.h. */
11891 _ACEOF
11892 cat confdefs.h >>conftest.$ac_ext
11893 cat >>conftest.$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11895 #include <math.h>
11896 #ifdef HAVE_IEEEFP_H
11897 #include <ieeefp.h>
11898 #endif
11901 main ()
11903 _expf(0);
11905 return 0;
11907 _ACEOF
11908 rm -f conftest.$ac_objext
11909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11910 (eval $ac_compile) 2>conftest.er1
11911 ac_status=$?
11912 grep -v '^ *+' conftest.er1 >conftest.err
11913 rm -f conftest.er1
11914 cat conftest.err >&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } &&
11917 { ac_try='test -z "$ac_cxx_werror_flag"
11918 || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11921 ac_status=$?
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11927 ac_status=$?
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 glibcxx_cv_func__expf_use=yes
11931 else
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.$ac_ext >&5
11935 glibcxx_cv_func__expf_use=no
11937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11938 ac_ext=c
11939 ac_cpp='$CPP $CPPFLAGS'
11940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11949 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11951 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11953 for ac_func in _expf
11955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11956 echo "$as_me:$LINENO: checking for $ac_func" >&5
11957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11958 if eval "test \"\${$as_ac_var+set}\" = set"; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11960 else
11961 if test x$gcc_no_link = xyes; then
11962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11964 { (exit 1); exit 1; }; }
11966 cat >conftest.$ac_ext <<_ACEOF
11967 /* confdefs.h. */
11968 _ACEOF
11969 cat confdefs.h >>conftest.$ac_ext
11970 cat >>conftest.$ac_ext <<_ACEOF
11971 /* end confdefs.h. */
11972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11974 #define $ac_func innocuous_$ac_func
11976 /* System header to define __stub macros and hopefully few prototypes,
11977 which can conflict with char $ac_func (); below.
11978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11979 <limits.h> exists even on freestanding compilers. */
11981 #ifdef __STDC__
11982 # include <limits.h>
11983 #else
11984 # include <assert.h>
11985 #endif
11987 #undef $ac_func
11989 /* Override any gcc2 internal prototype to avoid an error. */
11990 #ifdef __cplusplus
11991 extern "C"
11993 #endif
11994 /* We use char because int might match the return type of a gcc2
11995 builtin and then its argument prototype would still apply. */
11996 char $ac_func ();
11997 /* The GNU C library defines this for functions which it implements
11998 to always fail with ENOSYS. Some functions are actually named
11999 something starting with __ and the normal name is an alias. */
12000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12001 choke me
12002 #else
12003 char (*f) () = $ac_func;
12004 #endif
12005 #ifdef __cplusplus
12007 #endif
12010 main ()
12012 return f != $ac_func;
12014 return 0;
12016 _ACEOF
12017 rm -f conftest.$ac_objext conftest$ac_exeext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12019 (eval $ac_link) 2>conftest.er1
12020 ac_status=$?
12021 grep -v '^ *+' conftest.er1 >conftest.err
12022 rm -f conftest.er1
12023 cat conftest.err >&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } &&
12026 { ac_try='test -z "$ac_c_werror_flag"
12027 || test ! -s conftest.err'
12028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12029 (eval $ac_try) 2>&5
12030 ac_status=$?
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); }; } &&
12033 { ac_try='test -s conftest$ac_exeext'
12034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12035 (eval $ac_try) 2>&5
12036 ac_status=$?
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); }; }; then
12039 eval "$as_ac_var=yes"
12040 else
12041 echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.$ac_ext >&5
12044 eval "$as_ac_var=no"
12046 rm -f conftest.err conftest.$ac_objext \
12047 conftest$ac_exeext conftest.$ac_ext
12049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12051 if test `eval echo '${'$as_ac_var'}'` = yes; then
12052 cat >>confdefs.h <<_ACEOF
12053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12054 _ACEOF
12057 done
12064 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12065 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12066 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12067 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 else
12073 ac_ext=cc
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12079 cat >conftest.$ac_ext <<_ACEOF
12080 /* confdefs.h. */
12081 _ACEOF
12082 cat confdefs.h >>conftest.$ac_ext
12083 cat >>conftest.$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12085 #include <math.h>
12086 #ifdef HAVE_IEEEFP_H
12087 #include <ieeefp.h>
12088 #endif
12091 main ()
12093 isnanf(0);
12095 return 0;
12097 _ACEOF
12098 rm -f conftest.$ac_objext
12099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12100 (eval $ac_compile) 2>conftest.er1
12101 ac_status=$?
12102 grep -v '^ *+' conftest.er1 >conftest.err
12103 rm -f conftest.er1
12104 cat conftest.err >&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); } &&
12107 { ac_try='test -z "$ac_cxx_werror_flag"
12108 || test ! -s conftest.err'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12111 ac_status=$?
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; } &&
12114 { ac_try='test -s conftest.$ac_objext'
12115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116 (eval $ac_try) 2>&5
12117 ac_status=$?
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); }; }; then
12120 glibcxx_cv_func_isnanf_use=yes
12121 else
12122 echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.$ac_ext >&5
12125 glibcxx_cv_func_isnanf_use=no
12127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12128 ac_ext=c
12129 ac_cpp='$CPP $CPPFLAGS'
12130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12139 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12141 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12143 for ac_func in isnanf
12145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12146 echo "$as_me:$LINENO: checking for $ac_func" >&5
12147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12148 if eval "test \"\${$as_ac_var+set}\" = set"; then
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 else
12151 if test x$gcc_no_link = xyes; then
12152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12154 { (exit 1); exit 1; }; }
12156 cat >conftest.$ac_ext <<_ACEOF
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12164 #define $ac_func innocuous_$ac_func
12166 /* System header to define __stub macros and hopefully few prototypes,
12167 which can conflict with char $ac_func (); below.
12168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12169 <limits.h> exists even on freestanding compilers. */
12171 #ifdef __STDC__
12172 # include <limits.h>
12173 #else
12174 # include <assert.h>
12175 #endif
12177 #undef $ac_func
12179 /* Override any gcc2 internal prototype to avoid an error. */
12180 #ifdef __cplusplus
12181 extern "C"
12183 #endif
12184 /* We use char because int might match the return type of a gcc2
12185 builtin and then its argument prototype would still apply. */
12186 char $ac_func ();
12187 /* The GNU C library defines this for functions which it implements
12188 to always fail with ENOSYS. Some functions are actually named
12189 something starting with __ and the normal name is an alias. */
12190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12191 choke me
12192 #else
12193 char (*f) () = $ac_func;
12194 #endif
12195 #ifdef __cplusplus
12197 #endif
12200 main ()
12202 return f != $ac_func;
12204 return 0;
12206 _ACEOF
12207 rm -f conftest.$ac_objext conftest$ac_exeext
12208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12209 (eval $ac_link) 2>conftest.er1
12210 ac_status=$?
12211 grep -v '^ *+' conftest.er1 >conftest.err
12212 rm -f conftest.er1
12213 cat conftest.err >&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } &&
12216 { ac_try='test -z "$ac_c_werror_flag"
12217 || test ! -s conftest.err'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12220 ac_status=$?
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; } &&
12223 { ac_try='test -s conftest$ac_exeext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229 eval "$as_ac_var=yes"
12230 else
12231 echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.$ac_ext >&5
12234 eval "$as_ac_var=no"
12236 rm -f conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12241 if test `eval echo '${'$as_ac_var'}'` = yes; then
12242 cat >>confdefs.h <<_ACEOF
12243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12244 _ACEOF
12247 done
12249 else
12251 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12252 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12253 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12254 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12255 echo $ECHO_N "(cached) $ECHO_C" >&6
12256 else
12260 ac_ext=cc
12261 ac_cpp='$CXXCPP $CPPFLAGS'
12262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12266 cat >conftest.$ac_ext <<_ACEOF
12267 /* confdefs.h. */
12268 _ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12272 #include <math.h>
12273 #ifdef HAVE_IEEEFP_H
12274 #include <ieeefp.h>
12275 #endif
12278 main ()
12280 _isnanf(0);
12282 return 0;
12284 _ACEOF
12285 rm -f conftest.$ac_objext
12286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12287 (eval $ac_compile) 2>conftest.er1
12288 ac_status=$?
12289 grep -v '^ *+' conftest.er1 >conftest.err
12290 rm -f conftest.er1
12291 cat conftest.err >&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); } &&
12294 { ac_try='test -z "$ac_cxx_werror_flag"
12295 || test ! -s conftest.err'
12296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12297 (eval $ac_try) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }; } &&
12301 { ac_try='test -s conftest.$ac_objext'
12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12303 (eval $ac_try) 2>&5
12304 ac_status=$?
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; }; then
12307 glibcxx_cv_func__isnanf_use=yes
12308 else
12309 echo "$as_me: failed program was:" >&5
12310 sed 's/^/| /' conftest.$ac_ext >&5
12312 glibcxx_cv_func__isnanf_use=no
12314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12315 ac_ext=c
12316 ac_cpp='$CPP $CPPFLAGS'
12317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12326 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12328 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12330 for ac_func in _isnanf
12332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12333 echo "$as_me:$LINENO: checking for $ac_func" >&5
12334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12335 if eval "test \"\${$as_ac_var+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 else
12338 if test x$gcc_no_link = xyes; then
12339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12341 { (exit 1); exit 1; }; }
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12351 #define $ac_func innocuous_$ac_func
12353 /* System header to define __stub macros and hopefully few prototypes,
12354 which can conflict with char $ac_func (); below.
12355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12356 <limits.h> exists even on freestanding compilers. */
12358 #ifdef __STDC__
12359 # include <limits.h>
12360 #else
12361 # include <assert.h>
12362 #endif
12364 #undef $ac_func
12366 /* Override any gcc2 internal prototype to avoid an error. */
12367 #ifdef __cplusplus
12368 extern "C"
12370 #endif
12371 /* We use char because int might match the return type of a gcc2
12372 builtin and then its argument prototype would still apply. */
12373 char $ac_func ();
12374 /* The GNU C library defines this for functions which it implements
12375 to always fail with ENOSYS. Some functions are actually named
12376 something starting with __ and the normal name is an alias. */
12377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12378 choke me
12379 #else
12380 char (*f) () = $ac_func;
12381 #endif
12382 #ifdef __cplusplus
12384 #endif
12387 main ()
12389 return f != $ac_func;
12391 return 0;
12393 _ACEOF
12394 rm -f conftest.$ac_objext conftest$ac_exeext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12396 (eval $ac_link) 2>conftest.er1
12397 ac_status=$?
12398 grep -v '^ *+' conftest.er1 >conftest.err
12399 rm -f conftest.er1
12400 cat conftest.err >&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } &&
12403 { ac_try='test -z "$ac_c_werror_flag"
12404 || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12407 ac_status=$?
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try='test -s conftest$ac_exeext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12413 ac_status=$?
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 eval "$as_ac_var=yes"
12417 else
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.$ac_ext >&5
12421 eval "$as_ac_var=no"
12423 rm -f conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12428 if test `eval echo '${'$as_ac_var'}'` = yes; then
12429 cat >>confdefs.h <<_ACEOF
12430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12431 _ACEOF
12434 done
12441 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12442 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12443 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12444 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12445 echo $ECHO_N "(cached) $ECHO_C" >&6
12446 else
12450 ac_ext=cc
12451 ac_cpp='$CXXCPP $CPPFLAGS'
12452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12456 cat >conftest.$ac_ext <<_ACEOF
12457 /* confdefs.h. */
12458 _ACEOF
12459 cat confdefs.h >>conftest.$ac_ext
12460 cat >>conftest.$ac_ext <<_ACEOF
12461 /* end confdefs.h. */
12462 #include <math.h>
12463 #ifdef HAVE_IEEEFP_H
12464 #include <ieeefp.h>
12465 #endif
12468 main ()
12470 isinff(0);
12472 return 0;
12474 _ACEOF
12475 rm -f conftest.$ac_objext
12476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12477 (eval $ac_compile) 2>conftest.er1
12478 ac_status=$?
12479 grep -v '^ *+' conftest.er1 >conftest.err
12480 rm -f conftest.er1
12481 cat conftest.err >&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); } &&
12484 { ac_try='test -z "$ac_cxx_werror_flag"
12485 || test ! -s conftest.err'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12488 ac_status=$?
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; } &&
12491 { ac_try='test -s conftest.$ac_objext'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12494 ac_status=$?
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; }; then
12497 glibcxx_cv_func_isinff_use=yes
12498 else
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 glibcxx_cv_func_isinff_use=no
12504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12505 ac_ext=c
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12516 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12518 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12520 for ac_func in isinff
12522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12523 echo "$as_me:$LINENO: checking for $ac_func" >&5
12524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12525 if eval "test \"\${$as_ac_var+set}\" = set"; then
12526 echo $ECHO_N "(cached) $ECHO_C" >&6
12527 else
12528 if test x$gcc_no_link = xyes; then
12529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12531 { (exit 1); exit 1; }; }
12533 cat >conftest.$ac_ext <<_ACEOF
12534 /* confdefs.h. */
12535 _ACEOF
12536 cat confdefs.h >>conftest.$ac_ext
12537 cat >>conftest.$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12541 #define $ac_func innocuous_$ac_func
12543 /* System header to define __stub macros and hopefully few prototypes,
12544 which can conflict with char $ac_func (); below.
12545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12546 <limits.h> exists even on freestanding compilers. */
12548 #ifdef __STDC__
12549 # include <limits.h>
12550 #else
12551 # include <assert.h>
12552 #endif
12554 #undef $ac_func
12556 /* Override any gcc2 internal prototype to avoid an error. */
12557 #ifdef __cplusplus
12558 extern "C"
12560 #endif
12561 /* We use char because int might match the return type of a gcc2
12562 builtin and then its argument prototype would still apply. */
12563 char $ac_func ();
12564 /* The GNU C library defines this for functions which it implements
12565 to always fail with ENOSYS. Some functions are actually named
12566 something starting with __ and the normal name is an alias. */
12567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12568 choke me
12569 #else
12570 char (*f) () = $ac_func;
12571 #endif
12572 #ifdef __cplusplus
12574 #endif
12577 main ()
12579 return f != $ac_func;
12581 return 0;
12583 _ACEOF
12584 rm -f conftest.$ac_objext conftest$ac_exeext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12586 (eval $ac_link) 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag"
12594 || test ! -s conftest.err'
12595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 (eval $ac_try) 2>&5
12597 ac_status=$?
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; } &&
12600 { ac_try='test -s conftest$ac_exeext'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12603 ac_status=$?
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; }; then
12606 eval "$as_ac_var=yes"
12607 else
12608 echo "$as_me: failed program was:" >&5
12609 sed 's/^/| /' conftest.$ac_ext >&5
12611 eval "$as_ac_var=no"
12613 rm -f conftest.err conftest.$ac_objext \
12614 conftest$ac_exeext conftest.$ac_ext
12616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12618 if test `eval echo '${'$as_ac_var'}'` = yes; then
12619 cat >>confdefs.h <<_ACEOF
12620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12621 _ACEOF
12624 done
12626 else
12628 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12629 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12630 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12631 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 else
12637 ac_ext=cc
12638 ac_cpp='$CXXCPP $CPPFLAGS'
12639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12643 cat >conftest.$ac_ext <<_ACEOF
12644 /* confdefs.h. */
12645 _ACEOF
12646 cat confdefs.h >>conftest.$ac_ext
12647 cat >>conftest.$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12649 #include <math.h>
12650 #ifdef HAVE_IEEEFP_H
12651 #include <ieeefp.h>
12652 #endif
12655 main ()
12657 _isinff(0);
12659 return 0;
12661 _ACEOF
12662 rm -f conftest.$ac_objext
12663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12664 (eval $ac_compile) 2>conftest.er1
12665 ac_status=$?
12666 grep -v '^ *+' conftest.er1 >conftest.err
12667 rm -f conftest.er1
12668 cat conftest.err >&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try='test -z "$ac_cxx_werror_flag"
12672 || test ! -s conftest.err'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12675 ac_status=$?
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; } &&
12678 { ac_try='test -s conftest.$ac_objext'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12681 ac_status=$?
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 glibcxx_cv_func__isinff_use=yes
12685 else
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12689 glibcxx_cv_func__isinff_use=no
12691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12692 ac_ext=c
12693 ac_cpp='$CPP $CPPFLAGS'
12694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12703 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12705 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12707 for ac_func in _isinff
12709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12710 echo "$as_me:$LINENO: checking for $ac_func" >&5
12711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12712 if eval "test \"\${$as_ac_var+set}\" = set"; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 else
12715 if test x$gcc_no_link = xyes; then
12716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12718 { (exit 1); exit 1; }; }
12720 cat >conftest.$ac_ext <<_ACEOF
12721 /* confdefs.h. */
12722 _ACEOF
12723 cat confdefs.h >>conftest.$ac_ext
12724 cat >>conftest.$ac_ext <<_ACEOF
12725 /* end confdefs.h. */
12726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12728 #define $ac_func innocuous_$ac_func
12730 /* System header to define __stub macros and hopefully few prototypes,
12731 which can conflict with char $ac_func (); below.
12732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12733 <limits.h> exists even on freestanding compilers. */
12735 #ifdef __STDC__
12736 # include <limits.h>
12737 #else
12738 # include <assert.h>
12739 #endif
12741 #undef $ac_func
12743 /* Override any gcc2 internal prototype to avoid an error. */
12744 #ifdef __cplusplus
12745 extern "C"
12747 #endif
12748 /* We use char because int might match the return type of a gcc2
12749 builtin and then its argument prototype would still apply. */
12750 char $ac_func ();
12751 /* The GNU C library defines this for functions which it implements
12752 to always fail with ENOSYS. Some functions are actually named
12753 something starting with __ and the normal name is an alias. */
12754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12755 choke me
12756 #else
12757 char (*f) () = $ac_func;
12758 #endif
12759 #ifdef __cplusplus
12761 #endif
12764 main ()
12766 return f != $ac_func;
12768 return 0;
12770 _ACEOF
12771 rm -f conftest.$ac_objext conftest$ac_exeext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12773 (eval $ac_link) 2>conftest.er1
12774 ac_status=$?
12775 grep -v '^ *+' conftest.er1 >conftest.err
12776 rm -f conftest.er1
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try='test -z "$ac_c_werror_flag"
12781 || test ! -s conftest.err'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12784 ac_status=$?
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; } &&
12787 { ac_try='test -s conftest$ac_exeext'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12790 ac_status=$?
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; }; then
12793 eval "$as_ac_var=yes"
12794 else
12795 echo "$as_me: failed program was:" >&5
12796 sed 's/^/| /' conftest.$ac_ext >&5
12798 eval "$as_ac_var=no"
12800 rm -f conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12805 if test `eval echo '${'$as_ac_var'}'` = yes; then
12806 cat >>confdefs.h <<_ACEOF
12807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12808 _ACEOF
12811 done
12818 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12819 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12820 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12821 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12822 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 else
12827 ac_ext=cc
12828 ac_cpp='$CXXCPP $CPPFLAGS'
12829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12833 cat >conftest.$ac_ext <<_ACEOF
12834 /* confdefs.h. */
12835 _ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12839 #include <math.h>
12841 main ()
12843 atan2f(0, 0);
12845 return 0;
12847 _ACEOF
12848 rm -f conftest.$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>conftest.er1
12851 ac_status=$?
12852 grep -v '^ *+' conftest.er1 >conftest.err
12853 rm -f conftest.er1
12854 cat conftest.err >&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } &&
12857 { ac_try='test -z "$ac_cxx_werror_flag"
12858 || test ! -s conftest.err'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12861 ac_status=$?
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; } &&
12864 { ac_try='test -s conftest.$ac_objext'
12865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12866 (eval $ac_try) 2>&5
12867 ac_status=$?
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); }; }; then
12870 glibcxx_cv_func_atan2f_use=yes
12871 else
12872 echo "$as_me: failed program was:" >&5
12873 sed 's/^/| /' conftest.$ac_ext >&5
12875 glibcxx_cv_func_atan2f_use=no
12877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12878 ac_ext=c
12879 ac_cpp='$CPP $CPPFLAGS'
12880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12889 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12891 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12893 for ac_func in atan2f
12895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12896 echo "$as_me:$LINENO: checking for $ac_func" >&5
12897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12898 if eval "test \"\${$as_ac_var+set}\" = set"; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 else
12901 if test x$gcc_no_link = xyes; then
12902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12904 { (exit 1); exit 1; }; }
12906 cat >conftest.$ac_ext <<_ACEOF
12907 /* confdefs.h. */
12908 _ACEOF
12909 cat confdefs.h >>conftest.$ac_ext
12910 cat >>conftest.$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12914 #define $ac_func innocuous_$ac_func
12916 /* System header to define __stub macros and hopefully few prototypes,
12917 which can conflict with char $ac_func (); below.
12918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12919 <limits.h> exists even on freestanding compilers. */
12921 #ifdef __STDC__
12922 # include <limits.h>
12923 #else
12924 # include <assert.h>
12925 #endif
12927 #undef $ac_func
12929 /* Override any gcc2 internal prototype to avoid an error. */
12930 #ifdef __cplusplus
12931 extern "C"
12933 #endif
12934 /* We use char because int might match the return type of a gcc2
12935 builtin and then its argument prototype would still apply. */
12936 char $ac_func ();
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12941 choke me
12942 #else
12943 char (*f) () = $ac_func;
12944 #endif
12945 #ifdef __cplusplus
12947 #endif
12950 main ()
12952 return f != $ac_func;
12954 return 0;
12956 _ACEOF
12957 rm -f conftest.$ac_objext conftest$ac_exeext
12958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12959 (eval $ac_link) 2>conftest.er1
12960 ac_status=$?
12961 grep -v '^ *+' conftest.er1 >conftest.err
12962 rm -f conftest.er1
12963 cat conftest.err >&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } &&
12966 { ac_try='test -z "$ac_c_werror_flag"
12967 || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12970 ac_status=$?
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try='test -s conftest$ac_exeext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12976 ac_status=$?
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 eval "$as_ac_var=yes"
12980 else
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12984 eval "$as_ac_var=no"
12986 rm -f conftest.err conftest.$ac_objext \
12987 conftest$ac_exeext conftest.$ac_ext
12989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12991 if test `eval echo '${'$as_ac_var'}'` = yes; then
12992 cat >>confdefs.h <<_ACEOF
12993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12994 _ACEOF
12997 done
12999 else
13001 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13002 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13003 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13004 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13005 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 else
13010 ac_ext=cc
13011 ac_cpp='$CXXCPP $CPPFLAGS'
13012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13016 cat >conftest.$ac_ext <<_ACEOF
13017 /* confdefs.h. */
13018 _ACEOF
13019 cat confdefs.h >>conftest.$ac_ext
13020 cat >>conftest.$ac_ext <<_ACEOF
13021 /* end confdefs.h. */
13022 #include <math.h>
13024 main ()
13026 _atan2f(0, 0);
13028 return 0;
13030 _ACEOF
13031 rm -f conftest.$ac_objext
13032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13033 (eval $ac_compile) 2>conftest.er1
13034 ac_status=$?
13035 grep -v '^ *+' conftest.er1 >conftest.err
13036 rm -f conftest.er1
13037 cat conftest.err >&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); } &&
13040 { ac_try='test -z "$ac_cxx_werror_flag"
13041 || test ! -s conftest.err'
13042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13043 (eval $ac_try) 2>&5
13044 ac_status=$?
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); }; } &&
13047 { ac_try='test -s conftest.$ac_objext'
13048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049 (eval $ac_try) 2>&5
13050 ac_status=$?
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); }; }; then
13053 glibcxx_cv_func__atan2f_use=yes
13054 else
13055 echo "$as_me: failed program was:" >&5
13056 sed 's/^/| /' conftest.$ac_ext >&5
13058 glibcxx_cv_func__atan2f_use=no
13060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13061 ac_ext=c
13062 ac_cpp='$CPP $CPPFLAGS'
13063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13072 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13074 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13076 for ac_func in _atan2f
13078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13079 echo "$as_me:$LINENO: checking for $ac_func" >&5
13080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13081 if eval "test \"\${$as_ac_var+set}\" = set"; then
13082 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 else
13084 if test x$gcc_no_link = xyes; then
13085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13087 { (exit 1); exit 1; }; }
13089 cat >conftest.$ac_ext <<_ACEOF
13090 /* confdefs.h. */
13091 _ACEOF
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13097 #define $ac_func innocuous_$ac_func
13099 /* System header to define __stub macros and hopefully few prototypes,
13100 which can conflict with char $ac_func (); below.
13101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13102 <limits.h> exists even on freestanding compilers. */
13104 #ifdef __STDC__
13105 # include <limits.h>
13106 #else
13107 # include <assert.h>
13108 #endif
13110 #undef $ac_func
13112 /* Override any gcc2 internal prototype to avoid an error. */
13113 #ifdef __cplusplus
13114 extern "C"
13116 #endif
13117 /* We use char because int might match the return type of a gcc2
13118 builtin and then its argument prototype would still apply. */
13119 char $ac_func ();
13120 /* The GNU C library defines this for functions which it implements
13121 to always fail with ENOSYS. Some functions are actually named
13122 something starting with __ and the normal name is an alias. */
13123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13124 choke me
13125 #else
13126 char (*f) () = $ac_func;
13127 #endif
13128 #ifdef __cplusplus
13130 #endif
13133 main ()
13135 return f != $ac_func;
13137 return 0;
13139 _ACEOF
13140 rm -f conftest.$ac_objext conftest$ac_exeext
13141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13142 (eval $ac_link) 2>conftest.er1
13143 ac_status=$?
13144 grep -v '^ *+' conftest.er1 >conftest.err
13145 rm -f conftest.er1
13146 cat conftest.err >&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } &&
13149 { ac_try='test -z "$ac_c_werror_flag"
13150 || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13153 ac_status=$?
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try='test -s conftest$ac_exeext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13159 ac_status=$?
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 eval "$as_ac_var=yes"
13163 else
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.$ac_ext >&5
13167 eval "$as_ac_var=no"
13169 rm -f conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13174 if test `eval echo '${'$as_ac_var'}'` = yes; then
13175 cat >>confdefs.h <<_ACEOF
13176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13177 _ACEOF
13180 done
13187 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13188 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13189 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13190 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 else
13196 ac_ext=cc
13197 ac_cpp='$CXXCPP $CPPFLAGS'
13198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13202 cat >conftest.$ac_ext <<_ACEOF
13203 /* confdefs.h. */
13204 _ACEOF
13205 cat confdefs.h >>conftest.$ac_ext
13206 cat >>conftest.$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208 #include <math.h>
13209 #ifdef HAVE_IEEEFP_H
13210 #include <ieeefp.h>
13211 #endif
13214 main ()
13216 fabsf(0);
13218 return 0;
13220 _ACEOF
13221 rm -f conftest.$ac_objext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13223 (eval $ac_compile) 2>conftest.er1
13224 ac_status=$?
13225 grep -v '^ *+' conftest.er1 >conftest.err
13226 rm -f conftest.er1
13227 cat conftest.err >&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try='test -z "$ac_cxx_werror_flag"
13231 || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13234 ac_status=$?
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 glibcxx_cv_func_fabsf_use=yes
13244 else
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.$ac_ext >&5
13248 glibcxx_cv_func_fabsf_use=no
13250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13251 ac_ext=c
13252 ac_cpp='$CPP $CPPFLAGS'
13253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13262 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13264 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13266 for ac_func in fabsf
13268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13269 echo "$as_me:$LINENO: checking for $ac_func" >&5
13270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13271 if eval "test \"\${$as_ac_var+set}\" = set"; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 else
13274 if test x$gcc_no_link = xyes; then
13275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13277 { (exit 1); exit 1; }; }
13279 cat >conftest.$ac_ext <<_ACEOF
13280 /* confdefs.h. */
13281 _ACEOF
13282 cat confdefs.h >>conftest.$ac_ext
13283 cat >>conftest.$ac_ext <<_ACEOF
13284 /* end confdefs.h. */
13285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13287 #define $ac_func innocuous_$ac_func
13289 /* System header to define __stub macros and hopefully few prototypes,
13290 which can conflict with char $ac_func (); below.
13291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13292 <limits.h> exists even on freestanding compilers. */
13294 #ifdef __STDC__
13295 # include <limits.h>
13296 #else
13297 # include <assert.h>
13298 #endif
13300 #undef $ac_func
13302 /* Override any gcc2 internal prototype to avoid an error. */
13303 #ifdef __cplusplus
13304 extern "C"
13306 #endif
13307 /* We use char because int might match the return type of a gcc2
13308 builtin and then its argument prototype would still apply. */
13309 char $ac_func ();
13310 /* The GNU C library defines this for functions which it implements
13311 to always fail with ENOSYS. Some functions are actually named
13312 something starting with __ and the normal name is an alias. */
13313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13314 choke me
13315 #else
13316 char (*f) () = $ac_func;
13317 #endif
13318 #ifdef __cplusplus
13320 #endif
13323 main ()
13325 return f != $ac_func;
13327 return 0;
13329 _ACEOF
13330 rm -f conftest.$ac_objext conftest$ac_exeext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13332 (eval $ac_link) 2>conftest.er1
13333 ac_status=$?
13334 grep -v '^ *+' conftest.er1 >conftest.err
13335 rm -f conftest.er1
13336 cat conftest.err >&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try='test -z "$ac_c_werror_flag"
13340 || test ! -s conftest.err'
13341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342 (eval $ac_try) 2>&5
13343 ac_status=$?
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; } &&
13346 { ac_try='test -s conftest$ac_exeext'
13347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13348 (eval $ac_try) 2>&5
13349 ac_status=$?
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); }; }; then
13352 eval "$as_ac_var=yes"
13353 else
13354 echo "$as_me: failed program was:" >&5
13355 sed 's/^/| /' conftest.$ac_ext >&5
13357 eval "$as_ac_var=no"
13359 rm -f conftest.err conftest.$ac_objext \
13360 conftest$ac_exeext conftest.$ac_ext
13362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13364 if test `eval echo '${'$as_ac_var'}'` = yes; then
13365 cat >>confdefs.h <<_ACEOF
13366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13367 _ACEOF
13370 done
13372 else
13374 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13375 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13376 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13377 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 else
13383 ac_ext=cc
13384 ac_cpp='$CXXCPP $CPPFLAGS'
13385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13389 cat >conftest.$ac_ext <<_ACEOF
13390 /* confdefs.h. */
13391 _ACEOF
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395 #include <math.h>
13396 #ifdef HAVE_IEEEFP_H
13397 #include <ieeefp.h>
13398 #endif
13401 main ()
13403 _fabsf(0);
13405 return 0;
13407 _ACEOF
13408 rm -f conftest.$ac_objext
13409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13410 (eval $ac_compile) 2>conftest.er1
13411 ac_status=$?
13412 grep -v '^ *+' conftest.er1 >conftest.err
13413 rm -f conftest.er1
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -z "$ac_cxx_werror_flag"
13418 || test ! -s conftest.err'
13419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13420 (eval $ac_try) 2>&5
13421 ac_status=$?
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; } &&
13424 { ac_try='test -s conftest.$ac_objext'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 glibcxx_cv_func__fabsf_use=yes
13431 else
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13435 glibcxx_cv_func__fabsf_use=no
13437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13438 ac_ext=c
13439 ac_cpp='$CPP $CPPFLAGS'
13440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13449 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13451 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13453 for ac_func in _fabsf
13455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13456 echo "$as_me:$LINENO: checking for $ac_func" >&5
13457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13458 if eval "test \"\${$as_ac_var+set}\" = set"; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 else
13461 if test x$gcc_no_link = xyes; then
13462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13464 { (exit 1); exit 1; }; }
13466 cat >conftest.$ac_ext <<_ACEOF
13467 /* confdefs.h. */
13468 _ACEOF
13469 cat confdefs.h >>conftest.$ac_ext
13470 cat >>conftest.$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13474 #define $ac_func innocuous_$ac_func
13476 /* System header to define __stub macros and hopefully few prototypes,
13477 which can conflict with char $ac_func (); below.
13478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13479 <limits.h> exists even on freestanding compilers. */
13481 #ifdef __STDC__
13482 # include <limits.h>
13483 #else
13484 # include <assert.h>
13485 #endif
13487 #undef $ac_func
13489 /* Override any gcc2 internal prototype to avoid an error. */
13490 #ifdef __cplusplus
13491 extern "C"
13493 #endif
13494 /* We use char because int might match the return type of a gcc2
13495 builtin and then its argument prototype would still apply. */
13496 char $ac_func ();
13497 /* The GNU C library defines this for functions which it implements
13498 to always fail with ENOSYS. Some functions are actually named
13499 something starting with __ and the normal name is an alias. */
13500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13501 choke me
13502 #else
13503 char (*f) () = $ac_func;
13504 #endif
13505 #ifdef __cplusplus
13507 #endif
13510 main ()
13512 return f != $ac_func;
13514 return 0;
13516 _ACEOF
13517 rm -f conftest.$ac_objext conftest$ac_exeext
13518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13519 (eval $ac_link) 2>conftest.er1
13520 ac_status=$?
13521 grep -v '^ *+' conftest.er1 >conftest.err
13522 rm -f conftest.er1
13523 cat conftest.err >&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); } &&
13526 { ac_try='test -z "$ac_c_werror_flag"
13527 || test ! -s conftest.err'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; } &&
13533 { ac_try='test -s conftest$ac_exeext'
13534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13535 (eval $ac_try) 2>&5
13536 ac_status=$?
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; }; then
13539 eval "$as_ac_var=yes"
13540 else
13541 echo "$as_me: failed program was:" >&5
13542 sed 's/^/| /' conftest.$ac_ext >&5
13544 eval "$as_ac_var=no"
13546 rm -f conftest.err conftest.$ac_objext \
13547 conftest$ac_exeext conftest.$ac_ext
13549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13551 if test `eval echo '${'$as_ac_var'}'` = yes; then
13552 cat >>confdefs.h <<_ACEOF
13553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13554 _ACEOF
13557 done
13564 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13565 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13566 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13567 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 else
13573 ac_ext=cc
13574 ac_cpp='$CXXCPP $CPPFLAGS'
13575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13579 cat >conftest.$ac_ext <<_ACEOF
13580 /* confdefs.h. */
13581 _ACEOF
13582 cat confdefs.h >>conftest.$ac_ext
13583 cat >>conftest.$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13585 #include <math.h>
13587 main ()
13589 fmodf(0, 0);
13591 return 0;
13593 _ACEOF
13594 rm -f conftest.$ac_objext
13595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13596 (eval $ac_compile) 2>conftest.er1
13597 ac_status=$?
13598 grep -v '^ *+' conftest.er1 >conftest.err
13599 rm -f conftest.er1
13600 cat conftest.err >&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); } &&
13603 { ac_try='test -z "$ac_cxx_werror_flag"
13604 || test ! -s conftest.err'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13607 ac_status=$?
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try='test -s conftest.$ac_objext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13613 ac_status=$?
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 glibcxx_cv_func_fmodf_use=yes
13617 else
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 glibcxx_cv_func_fmodf_use=no
13623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13624 ac_ext=c
13625 ac_cpp='$CPP $CPPFLAGS'
13626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13635 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13637 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13639 for ac_func in fmodf
13641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13642 echo "$as_me:$LINENO: checking for $ac_func" >&5
13643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13644 if eval "test \"\${$as_ac_var+set}\" = set"; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 else
13647 if test x$gcc_no_link = xyes; then
13648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13650 { (exit 1); exit 1; }; }
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13660 #define $ac_func innocuous_$ac_func
13662 /* System header to define __stub macros and hopefully few prototypes,
13663 which can conflict with char $ac_func (); below.
13664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13665 <limits.h> exists even on freestanding compilers. */
13667 #ifdef __STDC__
13668 # include <limits.h>
13669 #else
13670 # include <assert.h>
13671 #endif
13673 #undef $ac_func
13675 /* Override any gcc2 internal prototype to avoid an error. */
13676 #ifdef __cplusplus
13677 extern "C"
13679 #endif
13680 /* We use char because int might match the return type of a gcc2
13681 builtin and then its argument prototype would still apply. */
13682 char $ac_func ();
13683 /* The GNU C library defines this for functions which it implements
13684 to always fail with ENOSYS. Some functions are actually named
13685 something starting with __ and the normal name is an alias. */
13686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13687 choke me
13688 #else
13689 char (*f) () = $ac_func;
13690 #endif
13691 #ifdef __cplusplus
13693 #endif
13696 main ()
13698 return f != $ac_func;
13700 return 0;
13702 _ACEOF
13703 rm -f conftest.$ac_objext conftest$ac_exeext
13704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13705 (eval $ac_link) 2>conftest.er1
13706 ac_status=$?
13707 grep -v '^ *+' conftest.er1 >conftest.err
13708 rm -f conftest.er1
13709 cat conftest.err >&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); } &&
13712 { ac_try='test -z "$ac_c_werror_flag"
13713 || test ! -s conftest.err'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13716 ac_status=$?
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; } &&
13719 { ac_try='test -s conftest$ac_exeext'
13720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13721 (eval $ac_try) 2>&5
13722 ac_status=$?
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); }; }; then
13725 eval "$as_ac_var=yes"
13726 else
13727 echo "$as_me: failed program was:" >&5
13728 sed 's/^/| /' conftest.$ac_ext >&5
13730 eval "$as_ac_var=no"
13732 rm -f conftest.err conftest.$ac_objext \
13733 conftest$ac_exeext conftest.$ac_ext
13735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13737 if test `eval echo '${'$as_ac_var'}'` = yes; then
13738 cat >>confdefs.h <<_ACEOF
13739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13740 _ACEOF
13743 done
13745 else
13747 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13748 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13749 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13750 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 else
13756 ac_ext=cc
13757 ac_cpp='$CXXCPP $CPPFLAGS'
13758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13762 cat >conftest.$ac_ext <<_ACEOF
13763 /* confdefs.h. */
13764 _ACEOF
13765 cat confdefs.h >>conftest.$ac_ext
13766 cat >>conftest.$ac_ext <<_ACEOF
13767 /* end confdefs.h. */
13768 #include <math.h>
13770 main ()
13772 _fmodf(0, 0);
13774 return 0;
13776 _ACEOF
13777 rm -f conftest.$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>conftest.er1
13780 ac_status=$?
13781 grep -v '^ *+' conftest.er1 >conftest.err
13782 rm -f conftest.er1
13783 cat conftest.err >&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } &&
13786 { ac_try='test -z "$ac_cxx_werror_flag"
13787 || test ! -s conftest.err'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13790 ac_status=$?
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try='test -s conftest.$ac_objext'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13796 ac_status=$?
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; }; then
13799 glibcxx_cv_func__fmodf_use=yes
13800 else
13801 echo "$as_me: failed program was:" >&5
13802 sed 's/^/| /' conftest.$ac_ext >&5
13804 glibcxx_cv_func__fmodf_use=no
13806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13807 ac_ext=c
13808 ac_cpp='$CPP $CPPFLAGS'
13809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13818 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13820 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13822 for ac_func in _fmodf
13824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13825 echo "$as_me:$LINENO: checking for $ac_func" >&5
13826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13827 if eval "test \"\${$as_ac_var+set}\" = set"; then
13828 echo $ECHO_N "(cached) $ECHO_C" >&6
13829 else
13830 if test x$gcc_no_link = xyes; then
13831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13833 { (exit 1); exit 1; }; }
13835 cat >conftest.$ac_ext <<_ACEOF
13836 /* confdefs.h. */
13837 _ACEOF
13838 cat confdefs.h >>conftest.$ac_ext
13839 cat >>conftest.$ac_ext <<_ACEOF
13840 /* end confdefs.h. */
13841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13843 #define $ac_func innocuous_$ac_func
13845 /* System header to define __stub macros and hopefully few prototypes,
13846 which can conflict with char $ac_func (); below.
13847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13848 <limits.h> exists even on freestanding compilers. */
13850 #ifdef __STDC__
13851 # include <limits.h>
13852 #else
13853 # include <assert.h>
13854 #endif
13856 #undef $ac_func
13858 /* Override any gcc2 internal prototype to avoid an error. */
13859 #ifdef __cplusplus
13860 extern "C"
13862 #endif
13863 /* We use char because int might match the return type of a gcc2
13864 builtin and then its argument prototype would still apply. */
13865 char $ac_func ();
13866 /* The GNU C library defines this for functions which it implements
13867 to always fail with ENOSYS. Some functions are actually named
13868 something starting with __ and the normal name is an alias. */
13869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13870 choke me
13871 #else
13872 char (*f) () = $ac_func;
13873 #endif
13874 #ifdef __cplusplus
13876 #endif
13879 main ()
13881 return f != $ac_func;
13883 return 0;
13885 _ACEOF
13886 rm -f conftest.$ac_objext conftest$ac_exeext
13887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13888 (eval $ac_link) 2>conftest.er1
13889 ac_status=$?
13890 grep -v '^ *+' conftest.er1 >conftest.err
13891 rm -f conftest.er1
13892 cat conftest.err >&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } &&
13895 { ac_try='test -z "$ac_c_werror_flag"
13896 || test ! -s conftest.err'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13899 ac_status=$?
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; } &&
13902 { ac_try='test -s conftest$ac_exeext'
13903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13904 (eval $ac_try) 2>&5
13905 ac_status=$?
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); }; }; then
13908 eval "$as_ac_var=yes"
13909 else
13910 echo "$as_me: failed program was:" >&5
13911 sed 's/^/| /' conftest.$ac_ext >&5
13913 eval "$as_ac_var=no"
13915 rm -f conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13920 if test `eval echo '${'$as_ac_var'}'` = yes; then
13921 cat >>confdefs.h <<_ACEOF
13922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13923 _ACEOF
13926 done
13933 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13934 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13935 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13936 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 else
13942 ac_ext=cc
13943 ac_cpp='$CXXCPP $CPPFLAGS'
13944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13948 cat >conftest.$ac_ext <<_ACEOF
13949 /* confdefs.h. */
13950 _ACEOF
13951 cat confdefs.h >>conftest.$ac_ext
13952 cat >>conftest.$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13954 #include <math.h>
13956 main ()
13958 frexpf(0, 0);
13960 return 0;
13962 _ACEOF
13963 rm -f conftest.$ac_objext
13964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13965 (eval $ac_compile) 2>conftest.er1
13966 ac_status=$?
13967 grep -v '^ *+' conftest.er1 >conftest.err
13968 rm -f conftest.er1
13969 cat conftest.err >&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } &&
13972 { ac_try='test -z "$ac_cxx_werror_flag"
13973 || test ! -s conftest.err'
13974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13975 (eval $ac_try) 2>&5
13976 ac_status=$?
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }; } &&
13979 { ac_try='test -s conftest.$ac_objext'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13982 ac_status=$?
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; }; then
13985 glibcxx_cv_func_frexpf_use=yes
13986 else
13987 echo "$as_me: failed program was:" >&5
13988 sed 's/^/| /' conftest.$ac_ext >&5
13990 glibcxx_cv_func_frexpf_use=no
13992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13993 ac_ext=c
13994 ac_cpp='$CPP $CPPFLAGS'
13995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14004 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14006 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14008 for ac_func in frexpf
14010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14011 echo "$as_me:$LINENO: checking for $ac_func" >&5
14012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14013 if eval "test \"\${$as_ac_var+set}\" = set"; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 else
14016 if test x$gcc_no_link = xyes; then
14017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14019 { (exit 1); exit 1; }; }
14021 cat >conftest.$ac_ext <<_ACEOF
14022 /* confdefs.h. */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14029 #define $ac_func innocuous_$ac_func
14031 /* System header to define __stub macros and hopefully few prototypes,
14032 which can conflict with char $ac_func (); below.
14033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14034 <limits.h> exists even on freestanding compilers. */
14036 #ifdef __STDC__
14037 # include <limits.h>
14038 #else
14039 # include <assert.h>
14040 #endif
14042 #undef $ac_func
14044 /* Override any gcc2 internal prototype to avoid an error. */
14045 #ifdef __cplusplus
14046 extern "C"
14048 #endif
14049 /* We use char because int might match the return type of a gcc2
14050 builtin and then its argument prototype would still apply. */
14051 char $ac_func ();
14052 /* The GNU C library defines this for functions which it implements
14053 to always fail with ENOSYS. Some functions are actually named
14054 something starting with __ and the normal name is an alias. */
14055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14056 choke me
14057 #else
14058 char (*f) () = $ac_func;
14059 #endif
14060 #ifdef __cplusplus
14062 #endif
14065 main ()
14067 return f != $ac_func;
14069 return 0;
14071 _ACEOF
14072 rm -f conftest.$ac_objext conftest$ac_exeext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14074 (eval $ac_link) 2>conftest.er1
14075 ac_status=$?
14076 grep -v '^ *+' conftest.er1 >conftest.err
14077 rm -f conftest.er1
14078 cat conftest.err >&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try='test -z "$ac_c_werror_flag"
14082 || test ! -s conftest.err'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14085 ac_status=$?
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; } &&
14088 { ac_try='test -s conftest$ac_exeext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14091 ac_status=$?
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 eval "$as_ac_var=yes"
14095 else
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14099 eval "$as_ac_var=no"
14101 rm -f conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14106 if test `eval echo '${'$as_ac_var'}'` = yes; then
14107 cat >>confdefs.h <<_ACEOF
14108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14109 _ACEOF
14112 done
14114 else
14116 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14117 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14119 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 else
14125 ac_ext=cc
14126 ac_cpp='$CXXCPP $CPPFLAGS'
14127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14131 cat >conftest.$ac_ext <<_ACEOF
14132 /* confdefs.h. */
14133 _ACEOF
14134 cat confdefs.h >>conftest.$ac_ext
14135 cat >>conftest.$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14137 #include <math.h>
14139 main ()
14141 _frexpf(0, 0);
14143 return 0;
14145 _ACEOF
14146 rm -f conftest.$ac_objext
14147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14148 (eval $ac_compile) 2>conftest.er1
14149 ac_status=$?
14150 grep -v '^ *+' conftest.er1 >conftest.err
14151 rm -f conftest.er1
14152 cat conftest.err >&5
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); } &&
14155 { ac_try='test -z "$ac_cxx_werror_flag"
14156 || test ! -s conftest.err'
14157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14158 (eval $ac_try) 2>&5
14159 ac_status=$?
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); }; } &&
14162 { ac_try='test -s conftest.$ac_objext'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14165 ac_status=$?
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; }; then
14168 glibcxx_cv_func__frexpf_use=yes
14169 else
14170 echo "$as_me: failed program was:" >&5
14171 sed 's/^/| /' conftest.$ac_ext >&5
14173 glibcxx_cv_func__frexpf_use=no
14175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14176 ac_ext=c
14177 ac_cpp='$CPP $CPPFLAGS'
14178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14187 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14189 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14191 for ac_func in _frexpf
14193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14194 echo "$as_me:$LINENO: checking for $ac_func" >&5
14195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14196 if eval "test \"\${$as_ac_var+set}\" = set"; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 else
14199 if test x$gcc_no_link = xyes; then
14200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14202 { (exit 1); exit 1; }; }
14204 cat >conftest.$ac_ext <<_ACEOF
14205 /* confdefs.h. */
14206 _ACEOF
14207 cat confdefs.h >>conftest.$ac_ext
14208 cat >>conftest.$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14212 #define $ac_func innocuous_$ac_func
14214 /* System header to define __stub macros and hopefully few prototypes,
14215 which can conflict with char $ac_func (); below.
14216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14217 <limits.h> exists even on freestanding compilers. */
14219 #ifdef __STDC__
14220 # include <limits.h>
14221 #else
14222 # include <assert.h>
14223 #endif
14225 #undef $ac_func
14227 /* Override any gcc2 internal prototype to avoid an error. */
14228 #ifdef __cplusplus
14229 extern "C"
14231 #endif
14232 /* We use char because int might match the return type of a gcc2
14233 builtin and then its argument prototype would still apply. */
14234 char $ac_func ();
14235 /* The GNU C library defines this for functions which it implements
14236 to always fail with ENOSYS. Some functions are actually named
14237 something starting with __ and the normal name is an alias. */
14238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14239 choke me
14240 #else
14241 char (*f) () = $ac_func;
14242 #endif
14243 #ifdef __cplusplus
14245 #endif
14248 main ()
14250 return f != $ac_func;
14252 return 0;
14254 _ACEOF
14255 rm -f conftest.$ac_objext conftest$ac_exeext
14256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14257 (eval $ac_link) 2>conftest.er1
14258 ac_status=$?
14259 grep -v '^ *+' conftest.er1 >conftest.err
14260 rm -f conftest.er1
14261 cat conftest.err >&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); } &&
14264 { ac_try='test -z "$ac_c_werror_flag"
14265 || test ! -s conftest.err'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14268 ac_status=$?
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; } &&
14271 { ac_try='test -s conftest$ac_exeext'
14272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14273 (eval $ac_try) 2>&5
14274 ac_status=$?
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; }; then
14277 eval "$as_ac_var=yes"
14278 else
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.$ac_ext >&5
14282 eval "$as_ac_var=no"
14284 rm -f conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14289 if test `eval echo '${'$as_ac_var'}'` = yes; then
14290 cat >>confdefs.h <<_ACEOF
14291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14292 _ACEOF
14295 done
14302 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14303 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14304 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14305 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 else
14311 ac_ext=cc
14312 ac_cpp='$CXXCPP $CPPFLAGS'
14313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14317 cat >conftest.$ac_ext <<_ACEOF
14318 /* confdefs.h. */
14319 _ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14323 #include <math.h>
14325 main ()
14327 hypotf(0, 0);
14329 return 0;
14331 _ACEOF
14332 rm -f conftest.$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>conftest.er1
14335 ac_status=$?
14336 grep -v '^ *+' conftest.er1 >conftest.err
14337 rm -f conftest.er1
14338 cat conftest.err >&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); } &&
14341 { ac_try='test -z "$ac_cxx_werror_flag"
14342 || test ! -s conftest.err'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14345 ac_status=$?
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; } &&
14348 { ac_try='test -s conftest.$ac_objext'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; }; then
14354 glibcxx_cv_func_hypotf_use=yes
14355 else
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.$ac_ext >&5
14359 glibcxx_cv_func_hypotf_use=no
14361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14362 ac_ext=c
14363 ac_cpp='$CPP $CPPFLAGS'
14364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14373 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14375 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14377 for ac_func in hypotf
14379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14380 echo "$as_me:$LINENO: checking for $ac_func" >&5
14381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14382 if eval "test \"\${$as_ac_var+set}\" = set"; then
14383 echo $ECHO_N "(cached) $ECHO_C" >&6
14384 else
14385 if test x$gcc_no_link = xyes; then
14386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14388 { (exit 1); exit 1; }; }
14390 cat >conftest.$ac_ext <<_ACEOF
14391 /* confdefs.h. */
14392 _ACEOF
14393 cat confdefs.h >>conftest.$ac_ext
14394 cat >>conftest.$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14398 #define $ac_func innocuous_$ac_func
14400 /* System header to define __stub macros and hopefully few prototypes,
14401 which can conflict with char $ac_func (); below.
14402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14403 <limits.h> exists even on freestanding compilers. */
14405 #ifdef __STDC__
14406 # include <limits.h>
14407 #else
14408 # include <assert.h>
14409 #endif
14411 #undef $ac_func
14413 /* Override any gcc2 internal prototype to avoid an error. */
14414 #ifdef __cplusplus
14415 extern "C"
14417 #endif
14418 /* We use char because int might match the return type of a gcc2
14419 builtin and then its argument prototype would still apply. */
14420 char $ac_func ();
14421 /* The GNU C library defines this for functions which it implements
14422 to always fail with ENOSYS. Some functions are actually named
14423 something starting with __ and the normal name is an alias. */
14424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14425 choke me
14426 #else
14427 char (*f) () = $ac_func;
14428 #endif
14429 #ifdef __cplusplus
14431 #endif
14434 main ()
14436 return f != $ac_func;
14438 return 0;
14440 _ACEOF
14441 rm -f conftest.$ac_objext conftest$ac_exeext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14443 (eval $ac_link) 2>conftest.er1
14444 ac_status=$?
14445 grep -v '^ *+' conftest.er1 >conftest.err
14446 rm -f conftest.er1
14447 cat conftest.err >&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } &&
14450 { ac_try='test -z "$ac_c_werror_flag"
14451 || test ! -s conftest.err'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14454 ac_status=$?
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; } &&
14457 { ac_try='test -s conftest$ac_exeext'
14458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14459 (eval $ac_try) 2>&5
14460 ac_status=$?
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); }; }; then
14463 eval "$as_ac_var=yes"
14464 else
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.$ac_ext >&5
14468 eval "$as_ac_var=no"
14470 rm -f conftest.err conftest.$ac_objext \
14471 conftest$ac_exeext conftest.$ac_ext
14473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14475 if test `eval echo '${'$as_ac_var'}'` = yes; then
14476 cat >>confdefs.h <<_ACEOF
14477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14478 _ACEOF
14481 done
14483 else
14485 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14486 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14487 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14488 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14489 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 else
14494 ac_ext=cc
14495 ac_cpp='$CXXCPP $CPPFLAGS'
14496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14500 cat >conftest.$ac_ext <<_ACEOF
14501 /* confdefs.h. */
14502 _ACEOF
14503 cat confdefs.h >>conftest.$ac_ext
14504 cat >>conftest.$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 #include <math.h>
14508 main ()
14510 _hypotf(0, 0);
14512 return 0;
14514 _ACEOF
14515 rm -f conftest.$ac_objext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>conftest.er1
14518 ac_status=$?
14519 grep -v '^ *+' conftest.er1 >conftest.err
14520 rm -f conftest.er1
14521 cat conftest.err >&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try='test -z "$ac_cxx_werror_flag"
14525 || test ! -s conftest.err'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14528 ac_status=$?
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; } &&
14531 { ac_try='test -s conftest.$ac_objext'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 glibcxx_cv_func__hypotf_use=yes
14538 else
14539 echo "$as_me: failed program was:" >&5
14540 sed 's/^/| /' conftest.$ac_ext >&5
14542 glibcxx_cv_func__hypotf_use=no
14544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14545 ac_ext=c
14546 ac_cpp='$CPP $CPPFLAGS'
14547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14556 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14558 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14560 for ac_func in _hypotf
14562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14563 echo "$as_me:$LINENO: checking for $ac_func" >&5
14564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14565 if eval "test \"\${$as_ac_var+set}\" = set"; then
14566 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 else
14568 if test x$gcc_no_link = xyes; then
14569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14571 { (exit 1); exit 1; }; }
14573 cat >conftest.$ac_ext <<_ACEOF
14574 /* confdefs.h. */
14575 _ACEOF
14576 cat confdefs.h >>conftest.$ac_ext
14577 cat >>conftest.$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14581 #define $ac_func innocuous_$ac_func
14583 /* System header to define __stub macros and hopefully few prototypes,
14584 which can conflict with char $ac_func (); below.
14585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14586 <limits.h> exists even on freestanding compilers. */
14588 #ifdef __STDC__
14589 # include <limits.h>
14590 #else
14591 # include <assert.h>
14592 #endif
14594 #undef $ac_func
14596 /* Override any gcc2 internal prototype to avoid an error. */
14597 #ifdef __cplusplus
14598 extern "C"
14600 #endif
14601 /* We use char because int might match the return type of a gcc2
14602 builtin and then its argument prototype would still apply. */
14603 char $ac_func ();
14604 /* The GNU C library defines this for functions which it implements
14605 to always fail with ENOSYS. Some functions are actually named
14606 something starting with __ and the normal name is an alias. */
14607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14608 choke me
14609 #else
14610 char (*f) () = $ac_func;
14611 #endif
14612 #ifdef __cplusplus
14614 #endif
14617 main ()
14619 return f != $ac_func;
14621 return 0;
14623 _ACEOF
14624 rm -f conftest.$ac_objext conftest$ac_exeext
14625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14626 (eval $ac_link) 2>conftest.er1
14627 ac_status=$?
14628 grep -v '^ *+' conftest.er1 >conftest.err
14629 rm -f conftest.er1
14630 cat conftest.err >&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } &&
14633 { ac_try='test -z "$ac_c_werror_flag"
14634 || test ! -s conftest.err'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; } &&
14640 { ac_try='test -s conftest$ac_exeext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14643 ac_status=$?
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 eval "$as_ac_var=yes"
14647 else
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.$ac_ext >&5
14651 eval "$as_ac_var=no"
14653 rm -f conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14658 if test `eval echo '${'$as_ac_var'}'` = yes; then
14659 cat >>confdefs.h <<_ACEOF
14660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14661 _ACEOF
14664 done
14671 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14672 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14673 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14674 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14675 echo $ECHO_N "(cached) $ECHO_C" >&6
14676 else
14680 ac_ext=cc
14681 ac_cpp='$CXXCPP $CPPFLAGS'
14682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14686 cat >conftest.$ac_ext <<_ACEOF
14687 /* confdefs.h. */
14688 _ACEOF
14689 cat confdefs.h >>conftest.$ac_ext
14690 cat >>conftest.$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14692 #include <math.h>
14694 main ()
14696 ldexpf(0, 0);
14698 return 0;
14700 _ACEOF
14701 rm -f conftest.$ac_objext
14702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14703 (eval $ac_compile) 2>conftest.er1
14704 ac_status=$?
14705 grep -v '^ *+' conftest.er1 >conftest.err
14706 rm -f conftest.er1
14707 cat conftest.err >&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } &&
14710 { ac_try='test -z "$ac_cxx_werror_flag"
14711 || test ! -s conftest.err'
14712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14713 (eval $ac_try) 2>&5
14714 ac_status=$?
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); }; } &&
14717 { ac_try='test -s conftest.$ac_objext'
14718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14719 (eval $ac_try) 2>&5
14720 ac_status=$?
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); }; }; then
14723 glibcxx_cv_func_ldexpf_use=yes
14724 else
14725 echo "$as_me: failed program was:" >&5
14726 sed 's/^/| /' conftest.$ac_ext >&5
14728 glibcxx_cv_func_ldexpf_use=no
14730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14731 ac_ext=c
14732 ac_cpp='$CPP $CPPFLAGS'
14733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14741 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14742 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14744 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14746 for ac_func in ldexpf
14748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14749 echo "$as_me:$LINENO: checking for $ac_func" >&5
14750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14751 if eval "test \"\${$as_ac_var+set}\" = set"; then
14752 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 else
14754 if test x$gcc_no_link = xyes; then
14755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14757 { (exit 1); exit 1; }; }
14759 cat >conftest.$ac_ext <<_ACEOF
14760 /* confdefs.h. */
14761 _ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14767 #define $ac_func innocuous_$ac_func
14769 /* System header to define __stub macros and hopefully few prototypes,
14770 which can conflict with char $ac_func (); below.
14771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14772 <limits.h> exists even on freestanding compilers. */
14774 #ifdef __STDC__
14775 # include <limits.h>
14776 #else
14777 # include <assert.h>
14778 #endif
14780 #undef $ac_func
14782 /* Override any gcc2 internal prototype to avoid an error. */
14783 #ifdef __cplusplus
14784 extern "C"
14786 #endif
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14789 char $ac_func ();
14790 /* The GNU C library defines this for functions which it implements
14791 to always fail with ENOSYS. Some functions are actually named
14792 something starting with __ and the normal name is an alias. */
14793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14794 choke me
14795 #else
14796 char (*f) () = $ac_func;
14797 #endif
14798 #ifdef __cplusplus
14800 #endif
14803 main ()
14805 return f != $ac_func;
14807 return 0;
14809 _ACEOF
14810 rm -f conftest.$ac_objext conftest$ac_exeext
14811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14812 (eval $ac_link) 2>conftest.er1
14813 ac_status=$?
14814 grep -v '^ *+' conftest.er1 >conftest.err
14815 rm -f conftest.er1
14816 cat conftest.err >&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } &&
14819 { ac_try='test -z "$ac_c_werror_flag"
14820 || test ! -s conftest.err'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14823 ac_status=$?
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; } &&
14826 { ac_try='test -s conftest$ac_exeext'
14827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14828 (eval $ac_try) 2>&5
14829 ac_status=$?
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; }; then
14832 eval "$as_ac_var=yes"
14833 else
14834 echo "$as_me: failed program was:" >&5
14835 sed 's/^/| /' conftest.$ac_ext >&5
14837 eval "$as_ac_var=no"
14839 rm -f conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14844 if test `eval echo '${'$as_ac_var'}'` = yes; then
14845 cat >>confdefs.h <<_ACEOF
14846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14847 _ACEOF
14850 done
14852 else
14854 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14855 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14856 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14857 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14863 ac_ext=cc
14864 ac_cpp='$CXXCPP $CPPFLAGS'
14865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14869 cat >conftest.$ac_ext <<_ACEOF
14870 /* confdefs.h. */
14871 _ACEOF
14872 cat confdefs.h >>conftest.$ac_ext
14873 cat >>conftest.$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14875 #include <math.h>
14877 main ()
14879 _ldexpf(0, 0);
14881 return 0;
14883 _ACEOF
14884 rm -f conftest.$ac_objext
14885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14886 (eval $ac_compile) 2>conftest.er1
14887 ac_status=$?
14888 grep -v '^ *+' conftest.er1 >conftest.err
14889 rm -f conftest.er1
14890 cat conftest.err >&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } &&
14893 { ac_try='test -z "$ac_cxx_werror_flag"
14894 || test ! -s conftest.err'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14897 ac_status=$?
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; } &&
14900 { ac_try='test -s conftest.$ac_objext'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14903 ac_status=$?
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14906 glibcxx_cv_func__ldexpf_use=yes
14907 else
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14911 glibcxx_cv_func__ldexpf_use=no
14913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14914 ac_ext=c
14915 ac_cpp='$CPP $CPPFLAGS'
14916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14925 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14927 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14929 for ac_func in _ldexpf
14931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14932 echo "$as_me:$LINENO: checking for $ac_func" >&5
14933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14934 if eval "test \"\${$as_ac_var+set}\" = set"; then
14935 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 else
14937 if test x$gcc_no_link = xyes; then
14938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14940 { (exit 1); exit 1; }; }
14942 cat >conftest.$ac_ext <<_ACEOF
14943 /* confdefs.h. */
14944 _ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14950 #define $ac_func innocuous_$ac_func
14952 /* System header to define __stub macros and hopefully few prototypes,
14953 which can conflict with char $ac_func (); below.
14954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14955 <limits.h> exists even on freestanding compilers. */
14957 #ifdef __STDC__
14958 # include <limits.h>
14959 #else
14960 # include <assert.h>
14961 #endif
14963 #undef $ac_func
14965 /* Override any gcc2 internal prototype to avoid an error. */
14966 #ifdef __cplusplus
14967 extern "C"
14969 #endif
14970 /* We use char because int might match the return type of a gcc2
14971 builtin and then its argument prototype would still apply. */
14972 char $ac_func ();
14973 /* The GNU C library defines this for functions which it implements
14974 to always fail with ENOSYS. Some functions are actually named
14975 something starting with __ and the normal name is an alias. */
14976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14977 choke me
14978 #else
14979 char (*f) () = $ac_func;
14980 #endif
14981 #ifdef __cplusplus
14983 #endif
14986 main ()
14988 return f != $ac_func;
14990 return 0;
14992 _ACEOF
14993 rm -f conftest.$ac_objext conftest$ac_exeext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14995 (eval $ac_link) 2>conftest.er1
14996 ac_status=$?
14997 grep -v '^ *+' conftest.er1 >conftest.err
14998 rm -f conftest.er1
14999 cat conftest.err >&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try='test -z "$ac_c_werror_flag"
15003 || test ! -s conftest.err'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15006 ac_status=$?
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; } &&
15009 { ac_try='test -s conftest$ac_exeext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15012 ac_status=$?
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15015 eval "$as_ac_var=yes"
15016 else
15017 echo "$as_me: failed program was:" >&5
15018 sed 's/^/| /' conftest.$ac_ext >&5
15020 eval "$as_ac_var=no"
15022 rm -f conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15027 if test `eval echo '${'$as_ac_var'}'` = yes; then
15028 cat >>confdefs.h <<_ACEOF
15029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15030 _ACEOF
15033 done
15040 echo "$as_me:$LINENO: checking for logf declaration" >&5
15041 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15042 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15043 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 else
15049 ac_ext=cc
15050 ac_cpp='$CXXCPP $CPPFLAGS'
15051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15055 cat >conftest.$ac_ext <<_ACEOF
15056 /* confdefs.h. */
15057 _ACEOF
15058 cat confdefs.h >>conftest.$ac_ext
15059 cat >>conftest.$ac_ext <<_ACEOF
15060 /* end confdefs.h. */
15061 #include <math.h>
15062 #ifdef HAVE_IEEEFP_H
15063 #include <ieeefp.h>
15064 #endif
15067 main ()
15069 logf(0);
15071 return 0;
15073 _ACEOF
15074 rm -f conftest.$ac_objext
15075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15076 (eval $ac_compile) 2>conftest.er1
15077 ac_status=$?
15078 grep -v '^ *+' conftest.er1 >conftest.err
15079 rm -f conftest.er1
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } &&
15083 { ac_try='test -z "$ac_cxx_werror_flag"
15084 || test ! -s conftest.err'
15085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15086 (eval $ac_try) 2>&5
15087 ac_status=$?
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; } &&
15090 { ac_try='test -s conftest.$ac_objext'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15093 ac_status=$?
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; }; then
15096 glibcxx_cv_func_logf_use=yes
15097 else
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.$ac_ext >&5
15101 glibcxx_cv_func_logf_use=no
15103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15104 ac_ext=c
15105 ac_cpp='$CPP $CPPFLAGS'
15106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15115 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15117 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15119 for ac_func in logf
15121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15122 echo "$as_me:$LINENO: checking for $ac_func" >&5
15123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15124 if eval "test \"\${$as_ac_var+set}\" = set"; then
15125 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 else
15127 if test x$gcc_no_link = xyes; then
15128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15130 { (exit 1); exit 1; }; }
15132 cat >conftest.$ac_ext <<_ACEOF
15133 /* confdefs.h. */
15134 _ACEOF
15135 cat confdefs.h >>conftest.$ac_ext
15136 cat >>conftest.$ac_ext <<_ACEOF
15137 /* end confdefs.h. */
15138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15140 #define $ac_func innocuous_$ac_func
15142 /* System header to define __stub macros and hopefully few prototypes,
15143 which can conflict with char $ac_func (); below.
15144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15145 <limits.h> exists even on freestanding compilers. */
15147 #ifdef __STDC__
15148 # include <limits.h>
15149 #else
15150 # include <assert.h>
15151 #endif
15153 #undef $ac_func
15155 /* Override any gcc2 internal prototype to avoid an error. */
15156 #ifdef __cplusplus
15157 extern "C"
15159 #endif
15160 /* We use char because int might match the return type of a gcc2
15161 builtin and then its argument prototype would still apply. */
15162 char $ac_func ();
15163 /* The GNU C library defines this for functions which it implements
15164 to always fail with ENOSYS. Some functions are actually named
15165 something starting with __ and the normal name is an alias. */
15166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15167 choke me
15168 #else
15169 char (*f) () = $ac_func;
15170 #endif
15171 #ifdef __cplusplus
15173 #endif
15176 main ()
15178 return f != $ac_func;
15180 return 0;
15182 _ACEOF
15183 rm -f conftest.$ac_objext conftest$ac_exeext
15184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15185 (eval $ac_link) 2>conftest.er1
15186 ac_status=$?
15187 grep -v '^ *+' conftest.er1 >conftest.err
15188 rm -f conftest.er1
15189 cat conftest.err >&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try='test -z "$ac_c_werror_flag"
15193 || test ! -s conftest.err'
15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15196 ac_status=$?
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; } &&
15199 { ac_try='test -s conftest$ac_exeext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 eval "$as_ac_var=yes"
15206 else
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15210 eval "$as_ac_var=no"
15212 rm -f conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15217 if test `eval echo '${'$as_ac_var'}'` = yes; then
15218 cat >>confdefs.h <<_ACEOF
15219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15220 _ACEOF
15223 done
15225 else
15227 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15228 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15229 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15230 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 else
15236 ac_ext=cc
15237 ac_cpp='$CXXCPP $CPPFLAGS'
15238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15242 cat >conftest.$ac_ext <<_ACEOF
15243 /* confdefs.h. */
15244 _ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248 #include <math.h>
15249 #ifdef HAVE_IEEEFP_H
15250 #include <ieeefp.h>
15251 #endif
15254 main ()
15256 _logf(0);
15258 return 0;
15260 _ACEOF
15261 rm -f conftest.$ac_objext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15263 (eval $ac_compile) 2>conftest.er1
15264 ac_status=$?
15265 grep -v '^ *+' conftest.er1 >conftest.err
15266 rm -f conftest.er1
15267 cat conftest.err >&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try='test -z "$ac_cxx_werror_flag"
15271 || test ! -s conftest.err'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15274 ac_status=$?
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; } &&
15277 { ac_try='test -s conftest.$ac_objext'
15278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15279 (eval $ac_try) 2>&5
15280 ac_status=$?
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; }; then
15283 glibcxx_cv_func__logf_use=yes
15284 else
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15288 glibcxx_cv_func__logf_use=no
15290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15291 ac_ext=c
15292 ac_cpp='$CPP $CPPFLAGS'
15293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15302 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15304 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15306 for ac_func in _logf
15308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15309 echo "$as_me:$LINENO: checking for $ac_func" >&5
15310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15311 if eval "test \"\${$as_ac_var+set}\" = set"; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 else
15314 if test x$gcc_no_link = xyes; then
15315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15317 { (exit 1); exit 1; }; }
15319 cat >conftest.$ac_ext <<_ACEOF
15320 /* confdefs.h. */
15321 _ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15327 #define $ac_func innocuous_$ac_func
15329 /* System header to define __stub macros and hopefully few prototypes,
15330 which can conflict with char $ac_func (); below.
15331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15332 <limits.h> exists even on freestanding compilers. */
15334 #ifdef __STDC__
15335 # include <limits.h>
15336 #else
15337 # include <assert.h>
15338 #endif
15340 #undef $ac_func
15342 /* Override any gcc2 internal prototype to avoid an error. */
15343 #ifdef __cplusplus
15344 extern "C"
15346 #endif
15347 /* We use char because int might match the return type of a gcc2
15348 builtin and then its argument prototype would still apply. */
15349 char $ac_func ();
15350 /* The GNU C library defines this for functions which it implements
15351 to always fail with ENOSYS. Some functions are actually named
15352 something starting with __ and the normal name is an alias. */
15353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15354 choke me
15355 #else
15356 char (*f) () = $ac_func;
15357 #endif
15358 #ifdef __cplusplus
15360 #endif
15363 main ()
15365 return f != $ac_func;
15367 return 0;
15369 _ACEOF
15370 rm -f conftest.$ac_objext conftest$ac_exeext
15371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15372 (eval $ac_link) 2>conftest.er1
15373 ac_status=$?
15374 grep -v '^ *+' conftest.er1 >conftest.err
15375 rm -f conftest.er1
15376 cat conftest.err >&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); } &&
15379 { ac_try='test -z "$ac_c_werror_flag"
15380 || test ! -s conftest.err'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15383 ac_status=$?
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; } &&
15386 { ac_try='test -s conftest$ac_exeext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15389 ac_status=$?
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15392 eval "$as_ac_var=yes"
15393 else
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15397 eval "$as_ac_var=no"
15399 rm -f conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15404 if test `eval echo '${'$as_ac_var'}'` = yes; then
15405 cat >>confdefs.h <<_ACEOF
15406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15407 _ACEOF
15410 done
15417 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15418 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15419 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15420 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 else
15426 ac_ext=cc
15427 ac_cpp='$CXXCPP $CPPFLAGS'
15428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15432 cat >conftest.$ac_ext <<_ACEOF
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438 #include <math.h>
15439 #ifdef HAVE_IEEEFP_H
15440 #include <ieeefp.h>
15441 #endif
15444 main ()
15446 log10f(0);
15448 return 0;
15450 _ACEOF
15451 rm -f conftest.$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>conftest.er1
15454 ac_status=$?
15455 grep -v '^ *+' conftest.er1 >conftest.err
15456 rm -f conftest.er1
15457 cat conftest.err >&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try='test -z "$ac_cxx_werror_flag"
15461 || test ! -s conftest.err'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15464 ac_status=$?
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; } &&
15467 { ac_try='test -s conftest.$ac_objext'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15470 ac_status=$?
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; }; then
15473 glibcxx_cv_func_log10f_use=yes
15474 else
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15478 glibcxx_cv_func_log10f_use=no
15480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15481 ac_ext=c
15482 ac_cpp='$CPP $CPPFLAGS'
15483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15492 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15494 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15496 for ac_func in log10f
15498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15499 echo "$as_me:$LINENO: checking for $ac_func" >&5
15500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15501 if eval "test \"\${$as_ac_var+set}\" = set"; then
15502 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 else
15504 if test x$gcc_no_link = xyes; then
15505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15507 { (exit 1); exit 1; }; }
15509 cat >conftest.$ac_ext <<_ACEOF
15510 /* confdefs.h. */
15511 _ACEOF
15512 cat confdefs.h >>conftest.$ac_ext
15513 cat >>conftest.$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15517 #define $ac_func innocuous_$ac_func
15519 /* System header to define __stub macros and hopefully few prototypes,
15520 which can conflict with char $ac_func (); below.
15521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15522 <limits.h> exists even on freestanding compilers. */
15524 #ifdef __STDC__
15525 # include <limits.h>
15526 #else
15527 # include <assert.h>
15528 #endif
15530 #undef $ac_func
15532 /* Override any gcc2 internal prototype to avoid an error. */
15533 #ifdef __cplusplus
15534 extern "C"
15536 #endif
15537 /* We use char because int might match the return type of a gcc2
15538 builtin and then its argument prototype would still apply. */
15539 char $ac_func ();
15540 /* The GNU C library defines this for functions which it implements
15541 to always fail with ENOSYS. Some functions are actually named
15542 something starting with __ and the normal name is an alias. */
15543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15544 choke me
15545 #else
15546 char (*f) () = $ac_func;
15547 #endif
15548 #ifdef __cplusplus
15550 #endif
15553 main ()
15555 return f != $ac_func;
15557 return 0;
15559 _ACEOF
15560 rm -f conftest.$ac_objext conftest$ac_exeext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15562 (eval $ac_link) 2>conftest.er1
15563 ac_status=$?
15564 grep -v '^ *+' conftest.er1 >conftest.err
15565 rm -f conftest.er1
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } &&
15569 { ac_try='test -z "$ac_c_werror_flag"
15570 || test ! -s conftest.err'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15573 ac_status=$?
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; } &&
15576 { ac_try='test -s conftest$ac_exeext'
15577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15578 (eval $ac_try) 2>&5
15579 ac_status=$?
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); }; }; then
15582 eval "$as_ac_var=yes"
15583 else
15584 echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15587 eval "$as_ac_var=no"
15589 rm -f conftest.err conftest.$ac_objext \
15590 conftest$ac_exeext conftest.$ac_ext
15592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15594 if test `eval echo '${'$as_ac_var'}'` = yes; then
15595 cat >>confdefs.h <<_ACEOF
15596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15597 _ACEOF
15600 done
15602 else
15604 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15605 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15606 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15607 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 else
15613 ac_ext=cc
15614 ac_cpp='$CXXCPP $CPPFLAGS'
15615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15619 cat >conftest.$ac_ext <<_ACEOF
15620 /* confdefs.h. */
15621 _ACEOF
15622 cat confdefs.h >>conftest.$ac_ext
15623 cat >>conftest.$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 #include <math.h>
15626 #ifdef HAVE_IEEEFP_H
15627 #include <ieeefp.h>
15628 #endif
15631 main ()
15633 _log10f(0);
15635 return 0;
15637 _ACEOF
15638 rm -f conftest.$ac_objext
15639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15640 (eval $ac_compile) 2>conftest.er1
15641 ac_status=$?
15642 grep -v '^ *+' conftest.er1 >conftest.err
15643 rm -f conftest.er1
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } &&
15647 { ac_try='test -z "$ac_cxx_werror_flag"
15648 || test ! -s conftest.err'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15651 ac_status=$?
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; } &&
15654 { ac_try='test -s conftest.$ac_objext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15657 ac_status=$?
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15660 glibcxx_cv_func__log10f_use=yes
15661 else
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15665 glibcxx_cv_func__log10f_use=no
15667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15668 ac_ext=c
15669 ac_cpp='$CPP $CPPFLAGS'
15670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15679 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15681 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15683 for ac_func in _log10f
15685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15686 echo "$as_me:$LINENO: checking for $ac_func" >&5
15687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15688 if eval "test \"\${$as_ac_var+set}\" = set"; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 else
15691 if test x$gcc_no_link = xyes; then
15692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15694 { (exit 1); exit 1; }; }
15696 cat >conftest.$ac_ext <<_ACEOF
15697 /* confdefs.h. */
15698 _ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15704 #define $ac_func innocuous_$ac_func
15706 /* System header to define __stub macros and hopefully few prototypes,
15707 which can conflict with char $ac_func (); below.
15708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709 <limits.h> exists even on freestanding compilers. */
15711 #ifdef __STDC__
15712 # include <limits.h>
15713 #else
15714 # include <assert.h>
15715 #endif
15717 #undef $ac_func
15719 /* Override any gcc2 internal prototype to avoid an error. */
15720 #ifdef __cplusplus
15721 extern "C"
15723 #endif
15724 /* We use char because int might match the return type of a gcc2
15725 builtin and then its argument prototype would still apply. */
15726 char $ac_func ();
15727 /* The GNU C library defines this for functions which it implements
15728 to always fail with ENOSYS. Some functions are actually named
15729 something starting with __ and the normal name is an alias. */
15730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15731 choke me
15732 #else
15733 char (*f) () = $ac_func;
15734 #endif
15735 #ifdef __cplusplus
15737 #endif
15740 main ()
15742 return f != $ac_func;
15744 return 0;
15746 _ACEOF
15747 rm -f conftest.$ac_objext conftest$ac_exeext
15748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15749 (eval $ac_link) 2>conftest.er1
15750 ac_status=$?
15751 grep -v '^ *+' conftest.er1 >conftest.err
15752 rm -f conftest.er1
15753 cat conftest.err >&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } &&
15756 { ac_try='test -z "$ac_c_werror_flag"
15757 || test ! -s conftest.err'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15760 ac_status=$?
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; } &&
15763 { ac_try='test -s conftest$ac_exeext'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15766 ac_status=$?
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; }; then
15769 eval "$as_ac_var=yes"
15770 else
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15774 eval "$as_ac_var=no"
15776 rm -f conftest.err conftest.$ac_objext \
15777 conftest$ac_exeext conftest.$ac_ext
15779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15781 if test `eval echo '${'$as_ac_var'}'` = yes; then
15782 cat >>confdefs.h <<_ACEOF
15783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15784 _ACEOF
15787 done
15794 echo "$as_me:$LINENO: checking for modff declaration" >&5
15795 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15796 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15797 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15803 ac_ext=cc
15804 ac_cpp='$CXXCPP $CPPFLAGS'
15805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15809 cat >conftest.$ac_ext <<_ACEOF
15810 /* confdefs.h. */
15811 _ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 #include <math.h>
15817 main ()
15819 modff(0, 0);
15821 return 0;
15823 _ACEOF
15824 rm -f conftest.$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_cxx_werror_flag"
15834 || test ! -s conftest.err'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 glibcxx_cv_func_modff_use=yes
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 glibcxx_cv_func_modff_use=no
15853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15854 ac_ext=c
15855 ac_cpp='$CPP $CPPFLAGS'
15856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15865 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15867 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15869 for ac_func in modff
15871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15872 echo "$as_me:$LINENO: checking for $ac_func" >&5
15873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15874 if eval "test \"\${$as_ac_var+set}\" = set"; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 else
15877 if test x$gcc_no_link = xyes; then
15878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15880 { (exit 1); exit 1; }; }
15882 cat >conftest.$ac_ext <<_ACEOF
15883 /* confdefs.h. */
15884 _ACEOF
15885 cat confdefs.h >>conftest.$ac_ext
15886 cat >>conftest.$ac_ext <<_ACEOF
15887 /* end confdefs.h. */
15888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15890 #define $ac_func innocuous_$ac_func
15892 /* System header to define __stub macros and hopefully few prototypes,
15893 which can conflict with char $ac_func (); below.
15894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15895 <limits.h> exists even on freestanding compilers. */
15897 #ifdef __STDC__
15898 # include <limits.h>
15899 #else
15900 # include <assert.h>
15901 #endif
15903 #undef $ac_func
15905 /* Override any gcc2 internal prototype to avoid an error. */
15906 #ifdef __cplusplus
15907 extern "C"
15909 #endif
15910 /* We use char because int might match the return type of a gcc2
15911 builtin and then its argument prototype would still apply. */
15912 char $ac_func ();
15913 /* The GNU C library defines this for functions which it implements
15914 to always fail with ENOSYS. Some functions are actually named
15915 something starting with __ and the normal name is an alias. */
15916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15917 choke me
15918 #else
15919 char (*f) () = $ac_func;
15920 #endif
15921 #ifdef __cplusplus
15923 #endif
15926 main ()
15928 return f != $ac_func;
15930 return 0;
15932 _ACEOF
15933 rm -f conftest.$ac_objext conftest$ac_exeext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15935 (eval $ac_link) 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try='test -z "$ac_c_werror_flag"
15943 || test ! -s conftest.err'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15946 ac_status=$?
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; } &&
15949 { ac_try='test -s conftest$ac_exeext'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15952 ac_status=$?
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; }; then
15955 eval "$as_ac_var=yes"
15956 else
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.$ac_ext >&5
15960 eval "$as_ac_var=no"
15962 rm -f conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15967 if test `eval echo '${'$as_ac_var'}'` = yes; then
15968 cat >>confdefs.h <<_ACEOF
15969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15970 _ACEOF
15973 done
15975 else
15977 echo "$as_me:$LINENO: checking for _modff declaration" >&5
15978 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15979 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15980 if test "${glibcxx_cv_func__modff_use+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 else
15986 ac_ext=cc
15987 ac_cpp='$CXXCPP $CPPFLAGS'
15988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15992 cat >conftest.$ac_ext <<_ACEOF
15993 /* confdefs.h. */
15994 _ACEOF
15995 cat confdefs.h >>conftest.$ac_ext
15996 cat >>conftest.$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15998 #include <math.h>
16000 main ()
16002 _modff(0, 0);
16004 return 0;
16006 _ACEOF
16007 rm -f conftest.$ac_objext
16008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16009 (eval $ac_compile) 2>conftest.er1
16010 ac_status=$?
16011 grep -v '^ *+' conftest.er1 >conftest.err
16012 rm -f conftest.er1
16013 cat conftest.err >&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try='test -z "$ac_cxx_werror_flag"
16017 || test ! -s conftest.err'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; } &&
16023 { ac_try='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16026 ac_status=$?
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16029 glibcxx_cv_func__modff_use=yes
16030 else
16031 echo "$as_me: failed program was:" >&5
16032 sed 's/^/| /' conftest.$ac_ext >&5
16034 glibcxx_cv_func__modff_use=no
16036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16037 ac_ext=c
16038 ac_cpp='$CPP $CPPFLAGS'
16039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16048 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16050 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16052 for ac_func in _modff
16054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16055 echo "$as_me:$LINENO: checking for $ac_func" >&5
16056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16057 if eval "test \"\${$as_ac_var+set}\" = set"; then
16058 echo $ECHO_N "(cached) $ECHO_C" >&6
16059 else
16060 if test x$gcc_no_link = xyes; then
16061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16063 { (exit 1); exit 1; }; }
16065 cat >conftest.$ac_ext <<_ACEOF
16066 /* confdefs.h. */
16067 _ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16073 #define $ac_func innocuous_$ac_func
16075 /* System header to define __stub macros and hopefully few prototypes,
16076 which can conflict with char $ac_func (); below.
16077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16078 <limits.h> exists even on freestanding compilers. */
16080 #ifdef __STDC__
16081 # include <limits.h>
16082 #else
16083 # include <assert.h>
16084 #endif
16086 #undef $ac_func
16088 /* Override any gcc2 internal prototype to avoid an error. */
16089 #ifdef __cplusplus
16090 extern "C"
16092 #endif
16093 /* We use char because int might match the return type of a gcc2
16094 builtin and then its argument prototype would still apply. */
16095 char $ac_func ();
16096 /* The GNU C library defines this for functions which it implements
16097 to always fail with ENOSYS. Some functions are actually named
16098 something starting with __ and the normal name is an alias. */
16099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16100 choke me
16101 #else
16102 char (*f) () = $ac_func;
16103 #endif
16104 #ifdef __cplusplus
16106 #endif
16109 main ()
16111 return f != $ac_func;
16113 return 0;
16115 _ACEOF
16116 rm -f conftest.$ac_objext conftest$ac_exeext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16118 (eval $ac_link) 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try='test -z "$ac_c_werror_flag"
16126 || test ! -s conftest.err'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16129 ac_status=$?
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; } &&
16132 { ac_try='test -s conftest$ac_exeext'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; }; then
16138 eval "$as_ac_var=yes"
16139 else
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16143 eval "$as_ac_var=no"
16145 rm -f conftest.err conftest.$ac_objext \
16146 conftest$ac_exeext conftest.$ac_ext
16148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16150 if test `eval echo '${'$as_ac_var'}'` = yes; then
16151 cat >>confdefs.h <<_ACEOF
16152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16153 _ACEOF
16156 done
16163 echo "$as_me:$LINENO: checking for powf declaration" >&5
16164 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16165 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16166 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 else
16172 ac_ext=cc
16173 ac_cpp='$CXXCPP $CPPFLAGS'
16174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16178 cat >conftest.$ac_ext <<_ACEOF
16179 /* confdefs.h. */
16180 _ACEOF
16181 cat confdefs.h >>conftest.$ac_ext
16182 cat >>conftest.$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16184 #include <math.h>
16186 main ()
16188 powf(0, 0);
16190 return 0;
16192 _ACEOF
16193 rm -f conftest.$ac_objext
16194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16195 (eval $ac_compile) 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } &&
16202 { ac_try='test -z "$ac_cxx_werror_flag"
16203 || test ! -s conftest.err'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; } &&
16209 { ac_try='test -s conftest.$ac_objext'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16212 ac_status=$?
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; }; then
16215 glibcxx_cv_func_powf_use=yes
16216 else
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.$ac_ext >&5
16220 glibcxx_cv_func_powf_use=no
16222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16223 ac_ext=c
16224 ac_cpp='$CPP $CPPFLAGS'
16225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16234 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16236 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16238 for ac_func in powf
16240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16241 echo "$as_me:$LINENO: checking for $ac_func" >&5
16242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16243 if eval "test \"\${$as_ac_var+set}\" = set"; then
16244 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 else
16246 if test x$gcc_no_link = xyes; then
16247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16249 { (exit 1); exit 1; }; }
16251 cat >conftest.$ac_ext <<_ACEOF
16252 /* confdefs.h. */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16259 #define $ac_func innocuous_$ac_func
16261 /* System header to define __stub macros and hopefully few prototypes,
16262 which can conflict with char $ac_func (); below.
16263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16264 <limits.h> exists even on freestanding compilers. */
16266 #ifdef __STDC__
16267 # include <limits.h>
16268 #else
16269 # include <assert.h>
16270 #endif
16272 #undef $ac_func
16274 /* Override any gcc2 internal prototype to avoid an error. */
16275 #ifdef __cplusplus
16276 extern "C"
16278 #endif
16279 /* We use char because int might match the return type of a gcc2
16280 builtin and then its argument prototype would still apply. */
16281 char $ac_func ();
16282 /* The GNU C library defines this for functions which it implements
16283 to always fail with ENOSYS. Some functions are actually named
16284 something starting with __ and the normal name is an alias. */
16285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16286 choke me
16287 #else
16288 char (*f) () = $ac_func;
16289 #endif
16290 #ifdef __cplusplus
16292 #endif
16295 main ()
16297 return f != $ac_func;
16299 return 0;
16301 _ACEOF
16302 rm -f conftest.$ac_objext conftest$ac_exeext
16303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16304 (eval $ac_link) 2>conftest.er1
16305 ac_status=$?
16306 grep -v '^ *+' conftest.er1 >conftest.err
16307 rm -f conftest.er1
16308 cat conftest.err >&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); } &&
16311 { ac_try='test -z "$ac_c_werror_flag"
16312 || test ! -s conftest.err'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; } &&
16318 { ac_try='test -s conftest$ac_exeext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 eval "$as_ac_var=yes"
16325 else
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16329 eval "$as_ac_var=no"
16331 rm -f conftest.err conftest.$ac_objext \
16332 conftest$ac_exeext conftest.$ac_ext
16334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16336 if test `eval echo '${'$as_ac_var'}'` = yes; then
16337 cat >>confdefs.h <<_ACEOF
16338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16339 _ACEOF
16342 done
16344 else
16346 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16347 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16348 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16349 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 else
16355 ac_ext=cc
16356 ac_cpp='$CXXCPP $CPPFLAGS'
16357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16361 cat >conftest.$ac_ext <<_ACEOF
16362 /* confdefs.h. */
16363 _ACEOF
16364 cat confdefs.h >>conftest.$ac_ext
16365 cat >>conftest.$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16367 #include <math.h>
16369 main ()
16371 _powf(0, 0);
16373 return 0;
16375 _ACEOF
16376 rm -f conftest.$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>conftest.er1
16379 ac_status=$?
16380 grep -v '^ *+' conftest.er1 >conftest.err
16381 rm -f conftest.er1
16382 cat conftest.err >&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try='test -z "$ac_cxx_werror_flag"
16386 || test ! -s conftest.err'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16389 ac_status=$?
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; } &&
16392 { ac_try='test -s conftest.$ac_objext'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16395 ac_status=$?
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 glibcxx_cv_func__powf_use=yes
16399 else
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16403 glibcxx_cv_func__powf_use=no
16405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16406 ac_ext=c
16407 ac_cpp='$CPP $CPPFLAGS'
16408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16417 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16419 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16421 for ac_func in _powf
16423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16424 echo "$as_me:$LINENO: checking for $ac_func" >&5
16425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16426 if eval "test \"\${$as_ac_var+set}\" = set"; then
16427 echo $ECHO_N "(cached) $ECHO_C" >&6
16428 else
16429 if test x$gcc_no_link = xyes; then
16430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16432 { (exit 1); exit 1; }; }
16434 cat >conftest.$ac_ext <<_ACEOF
16435 /* confdefs.h. */
16436 _ACEOF
16437 cat confdefs.h >>conftest.$ac_ext
16438 cat >>conftest.$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16442 #define $ac_func innocuous_$ac_func
16444 /* System header to define __stub macros and hopefully few prototypes,
16445 which can conflict with char $ac_func (); below.
16446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16447 <limits.h> exists even on freestanding compilers. */
16449 #ifdef __STDC__
16450 # include <limits.h>
16451 #else
16452 # include <assert.h>
16453 #endif
16455 #undef $ac_func
16457 /* Override any gcc2 internal prototype to avoid an error. */
16458 #ifdef __cplusplus
16459 extern "C"
16461 #endif
16462 /* We use char because int might match the return type of a gcc2
16463 builtin and then its argument prototype would still apply. */
16464 char $ac_func ();
16465 /* The GNU C library defines this for functions which it implements
16466 to always fail with ENOSYS. Some functions are actually named
16467 something starting with __ and the normal name is an alias. */
16468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16469 choke me
16470 #else
16471 char (*f) () = $ac_func;
16472 #endif
16473 #ifdef __cplusplus
16475 #endif
16478 main ()
16480 return f != $ac_func;
16482 return 0;
16484 _ACEOF
16485 rm -f conftest.$ac_objext conftest$ac_exeext
16486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16487 (eval $ac_link) 2>conftest.er1
16488 ac_status=$?
16489 grep -v '^ *+' conftest.er1 >conftest.err
16490 rm -f conftest.er1
16491 cat conftest.err >&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); } &&
16494 { ac_try='test -z "$ac_c_werror_flag"
16495 || test ! -s conftest.err'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16498 ac_status=$?
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; } &&
16501 { ac_try='test -s conftest$ac_exeext'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16504 ac_status=$?
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; }; then
16507 eval "$as_ac_var=yes"
16508 else
16509 echo "$as_me: failed program was:" >&5
16510 sed 's/^/| /' conftest.$ac_ext >&5
16512 eval "$as_ac_var=no"
16514 rm -f conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16519 if test `eval echo '${'$as_ac_var'}'` = yes; then
16520 cat >>confdefs.h <<_ACEOF
16521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16522 _ACEOF
16525 done
16532 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16533 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16534 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16535 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 else
16541 ac_ext=cc
16542 ac_cpp='$CXXCPP $CPPFLAGS'
16543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16547 cat >conftest.$ac_ext <<_ACEOF
16548 /* confdefs.h. */
16549 _ACEOF
16550 cat confdefs.h >>conftest.$ac_ext
16551 cat >>conftest.$ac_ext <<_ACEOF
16552 /* end confdefs.h. */
16553 #include <math.h>
16554 #ifdef HAVE_IEEEFP_H
16555 #include <ieeefp.h>
16556 #endif
16559 main ()
16561 sqrtf(0);
16563 return 0;
16565 _ACEOF
16566 rm -f conftest.$ac_objext
16567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16568 (eval $ac_compile) 2>conftest.er1
16569 ac_status=$?
16570 grep -v '^ *+' conftest.er1 >conftest.err
16571 rm -f conftest.er1
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } &&
16575 { ac_try='test -z "$ac_cxx_werror_flag"
16576 || test ! -s conftest.err'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16579 ac_status=$?
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; } &&
16582 { ac_try='test -s conftest.$ac_objext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 glibcxx_cv_func_sqrtf_use=yes
16589 else
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16593 glibcxx_cv_func_sqrtf_use=no
16595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16596 ac_ext=c
16597 ac_cpp='$CPP $CPPFLAGS'
16598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16607 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16609 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16611 for ac_func in sqrtf
16613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16614 echo "$as_me:$LINENO: checking for $ac_func" >&5
16615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16616 if eval "test \"\${$as_ac_var+set}\" = set"; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16618 else
16619 if test x$gcc_no_link = xyes; then
16620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16622 { (exit 1); exit 1; }; }
16624 cat >conftest.$ac_ext <<_ACEOF
16625 /* confdefs.h. */
16626 _ACEOF
16627 cat confdefs.h >>conftest.$ac_ext
16628 cat >>conftest.$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16632 #define $ac_func innocuous_$ac_func
16634 /* System header to define __stub macros and hopefully few prototypes,
16635 which can conflict with char $ac_func (); below.
16636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16637 <limits.h> exists even on freestanding compilers. */
16639 #ifdef __STDC__
16640 # include <limits.h>
16641 #else
16642 # include <assert.h>
16643 #endif
16645 #undef $ac_func
16647 /* Override any gcc2 internal prototype to avoid an error. */
16648 #ifdef __cplusplus
16649 extern "C"
16651 #endif
16652 /* We use char because int might match the return type of a gcc2
16653 builtin and then its argument prototype would still apply. */
16654 char $ac_func ();
16655 /* The GNU C library defines this for functions which it implements
16656 to always fail with ENOSYS. Some functions are actually named
16657 something starting with __ and the normal name is an alias. */
16658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16659 choke me
16660 #else
16661 char (*f) () = $ac_func;
16662 #endif
16663 #ifdef __cplusplus
16665 #endif
16668 main ()
16670 return f != $ac_func;
16672 return 0;
16674 _ACEOF
16675 rm -f conftest.$ac_objext conftest$ac_exeext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16677 (eval $ac_link) 2>conftest.er1
16678 ac_status=$?
16679 grep -v '^ *+' conftest.er1 >conftest.err
16680 rm -f conftest.er1
16681 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try='test -z "$ac_c_werror_flag"
16685 || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16688 ac_status=$?
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest$ac_exeext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16697 eval "$as_ac_var=yes"
16698 else
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5
16702 eval "$as_ac_var=no"
16704 rm -f conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16709 if test `eval echo '${'$as_ac_var'}'` = yes; then
16710 cat >>confdefs.h <<_ACEOF
16711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16712 _ACEOF
16715 done
16717 else
16719 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16720 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16721 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16722 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16728 ac_ext=cc
16729 ac_cpp='$CXXCPP $CPPFLAGS'
16730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16734 cat >conftest.$ac_ext <<_ACEOF
16735 /* confdefs.h. */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 #include <math.h>
16741 #ifdef HAVE_IEEEFP_H
16742 #include <ieeefp.h>
16743 #endif
16746 main ()
16748 _sqrtf(0);
16750 return 0;
16752 _ACEOF
16753 rm -f conftest.$ac_objext
16754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16755 (eval $ac_compile) 2>conftest.er1
16756 ac_status=$?
16757 grep -v '^ *+' conftest.er1 >conftest.err
16758 rm -f conftest.er1
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } &&
16762 { ac_try='test -z "$ac_cxx_werror_flag"
16763 || test ! -s conftest.err'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16766 ac_status=$?
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; } &&
16769 { ac_try='test -s conftest.$ac_objext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 glibcxx_cv_func__sqrtf_use=yes
16776 else
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16780 glibcxx_cv_func__sqrtf_use=no
16782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16783 ac_ext=c
16784 ac_cpp='$CPP $CPPFLAGS'
16785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16794 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16796 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16798 for ac_func in _sqrtf
16800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16801 echo "$as_me:$LINENO: checking for $ac_func" >&5
16802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16803 if eval "test \"\${$as_ac_var+set}\" = set"; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 else
16806 if test x$gcc_no_link = xyes; then
16807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16809 { (exit 1); exit 1; }; }
16811 cat >conftest.$ac_ext <<_ACEOF
16812 /* confdefs.h. */
16813 _ACEOF
16814 cat confdefs.h >>conftest.$ac_ext
16815 cat >>conftest.$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16819 #define $ac_func innocuous_$ac_func
16821 /* System header to define __stub macros and hopefully few prototypes,
16822 which can conflict with char $ac_func (); below.
16823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16824 <limits.h> exists even on freestanding compilers. */
16826 #ifdef __STDC__
16827 # include <limits.h>
16828 #else
16829 # include <assert.h>
16830 #endif
16832 #undef $ac_func
16834 /* Override any gcc2 internal prototype to avoid an error. */
16835 #ifdef __cplusplus
16836 extern "C"
16838 #endif
16839 /* We use char because int might match the return type of a gcc2
16840 builtin and then its argument prototype would still apply. */
16841 char $ac_func ();
16842 /* The GNU C library defines this for functions which it implements
16843 to always fail with ENOSYS. Some functions are actually named
16844 something starting with __ and the normal name is an alias. */
16845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16846 choke me
16847 #else
16848 char (*f) () = $ac_func;
16849 #endif
16850 #ifdef __cplusplus
16852 #endif
16855 main ()
16857 return f != $ac_func;
16859 return 0;
16861 _ACEOF
16862 rm -f conftest.$ac_objext conftest$ac_exeext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16864 (eval $ac_link) 2>conftest.er1
16865 ac_status=$?
16866 grep -v '^ *+' conftest.er1 >conftest.err
16867 rm -f conftest.er1
16868 cat conftest.err >&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try='test -z "$ac_c_werror_flag"
16872 || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16875 ac_status=$?
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try='test -s conftest$ac_exeext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16881 ac_status=$?
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16884 eval "$as_ac_var=yes"
16885 else
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.$ac_ext >&5
16889 eval "$as_ac_var=no"
16891 rm -f conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16896 if test `eval echo '${'$as_ac_var'}'` = yes; then
16897 cat >>confdefs.h <<_ACEOF
16898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16899 _ACEOF
16902 done
16909 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16910 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16911 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16912 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 else
16918 ac_ext=cc
16919 ac_cpp='$CXXCPP $CPPFLAGS'
16920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 #include <math.h>
16932 main ()
16934 sincosf(0, 0, 0);
16936 return 0;
16938 _ACEOF
16939 rm -f conftest.$ac_objext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16941 (eval $ac_compile) 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try='test -z "$ac_cxx_werror_flag"
16949 || test ! -s conftest.err'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16952 ac_status=$?
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; } &&
16955 { ac_try='test -s conftest.$ac_objext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 glibcxx_cv_func_sincosf_use=yes
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16966 glibcxx_cv_func_sincosf_use=no
16968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16969 ac_ext=c
16970 ac_cpp='$CPP $CPPFLAGS'
16971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16980 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16982 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16984 for ac_func in sincosf
16986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16987 echo "$as_me:$LINENO: checking for $ac_func" >&5
16988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16989 if eval "test \"\${$as_ac_var+set}\" = set"; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 else
16992 if test x$gcc_no_link = xyes; then
16993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16995 { (exit 1); exit 1; }; }
16997 cat >conftest.$ac_ext <<_ACEOF
16998 /* confdefs.h. */
16999 _ACEOF
17000 cat confdefs.h >>conftest.$ac_ext
17001 cat >>conftest.$ac_ext <<_ACEOF
17002 /* end confdefs.h. */
17003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17005 #define $ac_func innocuous_$ac_func
17007 /* System header to define __stub macros and hopefully few prototypes,
17008 which can conflict with char $ac_func (); below.
17009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17010 <limits.h> exists even on freestanding compilers. */
17012 #ifdef __STDC__
17013 # include <limits.h>
17014 #else
17015 # include <assert.h>
17016 #endif
17018 #undef $ac_func
17020 /* Override any gcc2 internal prototype to avoid an error. */
17021 #ifdef __cplusplus
17022 extern "C"
17024 #endif
17025 /* We use char because int might match the return type of a gcc2
17026 builtin and then its argument prototype would still apply. */
17027 char $ac_func ();
17028 /* The GNU C library defines this for functions which it implements
17029 to always fail with ENOSYS. Some functions are actually named
17030 something starting with __ and the normal name is an alias. */
17031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17032 choke me
17033 #else
17034 char (*f) () = $ac_func;
17035 #endif
17036 #ifdef __cplusplus
17038 #endif
17041 main ()
17043 return f != $ac_func;
17045 return 0;
17047 _ACEOF
17048 rm -f conftest.$ac_objext conftest$ac_exeext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17050 (eval $ac_link) 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try='test -z "$ac_c_werror_flag"
17058 || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17061 ac_status=$?
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try='test -s conftest$ac_exeext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17067 ac_status=$?
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 eval "$as_ac_var=yes"
17071 else
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17075 eval "$as_ac_var=no"
17077 rm -f conftest.err conftest.$ac_objext \
17078 conftest$ac_exeext conftest.$ac_ext
17080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17082 if test `eval echo '${'$as_ac_var'}'` = yes; then
17083 cat >>confdefs.h <<_ACEOF
17084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17085 _ACEOF
17088 done
17090 else
17092 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17093 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17094 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17095 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 else
17101 ac_ext=cc
17102 ac_cpp='$CXXCPP $CPPFLAGS'
17103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17107 cat >conftest.$ac_ext <<_ACEOF
17108 /* confdefs.h. */
17109 _ACEOF
17110 cat confdefs.h >>conftest.$ac_ext
17111 cat >>conftest.$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113 #include <math.h>
17115 main ()
17117 _sincosf(0, 0, 0);
17119 return 0;
17121 _ACEOF
17122 rm -f conftest.$ac_objext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17124 (eval $ac_compile) 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_cxx_werror_flag"
17132 || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17135 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try='test -s conftest.$ac_objext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17141 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 glibcxx_cv_func__sincosf_use=yes
17145 else
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17149 glibcxx_cv_func__sincosf_use=no
17151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17152 ac_ext=c
17153 ac_cpp='$CPP $CPPFLAGS'
17154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17163 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17165 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17167 for ac_func in _sincosf
17169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17170 echo "$as_me:$LINENO: checking for $ac_func" >&5
17171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17172 if eval "test \"\${$as_ac_var+set}\" = set"; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 else
17175 if test x$gcc_no_link = xyes; then
17176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17178 { (exit 1); exit 1; }; }
17180 cat >conftest.$ac_ext <<_ACEOF
17181 /* confdefs.h. */
17182 _ACEOF
17183 cat confdefs.h >>conftest.$ac_ext
17184 cat >>conftest.$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17188 #define $ac_func innocuous_$ac_func
17190 /* System header to define __stub macros and hopefully few prototypes,
17191 which can conflict with char $ac_func (); below.
17192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17193 <limits.h> exists even on freestanding compilers. */
17195 #ifdef __STDC__
17196 # include <limits.h>
17197 #else
17198 # include <assert.h>
17199 #endif
17201 #undef $ac_func
17203 /* Override any gcc2 internal prototype to avoid an error. */
17204 #ifdef __cplusplus
17205 extern "C"
17207 #endif
17208 /* We use char because int might match the return type of a gcc2
17209 builtin and then its argument prototype would still apply. */
17210 char $ac_func ();
17211 /* The GNU C library defines this for functions which it implements
17212 to always fail with ENOSYS. Some functions are actually named
17213 something starting with __ and the normal name is an alias. */
17214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17215 choke me
17216 #else
17217 char (*f) () = $ac_func;
17218 #endif
17219 #ifdef __cplusplus
17221 #endif
17224 main ()
17226 return f != $ac_func;
17228 return 0;
17230 _ACEOF
17231 rm -f conftest.$ac_objext conftest$ac_exeext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17233 (eval $ac_link) 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try='test -z "$ac_c_werror_flag"
17241 || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17244 ac_status=$?
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try='test -s conftest$ac_exeext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17250 ac_status=$?
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 eval "$as_ac_var=yes"
17254 else
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.$ac_ext >&5
17258 eval "$as_ac_var=no"
17260 rm -f conftest.err conftest.$ac_objext \
17261 conftest$ac_exeext conftest.$ac_ext
17263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17265 if test `eval echo '${'$as_ac_var'}'` = yes; then
17266 cat >>confdefs.h <<_ACEOF
17267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17268 _ACEOF
17271 done
17278 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17279 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17280 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17281 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17287 ac_ext=cc
17288 ac_cpp='$CXXCPP $CPPFLAGS'
17289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17293 cat >conftest.$ac_ext <<_ACEOF
17294 /* confdefs.h. */
17295 _ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17299 #include <math.h>
17300 #ifdef HAVE_IEEEFP_H
17301 #include <ieeefp.h>
17302 #endif
17305 main ()
17307 finitef(0);
17309 return 0;
17311 _ACEOF
17312 rm -f conftest.$ac_objext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17314 (eval $ac_compile) 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -z "$ac_cxx_werror_flag"
17322 || test ! -s conftest.err'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } &&
17328 { ac_try='test -s conftest.$ac_objext'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17331 ac_status=$?
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; }; then
17334 glibcxx_cv_func_finitef_use=yes
17335 else
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17339 glibcxx_cv_func_finitef_use=no
17341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17342 ac_ext=c
17343 ac_cpp='$CPP $CPPFLAGS'
17344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17353 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17355 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17357 for ac_func in finitef
17359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17360 echo "$as_me:$LINENO: checking for $ac_func" >&5
17361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17362 if eval "test \"\${$as_ac_var+set}\" = set"; then
17363 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 else
17365 if test x$gcc_no_link = xyes; then
17366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17368 { (exit 1); exit 1; }; }
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17378 #define $ac_func innocuous_$ac_func
17380 /* System header to define __stub macros and hopefully few prototypes,
17381 which can conflict with char $ac_func (); below.
17382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17383 <limits.h> exists even on freestanding compilers. */
17385 #ifdef __STDC__
17386 # include <limits.h>
17387 #else
17388 # include <assert.h>
17389 #endif
17391 #undef $ac_func
17393 /* Override any gcc2 internal prototype to avoid an error. */
17394 #ifdef __cplusplus
17395 extern "C"
17397 #endif
17398 /* We use char because int might match the return type of a gcc2
17399 builtin and then its argument prototype would still apply. */
17400 char $ac_func ();
17401 /* The GNU C library defines this for functions which it implements
17402 to always fail with ENOSYS. Some functions are actually named
17403 something starting with __ and the normal name is an alias. */
17404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17405 choke me
17406 #else
17407 char (*f) () = $ac_func;
17408 #endif
17409 #ifdef __cplusplus
17411 #endif
17414 main ()
17416 return f != $ac_func;
17418 return 0;
17420 _ACEOF
17421 rm -f conftest.$ac_objext conftest$ac_exeext
17422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17423 (eval $ac_link) 2>conftest.er1
17424 ac_status=$?
17425 grep -v '^ *+' conftest.er1 >conftest.err
17426 rm -f conftest.er1
17427 cat conftest.err >&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } &&
17430 { ac_try='test -z "$ac_c_werror_flag"
17431 || test ! -s conftest.err'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17434 ac_status=$?
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; } &&
17437 { ac_try='test -s conftest$ac_exeext'
17438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17439 (eval $ac_try) 2>&5
17440 ac_status=$?
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }; }; then
17443 eval "$as_ac_var=yes"
17444 else
17445 echo "$as_me: failed program was:" >&5
17446 sed 's/^/| /' conftest.$ac_ext >&5
17448 eval "$as_ac_var=no"
17450 rm -f conftest.err conftest.$ac_objext \
17451 conftest$ac_exeext conftest.$ac_ext
17453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17455 if test `eval echo '${'$as_ac_var'}'` = yes; then
17456 cat >>confdefs.h <<_ACEOF
17457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17458 _ACEOF
17461 done
17463 else
17465 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17466 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17467 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17468 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17470 else
17474 ac_ext=cc
17475 ac_cpp='$CXXCPP $CPPFLAGS'
17476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17480 cat >conftest.$ac_ext <<_ACEOF
17481 /* confdefs.h. */
17482 _ACEOF
17483 cat confdefs.h >>conftest.$ac_ext
17484 cat >>conftest.$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486 #include <math.h>
17487 #ifdef HAVE_IEEEFP_H
17488 #include <ieeefp.h>
17489 #endif
17492 main ()
17494 _finitef(0);
17496 return 0;
17498 _ACEOF
17499 rm -f conftest.$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17502 ac_status=$?
17503 grep -v '^ *+' conftest.er1 >conftest.err
17504 rm -f conftest.er1
17505 cat conftest.err >&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try='test -z "$ac_cxx_werror_flag"
17509 || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17518 ac_status=$?
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 glibcxx_cv_func__finitef_use=yes
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17526 glibcxx_cv_func__finitef_use=no
17528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17529 ac_ext=c
17530 ac_cpp='$CPP $CPPFLAGS'
17531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17540 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17542 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17544 for ac_func in _finitef
17546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17547 echo "$as_me:$LINENO: checking for $ac_func" >&5
17548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17549 if eval "test \"\${$as_ac_var+set}\" = set"; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17551 else
17552 if test x$gcc_no_link = xyes; then
17553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17555 { (exit 1); exit 1; }; }
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17565 #define $ac_func innocuous_$ac_func
17567 /* System header to define __stub macros and hopefully few prototypes,
17568 which can conflict with char $ac_func (); below.
17569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17570 <limits.h> exists even on freestanding compilers. */
17572 #ifdef __STDC__
17573 # include <limits.h>
17574 #else
17575 # include <assert.h>
17576 #endif
17578 #undef $ac_func
17580 /* Override any gcc2 internal prototype to avoid an error. */
17581 #ifdef __cplusplus
17582 extern "C"
17584 #endif
17585 /* We use char because int might match the return type of a gcc2
17586 builtin and then its argument prototype would still apply. */
17587 char $ac_func ();
17588 /* The GNU C library defines this for functions which it implements
17589 to always fail with ENOSYS. Some functions are actually named
17590 something starting with __ and the normal name is an alias. */
17591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17592 choke me
17593 #else
17594 char (*f) () = $ac_func;
17595 #endif
17596 #ifdef __cplusplus
17598 #endif
17601 main ()
17603 return f != $ac_func;
17605 return 0;
17607 _ACEOF
17608 rm -f conftest.$ac_objext conftest$ac_exeext
17609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17610 (eval $ac_link) 2>conftest.er1
17611 ac_status=$?
17612 grep -v '^ *+' conftest.er1 >conftest.err
17613 rm -f conftest.er1
17614 cat conftest.err >&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } &&
17617 { ac_try='test -z "$ac_c_werror_flag"
17618 || test ! -s conftest.err'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; } &&
17624 { ac_try='test -s conftest$ac_exeext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17630 eval "$as_ac_var=yes"
17631 else
17632 echo "$as_me: failed program was:" >&5
17633 sed 's/^/| /' conftest.$ac_ext >&5
17635 eval "$as_ac_var=no"
17637 rm -f conftest.err conftest.$ac_objext \
17638 conftest$ac_exeext conftest.$ac_ext
17640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17642 if test `eval echo '${'$as_ac_var'}'` = yes; then
17643 cat >>confdefs.h <<_ACEOF
17644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17645 _ACEOF
17648 done
17655 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17656 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17657 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 else
17663 ac_ext=cc
17664 ac_cpp='$CXXCPP $CPPFLAGS'
17665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17669 cat >conftest.$ac_ext <<_ACEOF
17670 /* confdefs.h. */
17671 _ACEOF
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 #include <math.h>
17677 main ()
17679 `for x in acosl asinl atanl \
17680 cosl sinl tanl \
17681 coshl sinhl tanhl; do echo "$x (0);"; done`
17683 return 0;
17685 _ACEOF
17686 rm -f conftest.$ac_objext
17687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17688 (eval $ac_compile) 2>conftest.er1
17689 ac_status=$?
17690 grep -v '^ *+' conftest.er1 >conftest.err
17691 rm -f conftest.er1
17692 cat conftest.err >&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); } &&
17695 { ac_try='test -z "$ac_cxx_werror_flag"
17696 || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 glibcxx_cv_func_long_double_trig_use=yes
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17713 glibcxx_cv_func_long_double_trig_use=no
17715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17716 ac_ext=c
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17724 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17725 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17726 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17736 for ac_func in acosl asinl atanl \
17737 cosl sinl tanl \
17738 coshl sinhl tanhl
17740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17741 echo "$as_me:$LINENO: checking for $ac_func" >&5
17742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17743 if eval "test \"\${$as_ac_var+set}\" = set"; then
17744 echo $ECHO_N "(cached) $ECHO_C" >&6
17745 else
17746 if test x$gcc_no_link = xyes; then
17747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17749 { (exit 1); exit 1; }; }
17751 cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h. */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h. */
17757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17759 #define $ac_func innocuous_$ac_func
17761 /* System header to define __stub macros and hopefully few prototypes,
17762 which can conflict with char $ac_func (); below.
17763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17764 <limits.h> exists even on freestanding compilers. */
17766 #ifdef __STDC__
17767 # include <limits.h>
17768 #else
17769 # include <assert.h>
17770 #endif
17772 #undef $ac_func
17774 /* Override any gcc2 internal prototype to avoid an error. */
17775 #ifdef __cplusplus
17776 extern "C"
17778 #endif
17779 /* We use char because int might match the return type of a gcc2
17780 builtin and then its argument prototype would still apply. */
17781 char $ac_func ();
17782 /* The GNU C library defines this for functions which it implements
17783 to always fail with ENOSYS. Some functions are actually named
17784 something starting with __ and the normal name is an alias. */
17785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17786 choke me
17787 #else
17788 char (*f) () = $ac_func;
17789 #endif
17790 #ifdef __cplusplus
17792 #endif
17795 main ()
17797 return f != $ac_func;
17799 return 0;
17801 _ACEOF
17802 rm -f conftest.$ac_objext conftest$ac_exeext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17804 (eval $ac_link) 2>conftest.er1
17805 ac_status=$?
17806 grep -v '^ *+' conftest.er1 >conftest.err
17807 rm -f conftest.er1
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -z "$ac_c_werror_flag"
17812 || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try='test -s conftest$ac_exeext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 eval "$as_ac_var=yes"
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17829 eval "$as_ac_var=no"
17831 rm -f conftest.err conftest.$ac_objext \
17832 conftest$ac_exeext conftest.$ac_ext
17834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17836 if test `eval echo '${'$as_ac_var'}'` = yes; then
17837 cat >>confdefs.h <<_ACEOF
17838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17839 _ACEOF
17842 done
17847 echo "$as_me:$LINENO: checking for long double round functions" >&5
17848 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17849 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 else
17855 ac_ext=cc
17856 ac_cpp='$CXXCPP $CPPFLAGS'
17857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17861 cat >conftest.$ac_ext <<_ACEOF
17862 /* confdefs.h. */
17863 _ACEOF
17864 cat confdefs.h >>conftest.$ac_ext
17865 cat >>conftest.$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 #include <math.h>
17869 main ()
17871 `for x in ceill floorl; do echo "$x (0);"; done`
17873 return 0;
17875 _ACEOF
17876 rm -f conftest.$ac_objext
17877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17878 (eval $ac_compile) 2>conftest.er1
17879 ac_status=$?
17880 grep -v '^ *+' conftest.er1 >conftest.err
17881 rm -f conftest.er1
17882 cat conftest.err >&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } &&
17885 { ac_try='test -z "$ac_cxx_werror_flag"
17886 || test ! -s conftest.err'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17889 ac_status=$?
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; } &&
17892 { ac_try='test -s conftest.$ac_objext'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17895 ac_status=$?
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; }; then
17898 glibcxx_cv_func_long_double_round_use=yes
17899 else
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17903 glibcxx_cv_func_long_double_round_use=no
17905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17906 ac_ext=c
17907 ac_cpp='$CPP $CPPFLAGS'
17908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17915 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17916 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17919 for ac_func in ceill floorl
17921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17922 echo "$as_me:$LINENO: checking for $ac_func" >&5
17923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17924 if eval "test \"\${$as_ac_var+set}\" = set"; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17926 else
17927 if test x$gcc_no_link = xyes; then
17928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17930 { (exit 1); exit 1; }; }
17932 cat >conftest.$ac_ext <<_ACEOF
17933 /* confdefs.h. */
17934 _ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17940 #define $ac_func innocuous_$ac_func
17942 /* System header to define __stub macros and hopefully few prototypes,
17943 which can conflict with char $ac_func (); below.
17944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17945 <limits.h> exists even on freestanding compilers. */
17947 #ifdef __STDC__
17948 # include <limits.h>
17949 #else
17950 # include <assert.h>
17951 #endif
17953 #undef $ac_func
17955 /* Override any gcc2 internal prototype to avoid an error. */
17956 #ifdef __cplusplus
17957 extern "C"
17959 #endif
17960 /* We use char because int might match the return type of a gcc2
17961 builtin and then its argument prototype would still apply. */
17962 char $ac_func ();
17963 /* The GNU C library defines this for functions which it implements
17964 to always fail with ENOSYS. Some functions are actually named
17965 something starting with __ and the normal name is an alias. */
17966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17967 choke me
17968 #else
17969 char (*f) () = $ac_func;
17970 #endif
17971 #ifdef __cplusplus
17973 #endif
17976 main ()
17978 return f != $ac_func;
17980 return 0;
17982 _ACEOF
17983 rm -f conftest.$ac_objext conftest$ac_exeext
17984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17985 (eval $ac_link) 2>conftest.er1
17986 ac_status=$?
17987 grep -v '^ *+' conftest.er1 >conftest.err
17988 rm -f conftest.er1
17989 cat conftest.err >&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); } &&
17992 { ac_try='test -z "$ac_c_werror_flag"
17993 || test ! -s conftest.err'
17994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17995 (eval $ac_try) 2>&5
17996 ac_status=$?
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); }; } &&
17999 { ac_try='test -s conftest$ac_exeext'
18000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18001 (eval $ac_try) 2>&5
18002 ac_status=$?
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); }; }; then
18005 eval "$as_ac_var=yes"
18006 else
18007 echo "$as_me: failed program was:" >&5
18008 sed 's/^/| /' conftest.$ac_ext >&5
18010 eval "$as_ac_var=no"
18012 rm -f conftest.err conftest.$ac_objext \
18013 conftest$ac_exeext conftest.$ac_ext
18015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18017 if test `eval echo '${'$as_ac_var'}'` = yes; then
18018 cat >>confdefs.h <<_ACEOF
18019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18020 _ACEOF
18023 done
18029 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18030 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18031 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18032 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18034 else
18038 ac_ext=cc
18039 ac_cpp='$CXXCPP $CPPFLAGS'
18040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18044 cat >conftest.$ac_ext <<_ACEOF
18045 /* confdefs.h. */
18046 _ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050 #include <math.h>
18051 #ifdef HAVE_IEEEFP_H
18052 #include <ieeefp.h>
18053 #endif
18056 main ()
18058 isnanl(0);
18060 return 0;
18062 _ACEOF
18063 rm -f conftest.$ac_objext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18065 (eval $ac_compile) 2>conftest.er1
18066 ac_status=$?
18067 grep -v '^ *+' conftest.er1 >conftest.err
18068 rm -f conftest.er1
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -z "$ac_cxx_werror_flag"
18073 || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try='test -s conftest.$ac_objext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 glibcxx_cv_func_isnanl_use=yes
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18090 glibcxx_cv_func_isnanl_use=no
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18093 ac_ext=c
18094 ac_cpp='$CPP $CPPFLAGS'
18095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18104 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18106 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18108 for ac_func in isnanl
18110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18111 echo "$as_me:$LINENO: checking for $ac_func" >&5
18112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18113 if eval "test \"\${$as_ac_var+set}\" = set"; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 else
18116 if test x$gcc_no_link = xyes; then
18117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18119 { (exit 1); exit 1; }; }
18121 cat >conftest.$ac_ext <<_ACEOF
18122 /* confdefs.h. */
18123 _ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18129 #define $ac_func innocuous_$ac_func
18131 /* System header to define __stub macros and hopefully few prototypes,
18132 which can conflict with char $ac_func (); below.
18133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18134 <limits.h> exists even on freestanding compilers. */
18136 #ifdef __STDC__
18137 # include <limits.h>
18138 #else
18139 # include <assert.h>
18140 #endif
18142 #undef $ac_func
18144 /* Override any gcc2 internal prototype to avoid an error. */
18145 #ifdef __cplusplus
18146 extern "C"
18148 #endif
18149 /* We use char because int might match the return type of a gcc2
18150 builtin and then its argument prototype would still apply. */
18151 char $ac_func ();
18152 /* The GNU C library defines this for functions which it implements
18153 to always fail with ENOSYS. Some functions are actually named
18154 something starting with __ and the normal name is an alias. */
18155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18156 choke me
18157 #else
18158 char (*f) () = $ac_func;
18159 #endif
18160 #ifdef __cplusplus
18162 #endif
18165 main ()
18167 return f != $ac_func;
18169 return 0;
18171 _ACEOF
18172 rm -f conftest.$ac_objext conftest$ac_exeext
18173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174 (eval $ac_link) 2>conftest.er1
18175 ac_status=$?
18176 grep -v '^ *+' conftest.er1 >conftest.err
18177 rm -f conftest.er1
18178 cat conftest.err >&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); } &&
18181 { ac_try='test -z "$ac_c_werror_flag"
18182 || test ! -s conftest.err'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; } &&
18188 { ac_try='test -s conftest$ac_exeext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18191 ac_status=$?
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18194 eval "$as_ac_var=yes"
18195 else
18196 echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.$ac_ext >&5
18199 eval "$as_ac_var=no"
18201 rm -f conftest.err conftest.$ac_objext \
18202 conftest$ac_exeext conftest.$ac_ext
18204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18206 if test `eval echo '${'$as_ac_var'}'` = yes; then
18207 cat >>confdefs.h <<_ACEOF
18208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18209 _ACEOF
18212 done
18214 else
18216 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18217 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18218 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18219 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18221 else
18225 ac_ext=cc
18226 ac_cpp='$CXXCPP $CPPFLAGS'
18227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18231 cat >conftest.$ac_ext <<_ACEOF
18232 /* confdefs.h. */
18233 _ACEOF
18234 cat confdefs.h >>conftest.$ac_ext
18235 cat >>conftest.$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18237 #include <math.h>
18238 #ifdef HAVE_IEEEFP_H
18239 #include <ieeefp.h>
18240 #endif
18243 main ()
18245 _isnanl(0);
18247 return 0;
18249 _ACEOF
18250 rm -f conftest.$ac_objext
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>conftest.er1
18253 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } &&
18259 { ac_try='test -z "$ac_cxx_werror_flag"
18260 || test ! -s conftest.err'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18263 ac_status=$?
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; } &&
18266 { ac_try='test -s conftest.$ac_objext'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18269 ac_status=$?
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; }; then
18272 glibcxx_cv_func__isnanl_use=yes
18273 else
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18277 glibcxx_cv_func__isnanl_use=no
18279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18280 ac_ext=c
18281 ac_cpp='$CPP $CPPFLAGS'
18282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18291 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18293 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18295 for ac_func in _isnanl
18297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18298 echo "$as_me:$LINENO: checking for $ac_func" >&5
18299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18300 if eval "test \"\${$as_ac_var+set}\" = set"; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 else
18303 if test x$gcc_no_link = xyes; then
18304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18306 { (exit 1); exit 1; }; }
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18316 #define $ac_func innocuous_$ac_func
18318 /* System header to define __stub macros and hopefully few prototypes,
18319 which can conflict with char $ac_func (); below.
18320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18321 <limits.h> exists even on freestanding compilers. */
18323 #ifdef __STDC__
18324 # include <limits.h>
18325 #else
18326 # include <assert.h>
18327 #endif
18329 #undef $ac_func
18331 /* Override any gcc2 internal prototype to avoid an error. */
18332 #ifdef __cplusplus
18333 extern "C"
18335 #endif
18336 /* We use char because int might match the return type of a gcc2
18337 builtin and then its argument prototype would still apply. */
18338 char $ac_func ();
18339 /* The GNU C library defines this for functions which it implements
18340 to always fail with ENOSYS. Some functions are actually named
18341 something starting with __ and the normal name is an alias. */
18342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18343 choke me
18344 #else
18345 char (*f) () = $ac_func;
18346 #endif
18347 #ifdef __cplusplus
18349 #endif
18352 main ()
18354 return f != $ac_func;
18356 return 0;
18358 _ACEOF
18359 rm -f conftest.$ac_objext conftest$ac_exeext
18360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18361 (eval $ac_link) 2>conftest.er1
18362 ac_status=$?
18363 grep -v '^ *+' conftest.er1 >conftest.err
18364 rm -f conftest.er1
18365 cat conftest.err >&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } &&
18368 { ac_try='test -z "$ac_c_werror_flag"
18369 || test ! -s conftest.err'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; } &&
18375 { ac_try='test -s conftest$ac_exeext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18378 ac_status=$?
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 eval "$as_ac_var=yes"
18382 else
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18386 eval "$as_ac_var=no"
18388 rm -f conftest.err conftest.$ac_objext \
18389 conftest$ac_exeext conftest.$ac_ext
18391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18393 if test `eval echo '${'$as_ac_var'}'` = yes; then
18394 cat >>confdefs.h <<_ACEOF
18395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18396 _ACEOF
18399 done
18406 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18407 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18408 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18409 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 else
18415 ac_ext=cc
18416 ac_cpp='$CXXCPP $CPPFLAGS'
18417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18421 cat >conftest.$ac_ext <<_ACEOF
18422 /* confdefs.h. */
18423 _ACEOF
18424 cat confdefs.h >>conftest.$ac_ext
18425 cat >>conftest.$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 #include <math.h>
18428 #ifdef HAVE_IEEEFP_H
18429 #include <ieeefp.h>
18430 #endif
18433 main ()
18435 isinfl(0);
18437 return 0;
18439 _ACEOF
18440 rm -f conftest.$ac_objext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18442 (eval $ac_compile) 2>conftest.er1
18443 ac_status=$?
18444 grep -v '^ *+' conftest.er1 >conftest.err
18445 rm -f conftest.er1
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } &&
18449 { ac_try='test -z "$ac_cxx_werror_flag"
18450 || test ! -s conftest.err'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18453 ac_status=$?
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; } &&
18456 { ac_try='test -s conftest.$ac_objext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18459 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 glibcxx_cv_func_isinfl_use=yes
18463 else
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18467 glibcxx_cv_func_isinfl_use=no
18469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18470 ac_ext=c
18471 ac_cpp='$CPP $CPPFLAGS'
18472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18481 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18483 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18485 for ac_func in isinfl
18487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18488 echo "$as_me:$LINENO: checking for $ac_func" >&5
18489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18490 if eval "test \"\${$as_ac_var+set}\" = set"; then
18491 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 else
18493 if test x$gcc_no_link = xyes; then
18494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18496 { (exit 1); exit 1; }; }
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18506 #define $ac_func innocuous_$ac_func
18508 /* System header to define __stub macros and hopefully few prototypes,
18509 which can conflict with char $ac_func (); below.
18510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18511 <limits.h> exists even on freestanding compilers. */
18513 #ifdef __STDC__
18514 # include <limits.h>
18515 #else
18516 # include <assert.h>
18517 #endif
18519 #undef $ac_func
18521 /* Override any gcc2 internal prototype to avoid an error. */
18522 #ifdef __cplusplus
18523 extern "C"
18525 #endif
18526 /* We use char because int might match the return type of a gcc2
18527 builtin and then its argument prototype would still apply. */
18528 char $ac_func ();
18529 /* The GNU C library defines this for functions which it implements
18530 to always fail with ENOSYS. Some functions are actually named
18531 something starting with __ and the normal name is an alias. */
18532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18533 choke me
18534 #else
18535 char (*f) () = $ac_func;
18536 #endif
18537 #ifdef __cplusplus
18539 #endif
18542 main ()
18544 return f != $ac_func;
18546 return 0;
18548 _ACEOF
18549 rm -f conftest.$ac_objext conftest$ac_exeext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18551 (eval $ac_link) 2>conftest.er1
18552 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1
18555 cat conftest.err >&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } &&
18558 { ac_try='test -z "$ac_c_werror_flag"
18559 || test ! -s conftest.err'
18560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18561 (eval $ac_try) 2>&5
18562 ac_status=$?
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); }; } &&
18565 { ac_try='test -s conftest$ac_exeext'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; }; then
18571 eval "$as_ac_var=yes"
18572 else
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.$ac_ext >&5
18576 eval "$as_ac_var=no"
18578 rm -f conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18583 if test `eval echo '${'$as_ac_var'}'` = yes; then
18584 cat >>confdefs.h <<_ACEOF
18585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18586 _ACEOF
18589 done
18591 else
18593 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18594 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18595 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18596 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18602 ac_ext=cc
18603 ac_cpp='$CXXCPP $CPPFLAGS'
18604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18608 cat >conftest.$ac_ext <<_ACEOF
18609 /* confdefs.h. */
18610 _ACEOF
18611 cat confdefs.h >>conftest.$ac_ext
18612 cat >>conftest.$ac_ext <<_ACEOF
18613 /* end confdefs.h. */
18614 #include <math.h>
18615 #ifdef HAVE_IEEEFP_H
18616 #include <ieeefp.h>
18617 #endif
18620 main ()
18622 _isinfl(0);
18624 return 0;
18626 _ACEOF
18627 rm -f conftest.$ac_objext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18629 (eval $ac_compile) 2>conftest.er1
18630 ac_status=$?
18631 grep -v '^ *+' conftest.er1 >conftest.err
18632 rm -f conftest.er1
18633 cat conftest.err >&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try='test -z "$ac_cxx_werror_flag"
18637 || test ! -s conftest.err'
18638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18639 (eval $ac_try) 2>&5
18640 ac_status=$?
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; } &&
18643 { ac_try='test -s conftest.$ac_objext'
18644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18645 (eval $ac_try) 2>&5
18646 ac_status=$?
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); }; }; then
18649 glibcxx_cv_func__isinfl_use=yes
18650 else
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18654 glibcxx_cv_func__isinfl_use=no
18656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18657 ac_ext=c
18658 ac_cpp='$CPP $CPPFLAGS'
18659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18667 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18668 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18670 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18672 for ac_func in _isinfl
18674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18675 echo "$as_me:$LINENO: checking for $ac_func" >&5
18676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18677 if eval "test \"\${$as_ac_var+set}\" = set"; then
18678 echo $ECHO_N "(cached) $ECHO_C" >&6
18679 else
18680 if test x$gcc_no_link = xyes; then
18681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18683 { (exit 1); exit 1; }; }
18685 cat >conftest.$ac_ext <<_ACEOF
18686 /* confdefs.h. */
18687 _ACEOF
18688 cat confdefs.h >>conftest.$ac_ext
18689 cat >>conftest.$ac_ext <<_ACEOF
18690 /* end confdefs.h. */
18691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18693 #define $ac_func innocuous_$ac_func
18695 /* System header to define __stub macros and hopefully few prototypes,
18696 which can conflict with char $ac_func (); below.
18697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18698 <limits.h> exists even on freestanding compilers. */
18700 #ifdef __STDC__
18701 # include <limits.h>
18702 #else
18703 # include <assert.h>
18704 #endif
18706 #undef $ac_func
18708 /* Override any gcc2 internal prototype to avoid an error. */
18709 #ifdef __cplusplus
18710 extern "C"
18712 #endif
18713 /* We use char because int might match the return type of a gcc2
18714 builtin and then its argument prototype would still apply. */
18715 char $ac_func ();
18716 /* The GNU C library defines this for functions which it implements
18717 to always fail with ENOSYS. Some functions are actually named
18718 something starting with __ and the normal name is an alias. */
18719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18720 choke me
18721 #else
18722 char (*f) () = $ac_func;
18723 #endif
18724 #ifdef __cplusplus
18726 #endif
18729 main ()
18731 return f != $ac_func;
18733 return 0;
18735 _ACEOF
18736 rm -f conftest.$ac_objext conftest$ac_exeext
18737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18738 (eval $ac_link) 2>conftest.er1
18739 ac_status=$?
18740 grep -v '^ *+' conftest.er1 >conftest.err
18741 rm -f conftest.er1
18742 cat conftest.err >&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } &&
18745 { ac_try='test -z "$ac_c_werror_flag"
18746 || test ! -s conftest.err'
18747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748 (eval $ac_try) 2>&5
18749 ac_status=$?
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); }; } &&
18752 { ac_try='test -s conftest$ac_exeext'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18755 ac_status=$?
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; }; then
18758 eval "$as_ac_var=yes"
18759 else
18760 echo "$as_me: failed program was:" >&5
18761 sed 's/^/| /' conftest.$ac_ext >&5
18763 eval "$as_ac_var=no"
18765 rm -f conftest.err conftest.$ac_objext \
18766 conftest$ac_exeext conftest.$ac_ext
18768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18770 if test `eval echo '${'$as_ac_var'}'` = yes; then
18771 cat >>confdefs.h <<_ACEOF
18772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18773 _ACEOF
18776 done
18783 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18784 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18785 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18786 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 else
18792 ac_ext=cc
18793 ac_cpp='$CXXCPP $CPPFLAGS'
18794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18798 cat >conftest.$ac_ext <<_ACEOF
18799 /* confdefs.h. */
18800 _ACEOF
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 #include <math.h>
18806 main ()
18808 copysignl(0, 0);
18810 return 0;
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18815 (eval $ac_compile) 2>conftest.er1
18816 ac_status=$?
18817 grep -v '^ *+' conftest.er1 >conftest.err
18818 rm -f conftest.er1
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } &&
18822 { ac_try='test -z "$ac_cxx_werror_flag"
18823 || test ! -s conftest.err'
18824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18825 (eval $ac_try) 2>&5
18826 ac_status=$?
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); }; } &&
18829 { ac_try='test -s conftest.$ac_objext'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; }; then
18835 glibcxx_cv_func_copysignl_use=yes
18836 else
18837 echo "$as_me: failed program was:" >&5
18838 sed 's/^/| /' conftest.$ac_ext >&5
18840 glibcxx_cv_func_copysignl_use=no
18842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18843 ac_ext=c
18844 ac_cpp='$CPP $CPPFLAGS'
18845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18854 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18856 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18858 for ac_func in copysignl
18860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18861 echo "$as_me:$LINENO: checking for $ac_func" >&5
18862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18863 if eval "test \"\${$as_ac_var+set}\" = set"; then
18864 echo $ECHO_N "(cached) $ECHO_C" >&6
18865 else
18866 if test x$gcc_no_link = xyes; then
18867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18869 { (exit 1); exit 1; }; }
18871 cat >conftest.$ac_ext <<_ACEOF
18872 /* confdefs.h. */
18873 _ACEOF
18874 cat confdefs.h >>conftest.$ac_ext
18875 cat >>conftest.$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18879 #define $ac_func innocuous_$ac_func
18881 /* System header to define __stub macros and hopefully few prototypes,
18882 which can conflict with char $ac_func (); below.
18883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18884 <limits.h> exists even on freestanding compilers. */
18886 #ifdef __STDC__
18887 # include <limits.h>
18888 #else
18889 # include <assert.h>
18890 #endif
18892 #undef $ac_func
18894 /* Override any gcc2 internal prototype to avoid an error. */
18895 #ifdef __cplusplus
18896 extern "C"
18898 #endif
18899 /* We use char because int might match the return type of a gcc2
18900 builtin and then its argument prototype would still apply. */
18901 char $ac_func ();
18902 /* The GNU C library defines this for functions which it implements
18903 to always fail with ENOSYS. Some functions are actually named
18904 something starting with __ and the normal name is an alias. */
18905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18906 choke me
18907 #else
18908 char (*f) () = $ac_func;
18909 #endif
18910 #ifdef __cplusplus
18912 #endif
18915 main ()
18917 return f != $ac_func;
18919 return 0;
18921 _ACEOF
18922 rm -f conftest.$ac_objext conftest$ac_exeext
18923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18924 (eval $ac_link) 2>conftest.er1
18925 ac_status=$?
18926 grep -v '^ *+' conftest.er1 >conftest.err
18927 rm -f conftest.er1
18928 cat conftest.err >&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); } &&
18931 { ac_try='test -z "$ac_c_werror_flag"
18932 || test ! -s conftest.err'
18933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18934 (eval $ac_try) 2>&5
18935 ac_status=$?
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); }; } &&
18938 { ac_try='test -s conftest$ac_exeext'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18941 ac_status=$?
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; }; then
18944 eval "$as_ac_var=yes"
18945 else
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.$ac_ext >&5
18949 eval "$as_ac_var=no"
18951 rm -f conftest.err conftest.$ac_objext \
18952 conftest$ac_exeext conftest.$ac_ext
18954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18956 if test `eval echo '${'$as_ac_var'}'` = yes; then
18957 cat >>confdefs.h <<_ACEOF
18958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18959 _ACEOF
18962 done
18964 else
18966 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18967 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18968 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18969 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18970 echo $ECHO_N "(cached) $ECHO_C" >&6
18971 else
18975 ac_ext=cc
18976 ac_cpp='$CXXCPP $CPPFLAGS'
18977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h. */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #include <math.h>
18989 main ()
18991 _copysignl(0, 0);
18993 return 0;
18995 _ACEOF
18996 rm -f conftest.$ac_objext
18997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18998 (eval $ac_compile) 2>conftest.er1
18999 ac_status=$?
19000 grep -v '^ *+' conftest.er1 >conftest.err
19001 rm -f conftest.er1
19002 cat conftest.err >&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try='test -z "$ac_cxx_werror_flag"
19006 || test ! -s conftest.err'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19009 ac_status=$?
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; } &&
19012 { ac_try='test -s conftest.$ac_objext'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19015 ac_status=$?
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; }; then
19018 glibcxx_cv_func__copysignl_use=yes
19019 else
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 glibcxx_cv_func__copysignl_use=no
19025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19026 ac_ext=c
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19037 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19039 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19041 for ac_func in _copysignl
19043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19044 echo "$as_me:$LINENO: checking for $ac_func" >&5
19045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19046 if eval "test \"\${$as_ac_var+set}\" = set"; then
19047 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 else
19049 if test x$gcc_no_link = xyes; then
19050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19052 { (exit 1); exit 1; }; }
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19062 #define $ac_func innocuous_$ac_func
19064 /* System header to define __stub macros and hopefully few prototypes,
19065 which can conflict with char $ac_func (); below.
19066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19067 <limits.h> exists even on freestanding compilers. */
19069 #ifdef __STDC__
19070 # include <limits.h>
19071 #else
19072 # include <assert.h>
19073 #endif
19075 #undef $ac_func
19077 /* Override any gcc2 internal prototype to avoid an error. */
19078 #ifdef __cplusplus
19079 extern "C"
19081 #endif
19082 /* We use char because int might match the return type of a gcc2
19083 builtin and then its argument prototype would still apply. */
19084 char $ac_func ();
19085 /* The GNU C library defines this for functions which it implements
19086 to always fail with ENOSYS. Some functions are actually named
19087 something starting with __ and the normal name is an alias. */
19088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19089 choke me
19090 #else
19091 char (*f) () = $ac_func;
19092 #endif
19093 #ifdef __cplusplus
19095 #endif
19098 main ()
19100 return f != $ac_func;
19102 return 0;
19104 _ACEOF
19105 rm -f conftest.$ac_objext conftest$ac_exeext
19106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19107 (eval $ac_link) 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } &&
19114 { ac_try='test -z "$ac_c_werror_flag"
19115 || test ! -s conftest.err'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19118 ac_status=$?
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; } &&
19121 { ac_try='test -s conftest$ac_exeext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19124 ac_status=$?
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 eval "$as_ac_var=yes"
19128 else
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19132 eval "$as_ac_var=no"
19134 rm -f conftest.err conftest.$ac_objext \
19135 conftest$ac_exeext conftest.$ac_ext
19137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19139 if test `eval echo '${'$as_ac_var'}'` = yes; then
19140 cat >>confdefs.h <<_ACEOF
19141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19142 _ACEOF
19145 done
19152 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19153 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19154 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19155 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19161 ac_ext=cc
19162 ac_cpp='$CXXCPP $CPPFLAGS'
19163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19167 cat >conftest.$ac_ext <<_ACEOF
19168 /* confdefs.h. */
19169 _ACEOF
19170 cat confdefs.h >>conftest.$ac_ext
19171 cat >>conftest.$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19173 #include <math.h>
19175 main ()
19177 atan2l(0, 0);
19179 return 0;
19181 _ACEOF
19182 rm -f conftest.$ac_objext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184 (eval $ac_compile) 2>conftest.er1
19185 ac_status=$?
19186 grep -v '^ *+' conftest.er1 >conftest.err
19187 rm -f conftest.er1
19188 cat conftest.err >&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try='test -z "$ac_cxx_werror_flag"
19192 || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19195 ac_status=$?
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 glibcxx_cv_func_atan2l_use=yes
19205 else
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19209 glibcxx_cv_func_atan2l_use=no
19211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19212 ac_ext=c
19213 ac_cpp='$CPP $CPPFLAGS'
19214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19223 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19225 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19227 for ac_func in atan2l
19229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19230 echo "$as_me:$LINENO: checking for $ac_func" >&5
19231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19232 if eval "test \"\${$as_ac_var+set}\" = set"; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 else
19235 if test x$gcc_no_link = xyes; then
19236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19238 { (exit 1); exit 1; }; }
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19248 #define $ac_func innocuous_$ac_func
19250 /* System header to define __stub macros and hopefully few prototypes,
19251 which can conflict with char $ac_func (); below.
19252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19253 <limits.h> exists even on freestanding compilers. */
19255 #ifdef __STDC__
19256 # include <limits.h>
19257 #else
19258 # include <assert.h>
19259 #endif
19261 #undef $ac_func
19263 /* Override any gcc2 internal prototype to avoid an error. */
19264 #ifdef __cplusplus
19265 extern "C"
19267 #endif
19268 /* We use char because int might match the return type of a gcc2
19269 builtin and then its argument prototype would still apply. */
19270 char $ac_func ();
19271 /* The GNU C library defines this for functions which it implements
19272 to always fail with ENOSYS. Some functions are actually named
19273 something starting with __ and the normal name is an alias. */
19274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19275 choke me
19276 #else
19277 char (*f) () = $ac_func;
19278 #endif
19279 #ifdef __cplusplus
19281 #endif
19284 main ()
19286 return f != $ac_func;
19288 return 0;
19290 _ACEOF
19291 rm -f conftest.$ac_objext conftest$ac_exeext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19293 (eval $ac_link) 2>conftest.er1
19294 ac_status=$?
19295 grep -v '^ *+' conftest.er1 >conftest.err
19296 rm -f conftest.er1
19297 cat conftest.err >&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try='test -z "$ac_c_werror_flag"
19301 || test ! -s conftest.err'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19304 ac_status=$?
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; } &&
19307 { ac_try='test -s conftest$ac_exeext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19310 ac_status=$?
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19313 eval "$as_ac_var=yes"
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19318 eval "$as_ac_var=no"
19320 rm -f conftest.err conftest.$ac_objext \
19321 conftest$ac_exeext conftest.$ac_ext
19323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19325 if test `eval echo '${'$as_ac_var'}'` = yes; then
19326 cat >>confdefs.h <<_ACEOF
19327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19328 _ACEOF
19331 done
19333 else
19335 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19336 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19337 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19338 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 else
19344 ac_ext=cc
19345 ac_cpp='$CXXCPP $CPPFLAGS'
19346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 #include <math.h>
19358 main ()
19360 _atan2l(0, 0);
19362 return 0;
19364 _ACEOF
19365 rm -f conftest.$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>conftest.er1
19368 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } &&
19374 { ac_try='test -z "$ac_cxx_werror_flag"
19375 || test ! -s conftest.err'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; } &&
19381 { ac_try='test -s conftest.$ac_objext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 glibcxx_cv_func__atan2l_use=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 glibcxx_cv_func__atan2l_use=no
19394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19395 ac_ext=c
19396 ac_cpp='$CPP $CPPFLAGS'
19397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19405 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19406 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19408 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19410 for ac_func in _atan2l
19412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19413 echo "$as_me:$LINENO: checking for $ac_func" >&5
19414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19415 if eval "test \"\${$as_ac_var+set}\" = set"; then
19416 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 else
19418 if test x$gcc_no_link = xyes; then
19419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19421 { (exit 1); exit 1; }; }
19423 cat >conftest.$ac_ext <<_ACEOF
19424 /* confdefs.h. */
19425 _ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19431 #define $ac_func innocuous_$ac_func
19433 /* System header to define __stub macros and hopefully few prototypes,
19434 which can conflict with char $ac_func (); below.
19435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19436 <limits.h> exists even on freestanding compilers. */
19438 #ifdef __STDC__
19439 # include <limits.h>
19440 #else
19441 # include <assert.h>
19442 #endif
19444 #undef $ac_func
19446 /* Override any gcc2 internal prototype to avoid an error. */
19447 #ifdef __cplusplus
19448 extern "C"
19450 #endif
19451 /* We use char because int might match the return type of a gcc2
19452 builtin and then its argument prototype would still apply. */
19453 char $ac_func ();
19454 /* The GNU C library defines this for functions which it implements
19455 to always fail with ENOSYS. Some functions are actually named
19456 something starting with __ and the normal name is an alias. */
19457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19458 choke me
19459 #else
19460 char (*f) () = $ac_func;
19461 #endif
19462 #ifdef __cplusplus
19464 #endif
19467 main ()
19469 return f != $ac_func;
19471 return 0;
19473 _ACEOF
19474 rm -f conftest.$ac_objext conftest$ac_exeext
19475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19476 (eval $ac_link) 2>conftest.er1
19477 ac_status=$?
19478 grep -v '^ *+' conftest.er1 >conftest.err
19479 rm -f conftest.er1
19480 cat conftest.err >&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try='test -z "$ac_c_werror_flag"
19484 || test ! -s conftest.err'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try='test -s conftest$ac_exeext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19493 ac_status=$?
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19496 eval "$as_ac_var=yes"
19497 else
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19501 eval "$as_ac_var=no"
19503 rm -f conftest.err conftest.$ac_objext \
19504 conftest$ac_exeext conftest.$ac_ext
19506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19508 if test `eval echo '${'$as_ac_var'}'` = yes; then
19509 cat >>confdefs.h <<_ACEOF
19510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19511 _ACEOF
19514 done
19521 echo "$as_me:$LINENO: checking for expl declaration" >&5
19522 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19523 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19524 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19525 echo $ECHO_N "(cached) $ECHO_C" >&6
19526 else
19530 ac_ext=cc
19531 ac_cpp='$CXXCPP $CPPFLAGS'
19532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19536 cat >conftest.$ac_ext <<_ACEOF
19537 /* confdefs.h. */
19538 _ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 #include <math.h>
19543 #ifdef HAVE_IEEEFP_H
19544 #include <ieeefp.h>
19545 #endif
19548 main ()
19550 expl(0);
19552 return 0;
19554 _ACEOF
19555 rm -f conftest.$ac_objext
19556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19557 (eval $ac_compile) 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } &&
19564 { ac_try='test -z "$ac_cxx_werror_flag"
19565 || test ! -s conftest.err'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19568 ac_status=$?
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; } &&
19571 { ac_try='test -s conftest.$ac_objext'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19574 ac_status=$?
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; }; then
19577 glibcxx_cv_func_expl_use=yes
19578 else
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19582 glibcxx_cv_func_expl_use=no
19584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19585 ac_ext=c
19586 ac_cpp='$CPP $CPPFLAGS'
19587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19596 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19598 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19600 for ac_func in expl
19602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19603 echo "$as_me:$LINENO: checking for $ac_func" >&5
19604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19605 if eval "test \"\${$as_ac_var+set}\" = set"; then
19606 echo $ECHO_N "(cached) $ECHO_C" >&6
19607 else
19608 if test x$gcc_no_link = xyes; then
19609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19611 { (exit 1); exit 1; }; }
19613 cat >conftest.$ac_ext <<_ACEOF
19614 /* confdefs.h. */
19615 _ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19621 #define $ac_func innocuous_$ac_func
19623 /* System header to define __stub macros and hopefully few prototypes,
19624 which can conflict with char $ac_func (); below.
19625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19626 <limits.h> exists even on freestanding compilers. */
19628 #ifdef __STDC__
19629 # include <limits.h>
19630 #else
19631 # include <assert.h>
19632 #endif
19634 #undef $ac_func
19636 /* Override any gcc2 internal prototype to avoid an error. */
19637 #ifdef __cplusplus
19638 extern "C"
19640 #endif
19641 /* We use char because int might match the return type of a gcc2
19642 builtin and then its argument prototype would still apply. */
19643 char $ac_func ();
19644 /* The GNU C library defines this for functions which it implements
19645 to always fail with ENOSYS. Some functions are actually named
19646 something starting with __ and the normal name is an alias. */
19647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19648 choke me
19649 #else
19650 char (*f) () = $ac_func;
19651 #endif
19652 #ifdef __cplusplus
19654 #endif
19657 main ()
19659 return f != $ac_func;
19661 return 0;
19663 _ACEOF
19664 rm -f conftest.$ac_objext conftest$ac_exeext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19666 (eval $ac_link) 2>conftest.er1
19667 ac_status=$?
19668 grep -v '^ *+' conftest.er1 >conftest.err
19669 rm -f conftest.er1
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try='test -z "$ac_c_werror_flag"
19674 || test ! -s conftest.err'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19677 ac_status=$?
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; } &&
19680 { ac_try='test -s conftest$ac_exeext'
19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 (eval $ac_try) 2>&5
19683 ac_status=$?
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); }; }; then
19686 eval "$as_ac_var=yes"
19687 else
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.$ac_ext >&5
19691 eval "$as_ac_var=no"
19693 rm -f conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19698 if test `eval echo '${'$as_ac_var'}'` = yes; then
19699 cat >>confdefs.h <<_ACEOF
19700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19701 _ACEOF
19704 done
19706 else
19708 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19709 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19710 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19711 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 else
19717 ac_ext=cc
19718 ac_cpp='$CXXCPP $CPPFLAGS'
19719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 #include <math.h>
19730 #ifdef HAVE_IEEEFP_H
19731 #include <ieeefp.h>
19732 #endif
19735 main ()
19737 _expl(0);
19739 return 0;
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19744 (eval $ac_compile) 2>conftest.er1
19745 ac_status=$?
19746 grep -v '^ *+' conftest.er1 >conftest.err
19747 rm -f conftest.er1
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } &&
19751 { ac_try='test -z "$ac_cxx_werror_flag"
19752 || test ! -s conftest.err'
19753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754 (eval $ac_try) 2>&5
19755 ac_status=$?
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); }; } &&
19758 { ac_try='test -s conftest.$ac_objext'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19761 ac_status=$?
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; }; then
19764 glibcxx_cv_func__expl_use=yes
19765 else
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 glibcxx_cv_func__expl_use=no
19771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19772 ac_ext=c
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19783 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19785 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19787 for ac_func in _expl
19789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19790 echo "$as_me:$LINENO: checking for $ac_func" >&5
19791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19792 if eval "test \"\${$as_ac_var+set}\" = set"; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 if test x$gcc_no_link = xyes; then
19796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19798 { (exit 1); exit 1; }; }
19800 cat >conftest.$ac_ext <<_ACEOF
19801 /* confdefs.h. */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19808 #define $ac_func innocuous_$ac_func
19810 /* System header to define __stub macros and hopefully few prototypes,
19811 which can conflict with char $ac_func (); below.
19812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19813 <limits.h> exists even on freestanding compilers. */
19815 #ifdef __STDC__
19816 # include <limits.h>
19817 #else
19818 # include <assert.h>
19819 #endif
19821 #undef $ac_func
19823 /* Override any gcc2 internal prototype to avoid an error. */
19824 #ifdef __cplusplus
19825 extern "C"
19827 #endif
19828 /* We use char because int might match the return type of a gcc2
19829 builtin and then its argument prototype would still apply. */
19830 char $ac_func ();
19831 /* The GNU C library defines this for functions which it implements
19832 to always fail with ENOSYS. Some functions are actually named
19833 something starting with __ and the normal name is an alias. */
19834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19835 choke me
19836 #else
19837 char (*f) () = $ac_func;
19838 #endif
19839 #ifdef __cplusplus
19841 #endif
19844 main ()
19846 return f != $ac_func;
19848 return 0;
19850 _ACEOF
19851 rm -f conftest.$ac_objext conftest$ac_exeext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19853 (eval $ac_link) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19864 ac_status=$?
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try='test -s conftest$ac_exeext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 eval "$as_ac_var=yes"
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 eval "$as_ac_var=no"
19880 rm -f conftest.err conftest.$ac_objext \
19881 conftest$ac_exeext conftest.$ac_ext
19883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19885 if test `eval echo '${'$as_ac_var'}'` = yes; then
19886 cat >>confdefs.h <<_ACEOF
19887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19888 _ACEOF
19891 done
19898 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19899 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19900 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19901 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 else
19907 ac_ext=cc
19908 ac_cpp='$CXXCPP $CPPFLAGS'
19909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19913 cat >conftest.$ac_ext <<_ACEOF
19914 /* confdefs.h. */
19915 _ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919 #include <math.h>
19920 #ifdef HAVE_IEEEFP_H
19921 #include <ieeefp.h>
19922 #endif
19925 main ()
19927 fabsl(0);
19929 return 0;
19931 _ACEOF
19932 rm -f conftest.$ac_objext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try='test -z "$ac_cxx_werror_flag"
19942 || test ! -s conftest.err'
19943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 (eval $ac_try) 2>&5
19945 ac_status=$?
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; } &&
19948 { ac_try='test -s conftest.$ac_objext'
19949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 (eval $ac_try) 2>&5
19951 ac_status=$?
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; }; then
19954 glibcxx_cv_func_fabsl_use=yes
19955 else
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19959 glibcxx_cv_func_fabsl_use=no
19961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19962 ac_ext=c
19963 ac_cpp='$CPP $CPPFLAGS'
19964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19973 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19975 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19977 for ac_func in fabsl
19979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19980 echo "$as_me:$LINENO: checking for $ac_func" >&5
19981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19982 if eval "test \"\${$as_ac_var+set}\" = set"; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 else
19985 if test x$gcc_no_link = xyes; then
19986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19988 { (exit 1); exit 1; }; }
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19998 #define $ac_func innocuous_$ac_func
20000 /* System header to define __stub macros and hopefully few prototypes,
20001 which can conflict with char $ac_func (); below.
20002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20003 <limits.h> exists even on freestanding compilers. */
20005 #ifdef __STDC__
20006 # include <limits.h>
20007 #else
20008 # include <assert.h>
20009 #endif
20011 #undef $ac_func
20013 /* Override any gcc2 internal prototype to avoid an error. */
20014 #ifdef __cplusplus
20015 extern "C"
20017 #endif
20018 /* We use char because int might match the return type of a gcc2
20019 builtin and then its argument prototype would still apply. */
20020 char $ac_func ();
20021 /* The GNU C library defines this for functions which it implements
20022 to always fail with ENOSYS. Some functions are actually named
20023 something starting with __ and the normal name is an alias. */
20024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20025 choke me
20026 #else
20027 char (*f) () = $ac_func;
20028 #endif
20029 #ifdef __cplusplus
20031 #endif
20034 main ()
20036 return f != $ac_func;
20038 return 0;
20040 _ACEOF
20041 rm -f conftest.$ac_objext conftest$ac_exeext
20042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20043 (eval $ac_link) 2>conftest.er1
20044 ac_status=$?
20045 grep -v '^ *+' conftest.er1 >conftest.err
20046 rm -f conftest.er1
20047 cat conftest.err >&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } &&
20050 { ac_try='test -z "$ac_c_werror_flag"
20051 || test ! -s conftest.err'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20054 ac_status=$?
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; } &&
20057 { ac_try='test -s conftest$ac_exeext'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20060 ac_status=$?
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; }; then
20063 eval "$as_ac_var=yes"
20064 else
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20068 eval "$as_ac_var=no"
20070 rm -f conftest.err conftest.$ac_objext \
20071 conftest$ac_exeext conftest.$ac_ext
20073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20075 if test `eval echo '${'$as_ac_var'}'` = yes; then
20076 cat >>confdefs.h <<_ACEOF
20077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20078 _ACEOF
20081 done
20083 else
20085 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20086 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20087 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20088 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20090 else
20094 ac_ext=cc
20095 ac_cpp='$CXXCPP $CPPFLAGS'
20096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20100 cat >conftest.$ac_ext <<_ACEOF
20101 /* confdefs.h. */
20102 _ACEOF
20103 cat confdefs.h >>conftest.$ac_ext
20104 cat >>conftest.$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20106 #include <math.h>
20107 #ifdef HAVE_IEEEFP_H
20108 #include <ieeefp.h>
20109 #endif
20112 main ()
20114 _fabsl(0);
20116 return 0;
20118 _ACEOF
20119 rm -f conftest.$ac_objext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20121 (eval $ac_compile) 2>conftest.er1
20122 ac_status=$?
20123 grep -v '^ *+' conftest.er1 >conftest.err
20124 rm -f conftest.er1
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } &&
20128 { ac_try='test -z "$ac_cxx_werror_flag"
20129 || test ! -s conftest.err'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; } &&
20135 { ac_try='test -s conftest.$ac_objext'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20138 ac_status=$?
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; }; then
20141 glibcxx_cv_func__fabsl_use=yes
20142 else
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20146 glibcxx_cv_func__fabsl_use=no
20148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20149 ac_ext=c
20150 ac_cpp='$CPP $CPPFLAGS'
20151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20160 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20162 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20164 for ac_func in _fabsl
20166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20167 echo "$as_me:$LINENO: checking for $ac_func" >&5
20168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20169 if eval "test \"\${$as_ac_var+set}\" = set"; then
20170 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 else
20172 if test x$gcc_no_link = xyes; then
20173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20175 { (exit 1); exit 1; }; }
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20185 #define $ac_func innocuous_$ac_func
20187 /* System header to define __stub macros and hopefully few prototypes,
20188 which can conflict with char $ac_func (); below.
20189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20190 <limits.h> exists even on freestanding compilers. */
20192 #ifdef __STDC__
20193 # include <limits.h>
20194 #else
20195 # include <assert.h>
20196 #endif
20198 #undef $ac_func
20200 /* Override any gcc2 internal prototype to avoid an error. */
20201 #ifdef __cplusplus
20202 extern "C"
20204 #endif
20205 /* We use char because int might match the return type of a gcc2
20206 builtin and then its argument prototype would still apply. */
20207 char $ac_func ();
20208 /* The GNU C library defines this for functions which it implements
20209 to always fail with ENOSYS. Some functions are actually named
20210 something starting with __ and the normal name is an alias. */
20211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20212 choke me
20213 #else
20214 char (*f) () = $ac_func;
20215 #endif
20216 #ifdef __cplusplus
20218 #endif
20221 main ()
20223 return f != $ac_func;
20225 return 0;
20227 _ACEOF
20228 rm -f conftest.$ac_objext conftest$ac_exeext
20229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20230 (eval $ac_link) 2>conftest.er1
20231 ac_status=$?
20232 grep -v '^ *+' conftest.er1 >conftest.err
20233 rm -f conftest.er1
20234 cat conftest.err >&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } &&
20237 { ac_try='test -z "$ac_c_werror_flag"
20238 || test ! -s conftest.err'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20241 ac_status=$?
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; } &&
20244 { ac_try='test -s conftest$ac_exeext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20247 ac_status=$?
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 eval "$as_ac_var=yes"
20251 else
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20255 eval "$as_ac_var=no"
20257 rm -f conftest.err conftest.$ac_objext \
20258 conftest$ac_exeext conftest.$ac_ext
20260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20262 if test `eval echo '${'$as_ac_var'}'` = yes; then
20263 cat >>confdefs.h <<_ACEOF
20264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20265 _ACEOF
20268 done
20275 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20276 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20277 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20278 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20279 echo $ECHO_N "(cached) $ECHO_C" >&6
20280 else
20284 ac_ext=cc
20285 ac_cpp='$CXXCPP $CPPFLAGS'
20286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20290 cat >conftest.$ac_ext <<_ACEOF
20291 /* confdefs.h. */
20292 _ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 #include <math.h>
20298 main ()
20300 fmodl(0, 0);
20302 return 0;
20304 _ACEOF
20305 rm -f conftest.$ac_objext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20307 (eval $ac_compile) 2>conftest.er1
20308 ac_status=$?
20309 grep -v '^ *+' conftest.er1 >conftest.err
20310 rm -f conftest.er1
20311 cat conftest.err >&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } &&
20314 { ac_try='test -z "$ac_cxx_werror_flag"
20315 || test ! -s conftest.err'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20318 ac_status=$?
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; } &&
20321 { ac_try='test -s conftest.$ac_objext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20324 ac_status=$?
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 glibcxx_cv_func_fmodl_use=yes
20328 else
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20332 glibcxx_cv_func_fmodl_use=no
20334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20335 ac_ext=c
20336 ac_cpp='$CPP $CPPFLAGS'
20337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20346 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20348 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20350 for ac_func in fmodl
20352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20353 echo "$as_me:$LINENO: checking for $ac_func" >&5
20354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20355 if eval "test \"\${$as_ac_var+set}\" = set"; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 else
20358 if test x$gcc_no_link = xyes; then
20359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20361 { (exit 1); exit 1; }; }
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20371 #define $ac_func innocuous_$ac_func
20373 /* System header to define __stub macros and hopefully few prototypes,
20374 which can conflict with char $ac_func (); below.
20375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20376 <limits.h> exists even on freestanding compilers. */
20378 #ifdef __STDC__
20379 # include <limits.h>
20380 #else
20381 # include <assert.h>
20382 #endif
20384 #undef $ac_func
20386 /* Override any gcc2 internal prototype to avoid an error. */
20387 #ifdef __cplusplus
20388 extern "C"
20390 #endif
20391 /* We use char because int might match the return type of a gcc2
20392 builtin and then its argument prototype would still apply. */
20393 char $ac_func ();
20394 /* The GNU C library defines this for functions which it implements
20395 to always fail with ENOSYS. Some functions are actually named
20396 something starting with __ and the normal name is an alias. */
20397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20398 choke me
20399 #else
20400 char (*f) () = $ac_func;
20401 #endif
20402 #ifdef __cplusplus
20404 #endif
20407 main ()
20409 return f != $ac_func;
20411 return 0;
20413 _ACEOF
20414 rm -f conftest.$ac_objext conftest$ac_exeext
20415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20416 (eval $ac_link) 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } &&
20423 { ac_try='test -z "$ac_c_werror_flag"
20424 || test ! -s conftest.err'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20427 ac_status=$?
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; } &&
20430 { ac_try='test -s conftest$ac_exeext'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20433 ac_status=$?
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; }; then
20436 eval "$as_ac_var=yes"
20437 else
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
20441 eval "$as_ac_var=no"
20443 rm -f conftest.err conftest.$ac_objext \
20444 conftest$ac_exeext conftest.$ac_ext
20446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20448 if test `eval echo '${'$as_ac_var'}'` = yes; then
20449 cat >>confdefs.h <<_ACEOF
20450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20451 _ACEOF
20454 done
20456 else
20458 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20459 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20460 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20461 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20462 echo $ECHO_N "(cached) $ECHO_C" >&6
20463 else
20467 ac_ext=cc
20468 ac_cpp='$CXXCPP $CPPFLAGS'
20469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20473 cat >conftest.$ac_ext <<_ACEOF
20474 /* confdefs.h. */
20475 _ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 #include <math.h>
20481 main ()
20483 _fmodl(0, 0);
20485 return 0;
20487 _ACEOF
20488 rm -f conftest.$ac_objext
20489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20490 (eval $ac_compile) 2>conftest.er1
20491 ac_status=$?
20492 grep -v '^ *+' conftest.er1 >conftest.err
20493 rm -f conftest.er1
20494 cat conftest.err >&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try='test -z "$ac_cxx_werror_flag"
20498 || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest.$ac_objext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20507 ac_status=$?
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 glibcxx_cv_func__fmodl_use=yes
20511 else
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 glibcxx_cv_func__fmodl_use=no
20517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20518 ac_ext=c
20519 ac_cpp='$CPP $CPPFLAGS'
20520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20528 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20529 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20531 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20533 for ac_func in _fmodl
20535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20536 echo "$as_me:$LINENO: checking for $ac_func" >&5
20537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20538 if eval "test \"\${$as_ac_var+set}\" = set"; then
20539 echo $ECHO_N "(cached) $ECHO_C" >&6
20540 else
20541 if test x$gcc_no_link = xyes; then
20542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20544 { (exit 1); exit 1; }; }
20546 cat >conftest.$ac_ext <<_ACEOF
20547 /* confdefs.h. */
20548 _ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20554 #define $ac_func innocuous_$ac_func
20556 /* System header to define __stub macros and hopefully few prototypes,
20557 which can conflict with char $ac_func (); below.
20558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20559 <limits.h> exists even on freestanding compilers. */
20561 #ifdef __STDC__
20562 # include <limits.h>
20563 #else
20564 # include <assert.h>
20565 #endif
20567 #undef $ac_func
20569 /* Override any gcc2 internal prototype to avoid an error. */
20570 #ifdef __cplusplus
20571 extern "C"
20573 #endif
20574 /* We use char because int might match the return type of a gcc2
20575 builtin and then its argument prototype would still apply. */
20576 char $ac_func ();
20577 /* The GNU C library defines this for functions which it implements
20578 to always fail with ENOSYS. Some functions are actually named
20579 something starting with __ and the normal name is an alias. */
20580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20581 choke me
20582 #else
20583 char (*f) () = $ac_func;
20584 #endif
20585 #ifdef __cplusplus
20587 #endif
20590 main ()
20592 return f != $ac_func;
20594 return 0;
20596 _ACEOF
20597 rm -f conftest.$ac_objext conftest$ac_exeext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20599 (eval $ac_link) 2>conftest.er1
20600 ac_status=$?
20601 grep -v '^ *+' conftest.er1 >conftest.err
20602 rm -f conftest.er1
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } &&
20606 { ac_try='test -z "$ac_c_werror_flag"
20607 || test ! -s conftest.err'
20608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609 (eval $ac_try) 2>&5
20610 ac_status=$?
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); }; } &&
20613 { ac_try='test -s conftest$ac_exeext'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20616 ac_status=$?
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; }; then
20619 eval "$as_ac_var=yes"
20620 else
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20624 eval "$as_ac_var=no"
20626 rm -f conftest.err conftest.$ac_objext \
20627 conftest$ac_exeext conftest.$ac_ext
20629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20631 if test `eval echo '${'$as_ac_var'}'` = yes; then
20632 cat >>confdefs.h <<_ACEOF
20633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20634 _ACEOF
20637 done
20644 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20645 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20646 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20647 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20648 echo $ECHO_N "(cached) $ECHO_C" >&6
20649 else
20653 ac_ext=cc
20654 ac_cpp='$CXXCPP $CPPFLAGS'
20655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 #include <math.h>
20667 main ()
20669 frexpl(0, 0);
20671 return 0;
20673 _ACEOF
20674 rm -f conftest.$ac_objext
20675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20676 (eval $ac_compile) 2>conftest.er1
20677 ac_status=$?
20678 grep -v '^ *+' conftest.er1 >conftest.err
20679 rm -f conftest.er1
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } &&
20683 { ac_try='test -z "$ac_cxx_werror_flag"
20684 || test ! -s conftest.err'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20687 ac_status=$?
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; } &&
20690 { ac_try='test -s conftest.$ac_objext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20693 ac_status=$?
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696 glibcxx_cv_func_frexpl_use=yes
20697 else
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20701 glibcxx_cv_func_frexpl_use=no
20703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20704 ac_ext=c
20705 ac_cpp='$CPP $CPPFLAGS'
20706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20715 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20717 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20719 for ac_func in frexpl
20721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20722 echo "$as_me:$LINENO: checking for $ac_func" >&5
20723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20724 if eval "test \"\${$as_ac_var+set}\" = set"; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 else
20727 if test x$gcc_no_link = xyes; then
20728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20730 { (exit 1); exit 1; }; }
20732 cat >conftest.$ac_ext <<_ACEOF
20733 /* confdefs.h. */
20734 _ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20740 #define $ac_func innocuous_$ac_func
20742 /* System header to define __stub macros and hopefully few prototypes,
20743 which can conflict with char $ac_func (); below.
20744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20745 <limits.h> exists even on freestanding compilers. */
20747 #ifdef __STDC__
20748 # include <limits.h>
20749 #else
20750 # include <assert.h>
20751 #endif
20753 #undef $ac_func
20755 /* Override any gcc2 internal prototype to avoid an error. */
20756 #ifdef __cplusplus
20757 extern "C"
20759 #endif
20760 /* We use char because int might match the return type of a gcc2
20761 builtin and then its argument prototype would still apply. */
20762 char $ac_func ();
20763 /* The GNU C library defines this for functions which it implements
20764 to always fail with ENOSYS. Some functions are actually named
20765 something starting with __ and the normal name is an alias. */
20766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20767 choke me
20768 #else
20769 char (*f) () = $ac_func;
20770 #endif
20771 #ifdef __cplusplus
20773 #endif
20776 main ()
20778 return f != $ac_func;
20780 return 0;
20782 _ACEOF
20783 rm -f conftest.$ac_objext conftest$ac_exeext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20785 (eval $ac_link) 2>conftest.er1
20786 ac_status=$?
20787 grep -v '^ *+' conftest.er1 >conftest.err
20788 rm -f conftest.er1
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try='test -z "$ac_c_werror_flag"
20793 || test ! -s conftest.err'
20794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795 (eval $ac_try) 2>&5
20796 ac_status=$?
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); }; } &&
20799 { ac_try='test -s conftest$ac_exeext'
20800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20801 (eval $ac_try) 2>&5
20802 ac_status=$?
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); }; }; then
20805 eval "$as_ac_var=yes"
20806 else
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20810 eval "$as_ac_var=no"
20812 rm -f conftest.err conftest.$ac_objext \
20813 conftest$ac_exeext conftest.$ac_ext
20815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20817 if test `eval echo '${'$as_ac_var'}'` = yes; then
20818 cat >>confdefs.h <<_ACEOF
20819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20820 _ACEOF
20823 done
20825 else
20827 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20828 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20829 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20830 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20831 echo $ECHO_N "(cached) $ECHO_C" >&6
20832 else
20836 ac_ext=cc
20837 ac_cpp='$CXXCPP $CPPFLAGS'
20838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 #include <math.h>
20850 main ()
20852 _frexpl(0, 0);
20854 return 0;
20856 _ACEOF
20857 rm -f conftest.$ac_objext
20858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20859 (eval $ac_compile) 2>conftest.er1
20860 ac_status=$?
20861 grep -v '^ *+' conftest.er1 >conftest.err
20862 rm -f conftest.er1
20863 cat conftest.err >&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } &&
20866 { ac_try='test -z "$ac_cxx_werror_flag"
20867 || test ! -s conftest.err'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; } &&
20873 { ac_try='test -s conftest.$ac_objext'
20874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20875 (eval $ac_try) 2>&5
20876 ac_status=$?
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; }; then
20879 glibcxx_cv_func__frexpl_use=yes
20880 else
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.$ac_ext >&5
20884 glibcxx_cv_func__frexpl_use=no
20886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20887 ac_ext=c
20888 ac_cpp='$CPP $CPPFLAGS'
20889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20898 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20900 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20902 for ac_func in _frexpl
20904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20905 echo "$as_me:$LINENO: checking for $ac_func" >&5
20906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20907 if eval "test \"\${$as_ac_var+set}\" = set"; then
20908 echo $ECHO_N "(cached) $ECHO_C" >&6
20909 else
20910 if test x$gcc_no_link = xyes; then
20911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20913 { (exit 1); exit 1; }; }
20915 cat >conftest.$ac_ext <<_ACEOF
20916 /* confdefs.h. */
20917 _ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20923 #define $ac_func innocuous_$ac_func
20925 /* System header to define __stub macros and hopefully few prototypes,
20926 which can conflict with char $ac_func (); below.
20927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20928 <limits.h> exists even on freestanding compilers. */
20930 #ifdef __STDC__
20931 # include <limits.h>
20932 #else
20933 # include <assert.h>
20934 #endif
20936 #undef $ac_func
20938 /* Override any gcc2 internal prototype to avoid an error. */
20939 #ifdef __cplusplus
20940 extern "C"
20942 #endif
20943 /* We use char because int might match the return type of a gcc2
20944 builtin and then its argument prototype would still apply. */
20945 char $ac_func ();
20946 /* The GNU C library defines this for functions which it implements
20947 to always fail with ENOSYS. Some functions are actually named
20948 something starting with __ and the normal name is an alias. */
20949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20950 choke me
20951 #else
20952 char (*f) () = $ac_func;
20953 #endif
20954 #ifdef __cplusplus
20956 #endif
20959 main ()
20961 return f != $ac_func;
20963 return 0;
20965 _ACEOF
20966 rm -f conftest.$ac_objext conftest$ac_exeext
20967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20968 (eval $ac_link) 2>conftest.er1
20969 ac_status=$?
20970 grep -v '^ *+' conftest.er1 >conftest.err
20971 rm -f conftest.er1
20972 cat conftest.err >&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } &&
20975 { ac_try='test -z "$ac_c_werror_flag"
20976 || test ! -s conftest.err'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20979 ac_status=$?
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; } &&
20982 { ac_try='test -s conftest$ac_exeext'
20983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984 (eval $ac_try) 2>&5
20985 ac_status=$?
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); }; }; then
20988 eval "$as_ac_var=yes"
20989 else
20990 echo "$as_me: failed program was:" >&5
20991 sed 's/^/| /' conftest.$ac_ext >&5
20993 eval "$as_ac_var=no"
20995 rm -f conftest.err conftest.$ac_objext \
20996 conftest$ac_exeext conftest.$ac_ext
20998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21000 if test `eval echo '${'$as_ac_var'}'` = yes; then
21001 cat >>confdefs.h <<_ACEOF
21002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21003 _ACEOF
21006 done
21013 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21014 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21015 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21016 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21018 else
21022 ac_ext=cc
21023 ac_cpp='$CXXCPP $CPPFLAGS'
21024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21028 cat >conftest.$ac_ext <<_ACEOF
21029 /* confdefs.h. */
21030 _ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 #include <math.h>
21036 main ()
21038 hypotl(0, 0);
21040 return 0;
21042 _ACEOF
21043 rm -f conftest.$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>conftest.er1
21046 ac_status=$?
21047 grep -v '^ *+' conftest.er1 >conftest.err
21048 rm -f conftest.er1
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } &&
21052 { ac_try='test -z "$ac_cxx_werror_flag"
21053 || test ! -s conftest.err'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21065 glibcxx_cv_func_hypotl_use=yes
21066 else
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21070 glibcxx_cv_func_hypotl_use=no
21072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21073 ac_ext=c
21074 ac_cpp='$CPP $CPPFLAGS'
21075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21084 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21086 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21088 for ac_func in hypotl
21090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21091 echo "$as_me:$LINENO: checking for $ac_func" >&5
21092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21093 if eval "test \"\${$as_ac_var+set}\" = set"; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21095 else
21096 if test x$gcc_no_link = xyes; then
21097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21099 { (exit 1); exit 1; }; }
21101 cat >conftest.$ac_ext <<_ACEOF
21102 /* confdefs.h. */
21103 _ACEOF
21104 cat confdefs.h >>conftest.$ac_ext
21105 cat >>conftest.$ac_ext <<_ACEOF
21106 /* end confdefs.h. */
21107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21109 #define $ac_func innocuous_$ac_func
21111 /* System header to define __stub macros and hopefully few prototypes,
21112 which can conflict with char $ac_func (); below.
21113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21114 <limits.h> exists even on freestanding compilers. */
21116 #ifdef __STDC__
21117 # include <limits.h>
21118 #else
21119 # include <assert.h>
21120 #endif
21122 #undef $ac_func
21124 /* Override any gcc2 internal prototype to avoid an error. */
21125 #ifdef __cplusplus
21126 extern "C"
21128 #endif
21129 /* We use char because int might match the return type of a gcc2
21130 builtin and then its argument prototype would still apply. */
21131 char $ac_func ();
21132 /* The GNU C library defines this for functions which it implements
21133 to always fail with ENOSYS. Some functions are actually named
21134 something starting with __ and the normal name is an alias. */
21135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21136 choke me
21137 #else
21138 char (*f) () = $ac_func;
21139 #endif
21140 #ifdef __cplusplus
21142 #endif
21145 main ()
21147 return f != $ac_func;
21149 return 0;
21151 _ACEOF
21152 rm -f conftest.$ac_objext conftest$ac_exeext
21153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21154 (eval $ac_link) 2>conftest.er1
21155 ac_status=$?
21156 grep -v '^ *+' conftest.er1 >conftest.err
21157 rm -f conftest.er1
21158 cat conftest.err >&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } &&
21161 { ac_try='test -z "$ac_c_werror_flag"
21162 || test ! -s conftest.err'
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164 (eval $ac_try) 2>&5
21165 ac_status=$?
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; } &&
21168 { ac_try='test -s conftest$ac_exeext'
21169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170 (eval $ac_try) 2>&5
21171 ac_status=$?
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); }; }; then
21174 eval "$as_ac_var=yes"
21175 else
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21179 eval "$as_ac_var=no"
21181 rm -f conftest.err conftest.$ac_objext \
21182 conftest$ac_exeext conftest.$ac_ext
21184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21186 if test `eval echo '${'$as_ac_var'}'` = yes; then
21187 cat >>confdefs.h <<_ACEOF
21188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21189 _ACEOF
21192 done
21194 else
21196 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21197 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21198 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21199 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21205 ac_ext=cc
21206 ac_cpp='$CXXCPP $CPPFLAGS'
21207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21211 cat >conftest.$ac_ext <<_ACEOF
21212 /* confdefs.h. */
21213 _ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 #include <math.h>
21219 main ()
21221 _hypotl(0, 0);
21223 return 0;
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21228 (eval $ac_compile) 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } &&
21235 { ac_try='test -z "$ac_cxx_werror_flag"
21236 || test ! -s conftest.err'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; } &&
21242 { ac_try='test -s conftest.$ac_objext'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21245 ac_status=$?
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; }; then
21248 glibcxx_cv_func__hypotl_use=yes
21249 else
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 glibcxx_cv_func__hypotl_use=no
21255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21256 ac_ext=c
21257 ac_cpp='$CPP $CPPFLAGS'
21258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21267 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21269 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21271 for ac_func in _hypotl
21273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21274 echo "$as_me:$LINENO: checking for $ac_func" >&5
21275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21276 if eval "test \"\${$as_ac_var+set}\" = set"; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
21279 if test x$gcc_no_link = xyes; then
21280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21282 { (exit 1); exit 1; }; }
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21292 #define $ac_func innocuous_$ac_func
21294 /* System header to define __stub macros and hopefully few prototypes,
21295 which can conflict with char $ac_func (); below.
21296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21297 <limits.h> exists even on freestanding compilers. */
21299 #ifdef __STDC__
21300 # include <limits.h>
21301 #else
21302 # include <assert.h>
21303 #endif
21305 #undef $ac_func
21307 /* Override any gcc2 internal prototype to avoid an error. */
21308 #ifdef __cplusplus
21309 extern "C"
21311 #endif
21312 /* We use char because int might match the return type of a gcc2
21313 builtin and then its argument prototype would still apply. */
21314 char $ac_func ();
21315 /* The GNU C library defines this for functions which it implements
21316 to always fail with ENOSYS. Some functions are actually named
21317 something starting with __ and the normal name is an alias. */
21318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21319 choke me
21320 #else
21321 char (*f) () = $ac_func;
21322 #endif
21323 #ifdef __cplusplus
21325 #endif
21328 main ()
21330 return f != $ac_func;
21332 return 0;
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>conftest.er1
21338 ac_status=$?
21339 grep -v '^ *+' conftest.er1 >conftest.err
21340 rm -f conftest.er1
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try='test -z "$ac_c_werror_flag"
21345 || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try='test -s conftest$ac_exeext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21354 ac_status=$?
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 eval "$as_ac_var=yes"
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 eval "$as_ac_var=no"
21364 rm -f conftest.err conftest.$ac_objext \
21365 conftest$ac_exeext conftest.$ac_ext
21367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21369 if test `eval echo '${'$as_ac_var'}'` = yes; then
21370 cat >>confdefs.h <<_ACEOF
21371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21372 _ACEOF
21375 done
21382 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21383 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21384 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21385 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 else
21391 ac_ext=cc
21392 ac_cpp='$CXXCPP $CPPFLAGS'
21393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21397 cat >conftest.$ac_ext <<_ACEOF
21398 /* confdefs.h. */
21399 _ACEOF
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 #include <math.h>
21405 main ()
21407 ldexpl(0, 0);
21409 return 0;
21411 _ACEOF
21412 rm -f conftest.$ac_objext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21414 (eval $ac_compile) 2>conftest.er1
21415 ac_status=$?
21416 grep -v '^ *+' conftest.er1 >conftest.err
21417 rm -f conftest.er1
21418 cat conftest.err >&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try='test -z "$ac_cxx_werror_flag"
21422 || test ! -s conftest.err'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21425 ac_status=$?
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; } &&
21428 { ac_try='test -s conftest.$ac_objext'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21431 ac_status=$?
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; }; then
21434 glibcxx_cv_func_ldexpl_use=yes
21435 else
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21439 glibcxx_cv_func_ldexpl_use=no
21441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21442 ac_ext=c
21443 ac_cpp='$CPP $CPPFLAGS'
21444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21453 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21455 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21457 for ac_func in ldexpl
21459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21460 echo "$as_me:$LINENO: checking for $ac_func" >&5
21461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21462 if eval "test \"\${$as_ac_var+set}\" = set"; then
21463 echo $ECHO_N "(cached) $ECHO_C" >&6
21464 else
21465 if test x$gcc_no_link = xyes; then
21466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21468 { (exit 1); exit 1; }; }
21470 cat >conftest.$ac_ext <<_ACEOF
21471 /* confdefs.h. */
21472 _ACEOF
21473 cat confdefs.h >>conftest.$ac_ext
21474 cat >>conftest.$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21478 #define $ac_func innocuous_$ac_func
21480 /* System header to define __stub macros and hopefully few prototypes,
21481 which can conflict with char $ac_func (); below.
21482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21483 <limits.h> exists even on freestanding compilers. */
21485 #ifdef __STDC__
21486 # include <limits.h>
21487 #else
21488 # include <assert.h>
21489 #endif
21491 #undef $ac_func
21493 /* Override any gcc2 internal prototype to avoid an error. */
21494 #ifdef __cplusplus
21495 extern "C"
21497 #endif
21498 /* We use char because int might match the return type of a gcc2
21499 builtin and then its argument prototype would still apply. */
21500 char $ac_func ();
21501 /* The GNU C library defines this for functions which it implements
21502 to always fail with ENOSYS. Some functions are actually named
21503 something starting with __ and the normal name is an alias. */
21504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21505 choke me
21506 #else
21507 char (*f) () = $ac_func;
21508 #endif
21509 #ifdef __cplusplus
21511 #endif
21514 main ()
21516 return f != $ac_func;
21518 return 0;
21520 _ACEOF
21521 rm -f conftest.$ac_objext conftest$ac_exeext
21522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21523 (eval $ac_link) 2>conftest.er1
21524 ac_status=$?
21525 grep -v '^ *+' conftest.er1 >conftest.err
21526 rm -f conftest.er1
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } &&
21530 { ac_try='test -z "$ac_c_werror_flag"
21531 || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21534 ac_status=$?
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest$ac_exeext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21540 ac_status=$?
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 eval "$as_ac_var=yes"
21544 else
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21548 eval "$as_ac_var=no"
21550 rm -f conftest.err conftest.$ac_objext \
21551 conftest$ac_exeext conftest.$ac_ext
21553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21555 if test `eval echo '${'$as_ac_var'}'` = yes; then
21556 cat >>confdefs.h <<_ACEOF
21557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21558 _ACEOF
21561 done
21563 else
21565 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21566 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21567 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21568 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21570 else
21574 ac_ext=cc
21575 ac_cpp='$CXXCPP $CPPFLAGS'
21576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21580 cat >conftest.$ac_ext <<_ACEOF
21581 /* confdefs.h. */
21582 _ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 #include <math.h>
21588 main ()
21590 _ldexpl(0, 0);
21592 return 0;
21594 _ACEOF
21595 rm -f conftest.$ac_objext
21596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21597 (eval $ac_compile) 2>conftest.er1
21598 ac_status=$?
21599 grep -v '^ *+' conftest.er1 >conftest.err
21600 rm -f conftest.er1
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } &&
21604 { ac_try='test -z "$ac_cxx_werror_flag"
21605 || test ! -s conftest.err'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21608 ac_status=$?
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; } &&
21611 { ac_try='test -s conftest.$ac_objext'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21614 ac_status=$?
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; }; then
21617 glibcxx_cv_func__ldexpl_use=yes
21618 else
21619 echo "$as_me: failed program was:" >&5
21620 sed 's/^/| /' conftest.$ac_ext >&5
21622 glibcxx_cv_func__ldexpl_use=no
21624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21625 ac_ext=c
21626 ac_cpp='$CPP $CPPFLAGS'
21627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21635 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21636 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21638 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21640 for ac_func in _ldexpl
21642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21643 echo "$as_me:$LINENO: checking for $ac_func" >&5
21644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21645 if eval "test \"\${$as_ac_var+set}\" = set"; then
21646 echo $ECHO_N "(cached) $ECHO_C" >&6
21647 else
21648 if test x$gcc_no_link = xyes; then
21649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21651 { (exit 1); exit 1; }; }
21653 cat >conftest.$ac_ext <<_ACEOF
21654 /* confdefs.h. */
21655 _ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21661 #define $ac_func innocuous_$ac_func
21663 /* System header to define __stub macros and hopefully few prototypes,
21664 which can conflict with char $ac_func (); below.
21665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21666 <limits.h> exists even on freestanding compilers. */
21668 #ifdef __STDC__
21669 # include <limits.h>
21670 #else
21671 # include <assert.h>
21672 #endif
21674 #undef $ac_func
21676 /* Override any gcc2 internal prototype to avoid an error. */
21677 #ifdef __cplusplus
21678 extern "C"
21680 #endif
21681 /* We use char because int might match the return type of a gcc2
21682 builtin and then its argument prototype would still apply. */
21683 char $ac_func ();
21684 /* The GNU C library defines this for functions which it implements
21685 to always fail with ENOSYS. Some functions are actually named
21686 something starting with __ and the normal name is an alias. */
21687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21688 choke me
21689 #else
21690 char (*f) () = $ac_func;
21691 #endif
21692 #ifdef __cplusplus
21694 #endif
21697 main ()
21699 return f != $ac_func;
21701 return 0;
21703 _ACEOF
21704 rm -f conftest.$ac_objext conftest$ac_exeext
21705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21706 (eval $ac_link) 2>conftest.er1
21707 ac_status=$?
21708 grep -v '^ *+' conftest.er1 >conftest.err
21709 rm -f conftest.er1
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try='test -z "$ac_c_werror_flag"
21714 || test ! -s conftest.err'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21717 ac_status=$?
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; } &&
21720 { ac_try='test -s conftest$ac_exeext'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; }; then
21726 eval "$as_ac_var=yes"
21727 else
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.$ac_ext >&5
21731 eval "$as_ac_var=no"
21733 rm -f conftest.err conftest.$ac_objext \
21734 conftest$ac_exeext conftest.$ac_ext
21736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21738 if test `eval echo '${'$as_ac_var'}'` = yes; then
21739 cat >>confdefs.h <<_ACEOF
21740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21741 _ACEOF
21744 done
21751 echo "$as_me:$LINENO: checking for logl declaration" >&5
21752 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21753 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21754 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21756 else
21760 ac_ext=cc
21761 ac_cpp='$CXXCPP $CPPFLAGS'
21762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21766 cat >conftest.$ac_ext <<_ACEOF
21767 /* confdefs.h. */
21768 _ACEOF
21769 cat confdefs.h >>conftest.$ac_ext
21770 cat >>conftest.$ac_ext <<_ACEOF
21771 /* end confdefs.h. */
21772 #include <math.h>
21773 #ifdef HAVE_IEEEFP_H
21774 #include <ieeefp.h>
21775 #endif
21778 main ()
21780 logl(0);
21782 return 0;
21784 _ACEOF
21785 rm -f conftest.$ac_objext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21787 (eval $ac_compile) 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } &&
21794 { ac_try='test -z "$ac_cxx_werror_flag"
21795 || test ! -s conftest.err'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21798 ac_status=$?
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; } &&
21801 { ac_try='test -s conftest.$ac_objext'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; }; then
21807 glibcxx_cv_func_logl_use=yes
21808 else
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21812 glibcxx_cv_func_logl_use=no
21814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21815 ac_ext=c
21816 ac_cpp='$CPP $CPPFLAGS'
21817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21826 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21828 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21830 for ac_func in logl
21832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21833 echo "$as_me:$LINENO: checking for $ac_func" >&5
21834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21835 if eval "test \"\${$as_ac_var+set}\" = set"; then
21836 echo $ECHO_N "(cached) $ECHO_C" >&6
21837 else
21838 if test x$gcc_no_link = xyes; then
21839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21841 { (exit 1); exit 1; }; }
21843 cat >conftest.$ac_ext <<_ACEOF
21844 /* confdefs.h. */
21845 _ACEOF
21846 cat confdefs.h >>conftest.$ac_ext
21847 cat >>conftest.$ac_ext <<_ACEOF
21848 /* end confdefs.h. */
21849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21851 #define $ac_func innocuous_$ac_func
21853 /* System header to define __stub macros and hopefully few prototypes,
21854 which can conflict with char $ac_func (); below.
21855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21856 <limits.h> exists even on freestanding compilers. */
21858 #ifdef __STDC__
21859 # include <limits.h>
21860 #else
21861 # include <assert.h>
21862 #endif
21864 #undef $ac_func
21866 /* Override any gcc2 internal prototype to avoid an error. */
21867 #ifdef __cplusplus
21868 extern "C"
21870 #endif
21871 /* We use char because int might match the return type of a gcc2
21872 builtin and then its argument prototype would still apply. */
21873 char $ac_func ();
21874 /* The GNU C library defines this for functions which it implements
21875 to always fail with ENOSYS. Some functions are actually named
21876 something starting with __ and the normal name is an alias. */
21877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21878 choke me
21879 #else
21880 char (*f) () = $ac_func;
21881 #endif
21882 #ifdef __cplusplus
21884 #endif
21887 main ()
21889 return f != $ac_func;
21891 return 0;
21893 _ACEOF
21894 rm -f conftest.$ac_objext conftest$ac_exeext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21896 (eval $ac_link) 2>conftest.er1
21897 ac_status=$?
21898 grep -v '^ *+' conftest.er1 >conftest.err
21899 rm -f conftest.er1
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try='test -z "$ac_c_werror_flag"
21904 || test ! -s conftest.err'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21907 ac_status=$?
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; } &&
21910 { ac_try='test -s conftest$ac_exeext'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; }; then
21916 eval "$as_ac_var=yes"
21917 else
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21921 eval "$as_ac_var=no"
21923 rm -f conftest.err conftest.$ac_objext \
21924 conftest$ac_exeext conftest.$ac_ext
21926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21928 if test `eval echo '${'$as_ac_var'}'` = yes; then
21929 cat >>confdefs.h <<_ACEOF
21930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21931 _ACEOF
21934 done
21936 else
21938 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21939 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21940 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21941 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21943 else
21947 ac_ext=cc
21948 ac_cpp='$CXXCPP $CPPFLAGS'
21949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21953 cat >conftest.$ac_ext <<_ACEOF
21954 /* confdefs.h. */
21955 _ACEOF
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 #include <math.h>
21960 #ifdef HAVE_IEEEFP_H
21961 #include <ieeefp.h>
21962 #endif
21965 main ()
21967 _logl(0);
21969 return 0;
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21974 (eval $ac_compile) 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -z "$ac_cxx_werror_flag"
21982 || test ! -s conftest.err'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21985 ac_status=$?
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; } &&
21988 { ac_try='test -s conftest.$ac_objext'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; }; then
21994 glibcxx_cv_func__logl_use=yes
21995 else
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21999 glibcxx_cv_func__logl_use=no
22001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22002 ac_ext=c
22003 ac_cpp='$CPP $CPPFLAGS'
22004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22013 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22015 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22017 for ac_func in _logl
22019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22020 echo "$as_me:$LINENO: checking for $ac_func" >&5
22021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22022 if eval "test \"\${$as_ac_var+set}\" = set"; then
22023 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 else
22025 if test x$gcc_no_link = xyes; then
22026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22028 { (exit 1); exit 1; }; }
22030 cat >conftest.$ac_ext <<_ACEOF
22031 /* confdefs.h. */
22032 _ACEOF
22033 cat confdefs.h >>conftest.$ac_ext
22034 cat >>conftest.$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22038 #define $ac_func innocuous_$ac_func
22040 /* System header to define __stub macros and hopefully few prototypes,
22041 which can conflict with char $ac_func (); below.
22042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22043 <limits.h> exists even on freestanding compilers. */
22045 #ifdef __STDC__
22046 # include <limits.h>
22047 #else
22048 # include <assert.h>
22049 #endif
22051 #undef $ac_func
22053 /* Override any gcc2 internal prototype to avoid an error. */
22054 #ifdef __cplusplus
22055 extern "C"
22057 #endif
22058 /* We use char because int might match the return type of a gcc2
22059 builtin and then its argument prototype would still apply. */
22060 char $ac_func ();
22061 /* The GNU C library defines this for functions which it implements
22062 to always fail with ENOSYS. Some functions are actually named
22063 something starting with __ and the normal name is an alias. */
22064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22065 choke me
22066 #else
22067 char (*f) () = $ac_func;
22068 #endif
22069 #ifdef __cplusplus
22071 #endif
22074 main ()
22076 return f != $ac_func;
22078 return 0;
22080 _ACEOF
22081 rm -f conftest.$ac_objext conftest$ac_exeext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22083 (eval $ac_link) 2>conftest.er1
22084 ac_status=$?
22085 grep -v '^ *+' conftest.er1 >conftest.err
22086 rm -f conftest.er1
22087 cat conftest.err >&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try='test -z "$ac_c_werror_flag"
22091 || test ! -s conftest.err'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22094 ac_status=$?
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; } &&
22097 { ac_try='test -s conftest$ac_exeext'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22103 eval "$as_ac_var=yes"
22104 else
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.$ac_ext >&5
22108 eval "$as_ac_var=no"
22110 rm -f conftest.err conftest.$ac_objext \
22111 conftest$ac_exeext conftest.$ac_ext
22113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22115 if test `eval echo '${'$as_ac_var'}'` = yes; then
22116 cat >>confdefs.h <<_ACEOF
22117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22118 _ACEOF
22121 done
22128 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22129 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22130 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22131 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22132 echo $ECHO_N "(cached) $ECHO_C" >&6
22133 else
22137 ac_ext=cc
22138 ac_cpp='$CXXCPP $CPPFLAGS'
22139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22143 cat >conftest.$ac_ext <<_ACEOF
22144 /* confdefs.h. */
22145 _ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 #include <math.h>
22150 #ifdef HAVE_IEEEFP_H
22151 #include <ieeefp.h>
22152 #endif
22155 main ()
22157 log10l(0);
22159 return 0;
22161 _ACEOF
22162 rm -f conftest.$ac_objext
22163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22164 (eval $ac_compile) 2>conftest.er1
22165 ac_status=$?
22166 grep -v '^ *+' conftest.er1 >conftest.err
22167 rm -f conftest.er1
22168 cat conftest.err >&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } &&
22171 { ac_try='test -z "$ac_cxx_werror_flag"
22172 || test ! -s conftest.err'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; } &&
22178 { ac_try='test -s conftest.$ac_objext'
22179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22180 (eval $ac_try) 2>&5
22181 ac_status=$?
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); }; }; then
22184 glibcxx_cv_func_log10l_use=yes
22185 else
22186 echo "$as_me: failed program was:" >&5
22187 sed 's/^/| /' conftest.$ac_ext >&5
22189 glibcxx_cv_func_log10l_use=no
22191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22192 ac_ext=c
22193 ac_cpp='$CPP $CPPFLAGS'
22194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22203 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22205 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22207 for ac_func in log10l
22209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22210 echo "$as_me:$LINENO: checking for $ac_func" >&5
22211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22212 if eval "test \"\${$as_ac_var+set}\" = set"; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 else
22215 if test x$gcc_no_link = xyes; then
22216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22218 { (exit 1); exit 1; }; }
22220 cat >conftest.$ac_ext <<_ACEOF
22221 /* confdefs.h. */
22222 _ACEOF
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22228 #define $ac_func innocuous_$ac_func
22230 /* System header to define __stub macros and hopefully few prototypes,
22231 which can conflict with char $ac_func (); below.
22232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22233 <limits.h> exists even on freestanding compilers. */
22235 #ifdef __STDC__
22236 # include <limits.h>
22237 #else
22238 # include <assert.h>
22239 #endif
22241 #undef $ac_func
22243 /* Override any gcc2 internal prototype to avoid an error. */
22244 #ifdef __cplusplus
22245 extern "C"
22247 #endif
22248 /* We use char because int might match the return type of a gcc2
22249 builtin and then its argument prototype would still apply. */
22250 char $ac_func ();
22251 /* The GNU C library defines this for functions which it implements
22252 to always fail with ENOSYS. Some functions are actually named
22253 something starting with __ and the normal name is an alias. */
22254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22255 choke me
22256 #else
22257 char (*f) () = $ac_func;
22258 #endif
22259 #ifdef __cplusplus
22261 #endif
22264 main ()
22266 return f != $ac_func;
22268 return 0;
22270 _ACEOF
22271 rm -f conftest.$ac_objext conftest$ac_exeext
22272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22273 (eval $ac_link) 2>conftest.er1
22274 ac_status=$?
22275 grep -v '^ *+' conftest.er1 >conftest.err
22276 rm -f conftest.er1
22277 cat conftest.err >&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } &&
22280 { ac_try='test -z "$ac_c_werror_flag"
22281 || test ! -s conftest.err'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22284 ac_status=$?
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; } &&
22287 { ac_try='test -s conftest$ac_exeext'
22288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22289 (eval $ac_try) 2>&5
22290 ac_status=$?
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); }; }; then
22293 eval "$as_ac_var=yes"
22294 else
22295 echo "$as_me: failed program was:" >&5
22296 sed 's/^/| /' conftest.$ac_ext >&5
22298 eval "$as_ac_var=no"
22300 rm -f conftest.err conftest.$ac_objext \
22301 conftest$ac_exeext conftest.$ac_ext
22303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22305 if test `eval echo '${'$as_ac_var'}'` = yes; then
22306 cat >>confdefs.h <<_ACEOF
22307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22308 _ACEOF
22311 done
22313 else
22315 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22316 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22317 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22318 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 else
22324 ac_ext=cc
22325 ac_cpp='$CXXCPP $CPPFLAGS'
22326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 #include <math.h>
22337 #ifdef HAVE_IEEEFP_H
22338 #include <ieeefp.h>
22339 #endif
22342 main ()
22344 _log10l(0);
22346 return 0;
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22351 (eval $ac_compile) 2>conftest.er1
22352 ac_status=$?
22353 grep -v '^ *+' conftest.er1 >conftest.err
22354 rm -f conftest.er1
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_cxx_werror_flag"
22359 || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try='test -s conftest.$ac_objext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22368 ac_status=$?
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 glibcxx_cv_func__log10l_use=yes
22372 else
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22376 glibcxx_cv_func__log10l_use=no
22378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22379 ac_ext=c
22380 ac_cpp='$CPP $CPPFLAGS'
22381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22389 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22390 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22392 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22394 for ac_func in _log10l
22396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22397 echo "$as_me:$LINENO: checking for $ac_func" >&5
22398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22399 if eval "test \"\${$as_ac_var+set}\" = set"; then
22400 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 else
22402 if test x$gcc_no_link = xyes; then
22403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22405 { (exit 1); exit 1; }; }
22407 cat >conftest.$ac_ext <<_ACEOF
22408 /* confdefs.h. */
22409 _ACEOF
22410 cat confdefs.h >>conftest.$ac_ext
22411 cat >>conftest.$ac_ext <<_ACEOF
22412 /* end confdefs.h. */
22413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22415 #define $ac_func innocuous_$ac_func
22417 /* System header to define __stub macros and hopefully few prototypes,
22418 which can conflict with char $ac_func (); below.
22419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22420 <limits.h> exists even on freestanding compilers. */
22422 #ifdef __STDC__
22423 # include <limits.h>
22424 #else
22425 # include <assert.h>
22426 #endif
22428 #undef $ac_func
22430 /* Override any gcc2 internal prototype to avoid an error. */
22431 #ifdef __cplusplus
22432 extern "C"
22434 #endif
22435 /* We use char because int might match the return type of a gcc2
22436 builtin and then its argument prototype would still apply. */
22437 char $ac_func ();
22438 /* The GNU C library defines this for functions which it implements
22439 to always fail with ENOSYS. Some functions are actually named
22440 something starting with __ and the normal name is an alias. */
22441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22442 choke me
22443 #else
22444 char (*f) () = $ac_func;
22445 #endif
22446 #ifdef __cplusplus
22448 #endif
22451 main ()
22453 return f != $ac_func;
22455 return 0;
22457 _ACEOF
22458 rm -f conftest.$ac_objext conftest$ac_exeext
22459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22460 (eval $ac_link) 2>conftest.er1
22461 ac_status=$?
22462 grep -v '^ *+' conftest.er1 >conftest.err
22463 rm -f conftest.er1
22464 cat conftest.err >&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); } &&
22467 { ac_try='test -z "$ac_c_werror_flag"
22468 || test ! -s conftest.err'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; } &&
22474 { ac_try='test -s conftest$ac_exeext'
22475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22476 (eval $ac_try) 2>&5
22477 ac_status=$?
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); }; }; then
22480 eval "$as_ac_var=yes"
22481 else
22482 echo "$as_me: failed program was:" >&5
22483 sed 's/^/| /' conftest.$ac_ext >&5
22485 eval "$as_ac_var=no"
22487 rm -f conftest.err conftest.$ac_objext \
22488 conftest$ac_exeext conftest.$ac_ext
22490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22492 if test `eval echo '${'$as_ac_var'}'` = yes; then
22493 cat >>confdefs.h <<_ACEOF
22494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22495 _ACEOF
22498 done
22505 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22506 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22507 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22508 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22509 echo $ECHO_N "(cached) $ECHO_C" >&6
22510 else
22514 ac_ext=cc
22515 ac_cpp='$CXXCPP $CPPFLAGS'
22516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22520 cat >conftest.$ac_ext <<_ACEOF
22521 /* confdefs.h. */
22522 _ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 #include <math.h>
22528 main ()
22530 modfl(0, 0);
22532 return 0;
22534 _ACEOF
22535 rm -f conftest.$ac_objext
22536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22537 (eval $ac_compile) 2>conftest.er1
22538 ac_status=$?
22539 grep -v '^ *+' conftest.er1 >conftest.err
22540 rm -f conftest.er1
22541 cat conftest.err >&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); } &&
22544 { ac_try='test -z "$ac_cxx_werror_flag"
22545 || test ! -s conftest.err'
22546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547 (eval $ac_try) 2>&5
22548 ac_status=$?
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; } &&
22551 { ac_try='test -s conftest.$ac_objext'
22552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22553 (eval $ac_try) 2>&5
22554 ac_status=$?
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); }; }; then
22557 glibcxx_cv_func_modfl_use=yes
22558 else
22559 echo "$as_me: failed program was:" >&5
22560 sed 's/^/| /' conftest.$ac_ext >&5
22562 glibcxx_cv_func_modfl_use=no
22564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22565 ac_ext=c
22566 ac_cpp='$CPP $CPPFLAGS'
22567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22576 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22578 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22580 for ac_func in modfl
22582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22583 echo "$as_me:$LINENO: checking for $ac_func" >&5
22584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22585 if eval "test \"\${$as_ac_var+set}\" = set"; then
22586 echo $ECHO_N "(cached) $ECHO_C" >&6
22587 else
22588 if test x$gcc_no_link = xyes; then
22589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22591 { (exit 1); exit 1; }; }
22593 cat >conftest.$ac_ext <<_ACEOF
22594 /* confdefs.h. */
22595 _ACEOF
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22601 #define $ac_func innocuous_$ac_func
22603 /* System header to define __stub macros and hopefully few prototypes,
22604 which can conflict with char $ac_func (); below.
22605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22606 <limits.h> exists even on freestanding compilers. */
22608 #ifdef __STDC__
22609 # include <limits.h>
22610 #else
22611 # include <assert.h>
22612 #endif
22614 #undef $ac_func
22616 /* Override any gcc2 internal prototype to avoid an error. */
22617 #ifdef __cplusplus
22618 extern "C"
22620 #endif
22621 /* We use char because int might match the return type of a gcc2
22622 builtin and then its argument prototype would still apply. */
22623 char $ac_func ();
22624 /* The GNU C library defines this for functions which it implements
22625 to always fail with ENOSYS. Some functions are actually named
22626 something starting with __ and the normal name is an alias. */
22627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22628 choke me
22629 #else
22630 char (*f) () = $ac_func;
22631 #endif
22632 #ifdef __cplusplus
22634 #endif
22637 main ()
22639 return f != $ac_func;
22641 return 0;
22643 _ACEOF
22644 rm -f conftest.$ac_objext conftest$ac_exeext
22645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22646 (eval $ac_link) 2>conftest.er1
22647 ac_status=$?
22648 grep -v '^ *+' conftest.er1 >conftest.err
22649 rm -f conftest.er1
22650 cat conftest.err >&5
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); } &&
22653 { ac_try='test -z "$ac_c_werror_flag"
22654 || test ! -s conftest.err'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22657 ac_status=$?
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; } &&
22660 { ac_try='test -s conftest$ac_exeext'
22661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662 (eval $ac_try) 2>&5
22663 ac_status=$?
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); }; }; then
22666 eval "$as_ac_var=yes"
22667 else
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22671 eval "$as_ac_var=no"
22673 rm -f conftest.err conftest.$ac_objext \
22674 conftest$ac_exeext conftest.$ac_ext
22676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22678 if test `eval echo '${'$as_ac_var'}'` = yes; then
22679 cat >>confdefs.h <<_ACEOF
22680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22681 _ACEOF
22684 done
22686 else
22688 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22689 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22690 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22691 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22692 echo $ECHO_N "(cached) $ECHO_C" >&6
22693 else
22697 ac_ext=cc
22698 ac_cpp='$CXXCPP $CPPFLAGS'
22699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22703 cat >conftest.$ac_ext <<_ACEOF
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 #include <math.h>
22711 main ()
22713 _modfl(0, 0);
22715 return 0;
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22720 (eval $ac_compile) 2>conftest.er1
22721 ac_status=$?
22722 grep -v '^ *+' conftest.er1 >conftest.err
22723 rm -f conftest.er1
22724 cat conftest.err >&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } &&
22727 { ac_try='test -z "$ac_cxx_werror_flag"
22728 || test ! -s conftest.err'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22731 ac_status=$?
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; } &&
22734 { ac_try='test -s conftest.$ac_objext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22737 ac_status=$?
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 glibcxx_cv_func__modfl_use=yes
22741 else
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.$ac_ext >&5
22745 glibcxx_cv_func__modfl_use=no
22747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22748 ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22759 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22761 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22763 for ac_func in _modfl
22765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22766 echo "$as_me:$LINENO: checking for $ac_func" >&5
22767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22768 if eval "test \"\${$as_ac_var+set}\" = set"; then
22769 echo $ECHO_N "(cached) $ECHO_C" >&6
22770 else
22771 if test x$gcc_no_link = xyes; then
22772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22774 { (exit 1); exit 1; }; }
22776 cat >conftest.$ac_ext <<_ACEOF
22777 /* confdefs.h. */
22778 _ACEOF
22779 cat confdefs.h >>conftest.$ac_ext
22780 cat >>conftest.$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22784 #define $ac_func innocuous_$ac_func
22786 /* System header to define __stub macros and hopefully few prototypes,
22787 which can conflict with char $ac_func (); below.
22788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22789 <limits.h> exists even on freestanding compilers. */
22791 #ifdef __STDC__
22792 # include <limits.h>
22793 #else
22794 # include <assert.h>
22795 #endif
22797 #undef $ac_func
22799 /* Override any gcc2 internal prototype to avoid an error. */
22800 #ifdef __cplusplus
22801 extern "C"
22803 #endif
22804 /* We use char because int might match the return type of a gcc2
22805 builtin and then its argument prototype would still apply. */
22806 char $ac_func ();
22807 /* The GNU C library defines this for functions which it implements
22808 to always fail with ENOSYS. Some functions are actually named
22809 something starting with __ and the normal name is an alias. */
22810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22811 choke me
22812 #else
22813 char (*f) () = $ac_func;
22814 #endif
22815 #ifdef __cplusplus
22817 #endif
22820 main ()
22822 return f != $ac_func;
22824 return 0;
22826 _ACEOF
22827 rm -f conftest.$ac_objext conftest$ac_exeext
22828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22829 (eval $ac_link) 2>conftest.er1
22830 ac_status=$?
22831 grep -v '^ *+' conftest.er1 >conftest.err
22832 rm -f conftest.er1
22833 cat conftest.err >&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } &&
22836 { ac_try='test -z "$ac_c_werror_flag"
22837 || test ! -s conftest.err'
22838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22840 ac_status=$?
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); }; } &&
22843 { ac_try='test -s conftest$ac_exeext'
22844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22845 (eval $ac_try) 2>&5
22846 ac_status=$?
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); }; }; then
22849 eval "$as_ac_var=yes"
22850 else
22851 echo "$as_me: failed program was:" >&5
22852 sed 's/^/| /' conftest.$ac_ext >&5
22854 eval "$as_ac_var=no"
22856 rm -f conftest.err conftest.$ac_objext \
22857 conftest$ac_exeext conftest.$ac_ext
22859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22861 if test `eval echo '${'$as_ac_var'}'` = yes; then
22862 cat >>confdefs.h <<_ACEOF
22863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22864 _ACEOF
22867 done
22874 echo "$as_me:$LINENO: checking for powl declaration" >&5
22875 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22876 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22877 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22878 echo $ECHO_N "(cached) $ECHO_C" >&6
22879 else
22883 ac_ext=cc
22884 ac_cpp='$CXXCPP $CPPFLAGS'
22885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22889 cat >conftest.$ac_ext <<_ACEOF
22890 /* confdefs.h. */
22891 _ACEOF
22892 cat confdefs.h >>conftest.$ac_ext
22893 cat >>conftest.$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895 #include <math.h>
22897 main ()
22899 powl(0, 0);
22901 return 0;
22903 _ACEOF
22904 rm -f conftest.$ac_objext
22905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22906 (eval $ac_compile) 2>conftest.er1
22907 ac_status=$?
22908 grep -v '^ *+' conftest.er1 >conftest.err
22909 rm -f conftest.er1
22910 cat conftest.err >&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } &&
22913 { ac_try='test -z "$ac_cxx_werror_flag"
22914 || test ! -s conftest.err'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22917 ac_status=$?
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; } &&
22920 { ac_try='test -s conftest.$ac_objext'
22921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22922 (eval $ac_try) 2>&5
22923 ac_status=$?
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); }; }; then
22926 glibcxx_cv_func_powl_use=yes
22927 else
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22931 glibcxx_cv_func_powl_use=no
22933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22934 ac_ext=c
22935 ac_cpp='$CPP $CPPFLAGS'
22936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22945 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22947 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22949 for ac_func in powl
22951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22952 echo "$as_me:$LINENO: checking for $ac_func" >&5
22953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22954 if eval "test \"\${$as_ac_var+set}\" = set"; then
22955 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 else
22957 if test x$gcc_no_link = xyes; then
22958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22960 { (exit 1); exit 1; }; }
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h. */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22970 #define $ac_func innocuous_$ac_func
22972 /* System header to define __stub macros and hopefully few prototypes,
22973 which can conflict with char $ac_func (); below.
22974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22975 <limits.h> exists even on freestanding compilers. */
22977 #ifdef __STDC__
22978 # include <limits.h>
22979 #else
22980 # include <assert.h>
22981 #endif
22983 #undef $ac_func
22985 /* Override any gcc2 internal prototype to avoid an error. */
22986 #ifdef __cplusplus
22987 extern "C"
22989 #endif
22990 /* We use char because int might match the return type of a gcc2
22991 builtin and then its argument prototype would still apply. */
22992 char $ac_func ();
22993 /* The GNU C library defines this for functions which it implements
22994 to always fail with ENOSYS. Some functions are actually named
22995 something starting with __ and the normal name is an alias. */
22996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22997 choke me
22998 #else
22999 char (*f) () = $ac_func;
23000 #endif
23001 #ifdef __cplusplus
23003 #endif
23006 main ()
23008 return f != $ac_func;
23010 return 0;
23012 _ACEOF
23013 rm -f conftest.$ac_objext conftest$ac_exeext
23014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23015 (eval $ac_link) 2>conftest.er1
23016 ac_status=$?
23017 grep -v '^ *+' conftest.er1 >conftest.err
23018 rm -f conftest.er1
23019 cat conftest.err >&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } &&
23022 { ac_try='test -z "$ac_c_werror_flag"
23023 || test ! -s conftest.err'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23026 ac_status=$?
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; } &&
23029 { ac_try='test -s conftest$ac_exeext'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23032 ac_status=$?
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; }; then
23035 eval "$as_ac_var=yes"
23036 else
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.$ac_ext >&5
23040 eval "$as_ac_var=no"
23042 rm -f conftest.err conftest.$ac_objext \
23043 conftest$ac_exeext conftest.$ac_ext
23045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23047 if test `eval echo '${'$as_ac_var'}'` = yes; then
23048 cat >>confdefs.h <<_ACEOF
23049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23050 _ACEOF
23053 done
23055 else
23057 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23058 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23059 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23060 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else
23066 ac_ext=cc
23067 ac_cpp='$CXXCPP $CPPFLAGS'
23068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23072 cat >conftest.$ac_ext <<_ACEOF
23073 /* confdefs.h. */
23074 _ACEOF
23075 cat confdefs.h >>conftest.$ac_ext
23076 cat >>conftest.$ac_ext <<_ACEOF
23077 /* end confdefs.h. */
23078 #include <math.h>
23080 main ()
23082 _powl(0, 0);
23084 return 0;
23086 _ACEOF
23087 rm -f conftest.$ac_objext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23089 (eval $ac_compile) 2>conftest.er1
23090 ac_status=$?
23091 grep -v '^ *+' conftest.er1 >conftest.err
23092 rm -f conftest.er1
23093 cat conftest.err >&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } &&
23096 { ac_try='test -z "$ac_cxx_werror_flag"
23097 || test ! -s conftest.err'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; } &&
23103 { ac_try='test -s conftest.$ac_objext'
23104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23105 (eval $ac_try) 2>&5
23106 ac_status=$?
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); }; }; then
23109 glibcxx_cv_func__powl_use=yes
23110 else
23111 echo "$as_me: failed program was:" >&5
23112 sed 's/^/| /' conftest.$ac_ext >&5
23114 glibcxx_cv_func__powl_use=no
23116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23117 ac_ext=c
23118 ac_cpp='$CPP $CPPFLAGS'
23119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23128 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23130 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23132 for ac_func in _powl
23134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23135 echo "$as_me:$LINENO: checking for $ac_func" >&5
23136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23137 if eval "test \"\${$as_ac_var+set}\" = set"; then
23138 echo $ECHO_N "(cached) $ECHO_C" >&6
23139 else
23140 if test x$gcc_no_link = xyes; then
23141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23143 { (exit 1); exit 1; }; }
23145 cat >conftest.$ac_ext <<_ACEOF
23146 /* confdefs.h. */
23147 _ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23153 #define $ac_func innocuous_$ac_func
23155 /* System header to define __stub macros and hopefully few prototypes,
23156 which can conflict with char $ac_func (); below.
23157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23158 <limits.h> exists even on freestanding compilers. */
23160 #ifdef __STDC__
23161 # include <limits.h>
23162 #else
23163 # include <assert.h>
23164 #endif
23166 #undef $ac_func
23168 /* Override any gcc2 internal prototype to avoid an error. */
23169 #ifdef __cplusplus
23170 extern "C"
23172 #endif
23173 /* We use char because int might match the return type of a gcc2
23174 builtin and then its argument prototype would still apply. */
23175 char $ac_func ();
23176 /* The GNU C library defines this for functions which it implements
23177 to always fail with ENOSYS. Some functions are actually named
23178 something starting with __ and the normal name is an alias. */
23179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23180 choke me
23181 #else
23182 char (*f) () = $ac_func;
23183 #endif
23184 #ifdef __cplusplus
23186 #endif
23189 main ()
23191 return f != $ac_func;
23193 return 0;
23195 _ACEOF
23196 rm -f conftest.$ac_objext conftest$ac_exeext
23197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23198 (eval $ac_link) 2>conftest.er1
23199 ac_status=$?
23200 grep -v '^ *+' conftest.er1 >conftest.err
23201 rm -f conftest.er1
23202 cat conftest.err >&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); } &&
23205 { ac_try='test -z "$ac_c_werror_flag"
23206 || test ! -s conftest.err'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; } &&
23212 { ac_try='test -s conftest$ac_exeext'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23215 ac_status=$?
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 eval "$as_ac_var=yes"
23219 else
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23223 eval "$as_ac_var=no"
23225 rm -f conftest.err conftest.$ac_objext \
23226 conftest$ac_exeext conftest.$ac_ext
23228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23230 if test `eval echo '${'$as_ac_var'}'` = yes; then
23231 cat >>confdefs.h <<_ACEOF
23232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23233 _ACEOF
23236 done
23243 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23244 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23245 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23246 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23247 echo $ECHO_N "(cached) $ECHO_C" >&6
23248 else
23252 ac_ext=cc
23253 ac_cpp='$CXXCPP $CPPFLAGS'
23254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23258 cat >conftest.$ac_ext <<_ACEOF
23259 /* confdefs.h. */
23260 _ACEOF
23261 cat confdefs.h >>conftest.$ac_ext
23262 cat >>conftest.$ac_ext <<_ACEOF
23263 /* end confdefs.h. */
23264 #include <math.h>
23265 #ifdef HAVE_IEEEFP_H
23266 #include <ieeefp.h>
23267 #endif
23270 main ()
23272 sqrtl(0);
23274 return 0;
23276 _ACEOF
23277 rm -f conftest.$ac_objext
23278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23279 (eval $ac_compile) 2>conftest.er1
23280 ac_status=$?
23281 grep -v '^ *+' conftest.er1 >conftest.err
23282 rm -f conftest.er1
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } &&
23286 { ac_try='test -z "$ac_cxx_werror_flag"
23287 || test ! -s conftest.err'
23288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289 (eval $ac_try) 2>&5
23290 ac_status=$?
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; } &&
23293 { ac_try='test -s conftest.$ac_objext'
23294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23295 (eval $ac_try) 2>&5
23296 ac_status=$?
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); }; }; then
23299 glibcxx_cv_func_sqrtl_use=yes
23300 else
23301 echo "$as_me: failed program was:" >&5
23302 sed 's/^/| /' conftest.$ac_ext >&5
23304 glibcxx_cv_func_sqrtl_use=no
23306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23307 ac_ext=c
23308 ac_cpp='$CPP $CPPFLAGS'
23309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23318 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23320 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23322 for ac_func in sqrtl
23324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23325 echo "$as_me:$LINENO: checking for $ac_func" >&5
23326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23327 if eval "test \"\${$as_ac_var+set}\" = set"; then
23328 echo $ECHO_N "(cached) $ECHO_C" >&6
23329 else
23330 if test x$gcc_no_link = xyes; then
23331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23333 { (exit 1); exit 1; }; }
23335 cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h. */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23343 #define $ac_func innocuous_$ac_func
23345 /* System header to define __stub macros and hopefully few prototypes,
23346 which can conflict with char $ac_func (); below.
23347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23348 <limits.h> exists even on freestanding compilers. */
23350 #ifdef __STDC__
23351 # include <limits.h>
23352 #else
23353 # include <assert.h>
23354 #endif
23356 #undef $ac_func
23358 /* Override any gcc2 internal prototype to avoid an error. */
23359 #ifdef __cplusplus
23360 extern "C"
23362 #endif
23363 /* We use char because int might match the return type of a gcc2
23364 builtin and then its argument prototype would still apply. */
23365 char $ac_func ();
23366 /* The GNU C library defines this for functions which it implements
23367 to always fail with ENOSYS. Some functions are actually named
23368 something starting with __ and the normal name is an alias. */
23369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23370 choke me
23371 #else
23372 char (*f) () = $ac_func;
23373 #endif
23374 #ifdef __cplusplus
23376 #endif
23379 main ()
23381 return f != $ac_func;
23383 return 0;
23385 _ACEOF
23386 rm -f conftest.$ac_objext conftest$ac_exeext
23387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23388 (eval $ac_link) 2>conftest.er1
23389 ac_status=$?
23390 grep -v '^ *+' conftest.er1 >conftest.err
23391 rm -f conftest.er1
23392 cat conftest.err >&5
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); } &&
23395 { ac_try='test -z "$ac_c_werror_flag"
23396 || test ! -s conftest.err'
23397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23398 (eval $ac_try) 2>&5
23399 ac_status=$?
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; } &&
23402 { ac_try='test -s conftest$ac_exeext'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; }; then
23408 eval "$as_ac_var=yes"
23409 else
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23413 eval "$as_ac_var=no"
23415 rm -f conftest.err conftest.$ac_objext \
23416 conftest$ac_exeext conftest.$ac_ext
23418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23420 if test `eval echo '${'$as_ac_var'}'` = yes; then
23421 cat >>confdefs.h <<_ACEOF
23422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23423 _ACEOF
23426 done
23428 else
23430 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23431 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23432 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23433 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23434 echo $ECHO_N "(cached) $ECHO_C" >&6
23435 else
23439 ac_ext=cc
23440 ac_cpp='$CXXCPP $CPPFLAGS'
23441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23445 cat >conftest.$ac_ext <<_ACEOF
23446 /* confdefs.h. */
23447 _ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451 #include <math.h>
23452 #ifdef HAVE_IEEEFP_H
23453 #include <ieeefp.h>
23454 #endif
23457 main ()
23459 _sqrtl(0);
23461 return 0;
23463 _ACEOF
23464 rm -f conftest.$ac_objext
23465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23466 (eval $ac_compile) 2>conftest.er1
23467 ac_status=$?
23468 grep -v '^ *+' conftest.er1 >conftest.err
23469 rm -f conftest.er1
23470 cat conftest.err >&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); } &&
23473 { ac_try='test -z "$ac_cxx_werror_flag"
23474 || test ! -s conftest.err'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23477 ac_status=$?
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; } &&
23480 { ac_try='test -s conftest.$ac_objext'
23481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482 (eval $ac_try) 2>&5
23483 ac_status=$?
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; }; then
23486 glibcxx_cv_func__sqrtl_use=yes
23487 else
23488 echo "$as_me: failed program was:" >&5
23489 sed 's/^/| /' conftest.$ac_ext >&5
23491 glibcxx_cv_func__sqrtl_use=no
23493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23505 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23507 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23509 for ac_func in _sqrtl
23511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23512 echo "$as_me:$LINENO: checking for $ac_func" >&5
23513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23514 if eval "test \"\${$as_ac_var+set}\" = set"; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 else
23517 if test x$gcc_no_link = xyes; then
23518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23520 { (exit 1); exit 1; }; }
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23530 #define $ac_func innocuous_$ac_func
23532 /* System header to define __stub macros and hopefully few prototypes,
23533 which can conflict with char $ac_func (); below.
23534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23535 <limits.h> exists even on freestanding compilers. */
23537 #ifdef __STDC__
23538 # include <limits.h>
23539 #else
23540 # include <assert.h>
23541 #endif
23543 #undef $ac_func
23545 /* Override any gcc2 internal prototype to avoid an error. */
23546 #ifdef __cplusplus
23547 extern "C"
23549 #endif
23550 /* We use char because int might match the return type of a gcc2
23551 builtin and then its argument prototype would still apply. */
23552 char $ac_func ();
23553 /* The GNU C library defines this for functions which it implements
23554 to always fail with ENOSYS. Some functions are actually named
23555 something starting with __ and the normal name is an alias. */
23556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23557 choke me
23558 #else
23559 char (*f) () = $ac_func;
23560 #endif
23561 #ifdef __cplusplus
23563 #endif
23566 main ()
23568 return f != $ac_func;
23570 return 0;
23572 _ACEOF
23573 rm -f conftest.$ac_objext conftest$ac_exeext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23575 (eval $ac_link) 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try='test -z "$ac_c_werror_flag"
23583 || test ! -s conftest.err'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23586 ac_status=$?
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; } &&
23589 { ac_try='test -s conftest$ac_exeext'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 eval "$as_ac_var=yes"
23596 else
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23600 eval "$as_ac_var=no"
23602 rm -f conftest.err conftest.$ac_objext \
23603 conftest$ac_exeext conftest.$ac_ext
23605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23607 if test `eval echo '${'$as_ac_var'}'` = yes; then
23608 cat >>confdefs.h <<_ACEOF
23609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23610 _ACEOF
23613 done
23620 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23621 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23622 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23623 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23625 else
23629 ac_ext=cc
23630 ac_cpp='$CXXCPP $CPPFLAGS'
23631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23635 cat >conftest.$ac_ext <<_ACEOF
23636 /* confdefs.h. */
23637 _ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23641 #include <math.h>
23643 main ()
23645 sincosl(0, 0, 0);
23647 return 0;
23649 _ACEOF
23650 rm -f conftest.$ac_objext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23652 (eval $ac_compile) 2>conftest.er1
23653 ac_status=$?
23654 grep -v '^ *+' conftest.er1 >conftest.err
23655 rm -f conftest.er1
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try='test -z "$ac_cxx_werror_flag"
23660 || test ! -s conftest.err'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; } &&
23666 { ac_try='test -s conftest.$ac_objext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23669 ac_status=$?
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 glibcxx_cv_func_sincosl_use=yes
23673 else
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23677 glibcxx_cv_func_sincosl_use=no
23679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23680 ac_ext=c
23681 ac_cpp='$CPP $CPPFLAGS'
23682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23691 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23693 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23695 for ac_func in sincosl
23697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23698 echo "$as_me:$LINENO: checking for $ac_func" >&5
23699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23700 if eval "test \"\${$as_ac_var+set}\" = set"; then
23701 echo $ECHO_N "(cached) $ECHO_C" >&6
23702 else
23703 if test x$gcc_no_link = xyes; then
23704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23706 { (exit 1); exit 1; }; }
23708 cat >conftest.$ac_ext <<_ACEOF
23709 /* confdefs.h. */
23710 _ACEOF
23711 cat confdefs.h >>conftest.$ac_ext
23712 cat >>conftest.$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23716 #define $ac_func innocuous_$ac_func
23718 /* System header to define __stub macros and hopefully few prototypes,
23719 which can conflict with char $ac_func (); below.
23720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23721 <limits.h> exists even on freestanding compilers. */
23723 #ifdef __STDC__
23724 # include <limits.h>
23725 #else
23726 # include <assert.h>
23727 #endif
23729 #undef $ac_func
23731 /* Override any gcc2 internal prototype to avoid an error. */
23732 #ifdef __cplusplus
23733 extern "C"
23735 #endif
23736 /* We use char because int might match the return type of a gcc2
23737 builtin and then its argument prototype would still apply. */
23738 char $ac_func ();
23739 /* The GNU C library defines this for functions which it implements
23740 to always fail with ENOSYS. Some functions are actually named
23741 something starting with __ and the normal name is an alias. */
23742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23743 choke me
23744 #else
23745 char (*f) () = $ac_func;
23746 #endif
23747 #ifdef __cplusplus
23749 #endif
23752 main ()
23754 return f != $ac_func;
23756 return 0;
23758 _ACEOF
23759 rm -f conftest.$ac_objext conftest$ac_exeext
23760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23761 (eval $ac_link) 2>conftest.er1
23762 ac_status=$?
23763 grep -v '^ *+' conftest.er1 >conftest.err
23764 rm -f conftest.er1
23765 cat conftest.err >&5
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); } &&
23768 { ac_try='test -z "$ac_c_werror_flag"
23769 || test ! -s conftest.err'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; } &&
23775 { ac_try='test -s conftest$ac_exeext'
23776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23777 (eval $ac_try) 2>&5
23778 ac_status=$?
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); }; }; then
23781 eval "$as_ac_var=yes"
23782 else
23783 echo "$as_me: failed program was:" >&5
23784 sed 's/^/| /' conftest.$ac_ext >&5
23786 eval "$as_ac_var=no"
23788 rm -f conftest.err conftest.$ac_objext \
23789 conftest$ac_exeext conftest.$ac_ext
23791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23793 if test `eval echo '${'$as_ac_var'}'` = yes; then
23794 cat >>confdefs.h <<_ACEOF
23795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23796 _ACEOF
23799 done
23801 else
23803 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23804 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23805 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23806 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23807 echo $ECHO_N "(cached) $ECHO_C" >&6
23808 else
23812 ac_ext=cc
23813 ac_cpp='$CXXCPP $CPPFLAGS'
23814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23818 cat >conftest.$ac_ext <<_ACEOF
23819 /* confdefs.h. */
23820 _ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824 #include <math.h>
23826 main ()
23828 _sincosl(0, 0, 0);
23830 return 0;
23832 _ACEOF
23833 rm -f conftest.$ac_objext
23834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23835 (eval $ac_compile) 2>conftest.er1
23836 ac_status=$?
23837 grep -v '^ *+' conftest.er1 >conftest.err
23838 rm -f conftest.er1
23839 cat conftest.err >&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } &&
23842 { ac_try='test -z "$ac_cxx_werror_flag"
23843 || test ! -s conftest.err'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23846 ac_status=$?
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; } &&
23849 { ac_try='test -s conftest.$ac_objext'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; }; then
23855 glibcxx_cv_func__sincosl_use=yes
23856 else
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23860 glibcxx_cv_func__sincosl_use=no
23862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23863 ac_ext=c
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23874 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23876 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23878 for ac_func in _sincosl
23880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23881 echo "$as_me:$LINENO: checking for $ac_func" >&5
23882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23883 if eval "test \"\${$as_ac_var+set}\" = set"; then
23884 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 else
23886 if test x$gcc_no_link = xyes; then
23887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23889 { (exit 1); exit 1; }; }
23891 cat >conftest.$ac_ext <<_ACEOF
23892 /* confdefs.h. */
23893 _ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23899 #define $ac_func innocuous_$ac_func
23901 /* System header to define __stub macros and hopefully few prototypes,
23902 which can conflict with char $ac_func (); below.
23903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23904 <limits.h> exists even on freestanding compilers. */
23906 #ifdef __STDC__
23907 # include <limits.h>
23908 #else
23909 # include <assert.h>
23910 #endif
23912 #undef $ac_func
23914 /* Override any gcc2 internal prototype to avoid an error. */
23915 #ifdef __cplusplus
23916 extern "C"
23918 #endif
23919 /* We use char because int might match the return type of a gcc2
23920 builtin and then its argument prototype would still apply. */
23921 char $ac_func ();
23922 /* The GNU C library defines this for functions which it implements
23923 to always fail with ENOSYS. Some functions are actually named
23924 something starting with __ and the normal name is an alias. */
23925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23926 choke me
23927 #else
23928 char (*f) () = $ac_func;
23929 #endif
23930 #ifdef __cplusplus
23932 #endif
23935 main ()
23937 return f != $ac_func;
23939 return 0;
23941 _ACEOF
23942 rm -f conftest.$ac_objext conftest$ac_exeext
23943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23944 (eval $ac_link) 2>conftest.er1
23945 ac_status=$?
23946 grep -v '^ *+' conftest.er1 >conftest.err
23947 rm -f conftest.er1
23948 cat conftest.err >&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); } &&
23951 { ac_try='test -z "$ac_c_werror_flag"
23952 || test ! -s conftest.err'
23953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954 (eval $ac_try) 2>&5
23955 ac_status=$?
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); }; } &&
23958 { ac_try='test -s conftest$ac_exeext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23961 ac_status=$?
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23964 eval "$as_ac_var=yes"
23965 else
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.$ac_ext >&5
23969 eval "$as_ac_var=no"
23971 rm -f conftest.err conftest.$ac_objext \
23972 conftest$ac_exeext conftest.$ac_ext
23974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23976 if test `eval echo '${'$as_ac_var'}'` = yes; then
23977 cat >>confdefs.h <<_ACEOF
23978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23979 _ACEOF
23982 done
23989 echo "$as_me:$LINENO: checking for finitel declaration" >&5
23990 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23991 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23992 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
23993 echo $ECHO_N "(cached) $ECHO_C" >&6
23994 else
23998 ac_ext=cc
23999 ac_cpp='$CXXCPP $CPPFLAGS'
24000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24004 cat >conftest.$ac_ext <<_ACEOF
24005 /* confdefs.h. */
24006 _ACEOF
24007 cat confdefs.h >>conftest.$ac_ext
24008 cat >>conftest.$ac_ext <<_ACEOF
24009 /* end confdefs.h. */
24010 #include <math.h>
24011 #ifdef HAVE_IEEEFP_H
24012 #include <ieeefp.h>
24013 #endif
24016 main ()
24018 finitel(0);
24020 return 0;
24022 _ACEOF
24023 rm -f conftest.$ac_objext
24024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24025 (eval $ac_compile) 2>conftest.er1
24026 ac_status=$?
24027 grep -v '^ *+' conftest.er1 >conftest.err
24028 rm -f conftest.er1
24029 cat conftest.err >&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); } &&
24032 { ac_try='test -z "$ac_cxx_werror_flag"
24033 || test ! -s conftest.err'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; } &&
24039 { ac_try='test -s conftest.$ac_objext'
24040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24041 (eval $ac_try) 2>&5
24042 ac_status=$?
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); }; }; then
24045 glibcxx_cv_func_finitel_use=yes
24046 else
24047 echo "$as_me: failed program was:" >&5
24048 sed 's/^/| /' conftest.$ac_ext >&5
24050 glibcxx_cv_func_finitel_use=no
24052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24053 ac_ext=c
24054 ac_cpp='$CPP $CPPFLAGS'
24055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24064 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24066 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24068 for ac_func in finitel
24070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24071 echo "$as_me:$LINENO: checking for $ac_func" >&5
24072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24073 if eval "test \"\${$as_ac_var+set}\" = set"; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6
24075 else
24076 if test x$gcc_no_link = xyes; then
24077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24079 { (exit 1); exit 1; }; }
24081 cat >conftest.$ac_ext <<_ACEOF
24082 /* confdefs.h. */
24083 _ACEOF
24084 cat confdefs.h >>conftest.$ac_ext
24085 cat >>conftest.$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24089 #define $ac_func innocuous_$ac_func
24091 /* System header to define __stub macros and hopefully few prototypes,
24092 which can conflict with char $ac_func (); below.
24093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24094 <limits.h> exists even on freestanding compilers. */
24096 #ifdef __STDC__
24097 # include <limits.h>
24098 #else
24099 # include <assert.h>
24100 #endif
24102 #undef $ac_func
24104 /* Override any gcc2 internal prototype to avoid an error. */
24105 #ifdef __cplusplus
24106 extern "C"
24108 #endif
24109 /* We use char because int might match the return type of a gcc2
24110 builtin and then its argument prototype would still apply. */
24111 char $ac_func ();
24112 /* The GNU C library defines this for functions which it implements
24113 to always fail with ENOSYS. Some functions are actually named
24114 something starting with __ and the normal name is an alias. */
24115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24116 choke me
24117 #else
24118 char (*f) () = $ac_func;
24119 #endif
24120 #ifdef __cplusplus
24122 #endif
24125 main ()
24127 return f != $ac_func;
24129 return 0;
24131 _ACEOF
24132 rm -f conftest.$ac_objext conftest$ac_exeext
24133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24134 (eval $ac_link) 2>conftest.er1
24135 ac_status=$?
24136 grep -v '^ *+' conftest.er1 >conftest.err
24137 rm -f conftest.er1
24138 cat conftest.err >&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } &&
24141 { ac_try='test -z "$ac_c_werror_flag"
24142 || test ! -s conftest.err'
24143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24144 (eval $ac_try) 2>&5
24145 ac_status=$?
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); }; } &&
24148 { ac_try='test -s conftest$ac_exeext'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24151 ac_status=$?
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; }; then
24154 eval "$as_ac_var=yes"
24155 else
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.$ac_ext >&5
24159 eval "$as_ac_var=no"
24161 rm -f conftest.err conftest.$ac_objext \
24162 conftest$ac_exeext conftest.$ac_ext
24164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24166 if test `eval echo '${'$as_ac_var'}'` = yes; then
24167 cat >>confdefs.h <<_ACEOF
24168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24169 _ACEOF
24172 done
24174 else
24176 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24177 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24178 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24179 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24180 echo $ECHO_N "(cached) $ECHO_C" >&6
24181 else
24185 ac_ext=cc
24186 ac_cpp='$CXXCPP $CPPFLAGS'
24187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191 cat >conftest.$ac_ext <<_ACEOF
24192 /* confdefs.h. */
24193 _ACEOF
24194 cat confdefs.h >>conftest.$ac_ext
24195 cat >>conftest.$ac_ext <<_ACEOF
24196 /* end confdefs.h. */
24197 #include <math.h>
24198 #ifdef HAVE_IEEEFP_H
24199 #include <ieeefp.h>
24200 #endif
24203 main ()
24205 _finitel(0);
24207 return 0;
24209 _ACEOF
24210 rm -f conftest.$ac_objext
24211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24212 (eval $ac_compile) 2>conftest.er1
24213 ac_status=$?
24214 grep -v '^ *+' conftest.er1 >conftest.err
24215 rm -f conftest.er1
24216 cat conftest.err >&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); } &&
24219 { ac_try='test -z "$ac_cxx_werror_flag"
24220 || test ! -s conftest.err'
24221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24222 (eval $ac_try) 2>&5
24223 ac_status=$?
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); }; } &&
24226 { ac_try='test -s conftest.$ac_objext'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24229 ac_status=$?
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; }; then
24232 glibcxx_cv_func__finitel_use=yes
24233 else
24234 echo "$as_me: failed program was:" >&5
24235 sed 's/^/| /' conftest.$ac_ext >&5
24237 glibcxx_cv_func__finitel_use=no
24239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24240 ac_ext=c
24241 ac_cpp='$CPP $CPPFLAGS'
24242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24251 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24253 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24255 for ac_func in _finitel
24257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24258 echo "$as_me:$LINENO: checking for $ac_func" >&5
24259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24260 if eval "test \"\${$as_ac_var+set}\" = set"; then
24261 echo $ECHO_N "(cached) $ECHO_C" >&6
24262 else
24263 if test x$gcc_no_link = xyes; then
24264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24266 { (exit 1); exit 1; }; }
24268 cat >conftest.$ac_ext <<_ACEOF
24269 /* confdefs.h. */
24270 _ACEOF
24271 cat confdefs.h >>conftest.$ac_ext
24272 cat >>conftest.$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24276 #define $ac_func innocuous_$ac_func
24278 /* System header to define __stub macros and hopefully few prototypes,
24279 which can conflict with char $ac_func (); below.
24280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24281 <limits.h> exists even on freestanding compilers. */
24283 #ifdef __STDC__
24284 # include <limits.h>
24285 #else
24286 # include <assert.h>
24287 #endif
24289 #undef $ac_func
24291 /* Override any gcc2 internal prototype to avoid an error. */
24292 #ifdef __cplusplus
24293 extern "C"
24295 #endif
24296 /* We use char because int might match the return type of a gcc2
24297 builtin and then its argument prototype would still apply. */
24298 char $ac_func ();
24299 /* The GNU C library defines this for functions which it implements
24300 to always fail with ENOSYS. Some functions are actually named
24301 something starting with __ and the normal name is an alias. */
24302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24303 choke me
24304 #else
24305 char (*f) () = $ac_func;
24306 #endif
24307 #ifdef __cplusplus
24309 #endif
24312 main ()
24314 return f != $ac_func;
24316 return 0;
24318 _ACEOF
24319 rm -f conftest.$ac_objext conftest$ac_exeext
24320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24321 (eval $ac_link) 2>conftest.er1
24322 ac_status=$?
24323 grep -v '^ *+' conftest.er1 >conftest.err
24324 rm -f conftest.er1
24325 cat conftest.err >&5
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); } &&
24328 { ac_try='test -z "$ac_c_werror_flag"
24329 || test ! -s conftest.err'
24330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24331 (eval $ac_try) 2>&5
24332 ac_status=$?
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); }; } &&
24335 { ac_try='test -s conftest$ac_exeext'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24338 ac_status=$?
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; }; then
24341 eval "$as_ac_var=yes"
24342 else
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24346 eval "$as_ac_var=no"
24348 rm -f conftest.err conftest.$ac_objext \
24349 conftest$ac_exeext conftest.$ac_ext
24351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24353 if test `eval echo '${'$as_ac_var'}'` = yes; then
24354 cat >>confdefs.h <<_ACEOF
24355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24356 _ACEOF
24359 done
24367 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24368 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24369 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 else
24375 ac_ext=cc
24376 ac_cpp='$CXXCPP $CPPFLAGS'
24377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24381 cat >conftest.$ac_ext <<_ACEOF
24382 /* confdefs.h. */
24383 _ACEOF
24384 cat confdefs.h >>conftest.$ac_ext
24385 cat >>conftest.$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24387 #include <math.h>
24389 main ()
24391 `for x in _acosf _asinf _atanf \
24392 _cosf _sinf _tanf \
24393 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24395 return 0;
24397 _ACEOF
24398 rm -f conftest.$ac_objext
24399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24400 (eval $ac_compile) 2>conftest.er1
24401 ac_status=$?
24402 grep -v '^ *+' conftest.er1 >conftest.err
24403 rm -f conftest.er1
24404 cat conftest.err >&5
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); } &&
24407 { ac_try='test -z "$ac_cxx_werror_flag"
24408 || test ! -s conftest.err'
24409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24410 (eval $ac_try) 2>&5
24411 ac_status=$?
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); }; } &&
24414 { ac_try='test -s conftest.$ac_objext'
24415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24416 (eval $ac_try) 2>&5
24417 ac_status=$?
24418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24419 (exit $ac_status); }; }; then
24420 glibcxx_cv_func__float_trig_use=yes
24421 else
24422 echo "$as_me: failed program was:" >&5
24423 sed 's/^/| /' conftest.$ac_ext >&5
24425 glibcxx_cv_func__float_trig_use=no
24427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24428 ac_ext=c
24429 ac_cpp='$CPP $CPPFLAGS'
24430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24437 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24438 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24448 for ac_func in _acosf _asinf _atanf \
24449 _cosf _sinf _tanf \
24450 _coshf _sinhf _tanhf
24452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24453 echo "$as_me:$LINENO: checking for $ac_func" >&5
24454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24455 if eval "test \"\${$as_ac_var+set}\" = set"; then
24456 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 else
24458 if test x$gcc_no_link = xyes; then
24459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24461 { (exit 1); exit 1; }; }
24463 cat >conftest.$ac_ext <<_ACEOF
24464 /* confdefs.h. */
24465 _ACEOF
24466 cat confdefs.h >>conftest.$ac_ext
24467 cat >>conftest.$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24471 #define $ac_func innocuous_$ac_func
24473 /* System header to define __stub macros and hopefully few prototypes,
24474 which can conflict with char $ac_func (); below.
24475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24476 <limits.h> exists even on freestanding compilers. */
24478 #ifdef __STDC__
24479 # include <limits.h>
24480 #else
24481 # include <assert.h>
24482 #endif
24484 #undef $ac_func
24486 /* Override any gcc2 internal prototype to avoid an error. */
24487 #ifdef __cplusplus
24488 extern "C"
24490 #endif
24491 /* We use char because int might match the return type of a gcc2
24492 builtin and then its argument prototype would still apply. */
24493 char $ac_func ();
24494 /* The GNU C library defines this for functions which it implements
24495 to always fail with ENOSYS. Some functions are actually named
24496 something starting with __ and the normal name is an alias. */
24497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24498 choke me
24499 #else
24500 char (*f) () = $ac_func;
24501 #endif
24502 #ifdef __cplusplus
24504 #endif
24507 main ()
24509 return f != $ac_func;
24511 return 0;
24513 _ACEOF
24514 rm -f conftest.$ac_objext conftest$ac_exeext
24515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24516 (eval $ac_link) 2>conftest.er1
24517 ac_status=$?
24518 grep -v '^ *+' conftest.er1 >conftest.err
24519 rm -f conftest.er1
24520 cat conftest.err >&5
24521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24522 (exit $ac_status); } &&
24523 { ac_try='test -z "$ac_c_werror_flag"
24524 || test ! -s conftest.err'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24527 ac_status=$?
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; } &&
24530 { ac_try='test -s conftest$ac_exeext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 eval "$as_ac_var=yes"
24537 else
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.$ac_ext >&5
24541 eval "$as_ac_var=no"
24543 rm -f conftest.err conftest.$ac_objext \
24544 conftest$ac_exeext conftest.$ac_ext
24546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24548 if test `eval echo '${'$as_ac_var'}'` = yes; then
24549 cat >>confdefs.h <<_ACEOF
24550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24551 _ACEOF
24554 done
24559 echo "$as_me:$LINENO: checking for _float round functions" >&5
24560 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24561 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24562 echo $ECHO_N "(cached) $ECHO_C" >&6
24563 else
24567 ac_ext=cc
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573 cat >conftest.$ac_ext <<_ACEOF
24574 /* confdefs.h. */
24575 _ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24579 #include <math.h>
24581 main ()
24583 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24585 return 0;
24587 _ACEOF
24588 rm -f conftest.$ac_objext
24589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24590 (eval $ac_compile) 2>conftest.er1
24591 ac_status=$?
24592 grep -v '^ *+' conftest.er1 >conftest.err
24593 rm -f conftest.er1
24594 cat conftest.err >&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try='test -z "$ac_cxx_werror_flag"
24598 || test ! -s conftest.err'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24601 ac_status=$?
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; } &&
24604 { ac_try='test -s conftest.$ac_objext'
24605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606 (eval $ac_try) 2>&5
24607 ac_status=$?
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); }; }; then
24610 glibcxx_cv_func__float_round_use=yes
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24615 glibcxx_cv_func__float_round_use=no
24617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24618 ac_ext=c
24619 ac_cpp='$CPP $CPPFLAGS'
24620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24627 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24628 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24631 for ac_func in _ceilf _floorf
24633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24634 echo "$as_me:$LINENO: checking for $ac_func" >&5
24635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24636 if eval "test \"\${$as_ac_var+set}\" = set"; then
24637 echo $ECHO_N "(cached) $ECHO_C" >&6
24638 else
24639 if test x$gcc_no_link = xyes; then
24640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24642 { (exit 1); exit 1; }; }
24644 cat >conftest.$ac_ext <<_ACEOF
24645 /* confdefs.h. */
24646 _ACEOF
24647 cat confdefs.h >>conftest.$ac_ext
24648 cat >>conftest.$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24652 #define $ac_func innocuous_$ac_func
24654 /* System header to define __stub macros and hopefully few prototypes,
24655 which can conflict with char $ac_func (); below.
24656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24657 <limits.h> exists even on freestanding compilers. */
24659 #ifdef __STDC__
24660 # include <limits.h>
24661 #else
24662 # include <assert.h>
24663 #endif
24665 #undef $ac_func
24667 /* Override any gcc2 internal prototype to avoid an error. */
24668 #ifdef __cplusplus
24669 extern "C"
24671 #endif
24672 /* We use char because int might match the return type of a gcc2
24673 builtin and then its argument prototype would still apply. */
24674 char $ac_func ();
24675 /* The GNU C library defines this for functions which it implements
24676 to always fail with ENOSYS. Some functions are actually named
24677 something starting with __ and the normal name is an alias. */
24678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24679 choke me
24680 #else
24681 char (*f) () = $ac_func;
24682 #endif
24683 #ifdef __cplusplus
24685 #endif
24688 main ()
24690 return f != $ac_func;
24692 return 0;
24694 _ACEOF
24695 rm -f conftest.$ac_objext conftest$ac_exeext
24696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24697 (eval $ac_link) 2>conftest.er1
24698 ac_status=$?
24699 grep -v '^ *+' conftest.er1 >conftest.err
24700 rm -f conftest.er1
24701 cat conftest.err >&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } &&
24704 { ac_try='test -z "$ac_c_werror_flag"
24705 || test ! -s conftest.err'
24706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24707 (eval $ac_try) 2>&5
24708 ac_status=$?
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); }; } &&
24711 { ac_try='test -s conftest$ac_exeext'
24712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24713 (eval $ac_try) 2>&5
24714 ac_status=$?
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); }; }; then
24717 eval "$as_ac_var=yes"
24718 else
24719 echo "$as_me: failed program was:" >&5
24720 sed 's/^/| /' conftest.$ac_ext >&5
24722 eval "$as_ac_var=no"
24724 rm -f conftest.err conftest.$ac_objext \
24725 conftest$ac_exeext conftest.$ac_ext
24727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24729 if test `eval echo '${'$as_ac_var'}'` = yes; then
24730 cat >>confdefs.h <<_ACEOF
24731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24732 _ACEOF
24735 done
24741 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24742 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24743 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24744 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 else
24749 ac_ext=cc
24750 ac_cpp='$CXXCPP $CPPFLAGS'
24751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24755 cat >conftest.$ac_ext <<_ACEOF
24756 /* confdefs.h. */
24757 _ACEOF
24758 cat confdefs.h >>conftest.$ac_ext
24759 cat >>conftest.$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24761 #include <math.h>
24763 main ()
24765 `for x in _acosl _asinl _atanl \
24766 _cosl _sinl _tanl \
24767 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24769 return 0;
24771 _ACEOF
24772 rm -f conftest.$ac_objext
24773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24774 (eval $ac_compile) 2>conftest.er1
24775 ac_status=$?
24776 grep -v '^ *+' conftest.er1 >conftest.err
24777 rm -f conftest.er1
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } &&
24781 { ac_try='test -z "$ac_cxx_werror_flag"
24782 || test ! -s conftest.err'
24783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24784 (eval $ac_try) 2>&5
24785 ac_status=$?
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); }; } &&
24788 { ac_try='test -s conftest.$ac_objext'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24791 ac_status=$?
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; }; then
24794 glibcxx_cv_func__long_double_trig_use=yes
24795 else
24796 echo "$as_me: failed program was:" >&5
24797 sed 's/^/| /' conftest.$ac_ext >&5
24799 glibcxx_cv_func__long_double_trig_use=no
24801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24802 ac_ext=c
24803 ac_cpp='$CPP $CPPFLAGS'
24804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24811 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24812 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24822 for ac_func in _acosl _asinl _atanl \
24823 _cosl _sinl _tanl \
24824 _coshl _sinhl _tanhl
24826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24827 echo "$as_me:$LINENO: checking for $ac_func" >&5
24828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24829 if eval "test \"\${$as_ac_var+set}\" = set"; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24831 else
24832 if test x$gcc_no_link = xyes; then
24833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24835 { (exit 1); exit 1; }; }
24837 cat >conftest.$ac_ext <<_ACEOF
24838 /* confdefs.h. */
24839 _ACEOF
24840 cat confdefs.h >>conftest.$ac_ext
24841 cat >>conftest.$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24845 #define $ac_func innocuous_$ac_func
24847 /* System header to define __stub macros and hopefully few prototypes,
24848 which can conflict with char $ac_func (); below.
24849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24850 <limits.h> exists even on freestanding compilers. */
24852 #ifdef __STDC__
24853 # include <limits.h>
24854 #else
24855 # include <assert.h>
24856 #endif
24858 #undef $ac_func
24860 /* Override any gcc2 internal prototype to avoid an error. */
24861 #ifdef __cplusplus
24862 extern "C"
24864 #endif
24865 /* We use char because int might match the return type of a gcc2
24866 builtin and then its argument prototype would still apply. */
24867 char $ac_func ();
24868 /* The GNU C library defines this for functions which it implements
24869 to always fail with ENOSYS. Some functions are actually named
24870 something starting with __ and the normal name is an alias. */
24871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24872 choke me
24873 #else
24874 char (*f) () = $ac_func;
24875 #endif
24876 #ifdef __cplusplus
24878 #endif
24881 main ()
24883 return f != $ac_func;
24885 return 0;
24887 _ACEOF
24888 rm -f conftest.$ac_objext conftest$ac_exeext
24889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24890 (eval $ac_link) 2>conftest.er1
24891 ac_status=$?
24892 grep -v '^ *+' conftest.er1 >conftest.err
24893 rm -f conftest.er1
24894 cat conftest.err >&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } &&
24897 { ac_try='test -z "$ac_c_werror_flag"
24898 || test ! -s conftest.err'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; } &&
24904 { ac_try='test -s conftest$ac_exeext'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24907 ac_status=$?
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24910 eval "$as_ac_var=yes"
24911 else
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.$ac_ext >&5
24915 eval "$as_ac_var=no"
24917 rm -f conftest.err conftest.$ac_objext \
24918 conftest$ac_exeext conftest.$ac_ext
24920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24922 if test `eval echo '${'$as_ac_var'}'` = yes; then
24923 cat >>confdefs.h <<_ACEOF
24924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24925 _ACEOF
24928 done
24933 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24934 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24935 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24941 ac_ext=cc
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24947 cat >conftest.$ac_ext <<_ACEOF
24948 /* confdefs.h. */
24949 _ACEOF
24950 cat confdefs.h >>conftest.$ac_ext
24951 cat >>conftest.$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24953 #include <math.h>
24955 main ()
24957 `for x in _ceill _floorl; do echo "$x (0);"; done`
24959 return 0;
24961 _ACEOF
24962 rm -f conftest.$ac_objext
24963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24964 (eval $ac_compile) 2>conftest.er1
24965 ac_status=$?
24966 grep -v '^ *+' conftest.er1 >conftest.err
24967 rm -f conftest.er1
24968 cat conftest.err >&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); } &&
24971 { ac_try='test -z "$ac_cxx_werror_flag"
24972 || test ! -s conftest.err'
24973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24974 (eval $ac_try) 2>&5
24975 ac_status=$?
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); }; } &&
24978 { ac_try='test -s conftest.$ac_objext'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24981 ac_status=$?
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; }; then
24984 glibcxx_cv_func__long_double_round_use=yes
24985 else
24986 echo "$as_me: failed program was:" >&5
24987 sed 's/^/| /' conftest.$ac_ext >&5
24989 glibcxx_cv_func__long_double_round_use=no
24991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24992 ac_ext=c
24993 ac_cpp='$CPP $CPPFLAGS'
24994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25001 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25002 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25005 for ac_func in _ceill _floorl
25007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25008 echo "$as_me:$LINENO: checking for $ac_func" >&5
25009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25010 if eval "test \"\${$as_ac_var+set}\" = set"; then
25011 echo $ECHO_N "(cached) $ECHO_C" >&6
25012 else
25013 if test x$gcc_no_link = xyes; then
25014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25016 { (exit 1); exit 1; }; }
25018 cat >conftest.$ac_ext <<_ACEOF
25019 /* confdefs.h. */
25020 _ACEOF
25021 cat confdefs.h >>conftest.$ac_ext
25022 cat >>conftest.$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25026 #define $ac_func innocuous_$ac_func
25028 /* System header to define __stub macros and hopefully few prototypes,
25029 which can conflict with char $ac_func (); below.
25030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25031 <limits.h> exists even on freestanding compilers. */
25033 #ifdef __STDC__
25034 # include <limits.h>
25035 #else
25036 # include <assert.h>
25037 #endif
25039 #undef $ac_func
25041 /* Override any gcc2 internal prototype to avoid an error. */
25042 #ifdef __cplusplus
25043 extern "C"
25045 #endif
25046 /* We use char because int might match the return type of a gcc2
25047 builtin and then its argument prototype would still apply. */
25048 char $ac_func ();
25049 /* The GNU C library defines this for functions which it implements
25050 to always fail with ENOSYS. Some functions are actually named
25051 something starting with __ and the normal name is an alias. */
25052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25053 choke me
25054 #else
25055 char (*f) () = $ac_func;
25056 #endif
25057 #ifdef __cplusplus
25059 #endif
25062 main ()
25064 return f != $ac_func;
25066 return 0;
25068 _ACEOF
25069 rm -f conftest.$ac_objext conftest$ac_exeext
25070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25071 (eval $ac_link) 2>conftest.er1
25072 ac_status=$?
25073 grep -v '^ *+' conftest.er1 >conftest.err
25074 rm -f conftest.er1
25075 cat conftest.err >&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); } &&
25078 { ac_try='test -z "$ac_c_werror_flag"
25079 || test ! -s conftest.err'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; } &&
25085 { ac_try='test -s conftest$ac_exeext'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25088 ac_status=$?
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; }; then
25091 eval "$as_ac_var=yes"
25092 else
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.$ac_ext >&5
25096 eval "$as_ac_var=no"
25098 rm -f conftest.err conftest.$ac_objext \
25099 conftest$ac_exeext conftest.$ac_ext
25101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25103 if test `eval echo '${'$as_ac_var'}'` = yes; then
25104 cat >>confdefs.h <<_ACEOF
25105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25106 _ACEOF
25109 done
25114 LIBS="$ac_save_LIBS"
25115 CXXFLAGS="$ac_save_CXXFLAGS"
25119 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25120 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25121 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25122 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 else
25128 ac_ext=cc
25129 ac_cpp='$CXXCPP $CPPFLAGS'
25130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25134 cat >conftest.$ac_ext <<_ACEOF
25135 /* confdefs.h. */
25136 _ACEOF
25137 cat confdefs.h >>conftest.$ac_ext
25138 cat >>conftest.$ac_ext <<_ACEOF
25139 /* end confdefs.h. */
25140 #include <math.h>
25142 main ()
25144 __builtin_abs(0);
25146 return 0;
25148 _ACEOF
25149 rm -f conftest.$ac_objext
25150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25151 (eval $ac_compile) 2>conftest.er1
25152 ac_status=$?
25153 grep -v '^ *+' conftest.er1 >conftest.err
25154 rm -f conftest.er1
25155 cat conftest.err >&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); } &&
25158 { ac_try='test -z "$ac_cxx_werror_flag"
25159 || test ! -s conftest.err'
25160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161 (eval $ac_try) 2>&5
25162 ac_status=$?
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); }; } &&
25165 { ac_try='test -s conftest.$ac_objext'
25166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25167 (eval $ac_try) 2>&5
25168 ac_status=$?
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); }; }; then
25171 glibcxx_cv_func___builtin_abs_use=yes
25172 else
25173 echo "$as_me: failed program was:" >&5
25174 sed 's/^/| /' conftest.$ac_ext >&5
25176 glibcxx_cv_func___builtin_abs_use=no
25178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25179 ac_ext=c
25180 ac_cpp='$CPP $CPPFLAGS'
25181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25189 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25190 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25191 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25192 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25193 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25194 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25195 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25196 echo $ECHO_N "(cached) $ECHO_C" >&6
25197 else
25199 if test x$gcc_no_link = xyes; then
25200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25202 { (exit 1); exit 1; }; }
25204 cat >conftest.$ac_ext <<_ACEOF
25205 /* confdefs.h. */
25206 _ACEOF
25207 cat confdefs.h >>conftest.$ac_ext
25208 cat >>conftest.$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25210 #include <math.h>
25212 main ()
25214 __builtin_abs(0);
25216 return 0;
25218 _ACEOF
25219 rm -f conftest.$ac_objext conftest$ac_exeext
25220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25221 (eval $ac_link) 2>conftest.er1
25222 ac_status=$?
25223 grep -v '^ *+' conftest.er1 >conftest.err
25224 rm -f conftest.er1
25225 cat conftest.err >&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } &&
25228 { ac_try='test -z "$ac_c_werror_flag"
25229 || test ! -s conftest.err'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25232 ac_status=$?
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; } &&
25235 { ac_try='test -s conftest$ac_exeext'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25238 ac_status=$?
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; }; then
25241 glibcxx_cv_func___builtin_abs_link=yes
25242 else
25243 echo "$as_me: failed program was:" >&5
25244 sed 's/^/| /' conftest.$ac_ext >&5
25246 glibcxx_cv_func___builtin_abs_link=no
25248 rm -f conftest.err conftest.$ac_objext \
25249 conftest$ac_exeext conftest.$ac_ext
25254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25255 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25256 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25257 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25259 cat >>confdefs.h <<_ACEOF
25260 #define ${ac_tr_func} 1
25261 _ACEOF
25267 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25268 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25269 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25270 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25272 else
25276 ac_ext=cc
25277 ac_cpp='$CXXCPP $CPPFLAGS'
25278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25282 cat >conftest.$ac_ext <<_ACEOF
25283 /* confdefs.h. */
25284 _ACEOF
25285 cat confdefs.h >>conftest.$ac_ext
25286 cat >>conftest.$ac_ext <<_ACEOF
25287 /* end confdefs.h. */
25288 #include <math.h>
25290 main ()
25292 __builtin_fabsf(0);
25294 return 0;
25296 _ACEOF
25297 rm -f conftest.$ac_objext
25298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25299 (eval $ac_compile) 2>conftest.er1
25300 ac_status=$?
25301 grep -v '^ *+' conftest.er1 >conftest.err
25302 rm -f conftest.er1
25303 cat conftest.err >&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } &&
25306 { ac_try='test -z "$ac_cxx_werror_flag"
25307 || test ! -s conftest.err'
25308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309 (eval $ac_try) 2>&5
25310 ac_status=$?
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); }; } &&
25313 { ac_try='test -s conftest.$ac_objext'
25314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315 (eval $ac_try) 2>&5
25316 ac_status=$?
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); }; }; then
25319 glibcxx_cv_func___builtin_fabsf_use=yes
25320 else
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25324 glibcxx_cv_func___builtin_fabsf_use=no
25326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25327 ac_ext=c
25328 ac_cpp='$CPP $CPPFLAGS'
25329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25337 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25338 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25339 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25340 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25341 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25342 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25343 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25345 else
25347 if test x$gcc_no_link = xyes; then
25348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25350 { (exit 1); exit 1; }; }
25352 cat >conftest.$ac_ext <<_ACEOF
25353 /* confdefs.h. */
25354 _ACEOF
25355 cat confdefs.h >>conftest.$ac_ext
25356 cat >>conftest.$ac_ext <<_ACEOF
25357 /* end confdefs.h. */
25358 #include <math.h>
25360 main ()
25362 __builtin_fabsf(0);
25364 return 0;
25366 _ACEOF
25367 rm -f conftest.$ac_objext conftest$ac_exeext
25368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25369 (eval $ac_link) 2>conftest.er1
25370 ac_status=$?
25371 grep -v '^ *+' conftest.er1 >conftest.err
25372 rm -f conftest.er1
25373 cat conftest.err >&5
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); } &&
25376 { ac_try='test -z "$ac_c_werror_flag"
25377 || test ! -s conftest.err'
25378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25379 (eval $ac_try) 2>&5
25380 ac_status=$?
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); }; } &&
25383 { ac_try='test -s conftest$ac_exeext'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25386 ac_status=$?
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; }; then
25389 glibcxx_cv_func___builtin_fabsf_link=yes
25390 else
25391 echo "$as_me: failed program was:" >&5
25392 sed 's/^/| /' conftest.$ac_ext >&5
25394 glibcxx_cv_func___builtin_fabsf_link=no
25396 rm -f conftest.err conftest.$ac_objext \
25397 conftest$ac_exeext conftest.$ac_ext
25402 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25403 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25404 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25405 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25407 cat >>confdefs.h <<_ACEOF
25408 #define ${ac_tr_func} 1
25409 _ACEOF
25415 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25416 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25417 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25418 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25419 echo $ECHO_N "(cached) $ECHO_C" >&6
25420 else
25424 ac_ext=cc
25425 ac_cpp='$CXXCPP $CPPFLAGS'
25426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25430 cat >conftest.$ac_ext <<_ACEOF
25431 /* confdefs.h. */
25432 _ACEOF
25433 cat confdefs.h >>conftest.$ac_ext
25434 cat >>conftest.$ac_ext <<_ACEOF
25435 /* end confdefs.h. */
25436 #include <math.h>
25438 main ()
25440 __builtin_fabs(0);
25442 return 0;
25444 _ACEOF
25445 rm -f conftest.$ac_objext
25446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25447 (eval $ac_compile) 2>conftest.er1
25448 ac_status=$?
25449 grep -v '^ *+' conftest.er1 >conftest.err
25450 rm -f conftest.er1
25451 cat conftest.err >&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } &&
25454 { ac_try='test -z "$ac_cxx_werror_flag"
25455 || test ! -s conftest.err'
25456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25457 (eval $ac_try) 2>&5
25458 ac_status=$?
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; } &&
25461 { ac_try='test -s conftest.$ac_objext'
25462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25463 (eval $ac_try) 2>&5
25464 ac_status=$?
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); }; }; then
25467 glibcxx_cv_func___builtin_fabs_use=yes
25468 else
25469 echo "$as_me: failed program was:" >&5
25470 sed 's/^/| /' conftest.$ac_ext >&5
25472 glibcxx_cv_func___builtin_fabs_use=no
25474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25475 ac_ext=c
25476 ac_cpp='$CPP $CPPFLAGS'
25477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25485 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25486 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25487 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25488 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25489 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25490 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25491 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25493 else
25495 if test x$gcc_no_link = xyes; then
25496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25498 { (exit 1); exit 1; }; }
25500 cat >conftest.$ac_ext <<_ACEOF
25501 /* confdefs.h. */
25502 _ACEOF
25503 cat confdefs.h >>conftest.$ac_ext
25504 cat >>conftest.$ac_ext <<_ACEOF
25505 /* end confdefs.h. */
25506 #include <math.h>
25508 main ()
25510 __builtin_fabs(0);
25512 return 0;
25514 _ACEOF
25515 rm -f conftest.$ac_objext conftest$ac_exeext
25516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25517 (eval $ac_link) 2>conftest.er1
25518 ac_status=$?
25519 grep -v '^ *+' conftest.er1 >conftest.err
25520 rm -f conftest.er1
25521 cat conftest.err >&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } &&
25524 { ac_try='test -z "$ac_c_werror_flag"
25525 || test ! -s conftest.err'
25526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527 (eval $ac_try) 2>&5
25528 ac_status=$?
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); }; } &&
25531 { ac_try='test -s conftest$ac_exeext'
25532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25533 (eval $ac_try) 2>&5
25534 ac_status=$?
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); }; }; then
25537 glibcxx_cv_func___builtin_fabs_link=yes
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25542 glibcxx_cv_func___builtin_fabs_link=no
25544 rm -f conftest.err conftest.$ac_objext \
25545 conftest$ac_exeext conftest.$ac_ext
25550 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25551 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25552 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25553 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25555 cat >>confdefs.h <<_ACEOF
25556 #define ${ac_tr_func} 1
25557 _ACEOF
25563 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25564 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25565 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25566 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25567 echo $ECHO_N "(cached) $ECHO_C" >&6
25568 else
25572 ac_ext=cc
25573 ac_cpp='$CXXCPP $CPPFLAGS'
25574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25578 cat >conftest.$ac_ext <<_ACEOF
25579 /* confdefs.h. */
25580 _ACEOF
25581 cat confdefs.h >>conftest.$ac_ext
25582 cat >>conftest.$ac_ext <<_ACEOF
25583 /* end confdefs.h. */
25584 #include <math.h>
25586 main ()
25588 __builtin_fabsl(0);
25590 return 0;
25592 _ACEOF
25593 rm -f conftest.$ac_objext
25594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25595 (eval $ac_compile) 2>conftest.er1
25596 ac_status=$?
25597 grep -v '^ *+' conftest.er1 >conftest.err
25598 rm -f conftest.er1
25599 cat conftest.err >&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } &&
25602 { ac_try='test -z "$ac_cxx_werror_flag"
25603 || test ! -s conftest.err'
25604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25605 (eval $ac_try) 2>&5
25606 ac_status=$?
25607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); }; } &&
25609 { ac_try='test -s conftest.$ac_objext'
25610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25611 (eval $ac_try) 2>&5
25612 ac_status=$?
25613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614 (exit $ac_status); }; }; then
25615 glibcxx_cv_func___builtin_fabsl_use=yes
25616 else
25617 echo "$as_me: failed program was:" >&5
25618 sed 's/^/| /' conftest.$ac_ext >&5
25620 glibcxx_cv_func___builtin_fabsl_use=no
25622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25623 ac_ext=c
25624 ac_cpp='$CPP $CPPFLAGS'
25625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25633 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25634 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25635 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25636 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25637 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25638 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25639 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25640 echo $ECHO_N "(cached) $ECHO_C" >&6
25641 else
25643 if test x$gcc_no_link = xyes; then
25644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25646 { (exit 1); exit 1; }; }
25648 cat >conftest.$ac_ext <<_ACEOF
25649 /* confdefs.h. */
25650 _ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25654 #include <math.h>
25656 main ()
25658 __builtin_fabsl(0);
25660 return 0;
25662 _ACEOF
25663 rm -f conftest.$ac_objext conftest$ac_exeext
25664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25665 (eval $ac_link) 2>conftest.er1
25666 ac_status=$?
25667 grep -v '^ *+' conftest.er1 >conftest.err
25668 rm -f conftest.er1
25669 cat conftest.err >&5
25670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25671 (exit $ac_status); } &&
25672 { ac_try='test -z "$ac_c_werror_flag"
25673 || test ! -s conftest.err'
25674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675 (eval $ac_try) 2>&5
25676 ac_status=$?
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); }; } &&
25679 { ac_try='test -s conftest$ac_exeext'
25680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25681 (eval $ac_try) 2>&5
25682 ac_status=$?
25683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684 (exit $ac_status); }; }; then
25685 glibcxx_cv_func___builtin_fabsl_link=yes
25686 else
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.$ac_ext >&5
25690 glibcxx_cv_func___builtin_fabsl_link=no
25692 rm -f conftest.err conftest.$ac_objext \
25693 conftest$ac_exeext conftest.$ac_ext
25698 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25699 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25700 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25701 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25703 cat >>confdefs.h <<_ACEOF
25704 #define ${ac_tr_func} 1
25705 _ACEOF
25711 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25712 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25713 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25714 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25715 echo $ECHO_N "(cached) $ECHO_C" >&6
25716 else
25720 ac_ext=cc
25721 ac_cpp='$CXXCPP $CPPFLAGS'
25722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25726 cat >conftest.$ac_ext <<_ACEOF
25727 /* confdefs.h. */
25728 _ACEOF
25729 cat confdefs.h >>conftest.$ac_ext
25730 cat >>conftest.$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25732 #include <math.h>
25734 main ()
25736 __builtin_labs(0);
25738 return 0;
25740 _ACEOF
25741 rm -f conftest.$ac_objext
25742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25743 (eval $ac_compile) 2>conftest.er1
25744 ac_status=$?
25745 grep -v '^ *+' conftest.er1 >conftest.err
25746 rm -f conftest.er1
25747 cat conftest.err >&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); } &&
25750 { ac_try='test -z "$ac_cxx_werror_flag"
25751 || test ! -s conftest.err'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25754 ac_status=$?
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; } &&
25757 { ac_try='test -s conftest.$ac_objext'
25758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25759 (eval $ac_try) 2>&5
25760 ac_status=$?
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); }; }; then
25763 glibcxx_cv_func___builtin_labs_use=yes
25764 else
25765 echo "$as_me: failed program was:" >&5
25766 sed 's/^/| /' conftest.$ac_ext >&5
25768 glibcxx_cv_func___builtin_labs_use=no
25770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25771 ac_ext=c
25772 ac_cpp='$CPP $CPPFLAGS'
25773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25782 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25783 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25784 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25785 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25786 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25787 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 else
25791 if test x$gcc_no_link = xyes; then
25792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25794 { (exit 1); exit 1; }; }
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 #include <math.h>
25804 main ()
25806 __builtin_labs(0);
25808 return 0;
25810 _ACEOF
25811 rm -f conftest.$ac_objext conftest$ac_exeext
25812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25813 (eval $ac_link) 2>conftest.er1
25814 ac_status=$?
25815 grep -v '^ *+' conftest.er1 >conftest.err
25816 rm -f conftest.er1
25817 cat conftest.err >&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); } &&
25820 { ac_try='test -z "$ac_c_werror_flag"
25821 || test ! -s conftest.err'
25822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25823 (eval $ac_try) 2>&5
25824 ac_status=$?
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); }; } &&
25827 { ac_try='test -s conftest$ac_exeext'
25828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25829 (eval $ac_try) 2>&5
25830 ac_status=$?
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); }; }; then
25833 glibcxx_cv_func___builtin_labs_link=yes
25834 else
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25838 glibcxx_cv_func___builtin_labs_link=no
25840 rm -f conftest.err conftest.$ac_objext \
25841 conftest$ac_exeext conftest.$ac_ext
25846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25847 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25848 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25849 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25851 cat >>confdefs.h <<_ACEOF
25852 #define ${ac_tr_func} 1
25853 _ACEOF
25860 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25861 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25862 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25863 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25864 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 else
25869 ac_ext=cc
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h. */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 #include <math.h>
25883 main ()
25885 __builtin_sqrtf(0);
25887 return 0;
25889 _ACEOF
25890 rm -f conftest.$ac_objext
25891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25892 (eval $ac_compile) 2>conftest.er1
25893 ac_status=$?
25894 grep -v '^ *+' conftest.er1 >conftest.err
25895 rm -f conftest.er1
25896 cat conftest.err >&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try='test -z "$ac_cxx_werror_flag"
25900 || test ! -s conftest.err'
25901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25902 (eval $ac_try) 2>&5
25903 ac_status=$?
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); }; } &&
25906 { ac_try='test -s conftest.$ac_objext'
25907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908 (eval $ac_try) 2>&5
25909 ac_status=$?
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); }; }; then
25912 glibcxx_cv_func___builtin_sqrtf_use=yes
25913 else
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25917 glibcxx_cv_func___builtin_sqrtf_use=no
25919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25920 ac_ext=c
25921 ac_cpp='$CPP $CPPFLAGS'
25922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25930 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25931 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25932 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25933 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25934 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25935 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25936 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25937 echo $ECHO_N "(cached) $ECHO_C" >&6
25938 else
25940 if test x$gcc_no_link = xyes; then
25941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25943 { (exit 1); exit 1; }; }
25945 cat >conftest.$ac_ext <<_ACEOF
25946 /* confdefs.h. */
25947 _ACEOF
25948 cat confdefs.h >>conftest.$ac_ext
25949 cat >>conftest.$ac_ext <<_ACEOF
25950 /* end confdefs.h. */
25951 #include <math.h>
25953 main ()
25955 __builtin_sqrtf(0);
25957 return 0;
25959 _ACEOF
25960 rm -f conftest.$ac_objext conftest$ac_exeext
25961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25962 (eval $ac_link) 2>conftest.er1
25963 ac_status=$?
25964 grep -v '^ *+' conftest.er1 >conftest.err
25965 rm -f conftest.er1
25966 cat conftest.err >&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } &&
25969 { ac_try='test -z "$ac_c_werror_flag"
25970 || test ! -s conftest.err'
25971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25972 (eval $ac_try) 2>&5
25973 ac_status=$?
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); }; } &&
25976 { ac_try='test -s conftest$ac_exeext'
25977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25978 (eval $ac_try) 2>&5
25979 ac_status=$?
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); }; }; then
25982 glibcxx_cv_func___builtin_sqrtf_link=yes
25983 else
25984 echo "$as_me: failed program was:" >&5
25985 sed 's/^/| /' conftest.$ac_ext >&5
25987 glibcxx_cv_func___builtin_sqrtf_link=no
25989 rm -f conftest.err conftest.$ac_objext \
25990 conftest$ac_exeext conftest.$ac_ext
25995 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25997 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25998 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26000 cat >>confdefs.h <<_ACEOF
26001 #define ${ac_tr_func} 1
26002 _ACEOF
26008 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26009 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26010 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26011 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26012 echo $ECHO_N "(cached) $ECHO_C" >&6
26013 else
26017 ac_ext=cc
26018 ac_cpp='$CXXCPP $CPPFLAGS'
26019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26023 cat >conftest.$ac_ext <<_ACEOF
26024 /* confdefs.h. */
26025 _ACEOF
26026 cat confdefs.h >>conftest.$ac_ext
26027 cat >>conftest.$ac_ext <<_ACEOF
26028 /* end confdefs.h. */
26029 #include <math.h>
26031 main ()
26033 __builtin_sqrt(0);
26035 return 0;
26037 _ACEOF
26038 rm -f conftest.$ac_objext
26039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26040 (eval $ac_compile) 2>conftest.er1
26041 ac_status=$?
26042 grep -v '^ *+' conftest.er1 >conftest.err
26043 rm -f conftest.er1
26044 cat conftest.err >&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); } &&
26047 { ac_try='test -z "$ac_cxx_werror_flag"
26048 || test ! -s conftest.err'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26051 ac_status=$?
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; } &&
26054 { ac_try='test -s conftest.$ac_objext'
26055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26056 (eval $ac_try) 2>&5
26057 ac_status=$?
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); }; }; then
26060 glibcxx_cv_func___builtin_sqrt_use=yes
26061 else
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26065 glibcxx_cv_func___builtin_sqrt_use=no
26067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26068 ac_ext=c
26069 ac_cpp='$CPP $CPPFLAGS'
26070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26078 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26079 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26080 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26081 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26082 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26083 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26084 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26085 echo $ECHO_N "(cached) $ECHO_C" >&6
26086 else
26088 if test x$gcc_no_link = xyes; then
26089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26091 { (exit 1); exit 1; }; }
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 #include <math.h>
26101 main ()
26103 __builtin_sqrt(0);
26105 return 0;
26107 _ACEOF
26108 rm -f conftest.$ac_objext conftest$ac_exeext
26109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26110 (eval $ac_link) 2>conftest.er1
26111 ac_status=$?
26112 grep -v '^ *+' conftest.er1 >conftest.err
26113 rm -f conftest.er1
26114 cat conftest.err >&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); } &&
26117 { ac_try='test -z "$ac_c_werror_flag"
26118 || test ! -s conftest.err'
26119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26120 (eval $ac_try) 2>&5
26121 ac_status=$?
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); }; } &&
26124 { ac_try='test -s conftest$ac_exeext'
26125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126 (eval $ac_try) 2>&5
26127 ac_status=$?
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); }; }; then
26130 glibcxx_cv_func___builtin_sqrt_link=yes
26131 else
26132 echo "$as_me: failed program was:" >&5
26133 sed 's/^/| /' conftest.$ac_ext >&5
26135 glibcxx_cv_func___builtin_sqrt_link=no
26137 rm -f conftest.err conftest.$ac_objext \
26138 conftest$ac_exeext conftest.$ac_ext
26143 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26144 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26145 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26146 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26148 cat >>confdefs.h <<_ACEOF
26149 #define ${ac_tr_func} 1
26150 _ACEOF
26156 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26157 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26158 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26159 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26160 echo $ECHO_N "(cached) $ECHO_C" >&6
26161 else
26165 ac_ext=cc
26166 ac_cpp='$CXXCPP $CPPFLAGS'
26167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26171 cat >conftest.$ac_ext <<_ACEOF
26172 /* confdefs.h. */
26173 _ACEOF
26174 cat confdefs.h >>conftest.$ac_ext
26175 cat >>conftest.$ac_ext <<_ACEOF
26176 /* end confdefs.h. */
26177 #include <math.h>
26179 main ()
26181 __builtin_sqrtl(0);
26183 return 0;
26185 _ACEOF
26186 rm -f conftest.$ac_objext
26187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26188 (eval $ac_compile) 2>conftest.er1
26189 ac_status=$?
26190 grep -v '^ *+' conftest.er1 >conftest.err
26191 rm -f conftest.er1
26192 cat conftest.err >&5
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); } &&
26195 { ac_try='test -z "$ac_cxx_werror_flag"
26196 || test ! -s conftest.err'
26197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26198 (eval $ac_try) 2>&5
26199 ac_status=$?
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); }; } &&
26202 { ac_try='test -s conftest.$ac_objext'
26203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26204 (eval $ac_try) 2>&5
26205 ac_status=$?
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); }; }; then
26208 glibcxx_cv_func___builtin_sqrtl_use=yes
26209 else
26210 echo "$as_me: failed program was:" >&5
26211 sed 's/^/| /' conftest.$ac_ext >&5
26213 glibcxx_cv_func___builtin_sqrtl_use=no
26215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26216 ac_ext=c
26217 ac_cpp='$CPP $CPPFLAGS'
26218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26227 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26228 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26229 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26230 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26231 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26232 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26233 echo $ECHO_N "(cached) $ECHO_C" >&6
26234 else
26236 if test x$gcc_no_link = xyes; then
26237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26239 { (exit 1); exit 1; }; }
26241 cat >conftest.$ac_ext <<_ACEOF
26242 /* confdefs.h. */
26243 _ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26247 #include <math.h>
26249 main ()
26251 __builtin_sqrtl(0);
26253 return 0;
26255 _ACEOF
26256 rm -f conftest.$ac_objext conftest$ac_exeext
26257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26258 (eval $ac_link) 2>conftest.er1
26259 ac_status=$?
26260 grep -v '^ *+' conftest.er1 >conftest.err
26261 rm -f conftest.er1
26262 cat conftest.err >&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } &&
26265 { ac_try='test -z "$ac_c_werror_flag"
26266 || test ! -s conftest.err'
26267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26268 (eval $ac_try) 2>&5
26269 ac_status=$?
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); }; } &&
26272 { ac_try='test -s conftest$ac_exeext'
26273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26274 (eval $ac_try) 2>&5
26275 ac_status=$?
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); }; }; then
26278 glibcxx_cv_func___builtin_sqrtl_link=yes
26279 else
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.$ac_ext >&5
26283 glibcxx_cv_func___builtin_sqrtl_link=no
26285 rm -f conftest.err conftest.$ac_objext \
26286 conftest$ac_exeext conftest.$ac_ext
26291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26292 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26293 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26294 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26296 cat >>confdefs.h <<_ACEOF
26297 #define ${ac_tr_func} 1
26298 _ACEOF
26305 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26306 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26307 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26308 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26314 ac_ext=cc
26315 ac_cpp='$CXXCPP $CPPFLAGS'
26316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26320 cat >conftest.$ac_ext <<_ACEOF
26321 /* confdefs.h. */
26322 _ACEOF
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26326 #include <math.h>
26328 main ()
26330 __builtin_sinf(0);
26332 return 0;
26334 _ACEOF
26335 rm -f conftest.$ac_objext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26337 (eval $ac_compile) 2>conftest.er1
26338 ac_status=$?
26339 grep -v '^ *+' conftest.er1 >conftest.err
26340 rm -f conftest.er1
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } &&
26344 { ac_try='test -z "$ac_cxx_werror_flag"
26345 || test ! -s conftest.err'
26346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347 (eval $ac_try) 2>&5
26348 ac_status=$?
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); }; } &&
26351 { ac_try='test -s conftest.$ac_objext'
26352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26353 (eval $ac_try) 2>&5
26354 ac_status=$?
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); }; }; then
26357 glibcxx_cv_func___builtin_sinf_use=yes
26358 else
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26362 glibcxx_cv_func___builtin_sinf_use=no
26364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26365 ac_ext=c
26366 ac_cpp='$CPP $CPPFLAGS'
26367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26376 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26377 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26378 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26379 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26380 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26381 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26382 echo $ECHO_N "(cached) $ECHO_C" >&6
26383 else
26385 if test x$gcc_no_link = xyes; then
26386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26388 { (exit 1); exit 1; }; }
26390 cat >conftest.$ac_ext <<_ACEOF
26391 /* confdefs.h. */
26392 _ACEOF
26393 cat confdefs.h >>conftest.$ac_ext
26394 cat >>conftest.$ac_ext <<_ACEOF
26395 /* end confdefs.h. */
26396 #include <math.h>
26398 main ()
26400 __builtin_sinf(0);
26402 return 0;
26404 _ACEOF
26405 rm -f conftest.$ac_objext conftest$ac_exeext
26406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26407 (eval $ac_link) 2>conftest.er1
26408 ac_status=$?
26409 grep -v '^ *+' conftest.er1 >conftest.err
26410 rm -f conftest.er1
26411 cat conftest.err >&5
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); } &&
26414 { ac_try='test -z "$ac_c_werror_flag"
26415 || test ! -s conftest.err'
26416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417 (eval $ac_try) 2>&5
26418 ac_status=$?
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; } &&
26421 { ac_try='test -s conftest$ac_exeext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26424 ac_status=$?
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 glibcxx_cv_func___builtin_sinf_link=yes
26428 else
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26432 glibcxx_cv_func___builtin_sinf_link=no
26434 rm -f conftest.err conftest.$ac_objext \
26435 conftest$ac_exeext conftest.$ac_ext
26440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26441 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26442 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26443 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26445 cat >>confdefs.h <<_ACEOF
26446 #define ${ac_tr_func} 1
26447 _ACEOF
26453 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26454 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26455 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26456 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26462 ac_ext=cc
26463 ac_cpp='$CXXCPP $CPPFLAGS'
26464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26468 cat >conftest.$ac_ext <<_ACEOF
26469 /* confdefs.h. */
26470 _ACEOF
26471 cat confdefs.h >>conftest.$ac_ext
26472 cat >>conftest.$ac_ext <<_ACEOF
26473 /* end confdefs.h. */
26474 #include <math.h>
26476 main ()
26478 __builtin_sin(0);
26480 return 0;
26482 _ACEOF
26483 rm -f conftest.$ac_objext
26484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26485 (eval $ac_compile) 2>conftest.er1
26486 ac_status=$?
26487 grep -v '^ *+' conftest.er1 >conftest.err
26488 rm -f conftest.er1
26489 cat conftest.err >&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); } &&
26492 { ac_try='test -z "$ac_cxx_werror_flag"
26493 || test ! -s conftest.err'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26496 ac_status=$?
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; } &&
26499 { ac_try='test -s conftest.$ac_objext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 glibcxx_cv_func___builtin_sin_use=yes
26506 else
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.$ac_ext >&5
26510 glibcxx_cv_func___builtin_sin_use=no
26512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26513 ac_ext=c
26514 ac_cpp='$CPP $CPPFLAGS'
26515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26524 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26525 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26526 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26527 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26528 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26529 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26530 echo $ECHO_N "(cached) $ECHO_C" >&6
26531 else
26533 if test x$gcc_no_link = xyes; then
26534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26536 { (exit 1); exit 1; }; }
26538 cat >conftest.$ac_ext <<_ACEOF
26539 /* confdefs.h. */
26540 _ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26544 #include <math.h>
26546 main ()
26548 __builtin_sin(0);
26550 return 0;
26552 _ACEOF
26553 rm -f conftest.$ac_objext conftest$ac_exeext
26554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26555 (eval $ac_link) 2>conftest.er1
26556 ac_status=$?
26557 grep -v '^ *+' conftest.er1 >conftest.err
26558 rm -f conftest.er1
26559 cat conftest.err >&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); } &&
26562 { ac_try='test -z "$ac_c_werror_flag"
26563 || test ! -s conftest.err'
26564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26565 (eval $ac_try) 2>&5
26566 ac_status=$?
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); }; } &&
26569 { ac_try='test -s conftest$ac_exeext'
26570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26571 (eval $ac_try) 2>&5
26572 ac_status=$?
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); }; }; then
26575 glibcxx_cv_func___builtin_sin_link=yes
26576 else
26577 echo "$as_me: failed program was:" >&5
26578 sed 's/^/| /' conftest.$ac_ext >&5
26580 glibcxx_cv_func___builtin_sin_link=no
26582 rm -f conftest.err conftest.$ac_objext \
26583 conftest$ac_exeext conftest.$ac_ext
26588 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26589 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26590 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26591 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26593 cat >>confdefs.h <<_ACEOF
26594 #define ${ac_tr_func} 1
26595 _ACEOF
26601 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26602 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26603 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26604 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26606 else
26610 ac_ext=cc
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26616 cat >conftest.$ac_ext <<_ACEOF
26617 /* confdefs.h. */
26618 _ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622 #include <math.h>
26624 main ()
26626 __builtin_sinl(0);
26628 return 0;
26630 _ACEOF
26631 rm -f conftest.$ac_objext
26632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26633 (eval $ac_compile) 2>conftest.er1
26634 ac_status=$?
26635 grep -v '^ *+' conftest.er1 >conftest.err
26636 rm -f conftest.er1
26637 cat conftest.err >&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); } &&
26640 { ac_try='test -z "$ac_cxx_werror_flag"
26641 || test ! -s conftest.err'
26642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26643 (eval $ac_try) 2>&5
26644 ac_status=$?
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); }; } &&
26647 { ac_try='test -s conftest.$ac_objext'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26650 ac_status=$?
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; }; then
26653 glibcxx_cv_func___builtin_sinl_use=yes
26654 else
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.$ac_ext >&5
26658 glibcxx_cv_func___builtin_sinl_use=no
26660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26661 ac_ext=c
26662 ac_cpp='$CPP $CPPFLAGS'
26663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26671 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26672 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26673 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26674 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26675 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26676 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26677 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 else
26681 if test x$gcc_no_link = xyes; then
26682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26684 { (exit 1); exit 1; }; }
26686 cat >conftest.$ac_ext <<_ACEOF
26687 /* confdefs.h. */
26688 _ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26692 #include <math.h>
26694 main ()
26696 __builtin_sinl(0);
26698 return 0;
26700 _ACEOF
26701 rm -f conftest.$ac_objext conftest$ac_exeext
26702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26703 (eval $ac_link) 2>conftest.er1
26704 ac_status=$?
26705 grep -v '^ *+' conftest.er1 >conftest.err
26706 rm -f conftest.er1
26707 cat conftest.err >&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try='test -z "$ac_c_werror_flag"
26711 || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26714 ac_status=$?
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try='test -s conftest$ac_exeext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26720 ac_status=$?
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26723 glibcxx_cv_func___builtin_sinl_link=yes
26724 else
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.$ac_ext >&5
26728 glibcxx_cv_func___builtin_sinl_link=no
26730 rm -f conftest.err conftest.$ac_objext \
26731 conftest$ac_exeext conftest.$ac_ext
26736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26737 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26738 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26739 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26741 cat >>confdefs.h <<_ACEOF
26742 #define ${ac_tr_func} 1
26743 _ACEOF
26750 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26751 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26752 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26753 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26754 echo $ECHO_N "(cached) $ECHO_C" >&6
26755 else
26759 ac_ext=cc
26760 ac_cpp='$CXXCPP $CPPFLAGS'
26761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26765 cat >conftest.$ac_ext <<_ACEOF
26766 /* confdefs.h. */
26767 _ACEOF
26768 cat confdefs.h >>conftest.$ac_ext
26769 cat >>conftest.$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26771 #include <math.h>
26773 main ()
26775 __builtin_cosf(0);
26777 return 0;
26779 _ACEOF
26780 rm -f conftest.$ac_objext
26781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26782 (eval $ac_compile) 2>conftest.er1
26783 ac_status=$?
26784 grep -v '^ *+' conftest.er1 >conftest.err
26785 rm -f conftest.er1
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } &&
26789 { ac_try='test -z "$ac_cxx_werror_flag"
26790 || test ! -s conftest.err'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26793 ac_status=$?
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; } &&
26796 { ac_try='test -s conftest.$ac_objext'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26799 ac_status=$?
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; }; then
26802 glibcxx_cv_func___builtin_cosf_use=yes
26803 else
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26807 glibcxx_cv_func___builtin_cosf_use=no
26809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26810 ac_ext=c
26811 ac_cpp='$CPP $CPPFLAGS'
26812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26820 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26821 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26822 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26823 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26824 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26825 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26826 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26827 echo $ECHO_N "(cached) $ECHO_C" >&6
26828 else
26830 if test x$gcc_no_link = xyes; then
26831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26833 { (exit 1); exit 1; }; }
26835 cat >conftest.$ac_ext <<_ACEOF
26836 /* confdefs.h. */
26837 _ACEOF
26838 cat confdefs.h >>conftest.$ac_ext
26839 cat >>conftest.$ac_ext <<_ACEOF
26840 /* end confdefs.h. */
26841 #include <math.h>
26843 main ()
26845 __builtin_cosf(0);
26847 return 0;
26849 _ACEOF
26850 rm -f conftest.$ac_objext conftest$ac_exeext
26851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26852 (eval $ac_link) 2>conftest.er1
26853 ac_status=$?
26854 grep -v '^ *+' conftest.er1 >conftest.err
26855 rm -f conftest.er1
26856 cat conftest.err >&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } &&
26859 { ac_try='test -z "$ac_c_werror_flag"
26860 || test ! -s conftest.err'
26861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26862 (eval $ac_try) 2>&5
26863 ac_status=$?
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); }; } &&
26866 { ac_try='test -s conftest$ac_exeext'
26867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26868 (eval $ac_try) 2>&5
26869 ac_status=$?
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); }; }; then
26872 glibcxx_cv_func___builtin_cosf_link=yes
26873 else
26874 echo "$as_me: failed program was:" >&5
26875 sed 's/^/| /' conftest.$ac_ext >&5
26877 glibcxx_cv_func___builtin_cosf_link=no
26879 rm -f conftest.err conftest.$ac_objext \
26880 conftest$ac_exeext conftest.$ac_ext
26885 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26886 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26887 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26888 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26890 cat >>confdefs.h <<_ACEOF
26891 #define ${ac_tr_func} 1
26892 _ACEOF
26898 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26899 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26900 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26901 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 else
26907 ac_ext=cc
26908 ac_cpp='$CXXCPP $CPPFLAGS'
26909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26913 cat >conftest.$ac_ext <<_ACEOF
26914 /* confdefs.h. */
26915 _ACEOF
26916 cat confdefs.h >>conftest.$ac_ext
26917 cat >>conftest.$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919 #include <math.h>
26921 main ()
26923 __builtin_cos(0);
26925 return 0;
26927 _ACEOF
26928 rm -f conftest.$ac_objext
26929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26930 (eval $ac_compile) 2>conftest.er1
26931 ac_status=$?
26932 grep -v '^ *+' conftest.er1 >conftest.err
26933 rm -f conftest.er1
26934 cat conftest.err >&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); } &&
26937 { ac_try='test -z "$ac_cxx_werror_flag"
26938 || test ! -s conftest.err'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26941 ac_status=$?
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; } &&
26944 { ac_try='test -s conftest.$ac_objext'
26945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26946 (eval $ac_try) 2>&5
26947 ac_status=$?
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; }; then
26950 glibcxx_cv_func___builtin_cos_use=yes
26951 else
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.$ac_ext >&5
26955 glibcxx_cv_func___builtin_cos_use=no
26957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26958 ac_ext=c
26959 ac_cpp='$CPP $CPPFLAGS'
26960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26969 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26970 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26971 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26972 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26973 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26974 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 else
26978 if test x$gcc_no_link = xyes; then
26979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26981 { (exit 1); exit 1; }; }
26983 cat >conftest.$ac_ext <<_ACEOF
26984 /* confdefs.h. */
26985 _ACEOF
26986 cat confdefs.h >>conftest.$ac_ext
26987 cat >>conftest.$ac_ext <<_ACEOF
26988 /* end confdefs.h. */
26989 #include <math.h>
26991 main ()
26993 __builtin_cos(0);
26995 return 0;
26997 _ACEOF
26998 rm -f conftest.$ac_objext conftest$ac_exeext
26999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27000 (eval $ac_link) 2>conftest.er1
27001 ac_status=$?
27002 grep -v '^ *+' conftest.er1 >conftest.err
27003 rm -f conftest.er1
27004 cat conftest.err >&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } &&
27007 { ac_try='test -z "$ac_c_werror_flag"
27008 || test ! -s conftest.err'
27009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27010 (eval $ac_try) 2>&5
27011 ac_status=$?
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); }; } &&
27014 { ac_try='test -s conftest$ac_exeext'
27015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27016 (eval $ac_try) 2>&5
27017 ac_status=$?
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); }; }; then
27020 glibcxx_cv_func___builtin_cos_link=yes
27021 else
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.$ac_ext >&5
27025 glibcxx_cv_func___builtin_cos_link=no
27027 rm -f conftest.err conftest.$ac_objext \
27028 conftest$ac_exeext conftest.$ac_ext
27033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27034 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27035 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27036 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27038 cat >>confdefs.h <<_ACEOF
27039 #define ${ac_tr_func} 1
27040 _ACEOF
27046 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27047 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27048 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27049 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27050 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 else
27055 ac_ext=cc
27056 ac_cpp='$CXXCPP $CPPFLAGS'
27057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27061 cat >conftest.$ac_ext <<_ACEOF
27062 /* confdefs.h. */
27063 _ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 #include <math.h>
27069 main ()
27071 __builtin_cosl(0);
27073 return 0;
27075 _ACEOF
27076 rm -f conftest.$ac_objext
27077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27078 (eval $ac_compile) 2>conftest.er1
27079 ac_status=$?
27080 grep -v '^ *+' conftest.er1 >conftest.err
27081 rm -f conftest.er1
27082 cat conftest.err >&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); } &&
27085 { ac_try='test -z "$ac_cxx_werror_flag"
27086 || test ! -s conftest.err'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; } &&
27092 { ac_try='test -s conftest.$ac_objext'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27095 ac_status=$?
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; }; then
27098 glibcxx_cv_func___builtin_cosl_use=yes
27099 else
27100 echo "$as_me: failed program was:" >&5
27101 sed 's/^/| /' conftest.$ac_ext >&5
27103 glibcxx_cv_func___builtin_cosl_use=no
27105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27106 ac_ext=c
27107 ac_cpp='$CPP $CPPFLAGS'
27108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27116 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27117 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27118 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27119 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27120 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27121 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27122 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27123 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 else
27126 if test x$gcc_no_link = xyes; then
27127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27129 { (exit 1); exit 1; }; }
27131 cat >conftest.$ac_ext <<_ACEOF
27132 /* confdefs.h. */
27133 _ACEOF
27134 cat confdefs.h >>conftest.$ac_ext
27135 cat >>conftest.$ac_ext <<_ACEOF
27136 /* end confdefs.h. */
27137 #include <math.h>
27139 main ()
27141 __builtin_cosl(0);
27143 return 0;
27145 _ACEOF
27146 rm -f conftest.$ac_objext conftest$ac_exeext
27147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27148 (eval $ac_link) 2>conftest.er1
27149 ac_status=$?
27150 grep -v '^ *+' conftest.er1 >conftest.err
27151 rm -f conftest.er1
27152 cat conftest.err >&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -z "$ac_c_werror_flag"
27156 || test ! -s conftest.err'
27157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27158 (eval $ac_try) 2>&5
27159 ac_status=$?
27160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27161 (exit $ac_status); }; } &&
27162 { ac_try='test -s conftest$ac_exeext'
27163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27164 (eval $ac_try) 2>&5
27165 ac_status=$?
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); }; }; then
27168 glibcxx_cv_func___builtin_cosl_link=yes
27169 else
27170 echo "$as_me: failed program was:" >&5
27171 sed 's/^/| /' conftest.$ac_ext >&5
27173 glibcxx_cv_func___builtin_cosl_link=no
27175 rm -f conftest.err conftest.$ac_objext \
27176 conftest$ac_exeext conftest.$ac_ext
27181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27182 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27183 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27184 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27186 cat >>confdefs.h <<_ACEOF
27187 #define ${ac_tr_func} 1
27188 _ACEOF
27196 echo "$as_me:$LINENO: checking for main in -lm" >&5
27197 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27198 if test "${ac_cv_lib_m_main+set}" = set; then
27199 echo $ECHO_N "(cached) $ECHO_C" >&6
27200 else
27201 ac_check_lib_save_LIBS=$LIBS
27202 LIBS="-lm $LIBS"
27203 if test x$gcc_no_link = xyes; then
27204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27206 { (exit 1); exit 1; }; }
27208 cat >conftest.$ac_ext <<_ACEOF
27209 /* confdefs.h. */
27210 _ACEOF
27211 cat confdefs.h >>conftest.$ac_ext
27212 cat >>conftest.$ac_ext <<_ACEOF
27213 /* end confdefs.h. */
27217 main ()
27219 main ();
27221 return 0;
27223 _ACEOF
27224 rm -f conftest.$ac_objext conftest$ac_exeext
27225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27226 (eval $ac_link) 2>conftest.er1
27227 ac_status=$?
27228 grep -v '^ *+' conftest.er1 >conftest.err
27229 rm -f conftest.er1
27230 cat conftest.err >&5
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); } &&
27233 { ac_try='test -z "$ac_c_werror_flag"
27234 || test ! -s conftest.err'
27235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27236 (eval $ac_try) 2>&5
27237 ac_status=$?
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); }; } &&
27240 { ac_try='test -s conftest$ac_exeext'
27241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27242 (eval $ac_try) 2>&5
27243 ac_status=$?
27244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27245 (exit $ac_status); }; }; then
27246 ac_cv_lib_m_main=yes
27247 else
27248 echo "$as_me: failed program was:" >&5
27249 sed 's/^/| /' conftest.$ac_ext >&5
27251 ac_cv_lib_m_main=no
27253 rm -f conftest.err conftest.$ac_objext \
27254 conftest$ac_exeext conftest.$ac_ext
27255 LIBS=$ac_check_lib_save_LIBS
27257 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27258 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27259 if test $ac_cv_lib_m_main = yes; then
27260 cat >>confdefs.h <<_ACEOF
27261 #define HAVE_LIBM 1
27262 _ACEOF
27264 LIBS="-lm $LIBS"
27269 for ac_func in copysignf
27271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27272 echo "$as_me:$LINENO: checking for $ac_func" >&5
27273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27274 if eval "test \"\${$as_ac_var+set}\" = set"; then
27275 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 else
27277 if test x$gcc_no_link = xyes; then
27278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27280 { (exit 1); exit 1; }; }
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27290 #define $ac_func innocuous_$ac_func
27292 /* System header to define __stub macros and hopefully few prototypes,
27293 which can conflict with char $ac_func (); below.
27294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27295 <limits.h> exists even on freestanding compilers. */
27297 #ifdef __STDC__
27298 # include <limits.h>
27299 #else
27300 # include <assert.h>
27301 #endif
27303 #undef $ac_func
27305 /* Override any gcc2 internal prototype to avoid an error. */
27306 #ifdef __cplusplus
27307 extern "C"
27309 #endif
27310 /* We use char because int might match the return type of a gcc2
27311 builtin and then its argument prototype would still apply. */
27312 char $ac_func ();
27313 /* The GNU C library defines this for functions which it implements
27314 to always fail with ENOSYS. Some functions are actually named
27315 something starting with __ and the normal name is an alias. */
27316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27317 choke me
27318 #else
27319 char (*f) () = $ac_func;
27320 #endif
27321 #ifdef __cplusplus
27323 #endif
27326 main ()
27328 return f != $ac_func;
27330 return 0;
27332 _ACEOF
27333 rm -f conftest.$ac_objext conftest$ac_exeext
27334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27335 (eval $ac_link) 2>conftest.er1
27336 ac_status=$?
27337 grep -v '^ *+' conftest.er1 >conftest.err
27338 rm -f conftest.er1
27339 cat conftest.err >&5
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); } &&
27342 { ac_try='test -z "$ac_c_werror_flag"
27343 || test ! -s conftest.err'
27344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27345 (eval $ac_try) 2>&5
27346 ac_status=$?
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); }; } &&
27349 { ac_try='test -s conftest$ac_exeext'
27350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27351 (eval $ac_try) 2>&5
27352 ac_status=$?
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); }; }; then
27355 eval "$as_ac_var=yes"
27356 else
27357 echo "$as_me: failed program was:" >&5
27358 sed 's/^/| /' conftest.$ac_ext >&5
27360 eval "$as_ac_var=no"
27362 rm -f conftest.err conftest.$ac_objext \
27363 conftest$ac_exeext conftest.$ac_ext
27365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27367 if test `eval echo '${'$as_ac_var'}'` = yes; then
27368 cat >>confdefs.h <<_ACEOF
27369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27370 _ACEOF
27372 else
27373 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27375 done
27379 for ac_func in __signbit
27381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27382 echo "$as_me:$LINENO: checking for $ac_func" >&5
27383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27384 if eval "test \"\${$as_ac_var+set}\" = set"; then
27385 echo $ECHO_N "(cached) $ECHO_C" >&6
27386 else
27387 if test x$gcc_no_link = xyes; then
27388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27390 { (exit 1); exit 1; }; }
27392 cat >conftest.$ac_ext <<_ACEOF
27393 /* confdefs.h. */
27394 _ACEOF
27395 cat confdefs.h >>conftest.$ac_ext
27396 cat >>conftest.$ac_ext <<_ACEOF
27397 /* end confdefs.h. */
27398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27400 #define $ac_func innocuous_$ac_func
27402 /* System header to define __stub macros and hopefully few prototypes,
27403 which can conflict with char $ac_func (); below.
27404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27405 <limits.h> exists even on freestanding compilers. */
27407 #ifdef __STDC__
27408 # include <limits.h>
27409 #else
27410 # include <assert.h>
27411 #endif
27413 #undef $ac_func
27415 /* Override any gcc2 internal prototype to avoid an error. */
27416 #ifdef __cplusplus
27417 extern "C"
27419 #endif
27420 /* We use char because int might match the return type of a gcc2
27421 builtin and then its argument prototype would still apply. */
27422 char $ac_func ();
27423 /* The GNU C library defines this for functions which it implements
27424 to always fail with ENOSYS. Some functions are actually named
27425 something starting with __ and the normal name is an alias. */
27426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27427 choke me
27428 #else
27429 char (*f) () = $ac_func;
27430 #endif
27431 #ifdef __cplusplus
27433 #endif
27436 main ()
27438 return f != $ac_func;
27440 return 0;
27442 _ACEOF
27443 rm -f conftest.$ac_objext conftest$ac_exeext
27444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27445 (eval $ac_link) 2>conftest.er1
27446 ac_status=$?
27447 grep -v '^ *+' conftest.er1 >conftest.err
27448 rm -f conftest.er1
27449 cat conftest.err >&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } &&
27452 { ac_try='test -z "$ac_c_werror_flag"
27453 || test ! -s conftest.err'
27454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27455 (eval $ac_try) 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; } &&
27459 { ac_try='test -s conftest$ac_exeext'
27460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27461 (eval $ac_try) 2>&5
27462 ac_status=$?
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); }; }; then
27465 eval "$as_ac_var=yes"
27466 else
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27470 eval "$as_ac_var=no"
27472 rm -f conftest.err conftest.$ac_objext \
27473 conftest$ac_exeext conftest.$ac_ext
27475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27477 if test `eval echo '${'$as_ac_var'}'` = yes; then
27478 cat >>confdefs.h <<_ACEOF
27479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27480 _ACEOF
27482 else
27483 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27485 done
27489 for ac_func in __signbitf
27491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27492 echo "$as_me:$LINENO: checking for $ac_func" >&5
27493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27494 if eval "test \"\${$as_ac_var+set}\" = set"; then
27495 echo $ECHO_N "(cached) $ECHO_C" >&6
27496 else
27497 if test x$gcc_no_link = xyes; then
27498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27500 { (exit 1); exit 1; }; }
27502 cat >conftest.$ac_ext <<_ACEOF
27503 /* confdefs.h. */
27504 _ACEOF
27505 cat confdefs.h >>conftest.$ac_ext
27506 cat >>conftest.$ac_ext <<_ACEOF
27507 /* end confdefs.h. */
27508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27510 #define $ac_func innocuous_$ac_func
27512 /* System header to define __stub macros and hopefully few prototypes,
27513 which can conflict with char $ac_func (); below.
27514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27515 <limits.h> exists even on freestanding compilers. */
27517 #ifdef __STDC__
27518 # include <limits.h>
27519 #else
27520 # include <assert.h>
27521 #endif
27523 #undef $ac_func
27525 /* Override any gcc2 internal prototype to avoid an error. */
27526 #ifdef __cplusplus
27527 extern "C"
27529 #endif
27530 /* We use char because int might match the return type of a gcc2
27531 builtin and then its argument prototype would still apply. */
27532 char $ac_func ();
27533 /* The GNU C library defines this for functions which it implements
27534 to always fail with ENOSYS. Some functions are actually named
27535 something starting with __ and the normal name is an alias. */
27536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27537 choke me
27538 #else
27539 char (*f) () = $ac_func;
27540 #endif
27541 #ifdef __cplusplus
27543 #endif
27546 main ()
27548 return f != $ac_func;
27550 return 0;
27552 _ACEOF
27553 rm -f conftest.$ac_objext conftest$ac_exeext
27554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27555 (eval $ac_link) 2>conftest.er1
27556 ac_status=$?
27557 grep -v '^ *+' conftest.er1 >conftest.err
27558 rm -f conftest.er1
27559 cat conftest.err >&5
27560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27561 (exit $ac_status); } &&
27562 { ac_try='test -z "$ac_c_werror_flag"
27563 || test ! -s conftest.err'
27564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27565 (eval $ac_try) 2>&5
27566 ac_status=$?
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); }; } &&
27569 { ac_try='test -s conftest$ac_exeext'
27570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27571 (eval $ac_try) 2>&5
27572 ac_status=$?
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); }; }; then
27575 eval "$as_ac_var=yes"
27576 else
27577 echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.$ac_ext >&5
27580 eval "$as_ac_var=no"
27582 rm -f conftest.err conftest.$ac_objext \
27583 conftest$ac_exeext conftest.$ac_ext
27585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27587 if test `eval echo '${'$as_ac_var'}'` = yes; then
27588 cat >>confdefs.h <<_ACEOF
27589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27590 _ACEOF
27592 else
27593 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27595 done
27598 if test x$ac_cv_func_copysignl = x"yes"; then
27600 for ac_func in __signbitl
27602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27603 echo "$as_me:$LINENO: checking for $ac_func" >&5
27604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27605 if eval "test \"\${$as_ac_var+set}\" = set"; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 else
27608 if test x$gcc_no_link = xyes; then
27609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27611 { (exit 1); exit 1; }; }
27613 cat >conftest.$ac_ext <<_ACEOF
27614 /* confdefs.h. */
27615 _ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27621 #define $ac_func innocuous_$ac_func
27623 /* System header to define __stub macros and hopefully few prototypes,
27624 which can conflict with char $ac_func (); below.
27625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27626 <limits.h> exists even on freestanding compilers. */
27628 #ifdef __STDC__
27629 # include <limits.h>
27630 #else
27631 # include <assert.h>
27632 #endif
27634 #undef $ac_func
27636 /* Override any gcc2 internal prototype to avoid an error. */
27637 #ifdef __cplusplus
27638 extern "C"
27640 #endif
27641 /* We use char because int might match the return type of a gcc2
27642 builtin and then its argument prototype would still apply. */
27643 char $ac_func ();
27644 /* The GNU C library defines this for functions which it implements
27645 to always fail with ENOSYS. Some functions are actually named
27646 something starting with __ and the normal name is an alias. */
27647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27648 choke me
27649 #else
27650 char (*f) () = $ac_func;
27651 #endif
27652 #ifdef __cplusplus
27654 #endif
27657 main ()
27659 return f != $ac_func;
27661 return 0;
27663 _ACEOF
27664 rm -f conftest.$ac_objext conftest$ac_exeext
27665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27666 (eval $ac_link) 2>conftest.er1
27667 ac_status=$?
27668 grep -v '^ *+' conftest.er1 >conftest.err
27669 rm -f conftest.er1
27670 cat conftest.err >&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } &&
27673 { ac_try='test -z "$ac_c_werror_flag"
27674 || test ! -s conftest.err'
27675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27676 (eval $ac_try) 2>&5
27677 ac_status=$?
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); }; } &&
27680 { ac_try='test -s conftest$ac_exeext'
27681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27682 (eval $ac_try) 2>&5
27683 ac_status=$?
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; }; then
27686 eval "$as_ac_var=yes"
27687 else
27688 echo "$as_me: failed program was:" >&5
27689 sed 's/^/| /' conftest.$ac_ext >&5
27691 eval "$as_ac_var=no"
27693 rm -f conftest.err conftest.$ac_objext \
27694 conftest$ac_exeext conftest.$ac_ext
27696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27698 if test `eval echo '${'$as_ac_var'}'` = yes; then
27699 cat >>confdefs.h <<_ACEOF
27700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27701 _ACEOF
27703 else
27704 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27706 done
27710 # Used in libmath/Makefile.am.
27711 if test -n "$LIBMATHOBJS"; then
27712 need_libmath=yes
27717 # Test wchar.h for mbstate_t, which is needed for char_traits and
27718 # others even if wchar_t support is not on.
27719 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27720 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27721 cat >conftest.$ac_ext <<_ACEOF
27722 /* confdefs.h. */
27723 _ACEOF
27724 cat confdefs.h >>conftest.$ac_ext
27725 cat >>conftest.$ac_ext <<_ACEOF
27726 /* end confdefs.h. */
27727 #include <wchar.h>
27729 main ()
27731 mbstate_t teststate;
27733 return 0;
27735 _ACEOF
27736 rm -f conftest.$ac_objext
27737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27738 (eval $ac_compile) 2>conftest.er1
27739 ac_status=$?
27740 grep -v '^ *+' conftest.er1 >conftest.err
27741 rm -f conftest.er1
27742 cat conftest.err >&5
27743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27744 (exit $ac_status); } &&
27745 { ac_try='test -z "$ac_c_werror_flag"
27746 || test ! -s conftest.err'
27747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27748 (eval $ac_try) 2>&5
27749 ac_status=$?
27750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751 (exit $ac_status); }; } &&
27752 { ac_try='test -s conftest.$ac_objext'
27753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27754 (eval $ac_try) 2>&5
27755 ac_status=$?
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); }; }; then
27758 have_mbstate_t=yes
27759 else
27760 echo "$as_me: failed program was:" >&5
27761 sed 's/^/| /' conftest.$ac_ext >&5
27763 have_mbstate_t=no
27765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27766 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27767 echo "${ECHO_T}$have_mbstate_t" >&6
27768 if test x"$have_mbstate_t" = xyes; then
27769 cat >>confdefs.h <<\_ACEOF
27770 #define HAVE_MBSTATE_T 1
27771 _ACEOF
27775 # Sanity check for existence of ISO C99 headers for extended encoding.
27777 for ac_header in wchar.h
27779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27781 echo "$as_me:$LINENO: checking for $ac_header" >&5
27782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27784 echo $ECHO_N "(cached) $ECHO_C" >&6
27786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27788 else
27789 # Is the header compilable?
27790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27792 cat >conftest.$ac_ext <<_ACEOF
27793 /* confdefs.h. */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27798 $ac_includes_default
27799 #include <$ac_header>
27800 _ACEOF
27801 rm -f conftest.$ac_objext
27802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27803 (eval $ac_compile) 2>conftest.er1
27804 ac_status=$?
27805 grep -v '^ *+' conftest.er1 >conftest.err
27806 rm -f conftest.er1
27807 cat conftest.err >&5
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); } &&
27810 { ac_try='test -z "$ac_c_werror_flag"
27811 || test ! -s conftest.err'
27812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27813 (eval $ac_try) 2>&5
27814 ac_status=$?
27815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816 (exit $ac_status); }; } &&
27817 { ac_try='test -s conftest.$ac_objext'
27818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27819 (eval $ac_try) 2>&5
27820 ac_status=$?
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); }; }; then
27823 ac_header_compiler=yes
27824 else
27825 echo "$as_me: failed program was:" >&5
27826 sed 's/^/| /' conftest.$ac_ext >&5
27828 ac_header_compiler=no
27830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27832 echo "${ECHO_T}$ac_header_compiler" >&6
27834 # Is the header present?
27835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27837 cat >conftest.$ac_ext <<_ACEOF
27838 /* confdefs.h. */
27839 _ACEOF
27840 cat confdefs.h >>conftest.$ac_ext
27841 cat >>conftest.$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27843 #include <$ac_header>
27844 _ACEOF
27845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27847 ac_status=$?
27848 grep -v '^ *+' conftest.er1 >conftest.err
27849 rm -f conftest.er1
27850 cat conftest.err >&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); } >/dev/null; then
27853 if test -s conftest.err; then
27854 ac_cpp_err=$ac_c_preproc_warn_flag
27855 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27856 else
27857 ac_cpp_err=
27859 else
27860 ac_cpp_err=yes
27862 if test -z "$ac_cpp_err"; then
27863 ac_header_preproc=yes
27864 else
27865 echo "$as_me: failed program was:" >&5
27866 sed 's/^/| /' conftest.$ac_ext >&5
27868 ac_header_preproc=no
27870 rm -f conftest.err conftest.$ac_ext
27871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27872 echo "${ECHO_T}$ac_header_preproc" >&6
27874 # So? What about this header?
27875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27876 yes:no: )
27877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27881 ac_header_preproc=yes
27883 no:yes:* )
27884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27897 cat <<\_ASBOX
27898 ## ----------------------------------------- ##
27899 ## Report this to the package-unused lists. ##
27900 ## ----------------------------------------- ##
27901 _ASBOX
27903 sed "s/^/$as_me: WARNING: /" >&2
27905 esac
27906 echo "$as_me:$LINENO: checking for $ac_header" >&5
27907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27909 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 else
27911 eval "$as_ac_Header=\$ac_header_preproc"
27913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27918 cat >>confdefs.h <<_ACEOF
27919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27920 _ACEOF
27921 ac_has_wchar_h=yes
27922 else
27923 ac_has_wchar_h=no
27926 done
27929 for ac_header in wctype.h
27931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27933 echo "$as_me:$LINENO: checking for $ac_header" >&5
27934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27936 echo $ECHO_N "(cached) $ECHO_C" >&6
27938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27940 else
27941 # Is the header compilable?
27942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27944 cat >conftest.$ac_ext <<_ACEOF
27945 /* confdefs.h. */
27946 _ACEOF
27947 cat confdefs.h >>conftest.$ac_ext
27948 cat >>conftest.$ac_ext <<_ACEOF
27949 /* end confdefs.h. */
27950 $ac_includes_default
27951 #include <$ac_header>
27952 _ACEOF
27953 rm -f conftest.$ac_objext
27954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27955 (eval $ac_compile) 2>conftest.er1
27956 ac_status=$?
27957 grep -v '^ *+' conftest.er1 >conftest.err
27958 rm -f conftest.er1
27959 cat conftest.err >&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try='test -z "$ac_c_werror_flag"
27963 || test ! -s conftest.err'
27964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27965 (eval $ac_try) 2>&5
27966 ac_status=$?
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; } &&
27969 { ac_try='test -s conftest.$ac_objext'
27970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971 (eval $ac_try) 2>&5
27972 ac_status=$?
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; }; then
27975 ac_header_compiler=yes
27976 else
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27980 ac_header_compiler=no
27982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27984 echo "${ECHO_T}$ac_header_compiler" >&6
27986 # Is the header present?
27987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27989 cat >conftest.$ac_ext <<_ACEOF
27990 /* confdefs.h. */
27991 _ACEOF
27992 cat confdefs.h >>conftest.$ac_ext
27993 cat >>conftest.$ac_ext <<_ACEOF
27994 /* end confdefs.h. */
27995 #include <$ac_header>
27996 _ACEOF
27997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27999 ac_status=$?
28000 grep -v '^ *+' conftest.er1 >conftest.err
28001 rm -f conftest.er1
28002 cat conftest.err >&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); } >/dev/null; then
28005 if test -s conftest.err; then
28006 ac_cpp_err=$ac_c_preproc_warn_flag
28007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28008 else
28009 ac_cpp_err=
28011 else
28012 ac_cpp_err=yes
28014 if test -z "$ac_cpp_err"; then
28015 ac_header_preproc=yes
28016 else
28017 echo "$as_me: failed program was:" >&5
28018 sed 's/^/| /' conftest.$ac_ext >&5
28020 ac_header_preproc=no
28022 rm -f conftest.err conftest.$ac_ext
28023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28024 echo "${ECHO_T}$ac_header_preproc" >&6
28026 # So? What about this header?
28027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28028 yes:no: )
28029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28033 ac_header_preproc=yes
28035 no:yes:* )
28036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28049 cat <<\_ASBOX
28050 ## ----------------------------------------- ##
28051 ## Report this to the package-unused lists. ##
28052 ## ----------------------------------------- ##
28053 _ASBOX
28055 sed "s/^/$as_me: WARNING: /" >&2
28057 esac
28058 echo "$as_me:$LINENO: checking for $ac_header" >&5
28059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28061 echo $ECHO_N "(cached) $ECHO_C" >&6
28062 else
28063 eval "$as_ac_Header=\$ac_header_preproc"
28065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28070 cat >>confdefs.h <<_ACEOF
28071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28072 _ACEOF
28073 ac_has_wctype_h=yes
28074 else
28075 ac_has_wctype_h=no
28078 done
28081 # Only continue checking if the ISO C99 headers exist and support is on.
28082 if test x"$ac_has_wchar_h" = xyes &&
28083 test x"$ac_has_wctype_h" = xyes &&
28084 test x"$enable_c_mbchar" != xno; then
28086 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28087 # numeric_limits can instantiate type_traits<wchar_t>
28088 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28089 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28090 cat >conftest.$ac_ext <<_ACEOF
28091 /* confdefs.h. */
28092 _ACEOF
28093 cat confdefs.h >>conftest.$ac_ext
28094 cat >>conftest.$ac_ext <<_ACEOF
28095 /* end confdefs.h. */
28096 #include <wchar.h>
28098 main ()
28100 int i = WCHAR_MIN; int j = WCHAR_MAX;
28102 return 0;
28104 _ACEOF
28105 rm -f conftest.$ac_objext
28106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28107 (eval $ac_compile) 2>conftest.er1
28108 ac_status=$?
28109 grep -v '^ *+' conftest.er1 >conftest.err
28110 rm -f conftest.er1
28111 cat conftest.err >&5
28112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113 (exit $ac_status); } &&
28114 { ac_try='test -z "$ac_c_werror_flag"
28115 || test ! -s conftest.err'
28116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28117 (eval $ac_try) 2>&5
28118 ac_status=$?
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); }; } &&
28121 { ac_try='test -s conftest.$ac_objext'
28122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28123 (eval $ac_try) 2>&5
28124 ac_status=$?
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); }; }; then
28127 has_wchar_minmax=yes
28128 else
28129 echo "$as_me: failed program was:" >&5
28130 sed 's/^/| /' conftest.$ac_ext >&5
28132 has_wchar_minmax=no
28134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28135 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28136 echo "${ECHO_T}$has_wchar_minmax" >&6
28138 # Test wchar.h for WEOF, which is what we use to determine whether
28139 # to specialize for char_traits<wchar_t> or not.
28140 echo "$as_me:$LINENO: checking for WEOF" >&5
28141 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28142 cat >conftest.$ac_ext <<_ACEOF
28143 /* confdefs.h. */
28144 _ACEOF
28145 cat confdefs.h >>conftest.$ac_ext
28146 cat >>conftest.$ac_ext <<_ACEOF
28147 /* end confdefs.h. */
28149 #include <wchar.h>
28150 #include <stddef.h>
28152 main ()
28154 wint_t i = WEOF;
28156 return 0;
28158 _ACEOF
28159 rm -f conftest.$ac_objext
28160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28161 (eval $ac_compile) 2>conftest.er1
28162 ac_status=$?
28163 grep -v '^ *+' conftest.er1 >conftest.err
28164 rm -f conftest.er1
28165 cat conftest.err >&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } &&
28168 { ac_try='test -z "$ac_c_werror_flag"
28169 || test ! -s conftest.err'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28172 ac_status=$?
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; } &&
28175 { ac_try='test -s conftest.$ac_objext'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28178 ac_status=$?
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28181 has_weof=yes
28182 else
28183 echo "$as_me: failed program was:" >&5
28184 sed 's/^/| /' conftest.$ac_ext >&5
28186 has_weof=no
28188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28189 echo "$as_me:$LINENO: result: $has_weof" >&5
28190 echo "${ECHO_T}$has_weof" >&6
28192 # Tests for wide character functions used in char_traits<wchar_t>.
28193 ac_wfuncs=yes
28200 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28203 echo "$as_me:$LINENO: checking for $ac_func" >&5
28204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28205 if eval "test \"\${$as_ac_var+set}\" = set"; then
28206 echo $ECHO_N "(cached) $ECHO_C" >&6
28207 else
28208 if test x$gcc_no_link = xyes; then
28209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28211 { (exit 1); exit 1; }; }
28213 cat >conftest.$ac_ext <<_ACEOF
28214 /* confdefs.h. */
28215 _ACEOF
28216 cat confdefs.h >>conftest.$ac_ext
28217 cat >>conftest.$ac_ext <<_ACEOF
28218 /* end confdefs.h. */
28219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28221 #define $ac_func innocuous_$ac_func
28223 /* System header to define __stub macros and hopefully few prototypes,
28224 which can conflict with char $ac_func (); below.
28225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28226 <limits.h> exists even on freestanding compilers. */
28228 #ifdef __STDC__
28229 # include <limits.h>
28230 #else
28231 # include <assert.h>
28232 #endif
28234 #undef $ac_func
28236 /* Override any gcc2 internal prototype to avoid an error. */
28237 #ifdef __cplusplus
28238 extern "C"
28240 #endif
28241 /* We use char because int might match the return type of a gcc2
28242 builtin and then its argument prototype would still apply. */
28243 char $ac_func ();
28244 /* The GNU C library defines this for functions which it implements
28245 to always fail with ENOSYS. Some functions are actually named
28246 something starting with __ and the normal name is an alias. */
28247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28248 choke me
28249 #else
28250 char (*f) () = $ac_func;
28251 #endif
28252 #ifdef __cplusplus
28254 #endif
28257 main ()
28259 return f != $ac_func;
28261 return 0;
28263 _ACEOF
28264 rm -f conftest.$ac_objext conftest$ac_exeext
28265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28266 (eval $ac_link) 2>conftest.er1
28267 ac_status=$?
28268 grep -v '^ *+' conftest.er1 >conftest.err
28269 rm -f conftest.er1
28270 cat conftest.err >&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); } &&
28273 { ac_try='test -z "$ac_c_werror_flag"
28274 || test ! -s conftest.err'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; } &&
28280 { ac_try='test -s conftest$ac_exeext'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28283 ac_status=$?
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; }; then
28286 eval "$as_ac_var=yes"
28287 else
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28291 eval "$as_ac_var=no"
28293 rm -f conftest.err conftest.$ac_objext \
28294 conftest$ac_exeext conftest.$ac_ext
28296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28298 if test `eval echo '${'$as_ac_var'}'` = yes; then
28299 cat >>confdefs.h <<_ACEOF
28300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28301 _ACEOF
28303 else
28304 ac_wfuncs=no
28306 done
28309 # Checks for names injected into std:: by the c_std headers.
28356 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28357 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28358 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28359 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28360 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28361 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28364 echo "$as_me:$LINENO: checking for $ac_func" >&5
28365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28366 if eval "test \"\${$as_ac_var+set}\" = set"; then
28367 echo $ECHO_N "(cached) $ECHO_C" >&6
28368 else
28369 if test x$gcc_no_link = xyes; then
28370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28372 { (exit 1); exit 1; }; }
28374 cat >conftest.$ac_ext <<_ACEOF
28375 /* confdefs.h. */
28376 _ACEOF
28377 cat confdefs.h >>conftest.$ac_ext
28378 cat >>conftest.$ac_ext <<_ACEOF
28379 /* end confdefs.h. */
28380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28382 #define $ac_func innocuous_$ac_func
28384 /* System header to define __stub macros and hopefully few prototypes,
28385 which can conflict with char $ac_func (); below.
28386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28387 <limits.h> exists even on freestanding compilers. */
28389 #ifdef __STDC__
28390 # include <limits.h>
28391 #else
28392 # include <assert.h>
28393 #endif
28395 #undef $ac_func
28397 /* Override any gcc2 internal prototype to avoid an error. */
28398 #ifdef __cplusplus
28399 extern "C"
28401 #endif
28402 /* We use char because int might match the return type of a gcc2
28403 builtin and then its argument prototype would still apply. */
28404 char $ac_func ();
28405 /* The GNU C library defines this for functions which it implements
28406 to always fail with ENOSYS. Some functions are actually named
28407 something starting with __ and the normal name is an alias. */
28408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28409 choke me
28410 #else
28411 char (*f) () = $ac_func;
28412 #endif
28413 #ifdef __cplusplus
28415 #endif
28418 main ()
28420 return f != $ac_func;
28422 return 0;
28424 _ACEOF
28425 rm -f conftest.$ac_objext conftest$ac_exeext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28427 (eval $ac_link) 2>conftest.er1
28428 ac_status=$?
28429 grep -v '^ *+' conftest.er1 >conftest.err
28430 rm -f conftest.er1
28431 cat conftest.err >&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } &&
28434 { ac_try='test -z "$ac_c_werror_flag"
28435 || test ! -s conftest.err'
28436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28437 (eval $ac_try) 2>&5
28438 ac_status=$?
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); }; } &&
28441 { ac_try='test -s conftest$ac_exeext'
28442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28443 (eval $ac_try) 2>&5
28444 ac_status=$?
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); }; }; then
28447 eval "$as_ac_var=yes"
28448 else
28449 echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28452 eval "$as_ac_var=no"
28454 rm -f conftest.err conftest.$ac_objext \
28455 conftest$ac_exeext conftest.$ac_ext
28457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28459 if test `eval echo '${'$as_ac_var'}'` = yes; then
28460 cat >>confdefs.h <<_ACEOF
28461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28462 _ACEOF
28464 else
28465 ac_wfuncs=no
28467 done
28470 # Checks for wide character functions that are not required
28471 # for basic wchar_t support. Don't disable support if they are missing.
28472 # Injection of these is wrapped with guard macros.
28478 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28481 echo "$as_me:$LINENO: checking for $ac_func" >&5
28482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28483 if eval "test \"\${$as_ac_var+set}\" = set"; then
28484 echo $ECHO_N "(cached) $ECHO_C" >&6
28485 else
28486 if test x$gcc_no_link = xyes; then
28487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28489 { (exit 1); exit 1; }; }
28491 cat >conftest.$ac_ext <<_ACEOF
28492 /* confdefs.h. */
28493 _ACEOF
28494 cat confdefs.h >>conftest.$ac_ext
28495 cat >>conftest.$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28499 #define $ac_func innocuous_$ac_func
28501 /* System header to define __stub macros and hopefully few prototypes,
28502 which can conflict with char $ac_func (); below.
28503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28504 <limits.h> exists even on freestanding compilers. */
28506 #ifdef __STDC__
28507 # include <limits.h>
28508 #else
28509 # include <assert.h>
28510 #endif
28512 #undef $ac_func
28514 /* Override any gcc2 internal prototype to avoid an error. */
28515 #ifdef __cplusplus
28516 extern "C"
28518 #endif
28519 /* We use char because int might match the return type of a gcc2
28520 builtin and then its argument prototype would still apply. */
28521 char $ac_func ();
28522 /* The GNU C library defines this for functions which it implements
28523 to always fail with ENOSYS. Some functions are actually named
28524 something starting with __ and the normal name is an alias. */
28525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28526 choke me
28527 #else
28528 char (*f) () = $ac_func;
28529 #endif
28530 #ifdef __cplusplus
28532 #endif
28535 main ()
28537 return f != $ac_func;
28539 return 0;
28541 _ACEOF
28542 rm -f conftest.$ac_objext conftest$ac_exeext
28543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28544 (eval $ac_link) 2>conftest.er1
28545 ac_status=$?
28546 grep -v '^ *+' conftest.er1 >conftest.err
28547 rm -f conftest.er1
28548 cat conftest.err >&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } &&
28551 { ac_try='test -z "$ac_c_werror_flag"
28552 || test ! -s conftest.err'
28553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554 (eval $ac_try) 2>&5
28555 ac_status=$?
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); }; } &&
28558 { ac_try='test -s conftest$ac_exeext'
28559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28560 (eval $ac_try) 2>&5
28561 ac_status=$?
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); }; }; then
28564 eval "$as_ac_var=yes"
28565 else
28566 echo "$as_me: failed program was:" >&5
28567 sed 's/^/| /' conftest.$ac_ext >&5
28569 eval "$as_ac_var=no"
28571 rm -f conftest.err conftest.$ac_objext \
28572 conftest$ac_exeext conftest.$ac_ext
28574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28576 if test `eval echo '${'$as_ac_var'}'` = yes; then
28577 cat >>confdefs.h <<_ACEOF
28578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28579 _ACEOF
28582 done
28585 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28586 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28587 if test x"$has_weof" = xyes &&
28588 test x"$has_wchar_minmax" = xyes &&
28589 test x"$ac_wfuncs" = xyes;
28590 then
28591 ac_isoC99_wchar_t=yes
28592 else
28593 ac_isoC99_wchar_t=no
28595 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28596 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28598 # Use iconv for wchar_t to char conversions. As such, check for
28599 # X/Open Portability Guide, version 2 features (XPG2).
28600 if test "${ac_cv_header_iconv_h+set}" = set; then
28601 echo "$as_me:$LINENO: checking for iconv.h" >&5
28602 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28603 if test "${ac_cv_header_iconv_h+set}" = set; then
28604 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28607 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28608 else
28609 # Is the header compilable?
28610 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28611 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28612 cat >conftest.$ac_ext <<_ACEOF
28613 /* confdefs.h. */
28614 _ACEOF
28615 cat confdefs.h >>conftest.$ac_ext
28616 cat >>conftest.$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28618 $ac_includes_default
28619 #include <iconv.h>
28620 _ACEOF
28621 rm -f conftest.$ac_objext
28622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28623 (eval $ac_compile) 2>conftest.er1
28624 ac_status=$?
28625 grep -v '^ *+' conftest.er1 >conftest.err
28626 rm -f conftest.er1
28627 cat conftest.err >&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); } &&
28630 { ac_try='test -z "$ac_c_werror_flag"
28631 || test ! -s conftest.err'
28632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28633 (eval $ac_try) 2>&5
28634 ac_status=$?
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); }; } &&
28637 { ac_try='test -s conftest.$ac_objext'
28638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28639 (eval $ac_try) 2>&5
28640 ac_status=$?
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); }; }; then
28643 ac_header_compiler=yes
28644 else
28645 echo "$as_me: failed program was:" >&5
28646 sed 's/^/| /' conftest.$ac_ext >&5
28648 ac_header_compiler=no
28650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28652 echo "${ECHO_T}$ac_header_compiler" >&6
28654 # Is the header present?
28655 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28656 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28657 cat >conftest.$ac_ext <<_ACEOF
28658 /* confdefs.h. */
28659 _ACEOF
28660 cat confdefs.h >>conftest.$ac_ext
28661 cat >>conftest.$ac_ext <<_ACEOF
28662 /* end confdefs.h. */
28663 #include <iconv.h>
28664 _ACEOF
28665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28667 ac_status=$?
28668 grep -v '^ *+' conftest.er1 >conftest.err
28669 rm -f conftest.er1
28670 cat conftest.err >&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); } >/dev/null; then
28673 if test -s conftest.err; then
28674 ac_cpp_err=$ac_c_preproc_warn_flag
28675 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28676 else
28677 ac_cpp_err=
28679 else
28680 ac_cpp_err=yes
28682 if test -z "$ac_cpp_err"; then
28683 ac_header_preproc=yes
28684 else
28685 echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28688 ac_header_preproc=no
28690 rm -f conftest.err conftest.$ac_ext
28691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28692 echo "${ECHO_T}$ac_header_preproc" >&6
28694 # So? What about this header?
28695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28696 yes:no: )
28697 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28698 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28699 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28700 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28701 ac_header_preproc=yes
28703 no:yes:* )
28704 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28705 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28706 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28707 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28708 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28709 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28710 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28711 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28712 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28713 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28714 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28715 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28717 cat <<\_ASBOX
28718 ## ----------------------------------------- ##
28719 ## Report this to the package-unused lists. ##
28720 ## ----------------------------------------- ##
28721 _ASBOX
28723 sed "s/^/$as_me: WARNING: /" >&2
28725 esac
28726 echo "$as_me:$LINENO: checking for iconv.h" >&5
28727 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28728 if test "${ac_cv_header_iconv_h+set}" = set; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 else
28731 ac_cv_header_iconv_h=$ac_header_preproc
28733 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28734 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28737 if test $ac_cv_header_iconv_h = yes; then
28738 ac_has_iconv_h=yes
28739 else
28740 ac_has_iconv_h=no
28744 if test "${ac_cv_header_langinfo_h+set}" = set; then
28745 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28746 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28747 if test "${ac_cv_header_langinfo_h+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28751 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28752 else
28753 # Is the header compilable?
28754 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28755 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28756 cat >conftest.$ac_ext <<_ACEOF
28757 /* confdefs.h. */
28758 _ACEOF
28759 cat confdefs.h >>conftest.$ac_ext
28760 cat >>conftest.$ac_ext <<_ACEOF
28761 /* end confdefs.h. */
28762 $ac_includes_default
28763 #include <langinfo.h>
28764 _ACEOF
28765 rm -f conftest.$ac_objext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28767 (eval $ac_compile) 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -z "$ac_c_werror_flag"
28775 || test ! -s conftest.err'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28778 ac_status=$?
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; } &&
28781 { ac_try='test -s conftest.$ac_objext'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; }; then
28787 ac_header_compiler=yes
28788 else
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.$ac_ext >&5
28792 ac_header_compiler=no
28794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28796 echo "${ECHO_T}$ac_header_compiler" >&6
28798 # Is the header present?
28799 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28800 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28801 cat >conftest.$ac_ext <<_ACEOF
28802 /* confdefs.h. */
28803 _ACEOF
28804 cat confdefs.h >>conftest.$ac_ext
28805 cat >>conftest.$ac_ext <<_ACEOF
28806 /* end confdefs.h. */
28807 #include <langinfo.h>
28808 _ACEOF
28809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28811 ac_status=$?
28812 grep -v '^ *+' conftest.er1 >conftest.err
28813 rm -f conftest.er1
28814 cat conftest.err >&5
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); } >/dev/null; then
28817 if test -s conftest.err; then
28818 ac_cpp_err=$ac_c_preproc_warn_flag
28819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28820 else
28821 ac_cpp_err=
28823 else
28824 ac_cpp_err=yes
28826 if test -z "$ac_cpp_err"; then
28827 ac_header_preproc=yes
28828 else
28829 echo "$as_me: failed program was:" >&5
28830 sed 's/^/| /' conftest.$ac_ext >&5
28832 ac_header_preproc=no
28834 rm -f conftest.err conftest.$ac_ext
28835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28836 echo "${ECHO_T}$ac_header_preproc" >&6
28838 # So? What about this header?
28839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28840 yes:no: )
28841 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28842 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28843 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28844 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28845 ac_header_preproc=yes
28847 no:yes:* )
28848 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28849 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28850 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28851 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28852 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28853 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28854 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28855 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28856 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28857 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28858 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28859 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28861 cat <<\_ASBOX
28862 ## ----------------------------------------- ##
28863 ## Report this to the package-unused lists. ##
28864 ## ----------------------------------------- ##
28865 _ASBOX
28867 sed "s/^/$as_me: WARNING: /" >&2
28869 esac
28870 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28871 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28872 if test "${ac_cv_header_langinfo_h+set}" = set; then
28873 echo $ECHO_N "(cached) $ECHO_C" >&6
28874 else
28875 ac_cv_header_langinfo_h=$ac_header_preproc
28877 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28878 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28881 if test $ac_cv_header_langinfo_h = yes; then
28882 ac_has_langinfo_h=yes
28883 else
28884 ac_has_langinfo_h=no
28889 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28890 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28891 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28892 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28894 else
28895 ac_check_lib_save_LIBS=$LIBS
28896 LIBS="-liconv $LIBS"
28897 if test x$gcc_no_link = xyes; then
28898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28900 { (exit 1); exit 1; }; }
28902 cat >conftest.$ac_ext <<_ACEOF
28903 /* confdefs.h. */
28904 _ACEOF
28905 cat confdefs.h >>conftest.$ac_ext
28906 cat >>conftest.$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28909 /* Override any gcc2 internal prototype to avoid an error. */
28910 #ifdef __cplusplus
28911 extern "C"
28912 #endif
28913 /* We use char because int might match the return type of a gcc2
28914 builtin and then its argument prototype would still apply. */
28915 char iconv ();
28917 main ()
28919 iconv ();
28921 return 0;
28923 _ACEOF
28924 rm -f conftest.$ac_objext conftest$ac_exeext
28925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28926 (eval $ac_link) 2>conftest.er1
28927 ac_status=$?
28928 grep -v '^ *+' conftest.er1 >conftest.err
28929 rm -f conftest.er1
28930 cat conftest.err >&5
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); } &&
28933 { ac_try='test -z "$ac_c_werror_flag"
28934 || test ! -s conftest.err'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28937 ac_status=$?
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; } &&
28940 { ac_try='test -s conftest$ac_exeext'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28943 ac_status=$?
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; }; then
28946 ac_cv_lib_iconv_iconv=yes
28947 else
28948 echo "$as_me: failed program was:" >&5
28949 sed 's/^/| /' conftest.$ac_ext >&5
28951 ac_cv_lib_iconv_iconv=no
28953 rm -f conftest.err conftest.$ac_objext \
28954 conftest$ac_exeext conftest.$ac_ext
28955 LIBS=$ac_check_lib_save_LIBS
28957 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28958 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28959 if test $ac_cv_lib_iconv_iconv = yes; then
28960 LIBICONV="-liconv"
28963 ac_save_LIBS="$LIBS"
28964 LIBS="$LIBS $LIBICONV"
28971 for ac_func in iconv_open iconv_close iconv nl_langinfo
28973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28974 echo "$as_me:$LINENO: checking for $ac_func" >&5
28975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28976 if eval "test \"\${$as_ac_var+set}\" = set"; then
28977 echo $ECHO_N "(cached) $ECHO_C" >&6
28978 else
28979 if test x$gcc_no_link = xyes; then
28980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28982 { (exit 1); exit 1; }; }
28984 cat >conftest.$ac_ext <<_ACEOF
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28992 #define $ac_func innocuous_$ac_func
28994 /* System header to define __stub macros and hopefully few prototypes,
28995 which can conflict with char $ac_func (); below.
28996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28997 <limits.h> exists even on freestanding compilers. */
28999 #ifdef __STDC__
29000 # include <limits.h>
29001 #else
29002 # include <assert.h>
29003 #endif
29005 #undef $ac_func
29007 /* Override any gcc2 internal prototype to avoid an error. */
29008 #ifdef __cplusplus
29009 extern "C"
29011 #endif
29012 /* We use char because int might match the return type of a gcc2
29013 builtin and then its argument prototype would still apply. */
29014 char $ac_func ();
29015 /* The GNU C library defines this for functions which it implements
29016 to always fail with ENOSYS. Some functions are actually named
29017 something starting with __ and the normal name is an alias. */
29018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29019 choke me
29020 #else
29021 char (*f) () = $ac_func;
29022 #endif
29023 #ifdef __cplusplus
29025 #endif
29028 main ()
29030 return f != $ac_func;
29032 return 0;
29034 _ACEOF
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_c_werror_flag"
29045 || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29048 ac_status=$?
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try='test -s conftest$ac_exeext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 eval "$as_ac_var=yes"
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29062 eval "$as_ac_var=no"
29064 rm -f conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29069 if test `eval echo '${'$as_ac_var'}'` = yes; then
29070 cat >>confdefs.h <<_ACEOF
29071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29072 _ACEOF
29073 ac_XPG2funcs=yes
29074 else
29075 ac_XPG2funcs=no
29077 done
29080 LIBS="$ac_save_LIBS"
29082 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29083 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29084 if test x"$ac_has_iconv_h" = xyes &&
29085 test x"$ac_has_langinfo_h" = xyes &&
29086 test x"$ac_XPG2funcs" = xyes;
29087 then
29088 ac_XPG2_wchar_t=yes
29089 else
29090 ac_XPG2_wchar_t=no
29092 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29093 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29095 # At the moment, only enable wchar_t specializations if all the
29096 # above support is present.
29097 if test x"$ac_isoC99_wchar_t" = xyes &&
29098 test x"$ac_XPG2_wchar_t" = xyes;
29099 then
29100 cat >>confdefs.h <<\_ACEOF
29101 #define _GLIBCXX_USE_WCHAR_T 1
29102 _ACEOF
29104 enable_wchar_t=yes
29107 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29108 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29109 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29110 echo "${ECHO_T}$enable_wchar_t" >&6
29113 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29114 ac_save_CXXFLAGS="$CXXFLAGS"
29115 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29118 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29119 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29120 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29121 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29122 echo $ECHO_N "(cached) $ECHO_C" >&6
29123 else
29127 ac_ext=cc
29128 ac_cpp='$CXXCPP $CPPFLAGS'
29129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29133 cat >conftest.$ac_ext <<_ACEOF
29134 /* confdefs.h. */
29135 _ACEOF
29136 cat confdefs.h >>conftest.$ac_ext
29137 cat >>conftest.$ac_ext <<_ACEOF
29138 /* end confdefs.h. */
29139 #include <stdlib.h>
29141 main ()
29143 strtold(0, 0);
29145 return 0;
29147 _ACEOF
29148 rm -f conftest.$ac_objext
29149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29150 (eval $ac_compile) 2>conftest.er1
29151 ac_status=$?
29152 grep -v '^ *+' conftest.er1 >conftest.err
29153 rm -f conftest.er1
29154 cat conftest.err >&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); } &&
29157 { ac_try='test -z "$ac_cxx_werror_flag"
29158 || test ! -s conftest.err'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; } &&
29164 { ac_try='test -s conftest.$ac_objext'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29167 ac_status=$?
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; }; then
29170 glibcxx_cv_func_strtold_use=yes
29171 else
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29175 glibcxx_cv_func_strtold_use=no
29177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29178 ac_ext=c
29179 ac_cpp='$CPP $CPPFLAGS'
29180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29189 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29190 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29192 for ac_func in strtold
29194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29195 echo "$as_me:$LINENO: checking for $ac_func" >&5
29196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29197 if eval "test \"\${$as_ac_var+set}\" = set"; then
29198 echo $ECHO_N "(cached) $ECHO_C" >&6
29199 else
29200 if test x$gcc_no_link = xyes; then
29201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29203 { (exit 1); exit 1; }; }
29205 cat >conftest.$ac_ext <<_ACEOF
29206 /* confdefs.h. */
29207 _ACEOF
29208 cat confdefs.h >>conftest.$ac_ext
29209 cat >>conftest.$ac_ext <<_ACEOF
29210 /* end confdefs.h. */
29211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29213 #define $ac_func innocuous_$ac_func
29215 /* System header to define __stub macros and hopefully few prototypes,
29216 which can conflict with char $ac_func (); below.
29217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29218 <limits.h> exists even on freestanding compilers. */
29220 #ifdef __STDC__
29221 # include <limits.h>
29222 #else
29223 # include <assert.h>
29224 #endif
29226 #undef $ac_func
29228 /* Override any gcc2 internal prototype to avoid an error. */
29229 #ifdef __cplusplus
29230 extern "C"
29232 #endif
29233 /* We use char because int might match the return type of a gcc2
29234 builtin and then its argument prototype would still apply. */
29235 char $ac_func ();
29236 /* The GNU C library defines this for functions which it implements
29237 to always fail with ENOSYS. Some functions are actually named
29238 something starting with __ and the normal name is an alias. */
29239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29240 choke me
29241 #else
29242 char (*f) () = $ac_func;
29243 #endif
29244 #ifdef __cplusplus
29246 #endif
29249 main ()
29251 return f != $ac_func;
29253 return 0;
29255 _ACEOF
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29258 (eval $ac_link) 2>conftest.er1
29259 ac_status=$?
29260 grep -v '^ *+' conftest.er1 >conftest.err
29261 rm -f conftest.er1
29262 cat conftest.err >&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); } &&
29265 { ac_try='test -z "$ac_c_werror_flag"
29266 || test ! -s conftest.err'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29269 ac_status=$?
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; } &&
29272 { ac_try='test -s conftest$ac_exeext'
29273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29274 (eval $ac_try) 2>&5
29275 ac_status=$?
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); }; }; then
29278 eval "$as_ac_var=yes"
29279 else
29280 echo "$as_me: failed program was:" >&5
29281 sed 's/^/| /' conftest.$ac_ext >&5
29283 eval "$as_ac_var=no"
29285 rm -f conftest.err conftest.$ac_objext \
29286 conftest$ac_exeext conftest.$ac_ext
29288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29290 if test `eval echo '${'$as_ac_var'}'` = yes; then
29291 cat >>confdefs.h <<_ACEOF
29292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29293 _ACEOF
29296 done
29301 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29302 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29303 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29304 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29306 else
29310 ac_ext=cc
29311 ac_cpp='$CXXCPP $CPPFLAGS'
29312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29316 cat >conftest.$ac_ext <<_ACEOF
29317 /* confdefs.h. */
29318 _ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29322 #include <stdlib.h>
29324 main ()
29326 strtof(0, 0);
29328 return 0;
29330 _ACEOF
29331 rm -f conftest.$ac_objext
29332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29333 (eval $ac_compile) 2>conftest.er1
29334 ac_status=$?
29335 grep -v '^ *+' conftest.er1 >conftest.err
29336 rm -f conftest.er1
29337 cat conftest.err >&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); } &&
29340 { ac_try='test -z "$ac_cxx_werror_flag"
29341 || test ! -s conftest.err'
29342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29343 (eval $ac_try) 2>&5
29344 ac_status=$?
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); }; } &&
29347 { ac_try='test -s conftest.$ac_objext'
29348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29349 (eval $ac_try) 2>&5
29350 ac_status=$?
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); }; }; then
29353 glibcxx_cv_func_strtof_use=yes
29354 else
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.$ac_ext >&5
29358 glibcxx_cv_func_strtof_use=no
29360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29361 ac_ext=c
29362 ac_cpp='$CPP $CPPFLAGS'
29363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29372 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29373 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29375 for ac_func in strtof
29377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29378 echo "$as_me:$LINENO: checking for $ac_func" >&5
29379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29380 if eval "test \"\${$as_ac_var+set}\" = set"; then
29381 echo $ECHO_N "(cached) $ECHO_C" >&6
29382 else
29383 if test x$gcc_no_link = xyes; then
29384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29386 { (exit 1); exit 1; }; }
29388 cat >conftest.$ac_ext <<_ACEOF
29389 /* confdefs.h. */
29390 _ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29396 #define $ac_func innocuous_$ac_func
29398 /* System header to define __stub macros and hopefully few prototypes,
29399 which can conflict with char $ac_func (); below.
29400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29401 <limits.h> exists even on freestanding compilers. */
29403 #ifdef __STDC__
29404 # include <limits.h>
29405 #else
29406 # include <assert.h>
29407 #endif
29409 #undef $ac_func
29411 /* Override any gcc2 internal prototype to avoid an error. */
29412 #ifdef __cplusplus
29413 extern "C"
29415 #endif
29416 /* We use char because int might match the return type of a gcc2
29417 builtin and then its argument prototype would still apply. */
29418 char $ac_func ();
29419 /* The GNU C library defines this for functions which it implements
29420 to always fail with ENOSYS. Some functions are actually named
29421 something starting with __ and the normal name is an alias. */
29422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29423 choke me
29424 #else
29425 char (*f) () = $ac_func;
29426 #endif
29427 #ifdef __cplusplus
29429 #endif
29432 main ()
29434 return f != $ac_func;
29436 return 0;
29438 _ACEOF
29439 rm -f conftest.$ac_objext conftest$ac_exeext
29440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29441 (eval $ac_link) 2>conftest.er1
29442 ac_status=$?
29443 grep -v '^ *+' conftest.er1 >conftest.err
29444 rm -f conftest.er1
29445 cat conftest.err >&5
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); } &&
29448 { ac_try='test -z "$ac_c_werror_flag"
29449 || test ! -s conftest.err'
29450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451 (eval $ac_try) 2>&5
29452 ac_status=$?
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); }; } &&
29455 { ac_try='test -s conftest$ac_exeext'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29458 ac_status=$?
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; }; then
29461 eval "$as_ac_var=yes"
29462 else
29463 echo "$as_me: failed program was:" >&5
29464 sed 's/^/| /' conftest.$ac_ext >&5
29466 eval "$as_ac_var=no"
29468 rm -f conftest.err conftest.$ac_objext \
29469 conftest$ac_exeext conftest.$ac_ext
29471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29473 if test `eval echo '${'$as_ac_var'}'` = yes; then
29474 cat >>confdefs.h <<_ACEOF
29475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29476 _ACEOF
29479 done
29484 CXXFLAGS="$ac_save_CXXFLAGS"
29487 # For showmanyc_helper().
29490 for ac_header in sys/ioctl.h sys/filio.h
29492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29494 echo "$as_me:$LINENO: checking for $ac_header" >&5
29495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29497 echo $ECHO_N "(cached) $ECHO_C" >&6
29499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29501 else
29502 # Is the header compilable?
29503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29505 cat >conftest.$ac_ext <<_ACEOF
29506 /* confdefs.h. */
29507 _ACEOF
29508 cat confdefs.h >>conftest.$ac_ext
29509 cat >>conftest.$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29511 $ac_includes_default
29512 #include <$ac_header>
29513 _ACEOF
29514 rm -f conftest.$ac_objext
29515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29516 (eval $ac_compile) 2>conftest.er1
29517 ac_status=$?
29518 grep -v '^ *+' conftest.er1 >conftest.err
29519 rm -f conftest.er1
29520 cat conftest.err >&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } &&
29523 { ac_try='test -z "$ac_c_werror_flag"
29524 || test ! -s conftest.err'
29525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526 (eval $ac_try) 2>&5
29527 ac_status=$?
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); }; } &&
29530 { ac_try='test -s conftest.$ac_objext'
29531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29532 (eval $ac_try) 2>&5
29533 ac_status=$?
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); }; }; then
29536 ac_header_compiler=yes
29537 else
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29541 ac_header_compiler=no
29543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29545 echo "${ECHO_T}$ac_header_compiler" >&6
29547 # Is the header present?
29548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29550 cat >conftest.$ac_ext <<_ACEOF
29551 /* confdefs.h. */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556 #include <$ac_header>
29557 _ACEOF
29558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29560 ac_status=$?
29561 grep -v '^ *+' conftest.er1 >conftest.err
29562 rm -f conftest.er1
29563 cat conftest.err >&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); } >/dev/null; then
29566 if test -s conftest.err; then
29567 ac_cpp_err=$ac_c_preproc_warn_flag
29568 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29569 else
29570 ac_cpp_err=
29572 else
29573 ac_cpp_err=yes
29575 if test -z "$ac_cpp_err"; then
29576 ac_header_preproc=yes
29577 else
29578 echo "$as_me: failed program was:" >&5
29579 sed 's/^/| /' conftest.$ac_ext >&5
29581 ac_header_preproc=no
29583 rm -f conftest.err conftest.$ac_ext
29584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29585 echo "${ECHO_T}$ac_header_preproc" >&6
29587 # So? What about this header?
29588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29589 yes:no: )
29590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29594 ac_header_preproc=yes
29596 no:yes:* )
29597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29610 cat <<\_ASBOX
29611 ## ----------------------------------------- ##
29612 ## Report this to the package-unused lists. ##
29613 ## ----------------------------------------- ##
29614 _ASBOX
29616 sed "s/^/$as_me: WARNING: /" >&2
29618 esac
29619 echo "$as_me:$LINENO: checking for $ac_header" >&5
29620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29622 echo $ECHO_N "(cached) $ECHO_C" >&6
29623 else
29624 eval "$as_ac_Header=\$ac_header_preproc"
29626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29631 cat >>confdefs.h <<_ACEOF
29632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29633 _ACEOF
29637 done
29640 if test "${glibcxx_cv_POLL+set}" = set; then
29641 echo $ECHO_N "(cached) $ECHO_C" >&6
29642 else
29644 if test x$gcc_no_link = xyes; then
29645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29647 { (exit 1); exit 1; }; }
29649 cat >conftest.$ac_ext <<_ACEOF
29650 /* confdefs.h. */
29651 _ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29655 #include <poll.h>
29657 main ()
29659 struct pollfd pfd[1];
29660 pfd[0].events = POLLIN;
29661 poll(pfd, 1, 0);
29663 return 0;
29665 _ACEOF
29666 rm -f conftest.$ac_objext conftest$ac_exeext
29667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29668 (eval $ac_link) 2>conftest.er1
29669 ac_status=$?
29670 grep -v '^ *+' conftest.er1 >conftest.err
29671 rm -f conftest.er1
29672 cat conftest.err >&5
29673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674 (exit $ac_status); } &&
29675 { ac_try='test -z "$ac_c_werror_flag"
29676 || test ! -s conftest.err'
29677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29678 (eval $ac_try) 2>&5
29679 ac_status=$?
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); }; } &&
29682 { ac_try='test -s conftest$ac_exeext'
29683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29684 (eval $ac_try) 2>&5
29685 ac_status=$?
29686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29687 (exit $ac_status); }; }; then
29688 glibcxx_cv_POLL=yes
29689 else
29690 echo "$as_me: failed program was:" >&5
29691 sed 's/^/| /' conftest.$ac_ext >&5
29693 glibcxx_cv_POLL=no
29695 rm -f conftest.err conftest.$ac_objext \
29696 conftest$ac_exeext conftest.$ac_ext
29700 if test $glibcxx_cv_POLL = yes; then
29701 cat >>confdefs.h <<\_ACEOF
29702 #define HAVE_POLL 1
29703 _ACEOF
29708 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29710 else
29712 if test x$gcc_no_link = xyes; then
29713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29715 { (exit 1); exit 1; }; }
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723 #include <sys/stat.h>
29725 main ()
29727 struct stat buffer;
29728 fstat(0, &buffer);
29729 S_ISREG(buffer.st_mode);
29731 return 0;
29733 _ACEOF
29734 rm -f conftest.$ac_objext conftest$ac_exeext
29735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29736 (eval $ac_link) 2>conftest.er1
29737 ac_status=$?
29738 grep -v '^ *+' conftest.er1 >conftest.err
29739 rm -f conftest.er1
29740 cat conftest.err >&5
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); } &&
29743 { ac_try='test -z "$ac_c_werror_flag"
29744 || test ! -s conftest.err'
29745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29746 (eval $ac_try) 2>&5
29747 ac_status=$?
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); }; } &&
29750 { ac_try='test -s conftest$ac_exeext'
29751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29752 (eval $ac_try) 2>&5
29753 ac_status=$?
29754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29755 (exit $ac_status); }; }; then
29756 glibcxx_cv_S_ISREG=yes
29757 else
29758 echo "$as_me: failed program was:" >&5
29759 sed 's/^/| /' conftest.$ac_ext >&5
29761 glibcxx_cv_S_ISREG=no
29763 rm -f conftest.err conftest.$ac_objext \
29764 conftest$ac_exeext conftest.$ac_ext
29768 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29770 else
29772 if test x$gcc_no_link = xyes; then
29773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29775 { (exit 1); exit 1; }; }
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h. */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783 #include <sys/stat.h>
29785 main ()
29787 struct stat buffer;
29788 fstat(0, &buffer);
29789 S_IFREG & buffer.st_mode;
29791 return 0;
29793 _ACEOF
29794 rm -f conftest.$ac_objext conftest$ac_exeext
29795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29796 (eval $ac_link) 2>conftest.er1
29797 ac_status=$?
29798 grep -v '^ *+' conftest.er1 >conftest.err
29799 rm -f conftest.er1
29800 cat conftest.err >&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try='test -z "$ac_c_werror_flag"
29804 || test ! -s conftest.err'
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29807 ac_status=$?
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; } &&
29810 { ac_try='test -s conftest$ac_exeext'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; }; then
29816 glibcxx_cv_S_IFREG=yes
29817 else
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29821 glibcxx_cv_S_IFREG=no
29823 rm -f conftest.err conftest.$ac_objext \
29824 conftest$ac_exeext conftest.$ac_ext
29828 if test $glibcxx_cv_S_ISREG = yes; then
29829 cat >>confdefs.h <<\_ACEOF
29830 #define HAVE_S_ISREG 1
29831 _ACEOF
29833 elif test $glibcxx_cv_S_IFREG = yes; then
29834 cat >>confdefs.h <<\_ACEOF
29835 #define HAVE_S_IFREG 1
29836 _ACEOF
29841 # For xsputn_2().
29843 for ac_header in sys/uio.h
29845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29847 echo "$as_me:$LINENO: checking for $ac_header" >&5
29848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29854 else
29855 # Is the header compilable?
29856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29858 cat >conftest.$ac_ext <<_ACEOF
29859 /* confdefs.h. */
29860 _ACEOF
29861 cat confdefs.h >>conftest.$ac_ext
29862 cat >>conftest.$ac_ext <<_ACEOF
29863 /* end confdefs.h. */
29864 $ac_includes_default
29865 #include <$ac_header>
29866 _ACEOF
29867 rm -f conftest.$ac_objext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29869 (eval $ac_compile) 2>conftest.er1
29870 ac_status=$?
29871 grep -v '^ *+' conftest.er1 >conftest.err
29872 rm -f conftest.er1
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try='test -z "$ac_c_werror_flag"
29877 || test ! -s conftest.err'
29878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29879 (eval $ac_try) 2>&5
29880 ac_status=$?
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); }; } &&
29883 { ac_try='test -s conftest.$ac_objext'
29884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29885 (eval $ac_try) 2>&5
29886 ac_status=$?
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); }; }; then
29889 ac_header_compiler=yes
29890 else
29891 echo "$as_me: failed program was:" >&5
29892 sed 's/^/| /' conftest.$ac_ext >&5
29894 ac_header_compiler=no
29896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29898 echo "${ECHO_T}$ac_header_compiler" >&6
29900 # Is the header present?
29901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29903 cat >conftest.$ac_ext <<_ACEOF
29904 /* confdefs.h. */
29905 _ACEOF
29906 cat confdefs.h >>conftest.$ac_ext
29907 cat >>conftest.$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29909 #include <$ac_header>
29910 _ACEOF
29911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29913 ac_status=$?
29914 grep -v '^ *+' conftest.er1 >conftest.err
29915 rm -f conftest.er1
29916 cat conftest.err >&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); } >/dev/null; then
29919 if test -s conftest.err; then
29920 ac_cpp_err=$ac_c_preproc_warn_flag
29921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29922 else
29923 ac_cpp_err=
29925 else
29926 ac_cpp_err=yes
29928 if test -z "$ac_cpp_err"; then
29929 ac_header_preproc=yes
29930 else
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.$ac_ext >&5
29934 ac_header_preproc=no
29936 rm -f conftest.err conftest.$ac_ext
29937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29938 echo "${ECHO_T}$ac_header_preproc" >&6
29940 # So? What about this header?
29941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29942 yes:no: )
29943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29947 ac_header_preproc=yes
29949 no:yes:* )
29950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29954 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29956 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29957 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29960 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29963 cat <<\_ASBOX
29964 ## ----------------------------------------- ##
29965 ## Report this to the package-unused lists. ##
29966 ## ----------------------------------------- ##
29967 _ASBOX
29969 sed "s/^/$as_me: WARNING: /" >&2
29971 esac
29972 echo "$as_me:$LINENO: checking for $ac_header" >&5
29973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29977 eval "$as_ac_Header=\$ac_header_preproc"
29979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29984 cat >>confdefs.h <<_ACEOF
29985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29986 _ACEOF
29990 done
29993 if test "${glibcxx_cv_WRITEV+set}" = set; then
29994 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 else
29997 if test x$gcc_no_link = xyes; then
29998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30000 { (exit 1); exit 1; }; }
30002 cat >conftest.$ac_ext <<_ACEOF
30003 /* confdefs.h. */
30004 _ACEOF
30005 cat confdefs.h >>conftest.$ac_ext
30006 cat >>conftest.$ac_ext <<_ACEOF
30007 /* end confdefs.h. */
30008 #include <sys/uio.h>
30010 main ()
30012 struct iovec iov[2];
30013 writev(0, iov, 0);
30015 return 0;
30017 _ACEOF
30018 rm -f conftest.$ac_objext conftest$ac_exeext
30019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30020 (eval $ac_link) 2>conftest.er1
30021 ac_status=$?
30022 grep -v '^ *+' conftest.er1 >conftest.err
30023 rm -f conftest.er1
30024 cat conftest.err >&5
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); } &&
30027 { ac_try='test -z "$ac_c_werror_flag"
30028 || test ! -s conftest.err'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30031 ac_status=$?
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; } &&
30034 { ac_try='test -s conftest$ac_exeext'
30035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30036 (eval $ac_try) 2>&5
30037 ac_status=$?
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); }; }; then
30040 glibcxx_cv_WRITEV=yes
30041 else
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30045 glibcxx_cv_WRITEV=no
30047 rm -f conftest.err conftest.$ac_objext \
30048 conftest$ac_exeext conftest.$ac_ext
30052 if test $glibcxx_cv_WRITEV = yes; then
30053 cat >>confdefs.h <<\_ACEOF
30054 #define HAVE_WRITEV 1
30055 _ACEOF
30060 # For the __streamoff_base_type typedef.
30062 if test "${glibcxx_cv_INT64_T+set}" = set; then
30063 echo $ECHO_N "(cached) $ECHO_C" >&6
30064 else
30066 cat >conftest.$ac_ext <<_ACEOF
30067 /* confdefs.h. */
30068 _ACEOF
30069 cat confdefs.h >>conftest.$ac_ext
30070 cat >>conftest.$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072 #include <stdint.h>
30074 main ()
30076 int64_t var;
30078 return 0;
30080 _ACEOF
30081 rm -f conftest.$ac_objext
30082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30083 (eval $ac_compile) 2>conftest.er1
30084 ac_status=$?
30085 grep -v '^ *+' conftest.er1 >conftest.err
30086 rm -f conftest.er1
30087 cat conftest.err >&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); } &&
30090 { ac_try='test -z "$ac_c_werror_flag"
30091 || test ! -s conftest.err'
30092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30093 (eval $ac_try) 2>&5
30094 ac_status=$?
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); }; } &&
30097 { ac_try='test -s conftest.$ac_objext'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30100 ac_status=$?
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; }; then
30103 glibcxx_cv_INT64_T=yes
30104 else
30105 echo "$as_me: failed program was:" >&5
30106 sed 's/^/| /' conftest.$ac_ext >&5
30108 glibcxx_cv_INT64_T=no
30110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30114 if test $glibcxx_cv_INT64_T = yes; then
30115 cat >>confdefs.h <<\_ACEOF
30116 #define HAVE_INT64_T 1
30117 _ACEOF
30122 # For LFS support.
30126 ac_ext=cc
30127 ac_cpp='$CXXCPP $CPPFLAGS'
30128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30132 ac_save_CXXFLAGS="$CXXFLAGS"
30133 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30134 if test "${glibcxx_cv_LFS+set}" = set; then
30135 echo $ECHO_N "(cached) $ECHO_C" >&6
30136 else
30138 if test x$gcc_no_link = xyes; then
30139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30141 { (exit 1); exit 1; }; }
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <unistd.h>
30150 #include <stdio.h>
30151 #include <sys/stat.h>
30154 main ()
30156 FILE* fp;
30157 fopen64("t", "w");
30158 fseeko64(fp, 0, SEEK_CUR);
30159 ftello64(fp);
30160 lseek64(1, 0, SEEK_CUR);
30161 struct stat64 buf;
30162 fstat64(1, &buf);
30164 return 0;
30166 _ACEOF
30167 rm -f conftest.$ac_objext conftest$ac_exeext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30169 (eval $ac_link) 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } &&
30176 { ac_try='test -z "$ac_cxx_werror_flag"
30177 || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30180 ac_status=$?
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try='test -s conftest$ac_exeext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30186 ac_status=$?
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189 glibcxx_cv_LFS=yes
30190 else
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30194 glibcxx_cv_LFS=no
30196 rm -f conftest.err conftest.$ac_objext \
30197 conftest$ac_exeext conftest.$ac_ext
30201 if test $glibcxx_cv_LFS = yes; then
30202 cat >>confdefs.h <<\_ACEOF
30203 #define _GLIBCXX_USE_LFS 1
30204 _ACEOF
30207 CXXFLAGS="$ac_save_CXXFLAGS"
30208 ac_ext=c
30209 ac_cpp='$CPP $CPPFLAGS'
30210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30217 if test "${ac_cv_header_locale_h+set}" = set; then
30218 echo "$as_me:$LINENO: checking for locale.h" >&5
30219 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30220 if test "${ac_cv_header_locale_h+set}" = set; then
30221 echo $ECHO_N "(cached) $ECHO_C" >&6
30223 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30224 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30225 else
30226 # Is the header compilable?
30227 echo "$as_me:$LINENO: checking locale.h usability" >&5
30228 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30229 cat >conftest.$ac_ext <<_ACEOF
30230 /* confdefs.h. */
30231 _ACEOF
30232 cat confdefs.h >>conftest.$ac_ext
30233 cat >>conftest.$ac_ext <<_ACEOF
30234 /* end confdefs.h. */
30235 $ac_includes_default
30236 #include <locale.h>
30237 _ACEOF
30238 rm -f conftest.$ac_objext
30239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30240 (eval $ac_compile) 2>conftest.er1
30241 ac_status=$?
30242 grep -v '^ *+' conftest.er1 >conftest.err
30243 rm -f conftest.er1
30244 cat conftest.err >&5
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); } &&
30247 { ac_try='test -z "$ac_c_werror_flag"
30248 || test ! -s conftest.err'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30251 ac_status=$?
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; } &&
30254 { ac_try='test -s conftest.$ac_objext'
30255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30256 (eval $ac_try) 2>&5
30257 ac_status=$?
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); }; }; then
30260 ac_header_compiler=yes
30261 else
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.$ac_ext >&5
30265 ac_header_compiler=no
30267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30269 echo "${ECHO_T}$ac_header_compiler" >&6
30271 # Is the header present?
30272 echo "$as_me:$LINENO: checking locale.h presence" >&5
30273 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30274 cat >conftest.$ac_ext <<_ACEOF
30275 /* confdefs.h. */
30276 _ACEOF
30277 cat confdefs.h >>conftest.$ac_ext
30278 cat >>conftest.$ac_ext <<_ACEOF
30279 /* end confdefs.h. */
30280 #include <locale.h>
30281 _ACEOF
30282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30284 ac_status=$?
30285 grep -v '^ *+' conftest.er1 >conftest.err
30286 rm -f conftest.er1
30287 cat conftest.err >&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); } >/dev/null; then
30290 if test -s conftest.err; then
30291 ac_cpp_err=$ac_c_preproc_warn_flag
30292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30293 else
30294 ac_cpp_err=
30296 else
30297 ac_cpp_err=yes
30299 if test -z "$ac_cpp_err"; then
30300 ac_header_preproc=yes
30301 else
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30305 ac_header_preproc=no
30307 rm -f conftest.err conftest.$ac_ext
30308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30309 echo "${ECHO_T}$ac_header_preproc" >&6
30311 # So? What about this header?
30312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30313 yes:no: )
30314 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30315 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30316 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30317 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30318 ac_header_preproc=yes
30320 no:yes:* )
30321 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30322 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30323 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30324 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30325 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30326 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30327 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30328 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30329 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30330 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30331 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30332 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30334 cat <<\_ASBOX
30335 ## ----------------------------------------- ##
30336 ## Report this to the package-unused lists. ##
30337 ## ----------------------------------------- ##
30338 _ASBOX
30340 sed "s/^/$as_me: WARNING: /" >&2
30342 esac
30343 echo "$as_me:$LINENO: checking for locale.h" >&5
30344 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30345 if test "${ac_cv_header_locale_h+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 else
30348 ac_cv_header_locale_h=$ac_header_preproc
30350 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30351 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30354 if test $ac_cv_header_locale_h = yes; then
30356 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30357 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30358 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30359 echo $ECHO_N "(cached) $ECHO_C" >&6
30360 else
30361 if test x$gcc_no_link = xyes; then
30362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30364 { (exit 1); exit 1; }; }
30366 cat >conftest.$ac_ext <<_ACEOF
30367 /* confdefs.h. */
30368 _ACEOF
30369 cat confdefs.h >>conftest.$ac_ext
30370 cat >>conftest.$ac_ext <<_ACEOF
30371 /* end confdefs.h. */
30372 #include <locale.h>
30374 main ()
30376 return LC_MESSAGES
30378 return 0;
30380 _ACEOF
30381 rm -f conftest.$ac_objext conftest$ac_exeext
30382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30383 (eval $ac_link) 2>conftest.er1
30384 ac_status=$?
30385 grep -v '^ *+' conftest.er1 >conftest.err
30386 rm -f conftest.er1
30387 cat conftest.err >&5
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); } &&
30390 { ac_try='test -z "$ac_c_werror_flag"
30391 || test ! -s conftest.err'
30392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393 (eval $ac_try) 2>&5
30394 ac_status=$?
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); }; } &&
30397 { ac_try='test -s conftest$ac_exeext'
30398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30399 (eval $ac_try) 2>&5
30400 ac_status=$?
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); }; }; then
30403 ac_cv_val_LC_MESSAGES=yes
30404 else
30405 echo "$as_me: failed program was:" >&5
30406 sed 's/^/| /' conftest.$ac_ext >&5
30408 ac_cv_val_LC_MESSAGES=no
30410 rm -f conftest.err conftest.$ac_objext \
30411 conftest$ac_exeext conftest.$ac_ext
30413 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30414 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30415 if test $ac_cv_val_LC_MESSAGES = yes; then
30416 cat >>confdefs.h <<\_ACEOF
30417 #define HAVE_LC_MESSAGES 1
30418 _ACEOF
30427 cat >conftest.$ac_ext <<_ACEOF
30428 /* confdefs.h. */
30429 _ACEOF
30430 cat confdefs.h >>conftest.$ac_ext
30431 cat >>conftest.$ac_ext <<_ACEOF
30432 /* end confdefs.h. */
30433 #include <setjmp.h>
30435 main ()
30437 sigjmp_buf env;
30438 while (! sigsetjmp (env, 1))
30439 siglongjmp (env, 1);
30442 return 0;
30444 _ACEOF
30445 rm -f conftest.$ac_objext
30446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30447 (eval $ac_compile) 2>conftest.er1
30448 ac_status=$?
30449 grep -v '^ *+' conftest.er1 >conftest.err
30450 rm -f conftest.er1
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } &&
30454 { ac_try='test -z "$ac_c_werror_flag"
30455 || test ! -s conftest.err'
30456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30457 (eval $ac_try) 2>&5
30458 ac_status=$?
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; } &&
30461 { ac_try='test -s conftest.$ac_objext'
30462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463 (eval $ac_try) 2>&5
30464 ac_status=$?
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; }; then
30468 cat >>confdefs.h <<\_ACEOF
30469 #define HAVE_SIGSETJMP 1
30470 _ACEOF
30472 else
30473 echo "$as_me: failed program was:" >&5
30474 sed 's/^/| /' conftest.$ac_ext >&5
30477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30479 if test x$gcc_no_link = xyes; then
30480 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30481 ac_cv_func_mmap_fixed_mapped=no
30484 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30487 for ac_header in stdlib.h unistd.h
30489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30491 echo "$as_me:$LINENO: checking for $ac_header" >&5
30492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30494 echo $ECHO_N "(cached) $ECHO_C" >&6
30496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30498 else
30499 # Is the header compilable?
30500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30502 cat >conftest.$ac_ext <<_ACEOF
30503 /* confdefs.h. */
30504 _ACEOF
30505 cat confdefs.h >>conftest.$ac_ext
30506 cat >>conftest.$ac_ext <<_ACEOF
30507 /* end confdefs.h. */
30508 $ac_includes_default
30509 #include <$ac_header>
30510 _ACEOF
30511 rm -f conftest.$ac_objext
30512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30513 (eval $ac_compile) 2>conftest.er1
30514 ac_status=$?
30515 grep -v '^ *+' conftest.er1 >conftest.err
30516 rm -f conftest.er1
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } &&
30520 { ac_try='test -z "$ac_c_werror_flag"
30521 || test ! -s conftest.err'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; } &&
30527 { ac_try='test -s conftest.$ac_objext'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30530 ac_status=$?
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; }; then
30533 ac_header_compiler=yes
30534 else
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30538 ac_header_compiler=no
30540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30542 echo "${ECHO_T}$ac_header_compiler" >&6
30544 # Is the header present?
30545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30547 cat >conftest.$ac_ext <<_ACEOF
30548 /* confdefs.h. */
30549 _ACEOF
30550 cat confdefs.h >>conftest.$ac_ext
30551 cat >>conftest.$ac_ext <<_ACEOF
30552 /* end confdefs.h. */
30553 #include <$ac_header>
30554 _ACEOF
30555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30557 ac_status=$?
30558 grep -v '^ *+' conftest.er1 >conftest.err
30559 rm -f conftest.er1
30560 cat conftest.err >&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } >/dev/null; then
30563 if test -s conftest.err; then
30564 ac_cpp_err=$ac_c_preproc_warn_flag
30565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30566 else
30567 ac_cpp_err=
30569 else
30570 ac_cpp_err=yes
30572 if test -z "$ac_cpp_err"; then
30573 ac_header_preproc=yes
30574 else
30575 echo "$as_me: failed program was:" >&5
30576 sed 's/^/| /' conftest.$ac_ext >&5
30578 ac_header_preproc=no
30580 rm -f conftest.err conftest.$ac_ext
30581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30582 echo "${ECHO_T}$ac_header_preproc" >&6
30584 # So? What about this header?
30585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30586 yes:no: )
30587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30591 ac_header_preproc=yes
30593 no:yes:* )
30594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30607 cat <<\_ASBOX
30608 ## ----------------------------------------- ##
30609 ## Report this to the package-unused lists. ##
30610 ## ----------------------------------------- ##
30611 _ASBOX
30613 sed "s/^/$as_me: WARNING: /" >&2
30615 esac
30616 echo "$as_me:$LINENO: checking for $ac_header" >&5
30617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30620 else
30621 eval "$as_ac_Header=\$ac_header_preproc"
30623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30628 cat >>confdefs.h <<_ACEOF
30629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30630 _ACEOF
30634 done
30637 for ac_func in getpagesize
30639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30640 echo "$as_me:$LINENO: checking for $ac_func" >&5
30641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30642 if eval "test \"\${$as_ac_var+set}\" = set"; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 else
30645 if test x$gcc_no_link = xyes; then
30646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30648 { (exit 1); exit 1; }; }
30650 cat >conftest.$ac_ext <<_ACEOF
30651 /* confdefs.h. */
30652 _ACEOF
30653 cat confdefs.h >>conftest.$ac_ext
30654 cat >>conftest.$ac_ext <<_ACEOF
30655 /* end confdefs.h. */
30656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30658 #define $ac_func innocuous_$ac_func
30660 /* System header to define __stub macros and hopefully few prototypes,
30661 which can conflict with char $ac_func (); below.
30662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30663 <limits.h> exists even on freestanding compilers. */
30665 #ifdef __STDC__
30666 # include <limits.h>
30667 #else
30668 # include <assert.h>
30669 #endif
30671 #undef $ac_func
30673 /* Override any gcc2 internal prototype to avoid an error. */
30674 #ifdef __cplusplus
30675 extern "C"
30677 #endif
30678 /* We use char because int might match the return type of a gcc2
30679 builtin and then its argument prototype would still apply. */
30680 char $ac_func ();
30681 /* The GNU C library defines this for functions which it implements
30682 to always fail with ENOSYS. Some functions are actually named
30683 something starting with __ and the normal name is an alias. */
30684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30685 choke me
30686 #else
30687 char (*f) () = $ac_func;
30688 #endif
30689 #ifdef __cplusplus
30691 #endif
30694 main ()
30696 return f != $ac_func;
30698 return 0;
30700 _ACEOF
30701 rm -f conftest.$ac_objext conftest$ac_exeext
30702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30703 (eval $ac_link) 2>conftest.er1
30704 ac_status=$?
30705 grep -v '^ *+' conftest.er1 >conftest.err
30706 rm -f conftest.er1
30707 cat conftest.err >&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } &&
30710 { ac_try='test -z "$ac_c_werror_flag"
30711 || test ! -s conftest.err'
30712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30713 (eval $ac_try) 2>&5
30714 ac_status=$?
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; } &&
30717 { ac_try='test -s conftest$ac_exeext'
30718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30719 (eval $ac_try) 2>&5
30720 ac_status=$?
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); }; }; then
30723 eval "$as_ac_var=yes"
30724 else
30725 echo "$as_me: failed program was:" >&5
30726 sed 's/^/| /' conftest.$ac_ext >&5
30728 eval "$as_ac_var=no"
30730 rm -f conftest.err conftest.$ac_objext \
30731 conftest$ac_exeext conftest.$ac_ext
30733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30735 if test `eval echo '${'$as_ac_var'}'` = yes; then
30736 cat >>confdefs.h <<_ACEOF
30737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30738 _ACEOF
30741 done
30743 echo "$as_me:$LINENO: checking for working mmap" >&5
30744 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30745 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30746 echo $ECHO_N "(cached) $ECHO_C" >&6
30747 else
30748 if test "$cross_compiling" = yes; then
30749 ac_cv_func_mmap_fixed_mapped=no
30750 else
30751 cat >conftest.$ac_ext <<_ACEOF
30752 /* confdefs.h. */
30753 _ACEOF
30754 cat confdefs.h >>conftest.$ac_ext
30755 cat >>conftest.$ac_ext <<_ACEOF
30756 /* end confdefs.h. */
30757 $ac_includes_default
30758 /* malloc might have been renamed as rpl_malloc. */
30759 #undef malloc
30761 /* Thanks to Mike Haertel and Jim Avera for this test.
30762 Here is a matrix of mmap possibilities:
30763 mmap private not fixed
30764 mmap private fixed at somewhere currently unmapped
30765 mmap private fixed at somewhere already mapped
30766 mmap shared not fixed
30767 mmap shared fixed at somewhere currently unmapped
30768 mmap shared fixed at somewhere already mapped
30769 For private mappings, we should verify that changes cannot be read()
30770 back from the file, nor mmap's back from the file at a different
30771 address. (There have been systems where private was not correctly
30772 implemented like the infamous i386 svr4.0, and systems where the
30773 VM page cache was not coherent with the file system buffer cache
30774 like early versions of FreeBSD and possibly contemporary NetBSD.)
30775 For shared mappings, we should conversely verify that changes get
30776 propagated back to all the places they're supposed to be.
30778 Grep wants private fixed already mapped.
30779 The main things grep needs to know about mmap are:
30780 * does it exist and is it safe to write into the mmap'd area
30781 * how to use it (BSD variants) */
30783 #include <fcntl.h>
30784 #include <sys/mman.h>
30786 #if !STDC_HEADERS && !HAVE_STDLIB_H
30787 char *malloc ();
30788 #endif
30790 /* This mess was copied from the GNU getpagesize.h. */
30791 #if !HAVE_GETPAGESIZE
30792 /* Assume that all systems that can run configure have sys/param.h. */
30793 # if !HAVE_SYS_PARAM_H
30794 # define HAVE_SYS_PARAM_H 1
30795 # endif
30797 # ifdef _SC_PAGESIZE
30798 # define getpagesize() sysconf(_SC_PAGESIZE)
30799 # else /* no _SC_PAGESIZE */
30800 # if HAVE_SYS_PARAM_H
30801 # include <sys/param.h>
30802 # ifdef EXEC_PAGESIZE
30803 # define getpagesize() EXEC_PAGESIZE
30804 # else /* no EXEC_PAGESIZE */
30805 # ifdef NBPG
30806 # define getpagesize() NBPG * CLSIZE
30807 # ifndef CLSIZE
30808 # define CLSIZE 1
30809 # endif /* no CLSIZE */
30810 # else /* no NBPG */
30811 # ifdef NBPC
30812 # define getpagesize() NBPC
30813 # else /* no NBPC */
30814 # ifdef PAGESIZE
30815 # define getpagesize() PAGESIZE
30816 # endif /* PAGESIZE */
30817 # endif /* no NBPC */
30818 # endif /* no NBPG */
30819 # endif /* no EXEC_PAGESIZE */
30820 # else /* no HAVE_SYS_PARAM_H */
30821 # define getpagesize() 8192 /* punt totally */
30822 # endif /* no HAVE_SYS_PARAM_H */
30823 # endif /* no _SC_PAGESIZE */
30825 #endif /* no HAVE_GETPAGESIZE */
30828 main ()
30830 char *data, *data2, *data3;
30831 int i, pagesize;
30832 int fd;
30834 pagesize = getpagesize ();
30836 /* First, make a file with some known garbage in it. */
30837 data = (char *) malloc (pagesize);
30838 if (!data)
30839 exit (1);
30840 for (i = 0; i < pagesize; ++i)
30841 *(data + i) = rand ();
30842 umask (0);
30843 fd = creat ("conftest.mmap", 0600);
30844 if (fd < 0)
30845 exit (1);
30846 if (write (fd, data, pagesize) != pagesize)
30847 exit (1);
30848 close (fd);
30850 /* Next, try to mmap the file at a fixed address which already has
30851 something else allocated at it. If we can, also make sure that
30852 we see the same garbage. */
30853 fd = open ("conftest.mmap", O_RDWR);
30854 if (fd < 0)
30855 exit (1);
30856 data2 = (char *) malloc (2 * pagesize);
30857 if (!data2)
30858 exit (1);
30859 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30860 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30861 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30862 exit (1);
30863 for (i = 0; i < pagesize; ++i)
30864 if (*(data + i) != *(data2 + i))
30865 exit (1);
30867 /* Finally, make sure that changes to the mapped area do not
30868 percolate back to the file as seen by read(). (This is a bug on
30869 some variants of i386 svr4.0.) */
30870 for (i = 0; i < pagesize; ++i)
30871 *(data2 + i) = *(data2 + i) + 1;
30872 data3 = (char *) malloc (pagesize);
30873 if (!data3)
30874 exit (1);
30875 if (read (fd, data3, pagesize) != pagesize)
30876 exit (1);
30877 for (i = 0; i < pagesize; ++i)
30878 if (*(data + i) != *(data3 + i))
30879 exit (1);
30880 close (fd);
30881 exit (0);
30883 _ACEOF
30884 rm -f conftest$ac_exeext
30885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30886 (eval $ac_link) 2>&5
30887 ac_status=$?
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30891 (eval $ac_try) 2>&5
30892 ac_status=$?
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); }; }; then
30895 ac_cv_func_mmap_fixed_mapped=yes
30896 else
30897 echo "$as_me: program exited with status $ac_status" >&5
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.$ac_ext >&5
30901 ( exit $ac_status )
30902 ac_cv_func_mmap_fixed_mapped=no
30904 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30907 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30908 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30909 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30911 cat >>confdefs.h <<\_ACEOF
30912 #define HAVE_MMAP 1
30913 _ACEOF
30916 rm -f conftest.mmap
30920 else
30922 # This lets us hard-code the functionality we know we'll have in the cross
30923 # target environment. "Let" is a sugar-coated word placed on an especially
30924 # dull and tedious hack, actually.
30926 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30927 # that involve linking, can't be used:
30928 # "cannot open sim-crt0.o"
30929 # "cannot open crt0.o"
30930 # etc. All this is because there currently exists no unified, consistent
30931 # way for top level CC information to be passed down to target directories:
30932 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30933 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30934 # crosses can be removed.
30936 # If Canadian cross, then don't pick up tools from the build directory.
30937 # Used only in GLIBCXX_EXPORT_INCLUDES.
30938 if test -n "$with_cross_host" &&
30939 test x"$build_alias" != x"$with_cross_host" &&
30940 test x"$build" != x"$target";
30941 then
30942 CANADIAN=yes
30943 else
30944 CANADIAN=no
30947 # Construct crosses by hand, eliminating bits that need ld...
30948 # GLIBCXX_CHECK_COMPILER_FEATURES
30949 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30950 # GLIBCXX_CHECK_MATH_SUPPORT
30952 # First, test for "known" system libraries. We may be using newlib even
30953 # on a hosted environment.
30954 if test "x${with_newlib}" = "xyes"; then
30955 os_include_dir="os/newlib"
30956 cat >>confdefs.h <<\_ACEOF
30957 #define HAVE_HYPOT 1
30958 _ACEOF
30961 # GLIBCXX_CHECK_STDLIB_SUPPORT
30962 cat >>confdefs.h <<\_ACEOF
30963 #define HAVE_STRTOF 1
30964 _ACEOF
30966 cat >>confdefs.h <<\_ACEOF
30967 #define HAVE_STRTOLD 1
30968 _ACEOF
30970 # AC_FUNC_MMAP
30971 cat >>confdefs.h <<\_ACEOF
30972 #define HAVE_MMAP 1
30973 _ACEOF
30976 cat >>confdefs.h <<\_ACEOF
30977 #define HAVE_ACOSF 1
30978 _ACEOF
30980 cat >>confdefs.h <<\_ACEOF
30981 #define HAVE_ASINF 1
30982 _ACEOF
30984 cat >>confdefs.h <<\_ACEOF
30985 #define HAVE_ATAN2F 1
30986 _ACEOF
30988 cat >>confdefs.h <<\_ACEOF
30989 #define HAVE_ATANF 1
30990 _ACEOF
30992 cat >>confdefs.h <<\_ACEOF
30993 #define HAVE_CEILF 1
30994 _ACEOF
30996 cat >>confdefs.h <<\_ACEOF
30997 #define HAVE_COPYSIGN 1
30998 _ACEOF
31000 cat >>confdefs.h <<\_ACEOF
31001 #define HAVE_COPYSIGNF 1
31002 _ACEOF
31004 cat >>confdefs.h <<\_ACEOF
31005 #define HAVE_COSF 1
31006 _ACEOF
31008 cat >>confdefs.h <<\_ACEOF
31009 #define HAVE_COSHF 1
31010 _ACEOF
31012 cat >>confdefs.h <<\_ACEOF
31013 #define HAVE_EXPF 1
31014 _ACEOF
31016 cat >>confdefs.h <<\_ACEOF
31017 #define HAVE_FABSF 1
31018 _ACEOF
31020 cat >>confdefs.h <<\_ACEOF
31021 #define HAVE_FLOORF 1
31022 _ACEOF
31024 cat >>confdefs.h <<\_ACEOF
31025 #define HAVE_FMODF 1
31026 _ACEOF
31028 cat >>confdefs.h <<\_ACEOF
31029 #define HAVE_FREXPF 1
31030 _ACEOF
31032 cat >>confdefs.h <<\_ACEOF
31033 #define HAVE_LDEXPF 1
31034 _ACEOF
31036 cat >>confdefs.h <<\_ACEOF
31037 #define HAVE_LOG10F 1
31038 _ACEOF
31040 cat >>confdefs.h <<\_ACEOF
31041 #define HAVE_LOGF 1
31042 _ACEOF
31044 cat >>confdefs.h <<\_ACEOF
31045 #define HAVE_MODFF 1
31046 _ACEOF
31048 cat >>confdefs.h <<\_ACEOF
31049 #define HAVE_POWF 1
31050 _ACEOF
31052 cat >>confdefs.h <<\_ACEOF
31053 #define HAVE_SINF 1
31054 _ACEOF
31056 cat >>confdefs.h <<\_ACEOF
31057 #define HAVE_SINHF 1
31058 _ACEOF
31060 cat >>confdefs.h <<\_ACEOF
31061 #define HAVE_SQRTF 1
31062 _ACEOF
31064 cat >>confdefs.h <<\_ACEOF
31065 #define HAVE_TANF 1
31066 _ACEOF
31068 cat >>confdefs.h <<\_ACEOF
31069 #define HAVE_TANHF 1
31070 _ACEOF
31073 cat >>confdefs.h <<\_ACEOF
31074 #define HAVE_S_ISREG 1
31075 _ACEOF
31077 cat >>confdefs.h <<\_ACEOF
31078 #define HAVE_S_IFREG 1
31079 _ACEOF
31081 else
31083 # Base decisions on target environment.
31084 case "${host}" in
31085 arm*-*-symbianelf*)
31086 # This is a freestanding configuration; there is nothing to do here.
31089 *-darwin*)
31090 # Darwin versions vary, but the linker should work in a cross environment,
31091 # so we just check for all the features here.
31092 # Check for available headers.
31106 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31107 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31108 sys/types.h
31110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31112 echo "$as_me:$LINENO: checking for $ac_header" >&5
31113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31119 else
31120 # Is the header compilable?
31121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31123 cat >conftest.$ac_ext <<_ACEOF
31124 /* confdefs.h. */
31125 _ACEOF
31126 cat confdefs.h >>conftest.$ac_ext
31127 cat >>conftest.$ac_ext <<_ACEOF
31128 /* end confdefs.h. */
31129 $ac_includes_default
31130 #include <$ac_header>
31131 _ACEOF
31132 rm -f conftest.$ac_objext
31133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31134 (eval $ac_compile) 2>conftest.er1
31135 ac_status=$?
31136 grep -v '^ *+' conftest.er1 >conftest.err
31137 rm -f conftest.er1
31138 cat conftest.err >&5
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); } &&
31141 { ac_try='test -z "$ac_c_werror_flag"
31142 || test ! -s conftest.err'
31143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31144 (eval $ac_try) 2>&5
31145 ac_status=$?
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); }; } &&
31148 { ac_try='test -s conftest.$ac_objext'
31149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31150 (eval $ac_try) 2>&5
31151 ac_status=$?
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); }; }; then
31154 ac_header_compiler=yes
31155 else
31156 echo "$as_me: failed program was:" >&5
31157 sed 's/^/| /' conftest.$ac_ext >&5
31159 ac_header_compiler=no
31161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31163 echo "${ECHO_T}$ac_header_compiler" >&6
31165 # Is the header present?
31166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31168 cat >conftest.$ac_ext <<_ACEOF
31169 /* confdefs.h. */
31170 _ACEOF
31171 cat confdefs.h >>conftest.$ac_ext
31172 cat >>conftest.$ac_ext <<_ACEOF
31173 /* end confdefs.h. */
31174 #include <$ac_header>
31175 _ACEOF
31176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31178 ac_status=$?
31179 grep -v '^ *+' conftest.er1 >conftest.err
31180 rm -f conftest.er1
31181 cat conftest.err >&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } >/dev/null; then
31184 if test -s conftest.err; then
31185 ac_cpp_err=$ac_c_preproc_warn_flag
31186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31187 else
31188 ac_cpp_err=
31190 else
31191 ac_cpp_err=yes
31193 if test -z "$ac_cpp_err"; then
31194 ac_header_preproc=yes
31195 else
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31199 ac_header_preproc=no
31201 rm -f conftest.err conftest.$ac_ext
31202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31203 echo "${ECHO_T}$ac_header_preproc" >&6
31205 # So? What about this header?
31206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31207 yes:no: )
31208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31212 ac_header_preproc=yes
31214 no:yes:* )
31215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31228 cat <<\_ASBOX
31229 ## ----------------------------------------- ##
31230 ## Report this to the package-unused lists. ##
31231 ## ----------------------------------------- ##
31232 _ASBOX
31234 sed "s/^/$as_me: WARNING: /" >&2
31236 esac
31237 echo "$as_me:$LINENO: checking for $ac_header" >&5
31238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31240 echo $ECHO_N "(cached) $ECHO_C" >&6
31241 else
31242 eval "$as_ac_Header=\$ac_header_preproc"
31244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31249 cat >>confdefs.h <<_ACEOF
31250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31251 _ACEOF
31255 done
31259 # All these tests are for C++; save the language and the compiler flags.
31260 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31261 # found in GLIBCXX_CONFIGURE.
31264 ac_ext=cc
31265 ac_cpp='$CXXCPP $CPPFLAGS'
31266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31271 ac_save_CXXFLAGS="$CXXFLAGS"
31273 # Check for maintainer-mode bits.
31274 if test x"$USE_MAINTAINER_MODE" = xno; then
31275 WERROR=''
31276 else
31277 WERROR='-Werror'
31280 # Check for -ffunction-sections -fdata-sections
31281 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31282 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31283 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31284 cat >conftest.$ac_ext <<_ACEOF
31285 /* confdefs.h. */
31286 _ACEOF
31287 cat confdefs.h >>conftest.$ac_ext
31288 cat >>conftest.$ac_ext <<_ACEOF
31289 /* end confdefs.h. */
31292 main ()
31294 int foo;
31296 return 0;
31298 _ACEOF
31299 rm -f conftest.$ac_objext
31300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31301 (eval $ac_compile) 2>conftest.er1
31302 ac_status=$?
31303 grep -v '^ *+' conftest.er1 >conftest.err
31304 rm -f conftest.er1
31305 cat conftest.err >&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); } &&
31308 { ac_try='test -z "$ac_cxx_werror_flag"
31309 || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try='test -s conftest.$ac_objext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 ac_fdsections=yes
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31326 ac_fdsections=no
31328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31329 if test "$ac_test_CXXFLAGS" = set; then
31330 CXXFLAGS="$ac_save_CXXFLAGS"
31331 else
31332 # this is the suspicious part
31333 CXXFLAGS=''
31335 if test x"$ac_fdsections" = x"yes"; then
31336 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31338 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31339 echo "${ECHO_T}$ac_fdsections" >&6
31341 ac_ext=c
31342 ac_cpp='$CPP $CPPFLAGS'
31343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31350 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31352 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31353 ac_save_CXXFLAGS="$CXXFLAGS"
31354 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31356 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31357 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31358 if test "${ac_cv_lib_m_sin+set}" = set; then
31359 echo $ECHO_N "(cached) $ECHO_C" >&6
31360 else
31361 ac_check_lib_save_LIBS=$LIBS
31362 LIBS="-lm $LIBS"
31363 if test x$gcc_no_link = xyes; then
31364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31366 { (exit 1); exit 1; }; }
31368 cat >conftest.$ac_ext <<_ACEOF
31369 /* confdefs.h. */
31370 _ACEOF
31371 cat confdefs.h >>conftest.$ac_ext
31372 cat >>conftest.$ac_ext <<_ACEOF
31373 /* end confdefs.h. */
31375 /* Override any gcc2 internal prototype to avoid an error. */
31376 #ifdef __cplusplus
31377 extern "C"
31378 #endif
31379 /* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31381 char sin ();
31383 main ()
31385 sin ();
31387 return 0;
31389 _ACEOF
31390 rm -f conftest.$ac_objext conftest$ac_exeext
31391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31392 (eval $ac_link) 2>conftest.er1
31393 ac_status=$?
31394 grep -v '^ *+' conftest.er1 >conftest.err
31395 rm -f conftest.er1
31396 cat conftest.err >&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try='test -z "$ac_c_werror_flag"
31400 || test ! -s conftest.err'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; } &&
31406 { ac_try='test -s conftest$ac_exeext'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31409 ac_status=$?
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; }; then
31412 ac_cv_lib_m_sin=yes
31413 else
31414 echo "$as_me: failed program was:" >&5
31415 sed 's/^/| /' conftest.$ac_ext >&5
31417 ac_cv_lib_m_sin=no
31419 rm -f conftest.err conftest.$ac_objext \
31420 conftest$ac_exeext conftest.$ac_ext
31421 LIBS=$ac_check_lib_save_LIBS
31423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31424 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31425 if test $ac_cv_lib_m_sin = yes; then
31426 libm="-lm"
31429 ac_save_LIBS="$LIBS"
31430 LIBS="$LIBS $libm"
31434 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31435 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31436 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31437 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31438 echo $ECHO_N "(cached) $ECHO_C" >&6
31439 else
31443 ac_ext=cc
31444 ac_cpp='$CXXCPP $CPPFLAGS'
31445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31449 cat >conftest.$ac_ext <<_ACEOF
31450 /* confdefs.h. */
31451 _ACEOF
31452 cat confdefs.h >>conftest.$ac_ext
31453 cat >>conftest.$ac_ext <<_ACEOF
31454 /* end confdefs.h. */
31455 #include <math.h>
31456 #ifdef HAVE_IEEEFP_H
31457 #include <ieeefp.h>
31458 #endif
31461 main ()
31463 isinf(0);
31465 return 0;
31467 _ACEOF
31468 rm -f conftest.$ac_objext
31469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31470 (eval $ac_compile) 2>conftest.er1
31471 ac_status=$?
31472 grep -v '^ *+' conftest.er1 >conftest.err
31473 rm -f conftest.er1
31474 cat conftest.err >&5
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); } &&
31477 { ac_try='test -z "$ac_cxx_werror_flag"
31478 || test ! -s conftest.err'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; } &&
31484 { ac_try='test -s conftest.$ac_objext'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31487 ac_status=$?
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; }; then
31490 glibcxx_cv_func_isinf_use=yes
31491 else
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.$ac_ext >&5
31495 glibcxx_cv_func_isinf_use=no
31497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31498 ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31509 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31511 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31513 for ac_func in isinf
31515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31516 echo "$as_me:$LINENO: checking for $ac_func" >&5
31517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31518 if eval "test \"\${$as_ac_var+set}\" = set"; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 else
31521 if test x$gcc_no_link = xyes; then
31522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31524 { (exit 1); exit 1; }; }
31526 cat >conftest.$ac_ext <<_ACEOF
31527 /* confdefs.h. */
31528 _ACEOF
31529 cat confdefs.h >>conftest.$ac_ext
31530 cat >>conftest.$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31534 #define $ac_func innocuous_$ac_func
31536 /* System header to define __stub macros and hopefully few prototypes,
31537 which can conflict with char $ac_func (); below.
31538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31539 <limits.h> exists even on freestanding compilers. */
31541 #ifdef __STDC__
31542 # include <limits.h>
31543 #else
31544 # include <assert.h>
31545 #endif
31547 #undef $ac_func
31549 /* Override any gcc2 internal prototype to avoid an error. */
31550 #ifdef __cplusplus
31551 extern "C"
31553 #endif
31554 /* We use char because int might match the return type of a gcc2
31555 builtin and then its argument prototype would still apply. */
31556 char $ac_func ();
31557 /* The GNU C library defines this for functions which it implements
31558 to always fail with ENOSYS. Some functions are actually named
31559 something starting with __ and the normal name is an alias. */
31560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31561 choke me
31562 #else
31563 char (*f) () = $ac_func;
31564 #endif
31565 #ifdef __cplusplus
31567 #endif
31570 main ()
31572 return f != $ac_func;
31574 return 0;
31576 _ACEOF
31577 rm -f conftest.$ac_objext conftest$ac_exeext
31578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31579 (eval $ac_link) 2>conftest.er1
31580 ac_status=$?
31581 grep -v '^ *+' conftest.er1 >conftest.err
31582 rm -f conftest.er1
31583 cat conftest.err >&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } &&
31586 { ac_try='test -z "$ac_c_werror_flag"
31587 || test ! -s conftest.err'
31588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31589 (eval $ac_try) 2>&5
31590 ac_status=$?
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; } &&
31593 { ac_try='test -s conftest$ac_exeext'
31594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31595 (eval $ac_try) 2>&5
31596 ac_status=$?
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); }; }; then
31599 eval "$as_ac_var=yes"
31600 else
31601 echo "$as_me: failed program was:" >&5
31602 sed 's/^/| /' conftest.$ac_ext >&5
31604 eval "$as_ac_var=no"
31606 rm -f conftest.err conftest.$ac_objext \
31607 conftest$ac_exeext conftest.$ac_ext
31609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31611 if test `eval echo '${'$as_ac_var'}'` = yes; then
31612 cat >>confdefs.h <<_ACEOF
31613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31614 _ACEOF
31617 done
31619 else
31621 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31622 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31623 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31624 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31625 echo $ECHO_N "(cached) $ECHO_C" >&6
31626 else
31630 ac_ext=cc
31631 ac_cpp='$CXXCPP $CPPFLAGS'
31632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31636 cat >conftest.$ac_ext <<_ACEOF
31637 /* confdefs.h. */
31638 _ACEOF
31639 cat confdefs.h >>conftest.$ac_ext
31640 cat >>conftest.$ac_ext <<_ACEOF
31641 /* end confdefs.h. */
31642 #include <math.h>
31643 #ifdef HAVE_IEEEFP_H
31644 #include <ieeefp.h>
31645 #endif
31648 main ()
31650 _isinf(0);
31652 return 0;
31654 _ACEOF
31655 rm -f conftest.$ac_objext
31656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31657 (eval $ac_compile) 2>conftest.er1
31658 ac_status=$?
31659 grep -v '^ *+' conftest.er1 >conftest.err
31660 rm -f conftest.er1
31661 cat conftest.err >&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } &&
31664 { ac_try='test -z "$ac_cxx_werror_flag"
31665 || test ! -s conftest.err'
31666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31667 (eval $ac_try) 2>&5
31668 ac_status=$?
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; } &&
31671 { ac_try='test -s conftest.$ac_objext'
31672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31673 (eval $ac_try) 2>&5
31674 ac_status=$?
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); }; }; then
31677 glibcxx_cv_func__isinf_use=yes
31678 else
31679 echo "$as_me: failed program was:" >&5
31680 sed 's/^/| /' conftest.$ac_ext >&5
31682 glibcxx_cv_func__isinf_use=no
31684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31685 ac_ext=c
31686 ac_cpp='$CPP $CPPFLAGS'
31687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31696 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31698 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31700 for ac_func in _isinf
31702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31703 echo "$as_me:$LINENO: checking for $ac_func" >&5
31704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31705 if eval "test \"\${$as_ac_var+set}\" = set"; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 else
31708 if test x$gcc_no_link = xyes; then
31709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31711 { (exit 1); exit 1; }; }
31713 cat >conftest.$ac_ext <<_ACEOF
31714 /* confdefs.h. */
31715 _ACEOF
31716 cat confdefs.h >>conftest.$ac_ext
31717 cat >>conftest.$ac_ext <<_ACEOF
31718 /* end confdefs.h. */
31719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31721 #define $ac_func innocuous_$ac_func
31723 /* System header to define __stub macros and hopefully few prototypes,
31724 which can conflict with char $ac_func (); below.
31725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31726 <limits.h> exists even on freestanding compilers. */
31728 #ifdef __STDC__
31729 # include <limits.h>
31730 #else
31731 # include <assert.h>
31732 #endif
31734 #undef $ac_func
31736 /* Override any gcc2 internal prototype to avoid an error. */
31737 #ifdef __cplusplus
31738 extern "C"
31740 #endif
31741 /* We use char because int might match the return type of a gcc2
31742 builtin and then its argument prototype would still apply. */
31743 char $ac_func ();
31744 /* The GNU C library defines this for functions which it implements
31745 to always fail with ENOSYS. Some functions are actually named
31746 something starting with __ and the normal name is an alias. */
31747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31748 choke me
31749 #else
31750 char (*f) () = $ac_func;
31751 #endif
31752 #ifdef __cplusplus
31754 #endif
31757 main ()
31759 return f != $ac_func;
31761 return 0;
31763 _ACEOF
31764 rm -f conftest.$ac_objext conftest$ac_exeext
31765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31766 (eval $ac_link) 2>conftest.er1
31767 ac_status=$?
31768 grep -v '^ *+' conftest.er1 >conftest.err
31769 rm -f conftest.er1
31770 cat conftest.err >&5
31771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772 (exit $ac_status); } &&
31773 { ac_try='test -z "$ac_c_werror_flag"
31774 || test ! -s conftest.err'
31775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31776 (eval $ac_try) 2>&5
31777 ac_status=$?
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); }; } &&
31780 { ac_try='test -s conftest$ac_exeext'
31781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31782 (eval $ac_try) 2>&5
31783 ac_status=$?
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); }; }; then
31786 eval "$as_ac_var=yes"
31787 else
31788 echo "$as_me: failed program was:" >&5
31789 sed 's/^/| /' conftest.$ac_ext >&5
31791 eval "$as_ac_var=no"
31793 rm -f conftest.err conftest.$ac_objext \
31794 conftest$ac_exeext conftest.$ac_ext
31796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31798 if test `eval echo '${'$as_ac_var'}'` = yes; then
31799 cat >>confdefs.h <<_ACEOF
31800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31801 _ACEOF
31804 done
31811 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31812 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31813 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31814 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31815 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 else
31820 ac_ext=cc
31821 ac_cpp='$CXXCPP $CPPFLAGS'
31822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31826 cat >conftest.$ac_ext <<_ACEOF
31827 /* confdefs.h. */
31828 _ACEOF
31829 cat confdefs.h >>conftest.$ac_ext
31830 cat >>conftest.$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832 #include <math.h>
31833 #ifdef HAVE_IEEEFP_H
31834 #include <ieeefp.h>
31835 #endif
31838 main ()
31840 isnan(0);
31842 return 0;
31844 _ACEOF
31845 rm -f conftest.$ac_objext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31847 (eval $ac_compile) 2>conftest.er1
31848 ac_status=$?
31849 grep -v '^ *+' conftest.er1 >conftest.err
31850 rm -f conftest.er1
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } &&
31854 { ac_try='test -z "$ac_cxx_werror_flag"
31855 || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try='test -s conftest.$ac_objext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867 glibcxx_cv_func_isnan_use=yes
31868 else
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31872 glibcxx_cv_func_isnan_use=no
31874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31875 ac_ext=c
31876 ac_cpp='$CPP $CPPFLAGS'
31877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31886 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31888 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31890 for ac_func in isnan
31892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31893 echo "$as_me:$LINENO: checking for $ac_func" >&5
31894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31895 if eval "test \"\${$as_ac_var+set}\" = set"; then
31896 echo $ECHO_N "(cached) $ECHO_C" >&6
31897 else
31898 if test x$gcc_no_link = xyes; then
31899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31901 { (exit 1); exit 1; }; }
31903 cat >conftest.$ac_ext <<_ACEOF
31904 /* confdefs.h. */
31905 _ACEOF
31906 cat confdefs.h >>conftest.$ac_ext
31907 cat >>conftest.$ac_ext <<_ACEOF
31908 /* end confdefs.h. */
31909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31911 #define $ac_func innocuous_$ac_func
31913 /* System header to define __stub macros and hopefully few prototypes,
31914 which can conflict with char $ac_func (); below.
31915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31916 <limits.h> exists even on freestanding compilers. */
31918 #ifdef __STDC__
31919 # include <limits.h>
31920 #else
31921 # include <assert.h>
31922 #endif
31924 #undef $ac_func
31926 /* Override any gcc2 internal prototype to avoid an error. */
31927 #ifdef __cplusplus
31928 extern "C"
31930 #endif
31931 /* We use char because int might match the return type of a gcc2
31932 builtin and then its argument prototype would still apply. */
31933 char $ac_func ();
31934 /* The GNU C library defines this for functions which it implements
31935 to always fail with ENOSYS. Some functions are actually named
31936 something starting with __ and the normal name is an alias. */
31937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31938 choke me
31939 #else
31940 char (*f) () = $ac_func;
31941 #endif
31942 #ifdef __cplusplus
31944 #endif
31947 main ()
31949 return f != $ac_func;
31951 return 0;
31953 _ACEOF
31954 rm -f conftest.$ac_objext conftest$ac_exeext
31955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31956 (eval $ac_link) 2>conftest.er1
31957 ac_status=$?
31958 grep -v '^ *+' conftest.er1 >conftest.err
31959 rm -f conftest.er1
31960 cat conftest.err >&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); } &&
31963 { ac_try='test -z "$ac_c_werror_flag"
31964 || test ! -s conftest.err'
31965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31966 (eval $ac_try) 2>&5
31967 ac_status=$?
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); }; } &&
31970 { ac_try='test -s conftest$ac_exeext'
31971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31972 (eval $ac_try) 2>&5
31973 ac_status=$?
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); }; }; then
31976 eval "$as_ac_var=yes"
31977 else
31978 echo "$as_me: failed program was:" >&5
31979 sed 's/^/| /' conftest.$ac_ext >&5
31981 eval "$as_ac_var=no"
31983 rm -f conftest.err conftest.$ac_objext \
31984 conftest$ac_exeext conftest.$ac_ext
31986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31988 if test `eval echo '${'$as_ac_var'}'` = yes; then
31989 cat >>confdefs.h <<_ACEOF
31990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31991 _ACEOF
31994 done
31996 else
31998 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31999 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32000 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32001 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32002 echo $ECHO_N "(cached) $ECHO_C" >&6
32003 else
32007 ac_ext=cc
32008 ac_cpp='$CXXCPP $CPPFLAGS'
32009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32013 cat >conftest.$ac_ext <<_ACEOF
32014 /* confdefs.h. */
32015 _ACEOF
32016 cat confdefs.h >>conftest.$ac_ext
32017 cat >>conftest.$ac_ext <<_ACEOF
32018 /* end confdefs.h. */
32019 #include <math.h>
32020 #ifdef HAVE_IEEEFP_H
32021 #include <ieeefp.h>
32022 #endif
32025 main ()
32027 _isnan(0);
32029 return 0;
32031 _ACEOF
32032 rm -f conftest.$ac_objext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32034 (eval $ac_compile) 2>conftest.er1
32035 ac_status=$?
32036 grep -v '^ *+' conftest.er1 >conftest.err
32037 rm -f conftest.er1
32038 cat conftest.err >&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } &&
32041 { ac_try='test -z "$ac_cxx_werror_flag"
32042 || test ! -s conftest.err'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32045 ac_status=$?
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try='test -s conftest.$ac_objext'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32051 ac_status=$?
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; }; then
32054 glibcxx_cv_func__isnan_use=yes
32055 else
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.$ac_ext >&5
32059 glibcxx_cv_func__isnan_use=no
32061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32062 ac_ext=c
32063 ac_cpp='$CPP $CPPFLAGS'
32064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32073 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32075 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32077 for ac_func in _isnan
32079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32080 echo "$as_me:$LINENO: checking for $ac_func" >&5
32081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32082 if eval "test \"\${$as_ac_var+set}\" = set"; then
32083 echo $ECHO_N "(cached) $ECHO_C" >&6
32084 else
32085 if test x$gcc_no_link = xyes; then
32086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32088 { (exit 1); exit 1; }; }
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32098 #define $ac_func innocuous_$ac_func
32100 /* System header to define __stub macros and hopefully few prototypes,
32101 which can conflict with char $ac_func (); below.
32102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32103 <limits.h> exists even on freestanding compilers. */
32105 #ifdef __STDC__
32106 # include <limits.h>
32107 #else
32108 # include <assert.h>
32109 #endif
32111 #undef $ac_func
32113 /* Override any gcc2 internal prototype to avoid an error. */
32114 #ifdef __cplusplus
32115 extern "C"
32117 #endif
32118 /* We use char because int might match the return type of a gcc2
32119 builtin and then its argument prototype would still apply. */
32120 char $ac_func ();
32121 /* The GNU C library defines this for functions which it implements
32122 to always fail with ENOSYS. Some functions are actually named
32123 something starting with __ and the normal name is an alias. */
32124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32125 choke me
32126 #else
32127 char (*f) () = $ac_func;
32128 #endif
32129 #ifdef __cplusplus
32131 #endif
32134 main ()
32136 return f != $ac_func;
32138 return 0;
32140 _ACEOF
32141 rm -f conftest.$ac_objext conftest$ac_exeext
32142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32143 (eval $ac_link) 2>conftest.er1
32144 ac_status=$?
32145 grep -v '^ *+' conftest.er1 >conftest.err
32146 rm -f conftest.er1
32147 cat conftest.err >&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } &&
32150 { ac_try='test -z "$ac_c_werror_flag"
32151 || test ! -s conftest.err'
32152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32153 (eval $ac_try) 2>&5
32154 ac_status=$?
32155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156 (exit $ac_status); }; } &&
32157 { ac_try='test -s conftest$ac_exeext'
32158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32159 (eval $ac_try) 2>&5
32160 ac_status=$?
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; }; then
32163 eval "$as_ac_var=yes"
32164 else
32165 echo "$as_me: failed program was:" >&5
32166 sed 's/^/| /' conftest.$ac_ext >&5
32168 eval "$as_ac_var=no"
32170 rm -f conftest.err conftest.$ac_objext \
32171 conftest$ac_exeext conftest.$ac_ext
32173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32175 if test `eval echo '${'$as_ac_var'}'` = yes; then
32176 cat >>confdefs.h <<_ACEOF
32177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32178 _ACEOF
32181 done
32188 echo "$as_me:$LINENO: checking for finite declaration" >&5
32189 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32190 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32191 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32192 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 else
32197 ac_ext=cc
32198 ac_cpp='$CXXCPP $CPPFLAGS'
32199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32203 cat >conftest.$ac_ext <<_ACEOF
32204 /* confdefs.h. */
32205 _ACEOF
32206 cat confdefs.h >>conftest.$ac_ext
32207 cat >>conftest.$ac_ext <<_ACEOF
32208 /* end confdefs.h. */
32209 #include <math.h>
32210 #ifdef HAVE_IEEEFP_H
32211 #include <ieeefp.h>
32212 #endif
32215 main ()
32217 finite(0);
32219 return 0;
32221 _ACEOF
32222 rm -f conftest.$ac_objext
32223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32224 (eval $ac_compile) 2>conftest.er1
32225 ac_status=$?
32226 grep -v '^ *+' conftest.er1 >conftest.err
32227 rm -f conftest.er1
32228 cat conftest.err >&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } &&
32231 { ac_try='test -z "$ac_cxx_werror_flag"
32232 || test ! -s conftest.err'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32235 ac_status=$?
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; } &&
32238 { ac_try='test -s conftest.$ac_objext'
32239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32240 (eval $ac_try) 2>&5
32241 ac_status=$?
32242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243 (exit $ac_status); }; }; then
32244 glibcxx_cv_func_finite_use=yes
32245 else
32246 echo "$as_me: failed program was:" >&5
32247 sed 's/^/| /' conftest.$ac_ext >&5
32249 glibcxx_cv_func_finite_use=no
32251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32252 ac_ext=c
32253 ac_cpp='$CPP $CPPFLAGS'
32254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32263 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32265 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32267 for ac_func in finite
32269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32270 echo "$as_me:$LINENO: checking for $ac_func" >&5
32271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32272 if eval "test \"\${$as_ac_var+set}\" = set"; then
32273 echo $ECHO_N "(cached) $ECHO_C" >&6
32274 else
32275 if test x$gcc_no_link = xyes; then
32276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32278 { (exit 1); exit 1; }; }
32280 cat >conftest.$ac_ext <<_ACEOF
32281 /* confdefs.h. */
32282 _ACEOF
32283 cat confdefs.h >>conftest.$ac_ext
32284 cat >>conftest.$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32288 #define $ac_func innocuous_$ac_func
32290 /* System header to define __stub macros and hopefully few prototypes,
32291 which can conflict with char $ac_func (); below.
32292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32293 <limits.h> exists even on freestanding compilers. */
32295 #ifdef __STDC__
32296 # include <limits.h>
32297 #else
32298 # include <assert.h>
32299 #endif
32301 #undef $ac_func
32303 /* Override any gcc2 internal prototype to avoid an error. */
32304 #ifdef __cplusplus
32305 extern "C"
32307 #endif
32308 /* We use char because int might match the return type of a gcc2
32309 builtin and then its argument prototype would still apply. */
32310 char $ac_func ();
32311 /* The GNU C library defines this for functions which it implements
32312 to always fail with ENOSYS. Some functions are actually named
32313 something starting with __ and the normal name is an alias. */
32314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32315 choke me
32316 #else
32317 char (*f) () = $ac_func;
32318 #endif
32319 #ifdef __cplusplus
32321 #endif
32324 main ()
32326 return f != $ac_func;
32328 return 0;
32330 _ACEOF
32331 rm -f conftest.$ac_objext conftest$ac_exeext
32332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32333 (eval $ac_link) 2>conftest.er1
32334 ac_status=$?
32335 grep -v '^ *+' conftest.er1 >conftest.err
32336 rm -f conftest.er1
32337 cat conftest.err >&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } &&
32340 { ac_try='test -z "$ac_c_werror_flag"
32341 || test ! -s conftest.err'
32342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32343 (eval $ac_try) 2>&5
32344 ac_status=$?
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); }; } &&
32347 { ac_try='test -s conftest$ac_exeext'
32348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32349 (eval $ac_try) 2>&5
32350 ac_status=$?
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; }; then
32353 eval "$as_ac_var=yes"
32354 else
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32358 eval "$as_ac_var=no"
32360 rm -f conftest.err conftest.$ac_objext \
32361 conftest$ac_exeext conftest.$ac_ext
32363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32365 if test `eval echo '${'$as_ac_var'}'` = yes; then
32366 cat >>confdefs.h <<_ACEOF
32367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32368 _ACEOF
32371 done
32373 else
32375 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32376 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32377 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32378 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32379 echo $ECHO_N "(cached) $ECHO_C" >&6
32380 else
32384 ac_ext=cc
32385 ac_cpp='$CXXCPP $CPPFLAGS'
32386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32390 cat >conftest.$ac_ext <<_ACEOF
32391 /* confdefs.h. */
32392 _ACEOF
32393 cat confdefs.h >>conftest.$ac_ext
32394 cat >>conftest.$ac_ext <<_ACEOF
32395 /* end confdefs.h. */
32396 #include <math.h>
32397 #ifdef HAVE_IEEEFP_H
32398 #include <ieeefp.h>
32399 #endif
32402 main ()
32404 _finite(0);
32406 return 0;
32408 _ACEOF
32409 rm -f conftest.$ac_objext
32410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32411 (eval $ac_compile) 2>conftest.er1
32412 ac_status=$?
32413 grep -v '^ *+' conftest.er1 >conftest.err
32414 rm -f conftest.er1
32415 cat conftest.err >&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); } &&
32418 { ac_try='test -z "$ac_cxx_werror_flag"
32419 || test ! -s conftest.err'
32420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32421 (eval $ac_try) 2>&5
32422 ac_status=$?
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); }; } &&
32425 { ac_try='test -s conftest.$ac_objext'
32426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427 (eval $ac_try) 2>&5
32428 ac_status=$?
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); }; }; then
32431 glibcxx_cv_func__finite_use=yes
32432 else
32433 echo "$as_me: failed program was:" >&5
32434 sed 's/^/| /' conftest.$ac_ext >&5
32436 glibcxx_cv_func__finite_use=no
32438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32439 ac_ext=c
32440 ac_cpp='$CPP $CPPFLAGS'
32441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32450 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32452 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32454 for ac_func in _finite
32456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32457 echo "$as_me:$LINENO: checking for $ac_func" >&5
32458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32459 if eval "test \"\${$as_ac_var+set}\" = set"; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 else
32462 if test x$gcc_no_link = xyes; then
32463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32465 { (exit 1); exit 1; }; }
32467 cat >conftest.$ac_ext <<_ACEOF
32468 /* confdefs.h. */
32469 _ACEOF
32470 cat confdefs.h >>conftest.$ac_ext
32471 cat >>conftest.$ac_ext <<_ACEOF
32472 /* end confdefs.h. */
32473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32475 #define $ac_func innocuous_$ac_func
32477 /* System header to define __stub macros and hopefully few prototypes,
32478 which can conflict with char $ac_func (); below.
32479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32480 <limits.h> exists even on freestanding compilers. */
32482 #ifdef __STDC__
32483 # include <limits.h>
32484 #else
32485 # include <assert.h>
32486 #endif
32488 #undef $ac_func
32490 /* Override any gcc2 internal prototype to avoid an error. */
32491 #ifdef __cplusplus
32492 extern "C"
32494 #endif
32495 /* We use char because int might match the return type of a gcc2
32496 builtin and then its argument prototype would still apply. */
32497 char $ac_func ();
32498 /* The GNU C library defines this for functions which it implements
32499 to always fail with ENOSYS. Some functions are actually named
32500 something starting with __ and the normal name is an alias. */
32501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32502 choke me
32503 #else
32504 char (*f) () = $ac_func;
32505 #endif
32506 #ifdef __cplusplus
32508 #endif
32511 main ()
32513 return f != $ac_func;
32515 return 0;
32517 _ACEOF
32518 rm -f conftest.$ac_objext conftest$ac_exeext
32519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32520 (eval $ac_link) 2>conftest.er1
32521 ac_status=$?
32522 grep -v '^ *+' conftest.er1 >conftest.err
32523 rm -f conftest.er1
32524 cat conftest.err >&5
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); } &&
32527 { ac_try='test -z "$ac_c_werror_flag"
32528 || test ! -s conftest.err'
32529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32530 (eval $ac_try) 2>&5
32531 ac_status=$?
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; } &&
32534 { ac_try='test -s conftest$ac_exeext'
32535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32536 (eval $ac_try) 2>&5
32537 ac_status=$?
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); }; }; then
32540 eval "$as_ac_var=yes"
32541 else
32542 echo "$as_me: failed program was:" >&5
32543 sed 's/^/| /' conftest.$ac_ext >&5
32545 eval "$as_ac_var=no"
32547 rm -f conftest.err conftest.$ac_objext \
32548 conftest$ac_exeext conftest.$ac_ext
32550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32552 if test `eval echo '${'$as_ac_var'}'` = yes; then
32553 cat >>confdefs.h <<_ACEOF
32554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32555 _ACEOF
32558 done
32565 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32566 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32567 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32568 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 else
32574 ac_ext=cc
32575 ac_cpp='$CXXCPP $CPPFLAGS'
32576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32580 cat >conftest.$ac_ext <<_ACEOF
32581 /* confdefs.h. */
32582 _ACEOF
32583 cat confdefs.h >>conftest.$ac_ext
32584 cat >>conftest.$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32586 #include <math.h>
32588 main ()
32590 copysign(0, 0);
32592 return 0;
32594 _ACEOF
32595 rm -f conftest.$ac_objext
32596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32597 (eval $ac_compile) 2>conftest.er1
32598 ac_status=$?
32599 grep -v '^ *+' conftest.er1 >conftest.err
32600 rm -f conftest.er1
32601 cat conftest.err >&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); } &&
32604 { ac_try='test -z "$ac_cxx_werror_flag"
32605 || test ! -s conftest.err'
32606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32607 (eval $ac_try) 2>&5
32608 ac_status=$?
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); }; } &&
32611 { ac_try='test -s conftest.$ac_objext'
32612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32613 (eval $ac_try) 2>&5
32614 ac_status=$?
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); }; }; then
32617 glibcxx_cv_func_copysign_use=yes
32618 else
32619 echo "$as_me: failed program was:" >&5
32620 sed 's/^/| /' conftest.$ac_ext >&5
32622 glibcxx_cv_func_copysign_use=no
32624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32625 ac_ext=c
32626 ac_cpp='$CPP $CPPFLAGS'
32627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32635 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32636 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32638 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32640 for ac_func in copysign
32642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32643 echo "$as_me:$LINENO: checking for $ac_func" >&5
32644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32645 if eval "test \"\${$as_ac_var+set}\" = set"; then
32646 echo $ECHO_N "(cached) $ECHO_C" >&6
32647 else
32648 if test x$gcc_no_link = xyes; then
32649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32651 { (exit 1); exit 1; }; }
32653 cat >conftest.$ac_ext <<_ACEOF
32654 /* confdefs.h. */
32655 _ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32661 #define $ac_func innocuous_$ac_func
32663 /* System header to define __stub macros and hopefully few prototypes,
32664 which can conflict with char $ac_func (); below.
32665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32666 <limits.h> exists even on freestanding compilers. */
32668 #ifdef __STDC__
32669 # include <limits.h>
32670 #else
32671 # include <assert.h>
32672 #endif
32674 #undef $ac_func
32676 /* Override any gcc2 internal prototype to avoid an error. */
32677 #ifdef __cplusplus
32678 extern "C"
32680 #endif
32681 /* We use char because int might match the return type of a gcc2
32682 builtin and then its argument prototype would still apply. */
32683 char $ac_func ();
32684 /* The GNU C library defines this for functions which it implements
32685 to always fail with ENOSYS. Some functions are actually named
32686 something starting with __ and the normal name is an alias. */
32687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32688 choke me
32689 #else
32690 char (*f) () = $ac_func;
32691 #endif
32692 #ifdef __cplusplus
32694 #endif
32697 main ()
32699 return f != $ac_func;
32701 return 0;
32703 _ACEOF
32704 rm -f conftest.$ac_objext conftest$ac_exeext
32705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32706 (eval $ac_link) 2>conftest.er1
32707 ac_status=$?
32708 grep -v '^ *+' conftest.er1 >conftest.err
32709 rm -f conftest.er1
32710 cat conftest.err >&5
32711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32712 (exit $ac_status); } &&
32713 { ac_try='test -z "$ac_c_werror_flag"
32714 || test ! -s conftest.err'
32715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32716 (eval $ac_try) 2>&5
32717 ac_status=$?
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); }; } &&
32720 { ac_try='test -s conftest$ac_exeext'
32721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32722 (eval $ac_try) 2>&5
32723 ac_status=$?
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); }; }; then
32726 eval "$as_ac_var=yes"
32727 else
32728 echo "$as_me: failed program was:" >&5
32729 sed 's/^/| /' conftest.$ac_ext >&5
32731 eval "$as_ac_var=no"
32733 rm -f conftest.err conftest.$ac_objext \
32734 conftest$ac_exeext conftest.$ac_ext
32736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32738 if test `eval echo '${'$as_ac_var'}'` = yes; then
32739 cat >>confdefs.h <<_ACEOF
32740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32741 _ACEOF
32744 done
32746 else
32748 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32749 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32750 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32751 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32752 echo $ECHO_N "(cached) $ECHO_C" >&6
32753 else
32757 ac_ext=cc
32758 ac_cpp='$CXXCPP $CPPFLAGS'
32759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32763 cat >conftest.$ac_ext <<_ACEOF
32764 /* confdefs.h. */
32765 _ACEOF
32766 cat confdefs.h >>conftest.$ac_ext
32767 cat >>conftest.$ac_ext <<_ACEOF
32768 /* end confdefs.h. */
32769 #include <math.h>
32771 main ()
32773 _copysign(0, 0);
32775 return 0;
32777 _ACEOF
32778 rm -f conftest.$ac_objext
32779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32780 (eval $ac_compile) 2>conftest.er1
32781 ac_status=$?
32782 grep -v '^ *+' conftest.er1 >conftest.err
32783 rm -f conftest.er1
32784 cat conftest.err >&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try='test -z "$ac_cxx_werror_flag"
32788 || test ! -s conftest.err'
32789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32790 (eval $ac_try) 2>&5
32791 ac_status=$?
32792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793 (exit $ac_status); }; } &&
32794 { ac_try='test -s conftest.$ac_objext'
32795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32796 (eval $ac_try) 2>&5
32797 ac_status=$?
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); }; }; then
32800 glibcxx_cv_func__copysign_use=yes
32801 else
32802 echo "$as_me: failed program was:" >&5
32803 sed 's/^/| /' conftest.$ac_ext >&5
32805 glibcxx_cv_func__copysign_use=no
32807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32808 ac_ext=c
32809 ac_cpp='$CPP $CPPFLAGS'
32810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32818 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32819 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32821 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32823 for ac_func in _copysign
32825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32826 echo "$as_me:$LINENO: checking for $ac_func" >&5
32827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32828 if eval "test \"\${$as_ac_var+set}\" = set"; then
32829 echo $ECHO_N "(cached) $ECHO_C" >&6
32830 else
32831 if test x$gcc_no_link = xyes; then
32832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32834 { (exit 1); exit 1; }; }
32836 cat >conftest.$ac_ext <<_ACEOF
32837 /* confdefs.h. */
32838 _ACEOF
32839 cat confdefs.h >>conftest.$ac_ext
32840 cat >>conftest.$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32844 #define $ac_func innocuous_$ac_func
32846 /* System header to define __stub macros and hopefully few prototypes,
32847 which can conflict with char $ac_func (); below.
32848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32849 <limits.h> exists even on freestanding compilers. */
32851 #ifdef __STDC__
32852 # include <limits.h>
32853 #else
32854 # include <assert.h>
32855 #endif
32857 #undef $ac_func
32859 /* Override any gcc2 internal prototype to avoid an error. */
32860 #ifdef __cplusplus
32861 extern "C"
32863 #endif
32864 /* We use char because int might match the return type of a gcc2
32865 builtin and then its argument prototype would still apply. */
32866 char $ac_func ();
32867 /* The GNU C library defines this for functions which it implements
32868 to always fail with ENOSYS. Some functions are actually named
32869 something starting with __ and the normal name is an alias. */
32870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32871 choke me
32872 #else
32873 char (*f) () = $ac_func;
32874 #endif
32875 #ifdef __cplusplus
32877 #endif
32880 main ()
32882 return f != $ac_func;
32884 return 0;
32886 _ACEOF
32887 rm -f conftest.$ac_objext conftest$ac_exeext
32888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32889 (eval $ac_link) 2>conftest.er1
32890 ac_status=$?
32891 grep -v '^ *+' conftest.er1 >conftest.err
32892 rm -f conftest.er1
32893 cat conftest.err >&5
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); } &&
32896 { ac_try='test -z "$ac_c_werror_flag"
32897 || test ! -s conftest.err'
32898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32899 (eval $ac_try) 2>&5
32900 ac_status=$?
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); }; } &&
32903 { ac_try='test -s conftest$ac_exeext'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32906 ac_status=$?
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; }; then
32909 eval "$as_ac_var=yes"
32910 else
32911 echo "$as_me: failed program was:" >&5
32912 sed 's/^/| /' conftest.$ac_ext >&5
32914 eval "$as_ac_var=no"
32916 rm -f conftest.err conftest.$ac_objext \
32917 conftest$ac_exeext conftest.$ac_ext
32919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32921 if test `eval echo '${'$as_ac_var'}'` = yes; then
32922 cat >>confdefs.h <<_ACEOF
32923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32924 _ACEOF
32927 done
32934 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32935 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32936 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32937 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32938 echo $ECHO_N "(cached) $ECHO_C" >&6
32939 else
32943 ac_ext=cc
32944 ac_cpp='$CXXCPP $CPPFLAGS'
32945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32949 cat >conftest.$ac_ext <<_ACEOF
32950 /* confdefs.h. */
32951 _ACEOF
32952 cat confdefs.h >>conftest.$ac_ext
32953 cat >>conftest.$ac_ext <<_ACEOF
32954 /* end confdefs.h. */
32955 #include <math.h>
32957 main ()
32959 sincos(0, 0, 0);
32961 return 0;
32963 _ACEOF
32964 rm -f conftest.$ac_objext
32965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32966 (eval $ac_compile) 2>conftest.er1
32967 ac_status=$?
32968 grep -v '^ *+' conftest.er1 >conftest.err
32969 rm -f conftest.er1
32970 cat conftest.err >&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); } &&
32973 { ac_try='test -z "$ac_cxx_werror_flag"
32974 || test ! -s conftest.err'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; } &&
32980 { ac_try='test -s conftest.$ac_objext'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32983 ac_status=$?
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; }; then
32986 glibcxx_cv_func_sincos_use=yes
32987 else
32988 echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.$ac_ext >&5
32991 glibcxx_cv_func_sincos_use=no
32993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32994 ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33005 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33007 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33009 for ac_func in sincos
33011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33012 echo "$as_me:$LINENO: checking for $ac_func" >&5
33013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33014 if eval "test \"\${$as_ac_var+set}\" = set"; then
33015 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 else
33017 if test x$gcc_no_link = xyes; then
33018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33020 { (exit 1); exit 1; }; }
33022 cat >conftest.$ac_ext <<_ACEOF
33023 /* confdefs.h. */
33024 _ACEOF
33025 cat confdefs.h >>conftest.$ac_ext
33026 cat >>conftest.$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33030 #define $ac_func innocuous_$ac_func
33032 /* System header to define __stub macros and hopefully few prototypes,
33033 which can conflict with char $ac_func (); below.
33034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33035 <limits.h> exists even on freestanding compilers. */
33037 #ifdef __STDC__
33038 # include <limits.h>
33039 #else
33040 # include <assert.h>
33041 #endif
33043 #undef $ac_func
33045 /* Override any gcc2 internal prototype to avoid an error. */
33046 #ifdef __cplusplus
33047 extern "C"
33049 #endif
33050 /* We use char because int might match the return type of a gcc2
33051 builtin and then its argument prototype would still apply. */
33052 char $ac_func ();
33053 /* The GNU C library defines this for functions which it implements
33054 to always fail with ENOSYS. Some functions are actually named
33055 something starting with __ and the normal name is an alias. */
33056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33057 choke me
33058 #else
33059 char (*f) () = $ac_func;
33060 #endif
33061 #ifdef __cplusplus
33063 #endif
33066 main ()
33068 return f != $ac_func;
33070 return 0;
33072 _ACEOF
33073 rm -f conftest.$ac_objext conftest$ac_exeext
33074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33075 (eval $ac_link) 2>conftest.er1
33076 ac_status=$?
33077 grep -v '^ *+' conftest.er1 >conftest.err
33078 rm -f conftest.er1
33079 cat conftest.err >&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); } &&
33082 { ac_try='test -z "$ac_c_werror_flag"
33083 || test ! -s conftest.err'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33086 ac_status=$?
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; } &&
33089 { ac_try='test -s conftest$ac_exeext'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33092 ac_status=$?
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; }; then
33095 eval "$as_ac_var=yes"
33096 else
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33100 eval "$as_ac_var=no"
33102 rm -f conftest.err conftest.$ac_objext \
33103 conftest$ac_exeext conftest.$ac_ext
33105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33107 if test `eval echo '${'$as_ac_var'}'` = yes; then
33108 cat >>confdefs.h <<_ACEOF
33109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33110 _ACEOF
33113 done
33115 else
33117 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33118 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33119 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33120 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 else
33126 ac_ext=cc
33127 ac_cpp='$CXXCPP $CPPFLAGS'
33128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33132 cat >conftest.$ac_ext <<_ACEOF
33133 /* confdefs.h. */
33134 _ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33138 #include <math.h>
33140 main ()
33142 _sincos(0, 0, 0);
33144 return 0;
33146 _ACEOF
33147 rm -f conftest.$ac_objext
33148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33149 (eval $ac_compile) 2>conftest.er1
33150 ac_status=$?
33151 grep -v '^ *+' conftest.er1 >conftest.err
33152 rm -f conftest.er1
33153 cat conftest.err >&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } &&
33156 { ac_try='test -z "$ac_cxx_werror_flag"
33157 || test ! -s conftest.err'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33160 ac_status=$?
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; } &&
33163 { ac_try='test -s conftest.$ac_objext'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33166 ac_status=$?
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; }; then
33169 glibcxx_cv_func__sincos_use=yes
33170 else
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33174 glibcxx_cv_func__sincos_use=no
33176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33177 ac_ext=c
33178 ac_cpp='$CPP $CPPFLAGS'
33179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33188 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33190 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33192 for ac_func in _sincos
33194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33195 echo "$as_me:$LINENO: checking for $ac_func" >&5
33196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33197 if eval "test \"\${$as_ac_var+set}\" = set"; then
33198 echo $ECHO_N "(cached) $ECHO_C" >&6
33199 else
33200 if test x$gcc_no_link = xyes; then
33201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33203 { (exit 1); exit 1; }; }
33205 cat >conftest.$ac_ext <<_ACEOF
33206 /* confdefs.h. */
33207 _ACEOF
33208 cat confdefs.h >>conftest.$ac_ext
33209 cat >>conftest.$ac_ext <<_ACEOF
33210 /* end confdefs.h. */
33211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33213 #define $ac_func innocuous_$ac_func
33215 /* System header to define __stub macros and hopefully few prototypes,
33216 which can conflict with char $ac_func (); below.
33217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33218 <limits.h> exists even on freestanding compilers. */
33220 #ifdef __STDC__
33221 # include <limits.h>
33222 #else
33223 # include <assert.h>
33224 #endif
33226 #undef $ac_func
33228 /* Override any gcc2 internal prototype to avoid an error. */
33229 #ifdef __cplusplus
33230 extern "C"
33232 #endif
33233 /* We use char because int might match the return type of a gcc2
33234 builtin and then its argument prototype would still apply. */
33235 char $ac_func ();
33236 /* The GNU C library defines this for functions which it implements
33237 to always fail with ENOSYS. Some functions are actually named
33238 something starting with __ and the normal name is an alias. */
33239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33240 choke me
33241 #else
33242 char (*f) () = $ac_func;
33243 #endif
33244 #ifdef __cplusplus
33246 #endif
33249 main ()
33251 return f != $ac_func;
33253 return 0;
33255 _ACEOF
33256 rm -f conftest.$ac_objext conftest$ac_exeext
33257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33258 (eval $ac_link) 2>conftest.er1
33259 ac_status=$?
33260 grep -v '^ *+' conftest.er1 >conftest.err
33261 rm -f conftest.er1
33262 cat conftest.err >&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } &&
33265 { ac_try='test -z "$ac_c_werror_flag"
33266 || test ! -s conftest.err'
33267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33268 (eval $ac_try) 2>&5
33269 ac_status=$?
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); }; } &&
33272 { ac_try='test -s conftest$ac_exeext'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33275 ac_status=$?
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; }; then
33278 eval "$as_ac_var=yes"
33279 else
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33283 eval "$as_ac_var=no"
33285 rm -f conftest.err conftest.$ac_objext \
33286 conftest$ac_exeext conftest.$ac_ext
33288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33290 if test `eval echo '${'$as_ac_var'}'` = yes; then
33291 cat >>confdefs.h <<_ACEOF
33292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33293 _ACEOF
33296 done
33303 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33304 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33305 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33306 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33312 ac_ext=cc
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33318 cat >conftest.$ac_ext <<_ACEOF
33319 /* confdefs.h. */
33320 _ACEOF
33321 cat confdefs.h >>conftest.$ac_ext
33322 cat >>conftest.$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 #include <math.h>
33325 #ifdef HAVE_IEEEFP_H
33326 #include <ieeefp.h>
33327 #endif
33330 main ()
33332 fpclass(0);
33334 return 0;
33336 _ACEOF
33337 rm -f conftest.$ac_objext
33338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33339 (eval $ac_compile) 2>conftest.er1
33340 ac_status=$?
33341 grep -v '^ *+' conftest.er1 >conftest.err
33342 rm -f conftest.er1
33343 cat conftest.err >&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); } &&
33346 { ac_try='test -z "$ac_cxx_werror_flag"
33347 || test ! -s conftest.err'
33348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349 (eval $ac_try) 2>&5
33350 ac_status=$?
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; } &&
33353 { ac_try='test -s conftest.$ac_objext'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33356 ac_status=$?
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; }; then
33359 glibcxx_cv_func_fpclass_use=yes
33360 else
33361 echo "$as_me: failed program was:" >&5
33362 sed 's/^/| /' conftest.$ac_ext >&5
33364 glibcxx_cv_func_fpclass_use=no
33366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_ext=c
33368 ac_cpp='$CPP $CPPFLAGS'
33369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33378 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33380 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33382 for ac_func in fpclass
33384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33385 echo "$as_me:$LINENO: checking for $ac_func" >&5
33386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33387 if eval "test \"\${$as_ac_var+set}\" = set"; then
33388 echo $ECHO_N "(cached) $ECHO_C" >&6
33389 else
33390 if test x$gcc_no_link = xyes; then
33391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33393 { (exit 1); exit 1; }; }
33395 cat >conftest.$ac_ext <<_ACEOF
33396 /* confdefs.h. */
33397 _ACEOF
33398 cat confdefs.h >>conftest.$ac_ext
33399 cat >>conftest.$ac_ext <<_ACEOF
33400 /* end confdefs.h. */
33401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33403 #define $ac_func innocuous_$ac_func
33405 /* System header to define __stub macros and hopefully few prototypes,
33406 which can conflict with char $ac_func (); below.
33407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33408 <limits.h> exists even on freestanding compilers. */
33410 #ifdef __STDC__
33411 # include <limits.h>
33412 #else
33413 # include <assert.h>
33414 #endif
33416 #undef $ac_func
33418 /* Override any gcc2 internal prototype to avoid an error. */
33419 #ifdef __cplusplus
33420 extern "C"
33422 #endif
33423 /* We use char because int might match the return type of a gcc2
33424 builtin and then its argument prototype would still apply. */
33425 char $ac_func ();
33426 /* The GNU C library defines this for functions which it implements
33427 to always fail with ENOSYS. Some functions are actually named
33428 something starting with __ and the normal name is an alias. */
33429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33430 choke me
33431 #else
33432 char (*f) () = $ac_func;
33433 #endif
33434 #ifdef __cplusplus
33436 #endif
33439 main ()
33441 return f != $ac_func;
33443 return 0;
33445 _ACEOF
33446 rm -f conftest.$ac_objext conftest$ac_exeext
33447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33448 (eval $ac_link) 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } &&
33455 { ac_try='test -z "$ac_c_werror_flag"
33456 || test ! -s conftest.err'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33459 ac_status=$?
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; } &&
33462 { ac_try='test -s conftest$ac_exeext'
33463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33464 (eval $ac_try) 2>&5
33465 ac_status=$?
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); }; }; then
33468 eval "$as_ac_var=yes"
33469 else
33470 echo "$as_me: failed program was:" >&5
33471 sed 's/^/| /' conftest.$ac_ext >&5
33473 eval "$as_ac_var=no"
33475 rm -f conftest.err conftest.$ac_objext \
33476 conftest$ac_exeext conftest.$ac_ext
33478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33480 if test `eval echo '${'$as_ac_var'}'` = yes; then
33481 cat >>confdefs.h <<_ACEOF
33482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33483 _ACEOF
33486 done
33488 else
33490 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33491 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33492 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33493 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33494 echo $ECHO_N "(cached) $ECHO_C" >&6
33495 else
33499 ac_ext=cc
33500 ac_cpp='$CXXCPP $CPPFLAGS'
33501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505 cat >conftest.$ac_ext <<_ACEOF
33506 /* confdefs.h. */
33507 _ACEOF
33508 cat confdefs.h >>conftest.$ac_ext
33509 cat >>conftest.$ac_ext <<_ACEOF
33510 /* end confdefs.h. */
33511 #include <math.h>
33512 #ifdef HAVE_IEEEFP_H
33513 #include <ieeefp.h>
33514 #endif
33517 main ()
33519 _fpclass(0);
33521 return 0;
33523 _ACEOF
33524 rm -f conftest.$ac_objext
33525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33526 (eval $ac_compile) 2>conftest.er1
33527 ac_status=$?
33528 grep -v '^ *+' conftest.er1 >conftest.err
33529 rm -f conftest.er1
33530 cat conftest.err >&5
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); } &&
33533 { ac_try='test -z "$ac_cxx_werror_flag"
33534 || test ! -s conftest.err'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; } &&
33540 { ac_try='test -s conftest.$ac_objext'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33543 ac_status=$?
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; }; then
33546 glibcxx_cv_func__fpclass_use=yes
33547 else
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33551 glibcxx_cv_func__fpclass_use=no
33553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33554 ac_ext=c
33555 ac_cpp='$CPP $CPPFLAGS'
33556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33565 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33567 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33569 for ac_func in _fpclass
33571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33572 echo "$as_me:$LINENO: checking for $ac_func" >&5
33573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33574 if eval "test \"\${$as_ac_var+set}\" = set"; then
33575 echo $ECHO_N "(cached) $ECHO_C" >&6
33576 else
33577 if test x$gcc_no_link = xyes; then
33578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33580 { (exit 1); exit 1; }; }
33582 cat >conftest.$ac_ext <<_ACEOF
33583 /* confdefs.h. */
33584 _ACEOF
33585 cat confdefs.h >>conftest.$ac_ext
33586 cat >>conftest.$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33590 #define $ac_func innocuous_$ac_func
33592 /* System header to define __stub macros and hopefully few prototypes,
33593 which can conflict with char $ac_func (); below.
33594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33595 <limits.h> exists even on freestanding compilers. */
33597 #ifdef __STDC__
33598 # include <limits.h>
33599 #else
33600 # include <assert.h>
33601 #endif
33603 #undef $ac_func
33605 /* Override any gcc2 internal prototype to avoid an error. */
33606 #ifdef __cplusplus
33607 extern "C"
33609 #endif
33610 /* We use char because int might match the return type of a gcc2
33611 builtin and then its argument prototype would still apply. */
33612 char $ac_func ();
33613 /* The GNU C library defines this for functions which it implements
33614 to always fail with ENOSYS. Some functions are actually named
33615 something starting with __ and the normal name is an alias. */
33616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33617 choke me
33618 #else
33619 char (*f) () = $ac_func;
33620 #endif
33621 #ifdef __cplusplus
33623 #endif
33626 main ()
33628 return f != $ac_func;
33630 return 0;
33632 _ACEOF
33633 rm -f conftest.$ac_objext conftest$ac_exeext
33634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33635 (eval $ac_link) 2>conftest.er1
33636 ac_status=$?
33637 grep -v '^ *+' conftest.er1 >conftest.err
33638 rm -f conftest.er1
33639 cat conftest.err >&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); } &&
33642 { ac_try='test -z "$ac_c_werror_flag"
33643 || test ! -s conftest.err'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33646 ac_status=$?
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; } &&
33649 { ac_try='test -s conftest$ac_exeext'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33652 ac_status=$?
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; }; then
33655 eval "$as_ac_var=yes"
33656 else
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.$ac_ext >&5
33660 eval "$as_ac_var=no"
33662 rm -f conftest.err conftest.$ac_objext \
33663 conftest$ac_exeext conftest.$ac_ext
33665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33667 if test `eval echo '${'$as_ac_var'}'` = yes; then
33668 cat >>confdefs.h <<_ACEOF
33669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33670 _ACEOF
33673 done
33680 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33681 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33682 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33683 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33684 echo $ECHO_N "(cached) $ECHO_C" >&6
33685 else
33689 ac_ext=cc
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695 cat >conftest.$ac_ext <<_ACEOF
33696 /* confdefs.h. */
33697 _ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33701 #include <math.h>
33702 #ifdef HAVE_IEEEFP_H
33703 #include <ieeefp.h>
33704 #endif
33707 main ()
33709 qfpclass(0);
33711 return 0;
33713 _ACEOF
33714 rm -f conftest.$ac_objext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33716 (eval $ac_compile) 2>conftest.er1
33717 ac_status=$?
33718 grep -v '^ *+' conftest.er1 >conftest.err
33719 rm -f conftest.er1
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -z "$ac_cxx_werror_flag"
33724 || test ! -s conftest.err'
33725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33726 (eval $ac_try) 2>&5
33727 ac_status=$?
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); }; } &&
33730 { ac_try='test -s conftest.$ac_objext'
33731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33732 (eval $ac_try) 2>&5
33733 ac_status=$?
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); }; }; then
33736 glibcxx_cv_func_qfpclass_use=yes
33737 else
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.$ac_ext >&5
33741 glibcxx_cv_func_qfpclass_use=no
33743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33744 ac_ext=c
33745 ac_cpp='$CPP $CPPFLAGS'
33746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33755 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33757 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33759 for ac_func in qfpclass
33761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33762 echo "$as_me:$LINENO: checking for $ac_func" >&5
33763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33764 if eval "test \"\${$as_ac_var+set}\" = set"; then
33765 echo $ECHO_N "(cached) $ECHO_C" >&6
33766 else
33767 if test x$gcc_no_link = xyes; then
33768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33770 { (exit 1); exit 1; }; }
33772 cat >conftest.$ac_ext <<_ACEOF
33773 /* confdefs.h. */
33774 _ACEOF
33775 cat confdefs.h >>conftest.$ac_ext
33776 cat >>conftest.$ac_ext <<_ACEOF
33777 /* end confdefs.h. */
33778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33780 #define $ac_func innocuous_$ac_func
33782 /* System header to define __stub macros and hopefully few prototypes,
33783 which can conflict with char $ac_func (); below.
33784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33785 <limits.h> exists even on freestanding compilers. */
33787 #ifdef __STDC__
33788 # include <limits.h>
33789 #else
33790 # include <assert.h>
33791 #endif
33793 #undef $ac_func
33795 /* Override any gcc2 internal prototype to avoid an error. */
33796 #ifdef __cplusplus
33797 extern "C"
33799 #endif
33800 /* We use char because int might match the return type of a gcc2
33801 builtin and then its argument prototype would still apply. */
33802 char $ac_func ();
33803 /* The GNU C library defines this for functions which it implements
33804 to always fail with ENOSYS. Some functions are actually named
33805 something starting with __ and the normal name is an alias. */
33806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33807 choke me
33808 #else
33809 char (*f) () = $ac_func;
33810 #endif
33811 #ifdef __cplusplus
33813 #endif
33816 main ()
33818 return f != $ac_func;
33820 return 0;
33822 _ACEOF
33823 rm -f conftest.$ac_objext conftest$ac_exeext
33824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33825 (eval $ac_link) 2>conftest.er1
33826 ac_status=$?
33827 grep -v '^ *+' conftest.er1 >conftest.err
33828 rm -f conftest.er1
33829 cat conftest.err >&5
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); } &&
33832 { ac_try='test -z "$ac_c_werror_flag"
33833 || test ! -s conftest.err'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; } &&
33839 { ac_try='test -s conftest$ac_exeext'
33840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33841 (eval $ac_try) 2>&5
33842 ac_status=$?
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33845 eval "$as_ac_var=yes"
33846 else
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.$ac_ext >&5
33850 eval "$as_ac_var=no"
33852 rm -f conftest.err conftest.$ac_objext \
33853 conftest$ac_exeext conftest.$ac_ext
33855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33857 if test `eval echo '${'$as_ac_var'}'` = yes; then
33858 cat >>confdefs.h <<_ACEOF
33859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33860 _ACEOF
33863 done
33865 else
33867 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33868 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33869 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33870 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 else
33876 ac_ext=cc
33877 ac_cpp='$CXXCPP $CPPFLAGS'
33878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33882 cat >conftest.$ac_ext <<_ACEOF
33883 /* confdefs.h. */
33884 _ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888 #include <math.h>
33889 #ifdef HAVE_IEEEFP_H
33890 #include <ieeefp.h>
33891 #endif
33894 main ()
33896 _qfpclass(0);
33898 return 0;
33900 _ACEOF
33901 rm -f conftest.$ac_objext
33902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33903 (eval $ac_compile) 2>conftest.er1
33904 ac_status=$?
33905 grep -v '^ *+' conftest.er1 >conftest.err
33906 rm -f conftest.er1
33907 cat conftest.err >&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); } &&
33910 { ac_try='test -z "$ac_cxx_werror_flag"
33911 || test ! -s conftest.err'
33912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33913 (eval $ac_try) 2>&5
33914 ac_status=$?
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); }; } &&
33917 { ac_try='test -s conftest.$ac_objext'
33918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33919 (eval $ac_try) 2>&5
33920 ac_status=$?
33921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33922 (exit $ac_status); }; }; then
33923 glibcxx_cv_func__qfpclass_use=yes
33924 else
33925 echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.$ac_ext >&5
33928 glibcxx_cv_func__qfpclass_use=no
33930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33931 ac_ext=c
33932 ac_cpp='$CPP $CPPFLAGS'
33933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33942 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33944 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33946 for ac_func in _qfpclass
33948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33949 echo "$as_me:$LINENO: checking for $ac_func" >&5
33950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33951 if eval "test \"\${$as_ac_var+set}\" = set"; then
33952 echo $ECHO_N "(cached) $ECHO_C" >&6
33953 else
33954 if test x$gcc_no_link = xyes; then
33955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33957 { (exit 1); exit 1; }; }
33959 cat >conftest.$ac_ext <<_ACEOF
33960 /* confdefs.h. */
33961 _ACEOF
33962 cat confdefs.h >>conftest.$ac_ext
33963 cat >>conftest.$ac_ext <<_ACEOF
33964 /* end confdefs.h. */
33965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33967 #define $ac_func innocuous_$ac_func
33969 /* System header to define __stub macros and hopefully few prototypes,
33970 which can conflict with char $ac_func (); below.
33971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33972 <limits.h> exists even on freestanding compilers. */
33974 #ifdef __STDC__
33975 # include <limits.h>
33976 #else
33977 # include <assert.h>
33978 #endif
33980 #undef $ac_func
33982 /* Override any gcc2 internal prototype to avoid an error. */
33983 #ifdef __cplusplus
33984 extern "C"
33986 #endif
33987 /* We use char because int might match the return type of a gcc2
33988 builtin and then its argument prototype would still apply. */
33989 char $ac_func ();
33990 /* The GNU C library defines this for functions which it implements
33991 to always fail with ENOSYS. Some functions are actually named
33992 something starting with __ and the normal name is an alias. */
33993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33994 choke me
33995 #else
33996 char (*f) () = $ac_func;
33997 #endif
33998 #ifdef __cplusplus
34000 #endif
34003 main ()
34005 return f != $ac_func;
34007 return 0;
34009 _ACEOF
34010 rm -f conftest.$ac_objext conftest$ac_exeext
34011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34012 (eval $ac_link) 2>conftest.er1
34013 ac_status=$?
34014 grep -v '^ *+' conftest.er1 >conftest.err
34015 rm -f conftest.er1
34016 cat conftest.err >&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } &&
34019 { ac_try='test -z "$ac_c_werror_flag"
34020 || test ! -s conftest.err'
34021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34022 (eval $ac_try) 2>&5
34023 ac_status=$?
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); }; } &&
34026 { ac_try='test -s conftest$ac_exeext'
34027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34028 (eval $ac_try) 2>&5
34029 ac_status=$?
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); }; }; then
34032 eval "$as_ac_var=yes"
34033 else
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34037 eval "$as_ac_var=no"
34039 rm -f conftest.err conftest.$ac_objext \
34040 conftest$ac_exeext conftest.$ac_ext
34042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34044 if test `eval echo '${'$as_ac_var'}'` = yes; then
34045 cat >>confdefs.h <<_ACEOF
34046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34047 _ACEOF
34050 done
34057 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34058 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34059 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34060 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 else
34066 ac_ext=cc
34067 ac_cpp='$CXXCPP $CPPFLAGS'
34068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34072 cat >conftest.$ac_ext <<_ACEOF
34073 /* confdefs.h. */
34074 _ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34078 #include <math.h>
34080 main ()
34082 hypot(0, 0);
34084 return 0;
34086 _ACEOF
34087 rm -f conftest.$ac_objext
34088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34089 (eval $ac_compile) 2>conftest.er1
34090 ac_status=$?
34091 grep -v '^ *+' conftest.er1 >conftest.err
34092 rm -f conftest.er1
34093 cat conftest.err >&5
34094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34095 (exit $ac_status); } &&
34096 { ac_try='test -z "$ac_cxx_werror_flag"
34097 || test ! -s conftest.err'
34098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34099 (eval $ac_try) 2>&5
34100 ac_status=$?
34101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102 (exit $ac_status); }; } &&
34103 { ac_try='test -s conftest.$ac_objext'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34106 ac_status=$?
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; }; then
34109 glibcxx_cv_func_hypot_use=yes
34110 else
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.$ac_ext >&5
34114 glibcxx_cv_func_hypot_use=no
34116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34117 ac_ext=c
34118 ac_cpp='$CPP $CPPFLAGS'
34119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34128 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34130 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34132 for ac_func in hypot
34134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34135 echo "$as_me:$LINENO: checking for $ac_func" >&5
34136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34137 if eval "test \"\${$as_ac_var+set}\" = set"; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 else
34140 if test x$gcc_no_link = xyes; then
34141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34143 { (exit 1); exit 1; }; }
34145 cat >conftest.$ac_ext <<_ACEOF
34146 /* confdefs.h. */
34147 _ACEOF
34148 cat confdefs.h >>conftest.$ac_ext
34149 cat >>conftest.$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34153 #define $ac_func innocuous_$ac_func
34155 /* System header to define __stub macros and hopefully few prototypes,
34156 which can conflict with char $ac_func (); below.
34157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34158 <limits.h> exists even on freestanding compilers. */
34160 #ifdef __STDC__
34161 # include <limits.h>
34162 #else
34163 # include <assert.h>
34164 #endif
34166 #undef $ac_func
34168 /* Override any gcc2 internal prototype to avoid an error. */
34169 #ifdef __cplusplus
34170 extern "C"
34172 #endif
34173 /* We use char because int might match the return type of a gcc2
34174 builtin and then its argument prototype would still apply. */
34175 char $ac_func ();
34176 /* The GNU C library defines this for functions which it implements
34177 to always fail with ENOSYS. Some functions are actually named
34178 something starting with __ and the normal name is an alias. */
34179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34180 choke me
34181 #else
34182 char (*f) () = $ac_func;
34183 #endif
34184 #ifdef __cplusplus
34186 #endif
34189 main ()
34191 return f != $ac_func;
34193 return 0;
34195 _ACEOF
34196 rm -f conftest.$ac_objext conftest$ac_exeext
34197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34198 (eval $ac_link) 2>conftest.er1
34199 ac_status=$?
34200 grep -v '^ *+' conftest.er1 >conftest.err
34201 rm -f conftest.er1
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } &&
34205 { ac_try='test -z "$ac_c_werror_flag"
34206 || test ! -s conftest.err'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34209 ac_status=$?
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; } &&
34212 { ac_try='test -s conftest$ac_exeext'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34215 ac_status=$?
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 eval "$as_ac_var=yes"
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34223 eval "$as_ac_var=no"
34225 rm -f conftest.err conftest.$ac_objext \
34226 conftest$ac_exeext conftest.$ac_ext
34228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34230 if test `eval echo '${'$as_ac_var'}'` = yes; then
34231 cat >>confdefs.h <<_ACEOF
34232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34233 _ACEOF
34236 done
34238 else
34240 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34241 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34242 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34243 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 else
34249 ac_ext=cc
34250 ac_cpp='$CXXCPP $CPPFLAGS'
34251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34255 cat >conftest.$ac_ext <<_ACEOF
34256 /* confdefs.h. */
34257 _ACEOF
34258 cat confdefs.h >>conftest.$ac_ext
34259 cat >>conftest.$ac_ext <<_ACEOF
34260 /* end confdefs.h. */
34261 #include <math.h>
34263 main ()
34265 _hypot(0, 0);
34267 return 0;
34269 _ACEOF
34270 rm -f conftest.$ac_objext
34271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34272 (eval $ac_compile) 2>conftest.er1
34273 ac_status=$?
34274 grep -v '^ *+' conftest.er1 >conftest.err
34275 rm -f conftest.er1
34276 cat conftest.err >&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); } &&
34279 { ac_try='test -z "$ac_cxx_werror_flag"
34280 || test ! -s conftest.err'
34281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34282 (eval $ac_try) 2>&5
34283 ac_status=$?
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); }; } &&
34286 { ac_try='test -s conftest.$ac_objext'
34287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34288 (eval $ac_try) 2>&5
34289 ac_status=$?
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); }; }; then
34292 glibcxx_cv_func__hypot_use=yes
34293 else
34294 echo "$as_me: failed program was:" >&5
34295 sed 's/^/| /' conftest.$ac_ext >&5
34297 glibcxx_cv_func__hypot_use=no
34299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34300 ac_ext=c
34301 ac_cpp='$CPP $CPPFLAGS'
34302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34311 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34313 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34315 for ac_func in _hypot
34317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34318 echo "$as_me:$LINENO: checking for $ac_func" >&5
34319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34320 if eval "test \"\${$as_ac_var+set}\" = set"; then
34321 echo $ECHO_N "(cached) $ECHO_C" >&6
34322 else
34323 if test x$gcc_no_link = xyes; then
34324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34326 { (exit 1); exit 1; }; }
34328 cat >conftest.$ac_ext <<_ACEOF
34329 /* confdefs.h. */
34330 _ACEOF
34331 cat confdefs.h >>conftest.$ac_ext
34332 cat >>conftest.$ac_ext <<_ACEOF
34333 /* end confdefs.h. */
34334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34336 #define $ac_func innocuous_$ac_func
34338 /* System header to define __stub macros and hopefully few prototypes,
34339 which can conflict with char $ac_func (); below.
34340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34341 <limits.h> exists even on freestanding compilers. */
34343 #ifdef __STDC__
34344 # include <limits.h>
34345 #else
34346 # include <assert.h>
34347 #endif
34349 #undef $ac_func
34351 /* Override any gcc2 internal prototype to avoid an error. */
34352 #ifdef __cplusplus
34353 extern "C"
34355 #endif
34356 /* We use char because int might match the return type of a gcc2
34357 builtin and then its argument prototype would still apply. */
34358 char $ac_func ();
34359 /* The GNU C library defines this for functions which it implements
34360 to always fail with ENOSYS. Some functions are actually named
34361 something starting with __ and the normal name is an alias. */
34362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34363 choke me
34364 #else
34365 char (*f) () = $ac_func;
34366 #endif
34367 #ifdef __cplusplus
34369 #endif
34372 main ()
34374 return f != $ac_func;
34376 return 0;
34378 _ACEOF
34379 rm -f conftest.$ac_objext conftest$ac_exeext
34380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34381 (eval $ac_link) 2>conftest.er1
34382 ac_status=$?
34383 grep -v '^ *+' conftest.er1 >conftest.err
34384 rm -f conftest.er1
34385 cat conftest.err >&5
34386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34387 (exit $ac_status); } &&
34388 { ac_try='test -z "$ac_c_werror_flag"
34389 || test ! -s conftest.err'
34390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34391 (eval $ac_try) 2>&5
34392 ac_status=$?
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); }; } &&
34395 { ac_try='test -s conftest$ac_exeext'
34396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34397 (eval $ac_try) 2>&5
34398 ac_status=$?
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); }; }; then
34401 eval "$as_ac_var=yes"
34402 else
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.$ac_ext >&5
34406 eval "$as_ac_var=no"
34408 rm -f conftest.err conftest.$ac_objext \
34409 conftest$ac_exeext conftest.$ac_ext
34411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34413 if test `eval echo '${'$as_ac_var'}'` = yes; then
34414 cat >>confdefs.h <<_ACEOF
34415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34416 _ACEOF
34419 done
34426 echo "$as_me:$LINENO: checking for float trig functions" >&5
34427 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34428 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34434 ac_ext=cc
34435 ac_cpp='$CXXCPP $CPPFLAGS'
34436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34440 cat >conftest.$ac_ext <<_ACEOF
34441 /* confdefs.h. */
34442 _ACEOF
34443 cat confdefs.h >>conftest.$ac_ext
34444 cat >>conftest.$ac_ext <<_ACEOF
34445 /* end confdefs.h. */
34446 #include <math.h>
34448 main ()
34450 `for x in acosf asinf atanf \
34451 cosf sinf tanf \
34452 coshf sinhf tanhf; do echo "$x (0);"; done`
34454 return 0;
34456 _ACEOF
34457 rm -f conftest.$ac_objext
34458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34459 (eval $ac_compile) 2>conftest.er1
34460 ac_status=$?
34461 grep -v '^ *+' conftest.er1 >conftest.err
34462 rm -f conftest.er1
34463 cat conftest.err >&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); } &&
34466 { ac_try='test -z "$ac_cxx_werror_flag"
34467 || test ! -s conftest.err'
34468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34469 (eval $ac_try) 2>&5
34470 ac_status=$?
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); }; } &&
34473 { ac_try='test -s conftest.$ac_objext'
34474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475 (eval $ac_try) 2>&5
34476 ac_status=$?
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); }; }; then
34479 glibcxx_cv_func_float_trig_use=yes
34480 else
34481 echo "$as_me: failed program was:" >&5
34482 sed 's/^/| /' conftest.$ac_ext >&5
34484 glibcxx_cv_func_float_trig_use=no
34486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34487 ac_ext=c
34488 ac_cpp='$CPP $CPPFLAGS'
34489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34496 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34497 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34507 for ac_func in acosf asinf atanf \
34508 cosf sinf tanf \
34509 coshf sinhf tanhf
34511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34512 echo "$as_me:$LINENO: checking for $ac_func" >&5
34513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34514 if eval "test \"\${$as_ac_var+set}\" = set"; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34516 else
34517 if test x$gcc_no_link = xyes; then
34518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34520 { (exit 1); exit 1; }; }
34522 cat >conftest.$ac_ext <<_ACEOF
34523 /* confdefs.h. */
34524 _ACEOF
34525 cat confdefs.h >>conftest.$ac_ext
34526 cat >>conftest.$ac_ext <<_ACEOF
34527 /* end confdefs.h. */
34528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34530 #define $ac_func innocuous_$ac_func
34532 /* System header to define __stub macros and hopefully few prototypes,
34533 which can conflict with char $ac_func (); below.
34534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34535 <limits.h> exists even on freestanding compilers. */
34537 #ifdef __STDC__
34538 # include <limits.h>
34539 #else
34540 # include <assert.h>
34541 #endif
34543 #undef $ac_func
34545 /* Override any gcc2 internal prototype to avoid an error. */
34546 #ifdef __cplusplus
34547 extern "C"
34549 #endif
34550 /* We use char because int might match the return type of a gcc2
34551 builtin and then its argument prototype would still apply. */
34552 char $ac_func ();
34553 /* The GNU C library defines this for functions which it implements
34554 to always fail with ENOSYS. Some functions are actually named
34555 something starting with __ and the normal name is an alias. */
34556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34557 choke me
34558 #else
34559 char (*f) () = $ac_func;
34560 #endif
34561 #ifdef __cplusplus
34563 #endif
34566 main ()
34568 return f != $ac_func;
34570 return 0;
34572 _ACEOF
34573 rm -f conftest.$ac_objext conftest$ac_exeext
34574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34575 (eval $ac_link) 2>conftest.er1
34576 ac_status=$?
34577 grep -v '^ *+' conftest.er1 >conftest.err
34578 rm -f conftest.er1
34579 cat conftest.err >&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); } &&
34582 { ac_try='test -z "$ac_c_werror_flag"
34583 || test ! -s conftest.err'
34584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585 (eval $ac_try) 2>&5
34586 ac_status=$?
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; } &&
34589 { ac_try='test -s conftest$ac_exeext'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; }; then
34595 eval "$as_ac_var=yes"
34596 else
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34600 eval "$as_ac_var=no"
34602 rm -f conftest.err conftest.$ac_objext \
34603 conftest$ac_exeext conftest.$ac_ext
34605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34607 if test `eval echo '${'$as_ac_var'}'` = yes; then
34608 cat >>confdefs.h <<_ACEOF
34609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34610 _ACEOF
34613 done
34618 echo "$as_me:$LINENO: checking for float round functions" >&5
34619 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34620 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 else
34626 ac_ext=cc
34627 ac_cpp='$CXXCPP $CPPFLAGS'
34628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 #include <math.h>
34640 main ()
34642 `for x in ceilf floorf; do echo "$x (0);"; done`
34644 return 0;
34646 _ACEOF
34647 rm -f conftest.$ac_objext
34648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34649 (eval $ac_compile) 2>conftest.er1
34650 ac_status=$?
34651 grep -v '^ *+' conftest.er1 >conftest.err
34652 rm -f conftest.er1
34653 cat conftest.err >&5
34654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34655 (exit $ac_status); } &&
34656 { ac_try='test -z "$ac_cxx_werror_flag"
34657 || test ! -s conftest.err'
34658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34659 (eval $ac_try) 2>&5
34660 ac_status=$?
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); }; } &&
34663 { ac_try='test -s conftest.$ac_objext'
34664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34665 (eval $ac_try) 2>&5
34666 ac_status=$?
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); }; }; then
34669 glibcxx_cv_func_float_round_use=yes
34670 else
34671 echo "$as_me: failed program was:" >&5
34672 sed 's/^/| /' conftest.$ac_ext >&5
34674 glibcxx_cv_func_float_round_use=no
34676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34677 ac_ext=c
34678 ac_cpp='$CPP $CPPFLAGS'
34679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34686 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34687 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34690 for ac_func in ceilf floorf
34692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34693 echo "$as_me:$LINENO: checking for $ac_func" >&5
34694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34695 if eval "test \"\${$as_ac_var+set}\" = set"; then
34696 echo $ECHO_N "(cached) $ECHO_C" >&6
34697 else
34698 if test x$gcc_no_link = xyes; then
34699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34701 { (exit 1); exit 1; }; }
34703 cat >conftest.$ac_ext <<_ACEOF
34704 /* confdefs.h. */
34705 _ACEOF
34706 cat confdefs.h >>conftest.$ac_ext
34707 cat >>conftest.$ac_ext <<_ACEOF
34708 /* end confdefs.h. */
34709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34711 #define $ac_func innocuous_$ac_func
34713 /* System header to define __stub macros and hopefully few prototypes,
34714 which can conflict with char $ac_func (); below.
34715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34716 <limits.h> exists even on freestanding compilers. */
34718 #ifdef __STDC__
34719 # include <limits.h>
34720 #else
34721 # include <assert.h>
34722 #endif
34724 #undef $ac_func
34726 /* Override any gcc2 internal prototype to avoid an error. */
34727 #ifdef __cplusplus
34728 extern "C"
34730 #endif
34731 /* We use char because int might match the return type of a gcc2
34732 builtin and then its argument prototype would still apply. */
34733 char $ac_func ();
34734 /* The GNU C library defines this for functions which it implements
34735 to always fail with ENOSYS. Some functions are actually named
34736 something starting with __ and the normal name is an alias. */
34737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34738 choke me
34739 #else
34740 char (*f) () = $ac_func;
34741 #endif
34742 #ifdef __cplusplus
34744 #endif
34747 main ()
34749 return f != $ac_func;
34751 return 0;
34753 _ACEOF
34754 rm -f conftest.$ac_objext conftest$ac_exeext
34755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34756 (eval $ac_link) 2>conftest.er1
34757 ac_status=$?
34758 grep -v '^ *+' conftest.er1 >conftest.err
34759 rm -f conftest.er1
34760 cat conftest.err >&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } &&
34763 { ac_try='test -z "$ac_c_werror_flag"
34764 || test ! -s conftest.err'
34765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34766 (eval $ac_try) 2>&5
34767 ac_status=$?
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); }; } &&
34770 { ac_try='test -s conftest$ac_exeext'
34771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34772 (eval $ac_try) 2>&5
34773 ac_status=$?
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); }; }; then
34776 eval "$as_ac_var=yes"
34777 else
34778 echo "$as_me: failed program was:" >&5
34779 sed 's/^/| /' conftest.$ac_ext >&5
34781 eval "$as_ac_var=no"
34783 rm -f conftest.err conftest.$ac_objext \
34784 conftest$ac_exeext conftest.$ac_ext
34786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34788 if test `eval echo '${'$as_ac_var'}'` = yes; then
34789 cat >>confdefs.h <<_ACEOF
34790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34791 _ACEOF
34794 done
34800 echo "$as_me:$LINENO: checking for expf declaration" >&5
34801 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34802 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34803 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34804 echo $ECHO_N "(cached) $ECHO_C" >&6
34805 else
34809 ac_ext=cc
34810 ac_cpp='$CXXCPP $CPPFLAGS'
34811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815 cat >conftest.$ac_ext <<_ACEOF
34816 /* confdefs.h. */
34817 _ACEOF
34818 cat confdefs.h >>conftest.$ac_ext
34819 cat >>conftest.$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34821 #include <math.h>
34822 #ifdef HAVE_IEEEFP_H
34823 #include <ieeefp.h>
34824 #endif
34827 main ()
34829 expf(0);
34831 return 0;
34833 _ACEOF
34834 rm -f conftest.$ac_objext
34835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34836 (eval $ac_compile) 2>conftest.er1
34837 ac_status=$?
34838 grep -v '^ *+' conftest.er1 >conftest.err
34839 rm -f conftest.er1
34840 cat conftest.err >&5
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); } &&
34843 { ac_try='test -z "$ac_cxx_werror_flag"
34844 || test ! -s conftest.err'
34845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34846 (eval $ac_try) 2>&5
34847 ac_status=$?
34848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34849 (exit $ac_status); }; } &&
34850 { ac_try='test -s conftest.$ac_objext'
34851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34852 (eval $ac_try) 2>&5
34853 ac_status=$?
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); }; }; then
34856 glibcxx_cv_func_expf_use=yes
34857 else
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.$ac_ext >&5
34861 glibcxx_cv_func_expf_use=no
34863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34864 ac_ext=c
34865 ac_cpp='$CPP $CPPFLAGS'
34866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34875 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34877 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34879 for ac_func in expf
34881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34882 echo "$as_me:$LINENO: checking for $ac_func" >&5
34883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34884 if eval "test \"\${$as_ac_var+set}\" = set"; then
34885 echo $ECHO_N "(cached) $ECHO_C" >&6
34886 else
34887 if test x$gcc_no_link = xyes; then
34888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34890 { (exit 1); exit 1; }; }
34892 cat >conftest.$ac_ext <<_ACEOF
34893 /* confdefs.h. */
34894 _ACEOF
34895 cat confdefs.h >>conftest.$ac_ext
34896 cat >>conftest.$ac_ext <<_ACEOF
34897 /* end confdefs.h. */
34898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34900 #define $ac_func innocuous_$ac_func
34902 /* System header to define __stub macros and hopefully few prototypes,
34903 which can conflict with char $ac_func (); below.
34904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34905 <limits.h> exists even on freestanding compilers. */
34907 #ifdef __STDC__
34908 # include <limits.h>
34909 #else
34910 # include <assert.h>
34911 #endif
34913 #undef $ac_func
34915 /* Override any gcc2 internal prototype to avoid an error. */
34916 #ifdef __cplusplus
34917 extern "C"
34919 #endif
34920 /* We use char because int might match the return type of a gcc2
34921 builtin and then its argument prototype would still apply. */
34922 char $ac_func ();
34923 /* The GNU C library defines this for functions which it implements
34924 to always fail with ENOSYS. Some functions are actually named
34925 something starting with __ and the normal name is an alias. */
34926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34927 choke me
34928 #else
34929 char (*f) () = $ac_func;
34930 #endif
34931 #ifdef __cplusplus
34933 #endif
34936 main ()
34938 return f != $ac_func;
34940 return 0;
34942 _ACEOF
34943 rm -f conftest.$ac_objext conftest$ac_exeext
34944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34945 (eval $ac_link) 2>conftest.er1
34946 ac_status=$?
34947 grep -v '^ *+' conftest.er1 >conftest.err
34948 rm -f conftest.er1
34949 cat conftest.err >&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); } &&
34952 { ac_try='test -z "$ac_c_werror_flag"
34953 || test ! -s conftest.err'
34954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34955 (eval $ac_try) 2>&5
34956 ac_status=$?
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); }; } &&
34959 { ac_try='test -s conftest$ac_exeext'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34962 ac_status=$?
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; }; then
34965 eval "$as_ac_var=yes"
34966 else
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34970 eval "$as_ac_var=no"
34972 rm -f conftest.err conftest.$ac_objext \
34973 conftest$ac_exeext conftest.$ac_ext
34975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34977 if test `eval echo '${'$as_ac_var'}'` = yes; then
34978 cat >>confdefs.h <<_ACEOF
34979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34980 _ACEOF
34983 done
34985 else
34987 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34988 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34989 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34990 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34991 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 else
34996 ac_ext=cc
34997 ac_cpp='$CXXCPP $CPPFLAGS'
34998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35002 cat >conftest.$ac_ext <<_ACEOF
35003 /* confdefs.h. */
35004 _ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35008 #include <math.h>
35009 #ifdef HAVE_IEEEFP_H
35010 #include <ieeefp.h>
35011 #endif
35014 main ()
35016 _expf(0);
35018 return 0;
35020 _ACEOF
35021 rm -f conftest.$ac_objext
35022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35023 (eval $ac_compile) 2>conftest.er1
35024 ac_status=$?
35025 grep -v '^ *+' conftest.er1 >conftest.err
35026 rm -f conftest.er1
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } &&
35030 { ac_try='test -z "$ac_cxx_werror_flag"
35031 || test ! -s conftest.err'
35032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 (eval $ac_try) 2>&5
35034 ac_status=$?
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); }; } &&
35037 { ac_try='test -s conftest.$ac_objext'
35038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 (eval $ac_try) 2>&5
35040 ac_status=$?
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; }; then
35043 glibcxx_cv_func__expf_use=yes
35044 else
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.$ac_ext >&5
35048 glibcxx_cv_func__expf_use=no
35050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35051 ac_ext=c
35052 ac_cpp='$CPP $CPPFLAGS'
35053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35061 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35062 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35064 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35066 for ac_func in _expf
35068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 echo "$as_me:$LINENO: checking for $ac_func" >&5
35070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35071 if eval "test \"\${$as_ac_var+set}\" = set"; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 if test x$gcc_no_link = xyes; then
35075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35077 { (exit 1); exit 1; }; }
35079 cat >conftest.$ac_ext <<_ACEOF
35080 /* confdefs.h. */
35081 _ACEOF
35082 cat confdefs.h >>conftest.$ac_ext
35083 cat >>conftest.$ac_ext <<_ACEOF
35084 /* end confdefs.h. */
35085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35087 #define $ac_func innocuous_$ac_func
35089 /* System header to define __stub macros and hopefully few prototypes,
35090 which can conflict with char $ac_func (); below.
35091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35092 <limits.h> exists even on freestanding compilers. */
35094 #ifdef __STDC__
35095 # include <limits.h>
35096 #else
35097 # include <assert.h>
35098 #endif
35100 #undef $ac_func
35102 /* Override any gcc2 internal prototype to avoid an error. */
35103 #ifdef __cplusplus
35104 extern "C"
35106 #endif
35107 /* We use char because int might match the return type of a gcc2
35108 builtin and then its argument prototype would still apply. */
35109 char $ac_func ();
35110 /* The GNU C library defines this for functions which it implements
35111 to always fail with ENOSYS. Some functions are actually named
35112 something starting with __ and the normal name is an alias. */
35113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35114 choke me
35115 #else
35116 char (*f) () = $ac_func;
35117 #endif
35118 #ifdef __cplusplus
35120 #endif
35123 main ()
35125 return f != $ac_func;
35127 return 0;
35129 _ACEOF
35130 rm -f conftest.$ac_objext conftest$ac_exeext
35131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35132 (eval $ac_link) 2>conftest.er1
35133 ac_status=$?
35134 grep -v '^ *+' conftest.er1 >conftest.err
35135 rm -f conftest.er1
35136 cat conftest.err >&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); } &&
35139 { ac_try='test -z "$ac_c_werror_flag"
35140 || test ! -s conftest.err'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35143 ac_status=$?
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; } &&
35146 { ac_try='test -s conftest$ac_exeext'
35147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35148 (eval $ac_try) 2>&5
35149 ac_status=$?
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); }; }; then
35152 eval "$as_ac_var=yes"
35153 else
35154 echo "$as_me: failed program was:" >&5
35155 sed 's/^/| /' conftest.$ac_ext >&5
35157 eval "$as_ac_var=no"
35159 rm -f conftest.err conftest.$ac_objext \
35160 conftest$ac_exeext conftest.$ac_ext
35162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35164 if test `eval echo '${'$as_ac_var'}'` = yes; then
35165 cat >>confdefs.h <<_ACEOF
35166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35167 _ACEOF
35170 done
35177 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35178 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35179 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35180 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 else
35186 ac_ext=cc
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198 #include <math.h>
35199 #ifdef HAVE_IEEEFP_H
35200 #include <ieeefp.h>
35201 #endif
35204 main ()
35206 isnanf(0);
35208 return 0;
35210 _ACEOF
35211 rm -f conftest.$ac_objext
35212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35213 (eval $ac_compile) 2>conftest.er1
35214 ac_status=$?
35215 grep -v '^ *+' conftest.er1 >conftest.err
35216 rm -f conftest.er1
35217 cat conftest.err >&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); } &&
35220 { ac_try='test -z "$ac_cxx_werror_flag"
35221 || test ! -s conftest.err'
35222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223 (eval $ac_try) 2>&5
35224 ac_status=$?
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; } &&
35227 { ac_try='test -s conftest.$ac_objext'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35230 ac_status=$?
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; }; then
35233 glibcxx_cv_func_isnanf_use=yes
35234 else
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35238 glibcxx_cv_func_isnanf_use=no
35240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35241 ac_ext=c
35242 ac_cpp='$CPP $CPPFLAGS'
35243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35252 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35254 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35256 for ac_func in isnanf
35258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35259 echo "$as_me:$LINENO: checking for $ac_func" >&5
35260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35261 if eval "test \"\${$as_ac_var+set}\" = set"; then
35262 echo $ECHO_N "(cached) $ECHO_C" >&6
35263 else
35264 if test x$gcc_no_link = xyes; then
35265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35267 { (exit 1); exit 1; }; }
35269 cat >conftest.$ac_ext <<_ACEOF
35270 /* confdefs.h. */
35271 _ACEOF
35272 cat confdefs.h >>conftest.$ac_ext
35273 cat >>conftest.$ac_ext <<_ACEOF
35274 /* end confdefs.h. */
35275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35277 #define $ac_func innocuous_$ac_func
35279 /* System header to define __stub macros and hopefully few prototypes,
35280 which can conflict with char $ac_func (); below.
35281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35282 <limits.h> exists even on freestanding compilers. */
35284 #ifdef __STDC__
35285 # include <limits.h>
35286 #else
35287 # include <assert.h>
35288 #endif
35290 #undef $ac_func
35292 /* Override any gcc2 internal prototype to avoid an error. */
35293 #ifdef __cplusplus
35294 extern "C"
35296 #endif
35297 /* We use char because int might match the return type of a gcc2
35298 builtin and then its argument prototype would still apply. */
35299 char $ac_func ();
35300 /* The GNU C library defines this for functions which it implements
35301 to always fail with ENOSYS. Some functions are actually named
35302 something starting with __ and the normal name is an alias. */
35303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35304 choke me
35305 #else
35306 char (*f) () = $ac_func;
35307 #endif
35308 #ifdef __cplusplus
35310 #endif
35313 main ()
35315 return f != $ac_func;
35317 return 0;
35319 _ACEOF
35320 rm -f conftest.$ac_objext conftest$ac_exeext
35321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35322 (eval $ac_link) 2>conftest.er1
35323 ac_status=$?
35324 grep -v '^ *+' conftest.er1 >conftest.err
35325 rm -f conftest.er1
35326 cat conftest.err >&5
35327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35328 (exit $ac_status); } &&
35329 { ac_try='test -z "$ac_c_werror_flag"
35330 || test ! -s conftest.err'
35331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35332 (eval $ac_try) 2>&5
35333 ac_status=$?
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); }; } &&
35336 { ac_try='test -s conftest$ac_exeext'
35337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35338 (eval $ac_try) 2>&5
35339 ac_status=$?
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); }; }; then
35342 eval "$as_ac_var=yes"
35343 else
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.$ac_ext >&5
35347 eval "$as_ac_var=no"
35349 rm -f conftest.err conftest.$ac_objext \
35350 conftest$ac_exeext conftest.$ac_ext
35352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35354 if test `eval echo '${'$as_ac_var'}'` = yes; then
35355 cat >>confdefs.h <<_ACEOF
35356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35357 _ACEOF
35360 done
35362 else
35364 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35365 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35366 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35367 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35369 else
35373 ac_ext=cc
35374 ac_cpp='$CXXCPP $CPPFLAGS'
35375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35379 cat >conftest.$ac_ext <<_ACEOF
35380 /* confdefs.h. */
35381 _ACEOF
35382 cat confdefs.h >>conftest.$ac_ext
35383 cat >>conftest.$ac_ext <<_ACEOF
35384 /* end confdefs.h. */
35385 #include <math.h>
35386 #ifdef HAVE_IEEEFP_H
35387 #include <ieeefp.h>
35388 #endif
35391 main ()
35393 _isnanf(0);
35395 return 0;
35397 _ACEOF
35398 rm -f conftest.$ac_objext
35399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35400 (eval $ac_compile) 2>conftest.er1
35401 ac_status=$?
35402 grep -v '^ *+' conftest.er1 >conftest.err
35403 rm -f conftest.er1
35404 cat conftest.err >&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); } &&
35407 { ac_try='test -z "$ac_cxx_werror_flag"
35408 || test ! -s conftest.err'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35411 ac_status=$?
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; } &&
35414 { ac_try='test -s conftest.$ac_objext'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35417 ac_status=$?
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; }; then
35420 glibcxx_cv_func__isnanf_use=yes
35421 else
35422 echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35425 glibcxx_cv_func__isnanf_use=no
35427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35428 ac_ext=c
35429 ac_cpp='$CPP $CPPFLAGS'
35430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35439 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35441 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35443 for ac_func in _isnanf
35445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35446 echo "$as_me:$LINENO: checking for $ac_func" >&5
35447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35448 if eval "test \"\${$as_ac_var+set}\" = set"; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 else
35451 if test x$gcc_no_link = xyes; then
35452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35454 { (exit 1); exit 1; }; }
35456 cat >conftest.$ac_ext <<_ACEOF
35457 /* confdefs.h. */
35458 _ACEOF
35459 cat confdefs.h >>conftest.$ac_ext
35460 cat >>conftest.$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35464 #define $ac_func innocuous_$ac_func
35466 /* System header to define __stub macros and hopefully few prototypes,
35467 which can conflict with char $ac_func (); below.
35468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35469 <limits.h> exists even on freestanding compilers. */
35471 #ifdef __STDC__
35472 # include <limits.h>
35473 #else
35474 # include <assert.h>
35475 #endif
35477 #undef $ac_func
35479 /* Override any gcc2 internal prototype to avoid an error. */
35480 #ifdef __cplusplus
35481 extern "C"
35483 #endif
35484 /* We use char because int might match the return type of a gcc2
35485 builtin and then its argument prototype would still apply. */
35486 char $ac_func ();
35487 /* The GNU C library defines this for functions which it implements
35488 to always fail with ENOSYS. Some functions are actually named
35489 something starting with __ and the normal name is an alias. */
35490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35491 choke me
35492 #else
35493 char (*f) () = $ac_func;
35494 #endif
35495 #ifdef __cplusplus
35497 #endif
35500 main ()
35502 return f != $ac_func;
35504 return 0;
35506 _ACEOF
35507 rm -f conftest.$ac_objext conftest$ac_exeext
35508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35509 (eval $ac_link) 2>conftest.er1
35510 ac_status=$?
35511 grep -v '^ *+' conftest.er1 >conftest.err
35512 rm -f conftest.er1
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } &&
35516 { ac_try='test -z "$ac_c_werror_flag"
35517 || test ! -s conftest.err'
35518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35519 (eval $ac_try) 2>&5
35520 ac_status=$?
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); }; } &&
35523 { ac_try='test -s conftest$ac_exeext'
35524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525 (eval $ac_try) 2>&5
35526 ac_status=$?
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); }; }; then
35529 eval "$as_ac_var=yes"
35530 else
35531 echo "$as_me: failed program was:" >&5
35532 sed 's/^/| /' conftest.$ac_ext >&5
35534 eval "$as_ac_var=no"
35536 rm -f conftest.err conftest.$ac_objext \
35537 conftest$ac_exeext conftest.$ac_ext
35539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35541 if test `eval echo '${'$as_ac_var'}'` = yes; then
35542 cat >>confdefs.h <<_ACEOF
35543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35544 _ACEOF
35547 done
35554 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35555 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35556 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35557 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 else
35563 ac_ext=cc
35564 ac_cpp='$CXXCPP $CPPFLAGS'
35565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35569 cat >conftest.$ac_ext <<_ACEOF
35570 /* confdefs.h. */
35571 _ACEOF
35572 cat confdefs.h >>conftest.$ac_ext
35573 cat >>conftest.$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575 #include <math.h>
35576 #ifdef HAVE_IEEEFP_H
35577 #include <ieeefp.h>
35578 #endif
35581 main ()
35583 isinff(0);
35585 return 0;
35587 _ACEOF
35588 rm -f conftest.$ac_objext
35589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35590 (eval $ac_compile) 2>conftest.er1
35591 ac_status=$?
35592 grep -v '^ *+' conftest.er1 >conftest.err
35593 rm -f conftest.er1
35594 cat conftest.err >&5
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); } &&
35597 { ac_try='test -z "$ac_cxx_werror_flag"
35598 || test ! -s conftest.err'
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35601 ac_status=$?
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; } &&
35604 { ac_try='test -s conftest.$ac_objext'
35605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35606 (eval $ac_try) 2>&5
35607 ac_status=$?
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; }; then
35610 glibcxx_cv_func_isinff_use=yes
35611 else
35612 echo "$as_me: failed program was:" >&5
35613 sed 's/^/| /' conftest.$ac_ext >&5
35615 glibcxx_cv_func_isinff_use=no
35617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35618 ac_ext=c
35619 ac_cpp='$CPP $CPPFLAGS'
35620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35629 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35631 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35633 for ac_func in isinff
35635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35636 echo "$as_me:$LINENO: checking for $ac_func" >&5
35637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35638 if eval "test \"\${$as_ac_var+set}\" = set"; then
35639 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 else
35641 if test x$gcc_no_link = xyes; then
35642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35644 { (exit 1); exit 1; }; }
35646 cat >conftest.$ac_ext <<_ACEOF
35647 /* confdefs.h. */
35648 _ACEOF
35649 cat confdefs.h >>conftest.$ac_ext
35650 cat >>conftest.$ac_ext <<_ACEOF
35651 /* end confdefs.h. */
35652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35654 #define $ac_func innocuous_$ac_func
35656 /* System header to define __stub macros and hopefully few prototypes,
35657 which can conflict with char $ac_func (); below.
35658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35659 <limits.h> exists even on freestanding compilers. */
35661 #ifdef __STDC__
35662 # include <limits.h>
35663 #else
35664 # include <assert.h>
35665 #endif
35667 #undef $ac_func
35669 /* Override any gcc2 internal prototype to avoid an error. */
35670 #ifdef __cplusplus
35671 extern "C"
35673 #endif
35674 /* We use char because int might match the return type of a gcc2
35675 builtin and then its argument prototype would still apply. */
35676 char $ac_func ();
35677 /* The GNU C library defines this for functions which it implements
35678 to always fail with ENOSYS. Some functions are actually named
35679 something starting with __ and the normal name is an alias. */
35680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35681 choke me
35682 #else
35683 char (*f) () = $ac_func;
35684 #endif
35685 #ifdef __cplusplus
35687 #endif
35690 main ()
35692 return f != $ac_func;
35694 return 0;
35696 _ACEOF
35697 rm -f conftest.$ac_objext conftest$ac_exeext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35699 (eval $ac_link) 2>conftest.er1
35700 ac_status=$?
35701 grep -v '^ *+' conftest.er1 >conftest.err
35702 rm -f conftest.er1
35703 cat conftest.err >&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try='test -z "$ac_c_werror_flag"
35707 || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try='test -s conftest$ac_exeext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 eval "$as_ac_var=yes"
35720 else
35721 echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.$ac_ext >&5
35724 eval "$as_ac_var=no"
35726 rm -f conftest.err conftest.$ac_objext \
35727 conftest$ac_exeext conftest.$ac_ext
35729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35731 if test `eval echo '${'$as_ac_var'}'` = yes; then
35732 cat >>confdefs.h <<_ACEOF
35733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35734 _ACEOF
35737 done
35739 else
35741 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35742 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35743 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35744 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35745 echo $ECHO_N "(cached) $ECHO_C" >&6
35746 else
35750 ac_ext=cc
35751 ac_cpp='$CXXCPP $CPPFLAGS'
35752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756 cat >conftest.$ac_ext <<_ACEOF
35757 /* confdefs.h. */
35758 _ACEOF
35759 cat confdefs.h >>conftest.$ac_ext
35760 cat >>conftest.$ac_ext <<_ACEOF
35761 /* end confdefs.h. */
35762 #include <math.h>
35763 #ifdef HAVE_IEEEFP_H
35764 #include <ieeefp.h>
35765 #endif
35768 main ()
35770 _isinff(0);
35772 return 0;
35774 _ACEOF
35775 rm -f conftest.$ac_objext
35776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35777 (eval $ac_compile) 2>conftest.er1
35778 ac_status=$?
35779 grep -v '^ *+' conftest.er1 >conftest.err
35780 rm -f conftest.er1
35781 cat conftest.err >&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); } &&
35784 { ac_try='test -z "$ac_cxx_werror_flag"
35785 || test ! -s conftest.err'
35786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35787 (eval $ac_try) 2>&5
35788 ac_status=$?
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); }; } &&
35791 { ac_try='test -s conftest.$ac_objext'
35792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35793 (eval $ac_try) 2>&5
35794 ac_status=$?
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); }; }; then
35797 glibcxx_cv_func__isinff_use=yes
35798 else
35799 echo "$as_me: failed program was:" >&5
35800 sed 's/^/| /' conftest.$ac_ext >&5
35802 glibcxx_cv_func__isinff_use=no
35804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35805 ac_ext=c
35806 ac_cpp='$CPP $CPPFLAGS'
35807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35816 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35818 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35820 for ac_func in _isinff
35822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35823 echo "$as_me:$LINENO: checking for $ac_func" >&5
35824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35825 if eval "test \"\${$as_ac_var+set}\" = set"; then
35826 echo $ECHO_N "(cached) $ECHO_C" >&6
35827 else
35828 if test x$gcc_no_link = xyes; then
35829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35831 { (exit 1); exit 1; }; }
35833 cat >conftest.$ac_ext <<_ACEOF
35834 /* confdefs.h. */
35835 _ACEOF
35836 cat confdefs.h >>conftest.$ac_ext
35837 cat >>conftest.$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35841 #define $ac_func innocuous_$ac_func
35843 /* System header to define __stub macros and hopefully few prototypes,
35844 which can conflict with char $ac_func (); below.
35845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35846 <limits.h> exists even on freestanding compilers. */
35848 #ifdef __STDC__
35849 # include <limits.h>
35850 #else
35851 # include <assert.h>
35852 #endif
35854 #undef $ac_func
35856 /* Override any gcc2 internal prototype to avoid an error. */
35857 #ifdef __cplusplus
35858 extern "C"
35860 #endif
35861 /* We use char because int might match the return type of a gcc2
35862 builtin and then its argument prototype would still apply. */
35863 char $ac_func ();
35864 /* The GNU C library defines this for functions which it implements
35865 to always fail with ENOSYS. Some functions are actually named
35866 something starting with __ and the normal name is an alias. */
35867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35868 choke me
35869 #else
35870 char (*f) () = $ac_func;
35871 #endif
35872 #ifdef __cplusplus
35874 #endif
35877 main ()
35879 return f != $ac_func;
35881 return 0;
35883 _ACEOF
35884 rm -f conftest.$ac_objext conftest$ac_exeext
35885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35886 (eval $ac_link) 2>conftest.er1
35887 ac_status=$?
35888 grep -v '^ *+' conftest.er1 >conftest.err
35889 rm -f conftest.er1
35890 cat conftest.err >&5
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); } &&
35893 { ac_try='test -z "$ac_c_werror_flag"
35894 || test ! -s conftest.err'
35895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35896 (eval $ac_try) 2>&5
35897 ac_status=$?
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); }; } &&
35900 { ac_try='test -s conftest$ac_exeext'
35901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35902 (eval $ac_try) 2>&5
35903 ac_status=$?
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); }; }; then
35906 eval "$as_ac_var=yes"
35907 else
35908 echo "$as_me: failed program was:" >&5
35909 sed 's/^/| /' conftest.$ac_ext >&5
35911 eval "$as_ac_var=no"
35913 rm -f conftest.err conftest.$ac_objext \
35914 conftest$ac_exeext conftest.$ac_ext
35916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35918 if test `eval echo '${'$as_ac_var'}'` = yes; then
35919 cat >>confdefs.h <<_ACEOF
35920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35921 _ACEOF
35924 done
35931 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35932 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35933 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35934 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 else
35940 ac_ext=cc
35941 ac_cpp='$CXXCPP $CPPFLAGS'
35942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946 cat >conftest.$ac_ext <<_ACEOF
35947 /* confdefs.h. */
35948 _ACEOF
35949 cat confdefs.h >>conftest.$ac_ext
35950 cat >>conftest.$ac_ext <<_ACEOF
35951 /* end confdefs.h. */
35952 #include <math.h>
35954 main ()
35956 atan2f(0, 0);
35958 return 0;
35960 _ACEOF
35961 rm -f conftest.$ac_objext
35962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35963 (eval $ac_compile) 2>conftest.er1
35964 ac_status=$?
35965 grep -v '^ *+' conftest.er1 >conftest.err
35966 rm -f conftest.er1
35967 cat conftest.err >&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); } &&
35970 { ac_try='test -z "$ac_cxx_werror_flag"
35971 || test ! -s conftest.err'
35972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35973 (eval $ac_try) 2>&5
35974 ac_status=$?
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); }; } &&
35977 { ac_try='test -s conftest.$ac_objext'
35978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35979 (eval $ac_try) 2>&5
35980 ac_status=$?
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); }; }; then
35983 glibcxx_cv_func_atan2f_use=yes
35984 else
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.$ac_ext >&5
35988 glibcxx_cv_func_atan2f_use=no
35990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35991 ac_ext=c
35992 ac_cpp='$CPP $CPPFLAGS'
35993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36002 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36004 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36006 for ac_func in atan2f
36008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36009 echo "$as_me:$LINENO: checking for $ac_func" >&5
36010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36011 if eval "test \"\${$as_ac_var+set}\" = set"; then
36012 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 else
36014 if test x$gcc_no_link = xyes; then
36015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36017 { (exit 1); exit 1; }; }
36019 cat >conftest.$ac_ext <<_ACEOF
36020 /* confdefs.h. */
36021 _ACEOF
36022 cat confdefs.h >>conftest.$ac_ext
36023 cat >>conftest.$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36027 #define $ac_func innocuous_$ac_func
36029 /* System header to define __stub macros and hopefully few prototypes,
36030 which can conflict with char $ac_func (); below.
36031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36032 <limits.h> exists even on freestanding compilers. */
36034 #ifdef __STDC__
36035 # include <limits.h>
36036 #else
36037 # include <assert.h>
36038 #endif
36040 #undef $ac_func
36042 /* Override any gcc2 internal prototype to avoid an error. */
36043 #ifdef __cplusplus
36044 extern "C"
36046 #endif
36047 /* We use char because int might match the return type of a gcc2
36048 builtin and then its argument prototype would still apply. */
36049 char $ac_func ();
36050 /* The GNU C library defines this for functions which it implements
36051 to always fail with ENOSYS. Some functions are actually named
36052 something starting with __ and the normal name is an alias. */
36053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36054 choke me
36055 #else
36056 char (*f) () = $ac_func;
36057 #endif
36058 #ifdef __cplusplus
36060 #endif
36063 main ()
36065 return f != $ac_func;
36067 return 0;
36069 _ACEOF
36070 rm -f conftest.$ac_objext conftest$ac_exeext
36071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36072 (eval $ac_link) 2>conftest.er1
36073 ac_status=$?
36074 grep -v '^ *+' conftest.er1 >conftest.err
36075 rm -f conftest.er1
36076 cat conftest.err >&5
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); } &&
36079 { ac_try='test -z "$ac_c_werror_flag"
36080 || test ! -s conftest.err'
36081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36082 (eval $ac_try) 2>&5
36083 ac_status=$?
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); }; } &&
36086 { ac_try='test -s conftest$ac_exeext'
36087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36088 (eval $ac_try) 2>&5
36089 ac_status=$?
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); }; }; then
36092 eval "$as_ac_var=yes"
36093 else
36094 echo "$as_me: failed program was:" >&5
36095 sed 's/^/| /' conftest.$ac_ext >&5
36097 eval "$as_ac_var=no"
36099 rm -f conftest.err conftest.$ac_objext \
36100 conftest$ac_exeext conftest.$ac_ext
36102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36104 if test `eval echo '${'$as_ac_var'}'` = yes; then
36105 cat >>confdefs.h <<_ACEOF
36106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36107 _ACEOF
36110 done
36112 else
36114 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36115 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36116 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36117 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36118 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 else
36123 ac_ext=cc
36124 ac_cpp='$CXXCPP $CPPFLAGS'
36125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36129 cat >conftest.$ac_ext <<_ACEOF
36130 /* confdefs.h. */
36131 _ACEOF
36132 cat confdefs.h >>conftest.$ac_ext
36133 cat >>conftest.$ac_ext <<_ACEOF
36134 /* end confdefs.h. */
36135 #include <math.h>
36137 main ()
36139 _atan2f(0, 0);
36141 return 0;
36143 _ACEOF
36144 rm -f conftest.$ac_objext
36145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36146 (eval $ac_compile) 2>conftest.er1
36147 ac_status=$?
36148 grep -v '^ *+' conftest.er1 >conftest.err
36149 rm -f conftest.er1
36150 cat conftest.err >&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } &&
36153 { ac_try='test -z "$ac_cxx_werror_flag"
36154 || test ! -s conftest.err'
36155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36156 (eval $ac_try) 2>&5
36157 ac_status=$?
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); }; } &&
36160 { ac_try='test -s conftest.$ac_objext'
36161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36162 (eval $ac_try) 2>&5
36163 ac_status=$?
36164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36165 (exit $ac_status); }; }; then
36166 glibcxx_cv_func__atan2f_use=yes
36167 else
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.$ac_ext >&5
36171 glibcxx_cv_func__atan2f_use=no
36173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36174 ac_ext=c
36175 ac_cpp='$CPP $CPPFLAGS'
36176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36185 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36187 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36189 for ac_func in _atan2f
36191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36192 echo "$as_me:$LINENO: checking for $ac_func" >&5
36193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36194 if eval "test \"\${$as_ac_var+set}\" = set"; then
36195 echo $ECHO_N "(cached) $ECHO_C" >&6
36196 else
36197 if test x$gcc_no_link = xyes; then
36198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36200 { (exit 1); exit 1; }; }
36202 cat >conftest.$ac_ext <<_ACEOF
36203 /* confdefs.h. */
36204 _ACEOF
36205 cat confdefs.h >>conftest.$ac_ext
36206 cat >>conftest.$ac_ext <<_ACEOF
36207 /* end confdefs.h. */
36208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36210 #define $ac_func innocuous_$ac_func
36212 /* System header to define __stub macros and hopefully few prototypes,
36213 which can conflict with char $ac_func (); below.
36214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36215 <limits.h> exists even on freestanding compilers. */
36217 #ifdef __STDC__
36218 # include <limits.h>
36219 #else
36220 # include <assert.h>
36221 #endif
36223 #undef $ac_func
36225 /* Override any gcc2 internal prototype to avoid an error. */
36226 #ifdef __cplusplus
36227 extern "C"
36229 #endif
36230 /* We use char because int might match the return type of a gcc2
36231 builtin and then its argument prototype would still apply. */
36232 char $ac_func ();
36233 /* The GNU C library defines this for functions which it implements
36234 to always fail with ENOSYS. Some functions are actually named
36235 something starting with __ and the normal name is an alias. */
36236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36237 choke me
36238 #else
36239 char (*f) () = $ac_func;
36240 #endif
36241 #ifdef __cplusplus
36243 #endif
36246 main ()
36248 return f != $ac_func;
36250 return 0;
36252 _ACEOF
36253 rm -f conftest.$ac_objext conftest$ac_exeext
36254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36255 (eval $ac_link) 2>conftest.er1
36256 ac_status=$?
36257 grep -v '^ *+' conftest.er1 >conftest.err
36258 rm -f conftest.er1
36259 cat conftest.err >&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } &&
36262 { ac_try='test -z "$ac_c_werror_flag"
36263 || test ! -s conftest.err'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try='test -s conftest$ac_exeext'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36272 ac_status=$?
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; }; then
36275 eval "$as_ac_var=yes"
36276 else
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36280 eval "$as_ac_var=no"
36282 rm -f conftest.err conftest.$ac_objext \
36283 conftest$ac_exeext conftest.$ac_ext
36285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36287 if test `eval echo '${'$as_ac_var'}'` = yes; then
36288 cat >>confdefs.h <<_ACEOF
36289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36290 _ACEOF
36293 done
36300 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36301 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36302 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36303 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36304 echo $ECHO_N "(cached) $ECHO_C" >&6
36305 else
36309 ac_ext=cc
36310 ac_cpp='$CXXCPP $CPPFLAGS'
36311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36315 cat >conftest.$ac_ext <<_ACEOF
36316 /* confdefs.h. */
36317 _ACEOF
36318 cat confdefs.h >>conftest.$ac_ext
36319 cat >>conftest.$ac_ext <<_ACEOF
36320 /* end confdefs.h. */
36321 #include <math.h>
36322 #ifdef HAVE_IEEEFP_H
36323 #include <ieeefp.h>
36324 #endif
36327 main ()
36329 fabsf(0);
36331 return 0;
36333 _ACEOF
36334 rm -f conftest.$ac_objext
36335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36336 (eval $ac_compile) 2>conftest.er1
36337 ac_status=$?
36338 grep -v '^ *+' conftest.er1 >conftest.err
36339 rm -f conftest.er1
36340 cat conftest.err >&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); } &&
36343 { ac_try='test -z "$ac_cxx_werror_flag"
36344 || test ! -s conftest.err'
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36347 ac_status=$?
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; } &&
36350 { ac_try='test -s conftest.$ac_objext'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36353 ac_status=$?
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; }; then
36356 glibcxx_cv_func_fabsf_use=yes
36357 else
36358 echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.$ac_ext >&5
36361 glibcxx_cv_func_fabsf_use=no
36363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36364 ac_ext=c
36365 ac_cpp='$CPP $CPPFLAGS'
36366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36375 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36377 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36379 for ac_func in fabsf
36381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36382 echo "$as_me:$LINENO: checking for $ac_func" >&5
36383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36384 if eval "test \"\${$as_ac_var+set}\" = set"; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 else
36387 if test x$gcc_no_link = xyes; then
36388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36390 { (exit 1); exit 1; }; }
36392 cat >conftest.$ac_ext <<_ACEOF
36393 /* confdefs.h. */
36394 _ACEOF
36395 cat confdefs.h >>conftest.$ac_ext
36396 cat >>conftest.$ac_ext <<_ACEOF
36397 /* end confdefs.h. */
36398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36400 #define $ac_func innocuous_$ac_func
36402 /* System header to define __stub macros and hopefully few prototypes,
36403 which can conflict with char $ac_func (); below.
36404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36405 <limits.h> exists even on freestanding compilers. */
36407 #ifdef __STDC__
36408 # include <limits.h>
36409 #else
36410 # include <assert.h>
36411 #endif
36413 #undef $ac_func
36415 /* Override any gcc2 internal prototype to avoid an error. */
36416 #ifdef __cplusplus
36417 extern "C"
36419 #endif
36420 /* We use char because int might match the return type of a gcc2
36421 builtin and then its argument prototype would still apply. */
36422 char $ac_func ();
36423 /* The GNU C library defines this for functions which it implements
36424 to always fail with ENOSYS. Some functions are actually named
36425 something starting with __ and the normal name is an alias. */
36426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36427 choke me
36428 #else
36429 char (*f) () = $ac_func;
36430 #endif
36431 #ifdef __cplusplus
36433 #endif
36436 main ()
36438 return f != $ac_func;
36440 return 0;
36442 _ACEOF
36443 rm -f conftest.$ac_objext conftest$ac_exeext
36444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36445 (eval $ac_link) 2>conftest.er1
36446 ac_status=$?
36447 grep -v '^ *+' conftest.er1 >conftest.err
36448 rm -f conftest.er1
36449 cat conftest.err >&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } &&
36452 { ac_try='test -z "$ac_c_werror_flag"
36453 || test ! -s conftest.err'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; } &&
36459 { ac_try='test -s conftest$ac_exeext'
36460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36461 (eval $ac_try) 2>&5
36462 ac_status=$?
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); }; }; then
36465 eval "$as_ac_var=yes"
36466 else
36467 echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36470 eval "$as_ac_var=no"
36472 rm -f conftest.err conftest.$ac_objext \
36473 conftest$ac_exeext conftest.$ac_ext
36475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36477 if test `eval echo '${'$as_ac_var'}'` = yes; then
36478 cat >>confdefs.h <<_ACEOF
36479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36480 _ACEOF
36483 done
36485 else
36487 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36488 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36489 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36490 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36491 echo $ECHO_N "(cached) $ECHO_C" >&6
36492 else
36496 ac_ext=cc
36497 ac_cpp='$CXXCPP $CPPFLAGS'
36498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36502 cat >conftest.$ac_ext <<_ACEOF
36503 /* confdefs.h. */
36504 _ACEOF
36505 cat confdefs.h >>conftest.$ac_ext
36506 cat >>conftest.$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36508 #include <math.h>
36509 #ifdef HAVE_IEEEFP_H
36510 #include <ieeefp.h>
36511 #endif
36514 main ()
36516 _fabsf(0);
36518 return 0;
36520 _ACEOF
36521 rm -f conftest.$ac_objext
36522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36523 (eval $ac_compile) 2>conftest.er1
36524 ac_status=$?
36525 grep -v '^ *+' conftest.er1 >conftest.err
36526 rm -f conftest.er1
36527 cat conftest.err >&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); } &&
36530 { ac_try='test -z "$ac_cxx_werror_flag"
36531 || test ! -s conftest.err'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36534 ac_status=$?
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; } &&
36537 { ac_try='test -s conftest.$ac_objext'
36538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36539 (eval $ac_try) 2>&5
36540 ac_status=$?
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); }; }; then
36543 glibcxx_cv_func__fabsf_use=yes
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36548 glibcxx_cv_func__fabsf_use=no
36550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36551 ac_ext=c
36552 ac_cpp='$CPP $CPPFLAGS'
36553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36562 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36564 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36566 for ac_func in _fabsf
36568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36569 echo "$as_me:$LINENO: checking for $ac_func" >&5
36570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36571 if eval "test \"\${$as_ac_var+set}\" = set"; then
36572 echo $ECHO_N "(cached) $ECHO_C" >&6
36573 else
36574 if test x$gcc_no_link = xyes; then
36575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36577 { (exit 1); exit 1; }; }
36579 cat >conftest.$ac_ext <<_ACEOF
36580 /* confdefs.h. */
36581 _ACEOF
36582 cat confdefs.h >>conftest.$ac_ext
36583 cat >>conftest.$ac_ext <<_ACEOF
36584 /* end confdefs.h. */
36585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36587 #define $ac_func innocuous_$ac_func
36589 /* System header to define __stub macros and hopefully few prototypes,
36590 which can conflict with char $ac_func (); below.
36591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36592 <limits.h> exists even on freestanding compilers. */
36594 #ifdef __STDC__
36595 # include <limits.h>
36596 #else
36597 # include <assert.h>
36598 #endif
36600 #undef $ac_func
36602 /* Override any gcc2 internal prototype to avoid an error. */
36603 #ifdef __cplusplus
36604 extern "C"
36606 #endif
36607 /* We use char because int might match the return type of a gcc2
36608 builtin and then its argument prototype would still apply. */
36609 char $ac_func ();
36610 /* The GNU C library defines this for functions which it implements
36611 to always fail with ENOSYS. Some functions are actually named
36612 something starting with __ and the normal name is an alias. */
36613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36614 choke me
36615 #else
36616 char (*f) () = $ac_func;
36617 #endif
36618 #ifdef __cplusplus
36620 #endif
36623 main ()
36625 return f != $ac_func;
36627 return 0;
36629 _ACEOF
36630 rm -f conftest.$ac_objext conftest$ac_exeext
36631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36632 (eval $ac_link) 2>conftest.er1
36633 ac_status=$?
36634 grep -v '^ *+' conftest.er1 >conftest.err
36635 rm -f conftest.er1
36636 cat conftest.err >&5
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); } &&
36639 { ac_try='test -z "$ac_c_werror_flag"
36640 || test ! -s conftest.err'
36641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36642 (eval $ac_try) 2>&5
36643 ac_status=$?
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); }; } &&
36646 { ac_try='test -s conftest$ac_exeext'
36647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36648 (eval $ac_try) 2>&5
36649 ac_status=$?
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); }; }; then
36652 eval "$as_ac_var=yes"
36653 else
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36657 eval "$as_ac_var=no"
36659 rm -f conftest.err conftest.$ac_objext \
36660 conftest$ac_exeext conftest.$ac_ext
36662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36664 if test `eval echo '${'$as_ac_var'}'` = yes; then
36665 cat >>confdefs.h <<_ACEOF
36666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36667 _ACEOF
36670 done
36677 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36678 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36679 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36680 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36681 echo $ECHO_N "(cached) $ECHO_C" >&6
36682 else
36686 ac_ext=cc
36687 ac_cpp='$CXXCPP $CPPFLAGS'
36688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36692 cat >conftest.$ac_ext <<_ACEOF
36693 /* confdefs.h. */
36694 _ACEOF
36695 cat confdefs.h >>conftest.$ac_ext
36696 cat >>conftest.$ac_ext <<_ACEOF
36697 /* end confdefs.h. */
36698 #include <math.h>
36700 main ()
36702 fmodf(0, 0);
36704 return 0;
36706 _ACEOF
36707 rm -f conftest.$ac_objext
36708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36709 (eval $ac_compile) 2>conftest.er1
36710 ac_status=$?
36711 grep -v '^ *+' conftest.er1 >conftest.err
36712 rm -f conftest.er1
36713 cat conftest.err >&5
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); } &&
36716 { ac_try='test -z "$ac_cxx_werror_flag"
36717 || test ! -s conftest.err'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36720 ac_status=$?
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; } &&
36723 { ac_try='test -s conftest.$ac_objext'
36724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36725 (eval $ac_try) 2>&5
36726 ac_status=$?
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); }; }; then
36729 glibcxx_cv_func_fmodf_use=yes
36730 else
36731 echo "$as_me: failed program was:" >&5
36732 sed 's/^/| /' conftest.$ac_ext >&5
36734 glibcxx_cv_func_fmodf_use=no
36736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36737 ac_ext=c
36738 ac_cpp='$CPP $CPPFLAGS'
36739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36748 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36750 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36752 for ac_func in fmodf
36754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36755 echo "$as_me:$LINENO: checking for $ac_func" >&5
36756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36757 if eval "test \"\${$as_ac_var+set}\" = set"; then
36758 echo $ECHO_N "(cached) $ECHO_C" >&6
36759 else
36760 if test x$gcc_no_link = xyes; then
36761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36763 { (exit 1); exit 1; }; }
36765 cat >conftest.$ac_ext <<_ACEOF
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36773 #define $ac_func innocuous_$ac_func
36775 /* System header to define __stub macros and hopefully few prototypes,
36776 which can conflict with char $ac_func (); below.
36777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36778 <limits.h> exists even on freestanding compilers. */
36780 #ifdef __STDC__
36781 # include <limits.h>
36782 #else
36783 # include <assert.h>
36784 #endif
36786 #undef $ac_func
36788 /* Override any gcc2 internal prototype to avoid an error. */
36789 #ifdef __cplusplus
36790 extern "C"
36792 #endif
36793 /* We use char because int might match the return type of a gcc2
36794 builtin and then its argument prototype would still apply. */
36795 char $ac_func ();
36796 /* The GNU C library defines this for functions which it implements
36797 to always fail with ENOSYS. Some functions are actually named
36798 something starting with __ and the normal name is an alias. */
36799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36800 choke me
36801 #else
36802 char (*f) () = $ac_func;
36803 #endif
36804 #ifdef __cplusplus
36806 #endif
36809 main ()
36811 return f != $ac_func;
36813 return 0;
36815 _ACEOF
36816 rm -f conftest.$ac_objext conftest$ac_exeext
36817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36818 (eval $ac_link) 2>conftest.er1
36819 ac_status=$?
36820 grep -v '^ *+' conftest.er1 >conftest.err
36821 rm -f conftest.er1
36822 cat conftest.err >&5
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); } &&
36825 { ac_try='test -z "$ac_c_werror_flag"
36826 || test ! -s conftest.err'
36827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36828 (eval $ac_try) 2>&5
36829 ac_status=$?
36830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831 (exit $ac_status); }; } &&
36832 { ac_try='test -s conftest$ac_exeext'
36833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36834 (eval $ac_try) 2>&5
36835 ac_status=$?
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); }; }; then
36838 eval "$as_ac_var=yes"
36839 else
36840 echo "$as_me: failed program was:" >&5
36841 sed 's/^/| /' conftest.$ac_ext >&5
36843 eval "$as_ac_var=no"
36845 rm -f conftest.err conftest.$ac_objext \
36846 conftest$ac_exeext conftest.$ac_ext
36848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36850 if test `eval echo '${'$as_ac_var'}'` = yes; then
36851 cat >>confdefs.h <<_ACEOF
36852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36853 _ACEOF
36856 done
36858 else
36860 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36861 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36862 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36863 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36864 echo $ECHO_N "(cached) $ECHO_C" >&6
36865 else
36869 ac_ext=cc
36870 ac_cpp='$CXXCPP $CPPFLAGS'
36871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36875 cat >conftest.$ac_ext <<_ACEOF
36876 /* confdefs.h. */
36877 _ACEOF
36878 cat confdefs.h >>conftest.$ac_ext
36879 cat >>conftest.$ac_ext <<_ACEOF
36880 /* end confdefs.h. */
36881 #include <math.h>
36883 main ()
36885 _fmodf(0, 0);
36887 return 0;
36889 _ACEOF
36890 rm -f conftest.$ac_objext
36891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36892 (eval $ac_compile) 2>conftest.er1
36893 ac_status=$?
36894 grep -v '^ *+' conftest.er1 >conftest.err
36895 rm -f conftest.er1
36896 cat conftest.err >&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } &&
36899 { ac_try='test -z "$ac_cxx_werror_flag"
36900 || test ! -s conftest.err'
36901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902 (eval $ac_try) 2>&5
36903 ac_status=$?
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); }; } &&
36906 { ac_try='test -s conftest.$ac_objext'
36907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36908 (eval $ac_try) 2>&5
36909 ac_status=$?
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); }; }; then
36912 glibcxx_cv_func__fmodf_use=yes
36913 else
36914 echo "$as_me: failed program was:" >&5
36915 sed 's/^/| /' conftest.$ac_ext >&5
36917 glibcxx_cv_func__fmodf_use=no
36919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36920 ac_ext=c
36921 ac_cpp='$CPP $CPPFLAGS'
36922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36931 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36933 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36935 for ac_func in _fmodf
36937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36938 echo "$as_me:$LINENO: checking for $ac_func" >&5
36939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36940 if eval "test \"\${$as_ac_var+set}\" = set"; then
36941 echo $ECHO_N "(cached) $ECHO_C" >&6
36942 else
36943 if test x$gcc_no_link = xyes; then
36944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36946 { (exit 1); exit 1; }; }
36948 cat >conftest.$ac_ext <<_ACEOF
36949 /* confdefs.h. */
36950 _ACEOF
36951 cat confdefs.h >>conftest.$ac_ext
36952 cat >>conftest.$ac_ext <<_ACEOF
36953 /* end confdefs.h. */
36954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36956 #define $ac_func innocuous_$ac_func
36958 /* System header to define __stub macros and hopefully few prototypes,
36959 which can conflict with char $ac_func (); below.
36960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36961 <limits.h> exists even on freestanding compilers. */
36963 #ifdef __STDC__
36964 # include <limits.h>
36965 #else
36966 # include <assert.h>
36967 #endif
36969 #undef $ac_func
36971 /* Override any gcc2 internal prototype to avoid an error. */
36972 #ifdef __cplusplus
36973 extern "C"
36975 #endif
36976 /* We use char because int might match the return type of a gcc2
36977 builtin and then its argument prototype would still apply. */
36978 char $ac_func ();
36979 /* The GNU C library defines this for functions which it implements
36980 to always fail with ENOSYS. Some functions are actually named
36981 something starting with __ and the normal name is an alias. */
36982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36983 choke me
36984 #else
36985 char (*f) () = $ac_func;
36986 #endif
36987 #ifdef __cplusplus
36989 #endif
36992 main ()
36994 return f != $ac_func;
36996 return 0;
36998 _ACEOF
36999 rm -f conftest.$ac_objext conftest$ac_exeext
37000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37001 (eval $ac_link) 2>conftest.er1
37002 ac_status=$?
37003 grep -v '^ *+' conftest.er1 >conftest.err
37004 rm -f conftest.er1
37005 cat conftest.err >&5
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); } &&
37008 { ac_try='test -z "$ac_c_werror_flag"
37009 || test ! -s conftest.err'
37010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37011 (eval $ac_try) 2>&5
37012 ac_status=$?
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); }; } &&
37015 { ac_try='test -s conftest$ac_exeext'
37016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37017 (eval $ac_try) 2>&5
37018 ac_status=$?
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); }; }; then
37021 eval "$as_ac_var=yes"
37022 else
37023 echo "$as_me: failed program was:" >&5
37024 sed 's/^/| /' conftest.$ac_ext >&5
37026 eval "$as_ac_var=no"
37028 rm -f conftest.err conftest.$ac_objext \
37029 conftest$ac_exeext conftest.$ac_ext
37031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37033 if test `eval echo '${'$as_ac_var'}'` = yes; then
37034 cat >>confdefs.h <<_ACEOF
37035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37036 _ACEOF
37039 done
37046 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37047 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37048 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37049 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37051 else
37055 ac_ext=cc
37056 ac_cpp='$CXXCPP $CPPFLAGS'
37057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37061 cat >conftest.$ac_ext <<_ACEOF
37062 /* confdefs.h. */
37063 _ACEOF
37064 cat confdefs.h >>conftest.$ac_ext
37065 cat >>conftest.$ac_ext <<_ACEOF
37066 /* end confdefs.h. */
37067 #include <math.h>
37069 main ()
37071 frexpf(0, 0);
37073 return 0;
37075 _ACEOF
37076 rm -f conftest.$ac_objext
37077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37078 (eval $ac_compile) 2>conftest.er1
37079 ac_status=$?
37080 grep -v '^ *+' conftest.er1 >conftest.err
37081 rm -f conftest.er1
37082 cat conftest.err >&5
37083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084 (exit $ac_status); } &&
37085 { ac_try='test -z "$ac_cxx_werror_flag"
37086 || test ! -s conftest.err'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37089 ac_status=$?
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; } &&
37092 { ac_try='test -s conftest.$ac_objext'
37093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37094 (eval $ac_try) 2>&5
37095 ac_status=$?
37096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097 (exit $ac_status); }; }; then
37098 glibcxx_cv_func_frexpf_use=yes
37099 else
37100 echo "$as_me: failed program was:" >&5
37101 sed 's/^/| /' conftest.$ac_ext >&5
37103 glibcxx_cv_func_frexpf_use=no
37105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37106 ac_ext=c
37107 ac_cpp='$CPP $CPPFLAGS'
37108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37117 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37119 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37121 for ac_func in frexpf
37123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37124 echo "$as_me:$LINENO: checking for $ac_func" >&5
37125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37126 if eval "test \"\${$as_ac_var+set}\" = set"; then
37127 echo $ECHO_N "(cached) $ECHO_C" >&6
37128 else
37129 if test x$gcc_no_link = xyes; then
37130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37132 { (exit 1); exit 1; }; }
37134 cat >conftest.$ac_ext <<_ACEOF
37135 /* confdefs.h. */
37136 _ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37142 #define $ac_func innocuous_$ac_func
37144 /* System header to define __stub macros and hopefully few prototypes,
37145 which can conflict with char $ac_func (); below.
37146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37147 <limits.h> exists even on freestanding compilers. */
37149 #ifdef __STDC__
37150 # include <limits.h>
37151 #else
37152 # include <assert.h>
37153 #endif
37155 #undef $ac_func
37157 /* Override any gcc2 internal prototype to avoid an error. */
37158 #ifdef __cplusplus
37159 extern "C"
37161 #endif
37162 /* We use char because int might match the return type of a gcc2
37163 builtin and then its argument prototype would still apply. */
37164 char $ac_func ();
37165 /* The GNU C library defines this for functions which it implements
37166 to always fail with ENOSYS. Some functions are actually named
37167 something starting with __ and the normal name is an alias. */
37168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37169 choke me
37170 #else
37171 char (*f) () = $ac_func;
37172 #endif
37173 #ifdef __cplusplus
37175 #endif
37178 main ()
37180 return f != $ac_func;
37182 return 0;
37184 _ACEOF
37185 rm -f conftest.$ac_objext conftest$ac_exeext
37186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37187 (eval $ac_link) 2>conftest.er1
37188 ac_status=$?
37189 grep -v '^ *+' conftest.er1 >conftest.err
37190 rm -f conftest.er1
37191 cat conftest.err >&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } &&
37194 { ac_try='test -z "$ac_c_werror_flag"
37195 || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37198 ac_status=$?
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try='test -s conftest$ac_exeext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37204 ac_status=$?
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 eval "$as_ac_var=yes"
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37212 eval "$as_ac_var=no"
37214 rm -f conftest.err conftest.$ac_objext \
37215 conftest$ac_exeext conftest.$ac_ext
37217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37219 if test `eval echo '${'$as_ac_var'}'` = yes; then
37220 cat >>confdefs.h <<_ACEOF
37221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37222 _ACEOF
37225 done
37227 else
37229 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37230 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37231 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37232 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 else
37238 ac_ext=cc
37239 ac_cpp='$CXXCPP $CPPFLAGS'
37240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37244 cat >conftest.$ac_ext <<_ACEOF
37245 /* confdefs.h. */
37246 _ACEOF
37247 cat confdefs.h >>conftest.$ac_ext
37248 cat >>conftest.$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37250 #include <math.h>
37252 main ()
37254 _frexpf(0, 0);
37256 return 0;
37258 _ACEOF
37259 rm -f conftest.$ac_objext
37260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37261 (eval $ac_compile) 2>conftest.er1
37262 ac_status=$?
37263 grep -v '^ *+' conftest.er1 >conftest.err
37264 rm -f conftest.er1
37265 cat conftest.err >&5
37266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37267 (exit $ac_status); } &&
37268 { ac_try='test -z "$ac_cxx_werror_flag"
37269 || test ! -s conftest.err'
37270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37271 (eval $ac_try) 2>&5
37272 ac_status=$?
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); }; } &&
37275 { ac_try='test -s conftest.$ac_objext'
37276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37277 (eval $ac_try) 2>&5
37278 ac_status=$?
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); }; }; then
37281 glibcxx_cv_func__frexpf_use=yes
37282 else
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.$ac_ext >&5
37286 glibcxx_cv_func__frexpf_use=no
37288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37289 ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37300 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37302 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37304 for ac_func in _frexpf
37306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37307 echo "$as_me:$LINENO: checking for $ac_func" >&5
37308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37309 if eval "test \"\${$as_ac_var+set}\" = set"; then
37310 echo $ECHO_N "(cached) $ECHO_C" >&6
37311 else
37312 if test x$gcc_no_link = xyes; then
37313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37315 { (exit 1); exit 1; }; }
37317 cat >conftest.$ac_ext <<_ACEOF
37318 /* confdefs.h. */
37319 _ACEOF
37320 cat confdefs.h >>conftest.$ac_ext
37321 cat >>conftest.$ac_ext <<_ACEOF
37322 /* end confdefs.h. */
37323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37325 #define $ac_func innocuous_$ac_func
37327 /* System header to define __stub macros and hopefully few prototypes,
37328 which can conflict with char $ac_func (); below.
37329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37330 <limits.h> exists even on freestanding compilers. */
37332 #ifdef __STDC__
37333 # include <limits.h>
37334 #else
37335 # include <assert.h>
37336 #endif
37338 #undef $ac_func
37340 /* Override any gcc2 internal prototype to avoid an error. */
37341 #ifdef __cplusplus
37342 extern "C"
37344 #endif
37345 /* We use char because int might match the return type of a gcc2
37346 builtin and then its argument prototype would still apply. */
37347 char $ac_func ();
37348 /* The GNU C library defines this for functions which it implements
37349 to always fail with ENOSYS. Some functions are actually named
37350 something starting with __ and the normal name is an alias. */
37351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37352 choke me
37353 #else
37354 char (*f) () = $ac_func;
37355 #endif
37356 #ifdef __cplusplus
37358 #endif
37361 main ()
37363 return f != $ac_func;
37365 return 0;
37367 _ACEOF
37368 rm -f conftest.$ac_objext conftest$ac_exeext
37369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37370 (eval $ac_link) 2>conftest.er1
37371 ac_status=$?
37372 grep -v '^ *+' conftest.er1 >conftest.err
37373 rm -f conftest.er1
37374 cat conftest.err >&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); } &&
37377 { ac_try='test -z "$ac_c_werror_flag"
37378 || test ! -s conftest.err'
37379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37380 (eval $ac_try) 2>&5
37381 ac_status=$?
37382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383 (exit $ac_status); }; } &&
37384 { ac_try='test -s conftest$ac_exeext'
37385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37386 (eval $ac_try) 2>&5
37387 ac_status=$?
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); }; }; then
37390 eval "$as_ac_var=yes"
37391 else
37392 echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.$ac_ext >&5
37395 eval "$as_ac_var=no"
37397 rm -f conftest.err conftest.$ac_objext \
37398 conftest$ac_exeext conftest.$ac_ext
37400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37402 if test `eval echo '${'$as_ac_var'}'` = yes; then
37403 cat >>confdefs.h <<_ACEOF
37404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37405 _ACEOF
37408 done
37415 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37416 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37417 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37418 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37424 ac_ext=cc
37425 ac_cpp='$CXXCPP $CPPFLAGS'
37426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37430 cat >conftest.$ac_ext <<_ACEOF
37431 /* confdefs.h. */
37432 _ACEOF
37433 cat confdefs.h >>conftest.$ac_ext
37434 cat >>conftest.$ac_ext <<_ACEOF
37435 /* end confdefs.h. */
37436 #include <math.h>
37438 main ()
37440 hypotf(0, 0);
37442 return 0;
37444 _ACEOF
37445 rm -f conftest.$ac_objext
37446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37447 (eval $ac_compile) 2>conftest.er1
37448 ac_status=$?
37449 grep -v '^ *+' conftest.er1 >conftest.err
37450 rm -f conftest.er1
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } &&
37454 { ac_try='test -z "$ac_cxx_werror_flag"
37455 || test ! -s conftest.err'
37456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37457 (eval $ac_try) 2>&5
37458 ac_status=$?
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); }; } &&
37461 { ac_try='test -s conftest.$ac_objext'
37462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37463 (eval $ac_try) 2>&5
37464 ac_status=$?
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); }; }; then
37467 glibcxx_cv_func_hypotf_use=yes
37468 else
37469 echo "$as_me: failed program was:" >&5
37470 sed 's/^/| /' conftest.$ac_ext >&5
37472 glibcxx_cv_func_hypotf_use=no
37474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37475 ac_ext=c
37476 ac_cpp='$CPP $CPPFLAGS'
37477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37486 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37488 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37490 for ac_func in hypotf
37492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37493 echo "$as_me:$LINENO: checking for $ac_func" >&5
37494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37495 if eval "test \"\${$as_ac_var+set}\" = set"; then
37496 echo $ECHO_N "(cached) $ECHO_C" >&6
37497 else
37498 if test x$gcc_no_link = xyes; then
37499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37501 { (exit 1); exit 1; }; }
37503 cat >conftest.$ac_ext <<_ACEOF
37504 /* confdefs.h. */
37505 _ACEOF
37506 cat confdefs.h >>conftest.$ac_ext
37507 cat >>conftest.$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37511 #define $ac_func innocuous_$ac_func
37513 /* System header to define __stub macros and hopefully few prototypes,
37514 which can conflict with char $ac_func (); below.
37515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37516 <limits.h> exists even on freestanding compilers. */
37518 #ifdef __STDC__
37519 # include <limits.h>
37520 #else
37521 # include <assert.h>
37522 #endif
37524 #undef $ac_func
37526 /* Override any gcc2 internal prototype to avoid an error. */
37527 #ifdef __cplusplus
37528 extern "C"
37530 #endif
37531 /* We use char because int might match the return type of a gcc2
37532 builtin and then its argument prototype would still apply. */
37533 char $ac_func ();
37534 /* The GNU C library defines this for functions which it implements
37535 to always fail with ENOSYS. Some functions are actually named
37536 something starting with __ and the normal name is an alias. */
37537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37538 choke me
37539 #else
37540 char (*f) () = $ac_func;
37541 #endif
37542 #ifdef __cplusplus
37544 #endif
37547 main ()
37549 return f != $ac_func;
37551 return 0;
37553 _ACEOF
37554 rm -f conftest.$ac_objext conftest$ac_exeext
37555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37556 (eval $ac_link) 2>conftest.er1
37557 ac_status=$?
37558 grep -v '^ *+' conftest.er1 >conftest.err
37559 rm -f conftest.er1
37560 cat conftest.err >&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } &&
37563 { ac_try='test -z "$ac_c_werror_flag"
37564 || test ! -s conftest.err'
37565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37566 (eval $ac_try) 2>&5
37567 ac_status=$?
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); }; } &&
37570 { ac_try='test -s conftest$ac_exeext'
37571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37572 (eval $ac_try) 2>&5
37573 ac_status=$?
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); }; }; then
37576 eval "$as_ac_var=yes"
37577 else
37578 echo "$as_me: failed program was:" >&5
37579 sed 's/^/| /' conftest.$ac_ext >&5
37581 eval "$as_ac_var=no"
37583 rm -f conftest.err conftest.$ac_objext \
37584 conftest$ac_exeext conftest.$ac_ext
37586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37588 if test `eval echo '${'$as_ac_var'}'` = yes; then
37589 cat >>confdefs.h <<_ACEOF
37590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37591 _ACEOF
37594 done
37596 else
37598 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37599 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37600 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37601 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37602 echo $ECHO_N "(cached) $ECHO_C" >&6
37603 else
37607 ac_ext=cc
37608 ac_cpp='$CXXCPP $CPPFLAGS'
37609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613 cat >conftest.$ac_ext <<_ACEOF
37614 /* confdefs.h. */
37615 _ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37619 #include <math.h>
37621 main ()
37623 _hypotf(0, 0);
37625 return 0;
37627 _ACEOF
37628 rm -f conftest.$ac_objext
37629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37630 (eval $ac_compile) 2>conftest.er1
37631 ac_status=$?
37632 grep -v '^ *+' conftest.er1 >conftest.err
37633 rm -f conftest.er1
37634 cat conftest.err >&5
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); } &&
37637 { ac_try='test -z "$ac_cxx_werror_flag"
37638 || test ! -s conftest.err'
37639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37640 (eval $ac_try) 2>&5
37641 ac_status=$?
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); }; } &&
37644 { ac_try='test -s conftest.$ac_objext'
37645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646 (eval $ac_try) 2>&5
37647 ac_status=$?
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; }; then
37650 glibcxx_cv_func__hypotf_use=yes
37651 else
37652 echo "$as_me: failed program was:" >&5
37653 sed 's/^/| /' conftest.$ac_ext >&5
37655 glibcxx_cv_func__hypotf_use=no
37657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37658 ac_ext=c
37659 ac_cpp='$CPP $CPPFLAGS'
37660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37669 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37671 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37673 for ac_func in _hypotf
37675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37676 echo "$as_me:$LINENO: checking for $ac_func" >&5
37677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37678 if eval "test \"\${$as_ac_var+set}\" = set"; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37680 else
37681 if test x$gcc_no_link = xyes; then
37682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37684 { (exit 1); exit 1; }; }
37686 cat >conftest.$ac_ext <<_ACEOF
37687 /* confdefs.h. */
37688 _ACEOF
37689 cat confdefs.h >>conftest.$ac_ext
37690 cat >>conftest.$ac_ext <<_ACEOF
37691 /* end confdefs.h. */
37692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37694 #define $ac_func innocuous_$ac_func
37696 /* System header to define __stub macros and hopefully few prototypes,
37697 which can conflict with char $ac_func (); below.
37698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37699 <limits.h> exists even on freestanding compilers. */
37701 #ifdef __STDC__
37702 # include <limits.h>
37703 #else
37704 # include <assert.h>
37705 #endif
37707 #undef $ac_func
37709 /* Override any gcc2 internal prototype to avoid an error. */
37710 #ifdef __cplusplus
37711 extern "C"
37713 #endif
37714 /* We use char because int might match the return type of a gcc2
37715 builtin and then its argument prototype would still apply. */
37716 char $ac_func ();
37717 /* The GNU C library defines this for functions which it implements
37718 to always fail with ENOSYS. Some functions are actually named
37719 something starting with __ and the normal name is an alias. */
37720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37721 choke me
37722 #else
37723 char (*f) () = $ac_func;
37724 #endif
37725 #ifdef __cplusplus
37727 #endif
37730 main ()
37732 return f != $ac_func;
37734 return 0;
37736 _ACEOF
37737 rm -f conftest.$ac_objext conftest$ac_exeext
37738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37739 (eval $ac_link) 2>conftest.er1
37740 ac_status=$?
37741 grep -v '^ *+' conftest.er1 >conftest.err
37742 rm -f conftest.er1
37743 cat conftest.err >&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); } &&
37746 { ac_try='test -z "$ac_c_werror_flag"
37747 || test ! -s conftest.err'
37748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37749 (eval $ac_try) 2>&5
37750 ac_status=$?
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); }; } &&
37753 { ac_try='test -s conftest$ac_exeext'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37756 ac_status=$?
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; }; then
37759 eval "$as_ac_var=yes"
37760 else
37761 echo "$as_me: failed program was:" >&5
37762 sed 's/^/| /' conftest.$ac_ext >&5
37764 eval "$as_ac_var=no"
37766 rm -f conftest.err conftest.$ac_objext \
37767 conftest$ac_exeext conftest.$ac_ext
37769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37771 if test `eval echo '${'$as_ac_var'}'` = yes; then
37772 cat >>confdefs.h <<_ACEOF
37773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37774 _ACEOF
37777 done
37784 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37785 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37786 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37787 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37788 echo $ECHO_N "(cached) $ECHO_C" >&6
37789 else
37793 ac_ext=cc
37794 ac_cpp='$CXXCPP $CPPFLAGS'
37795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37799 cat >conftest.$ac_ext <<_ACEOF
37800 /* confdefs.h. */
37801 _ACEOF
37802 cat confdefs.h >>conftest.$ac_ext
37803 cat >>conftest.$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37805 #include <math.h>
37807 main ()
37809 ldexpf(0, 0);
37811 return 0;
37813 _ACEOF
37814 rm -f conftest.$ac_objext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37816 (eval $ac_compile) 2>conftest.er1
37817 ac_status=$?
37818 grep -v '^ *+' conftest.er1 >conftest.err
37819 rm -f conftest.er1
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } &&
37823 { ac_try='test -z "$ac_cxx_werror_flag"
37824 || test ! -s conftest.err'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37827 ac_status=$?
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; } &&
37830 { ac_try='test -s conftest.$ac_objext'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37833 ac_status=$?
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; }; then
37836 glibcxx_cv_func_ldexpf_use=yes
37837 else
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37841 glibcxx_cv_func_ldexpf_use=no
37843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37855 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37857 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37859 for ac_func in ldexpf
37861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37862 echo "$as_me:$LINENO: checking for $ac_func" >&5
37863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37864 if eval "test \"\${$as_ac_var+set}\" = set"; then
37865 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 else
37867 if test x$gcc_no_link = xyes; then
37868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37870 { (exit 1); exit 1; }; }
37872 cat >conftest.$ac_ext <<_ACEOF
37873 /* confdefs.h. */
37874 _ACEOF
37875 cat confdefs.h >>conftest.$ac_ext
37876 cat >>conftest.$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37880 #define $ac_func innocuous_$ac_func
37882 /* System header to define __stub macros and hopefully few prototypes,
37883 which can conflict with char $ac_func (); below.
37884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37885 <limits.h> exists even on freestanding compilers. */
37887 #ifdef __STDC__
37888 # include <limits.h>
37889 #else
37890 # include <assert.h>
37891 #endif
37893 #undef $ac_func
37895 /* Override any gcc2 internal prototype to avoid an error. */
37896 #ifdef __cplusplus
37897 extern "C"
37899 #endif
37900 /* We use char because int might match the return type of a gcc2
37901 builtin and then its argument prototype would still apply. */
37902 char $ac_func ();
37903 /* The GNU C library defines this for functions which it implements
37904 to always fail with ENOSYS. Some functions are actually named
37905 something starting with __ and the normal name is an alias. */
37906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37907 choke me
37908 #else
37909 char (*f) () = $ac_func;
37910 #endif
37911 #ifdef __cplusplus
37913 #endif
37916 main ()
37918 return f != $ac_func;
37920 return 0;
37922 _ACEOF
37923 rm -f conftest.$ac_objext conftest$ac_exeext
37924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37925 (eval $ac_link) 2>conftest.er1
37926 ac_status=$?
37927 grep -v '^ *+' conftest.er1 >conftest.err
37928 rm -f conftest.er1
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } &&
37932 { ac_try='test -z "$ac_c_werror_flag"
37933 || test ! -s conftest.err'
37934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37935 (eval $ac_try) 2>&5
37936 ac_status=$?
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); }; } &&
37939 { ac_try='test -s conftest$ac_exeext'
37940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37941 (eval $ac_try) 2>&5
37942 ac_status=$?
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); }; }; then
37945 eval "$as_ac_var=yes"
37946 else
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37950 eval "$as_ac_var=no"
37952 rm -f conftest.err conftest.$ac_objext \
37953 conftest$ac_exeext conftest.$ac_ext
37955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37957 if test `eval echo '${'$as_ac_var'}'` = yes; then
37958 cat >>confdefs.h <<_ACEOF
37959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37960 _ACEOF
37963 done
37965 else
37967 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37968 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37969 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37970 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37971 echo $ECHO_N "(cached) $ECHO_C" >&6
37972 else
37976 ac_ext=cc
37977 ac_cpp='$CXXCPP $CPPFLAGS'
37978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37982 cat >conftest.$ac_ext <<_ACEOF
37983 /* confdefs.h. */
37984 _ACEOF
37985 cat confdefs.h >>conftest.$ac_ext
37986 cat >>conftest.$ac_ext <<_ACEOF
37987 /* end confdefs.h. */
37988 #include <math.h>
37990 main ()
37992 _ldexpf(0, 0);
37994 return 0;
37996 _ACEOF
37997 rm -f conftest.$ac_objext
37998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37999 (eval $ac_compile) 2>conftest.er1
38000 ac_status=$?
38001 grep -v '^ *+' conftest.er1 >conftest.err
38002 rm -f conftest.er1
38003 cat conftest.err >&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); } &&
38006 { ac_try='test -z "$ac_cxx_werror_flag"
38007 || test ! -s conftest.err'
38008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38009 (eval $ac_try) 2>&5
38010 ac_status=$?
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); }; } &&
38013 { ac_try='test -s conftest.$ac_objext'
38014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38015 (eval $ac_try) 2>&5
38016 ac_status=$?
38017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38018 (exit $ac_status); }; }; then
38019 glibcxx_cv_func__ldexpf_use=yes
38020 else
38021 echo "$as_me: failed program was:" >&5
38022 sed 's/^/| /' conftest.$ac_ext >&5
38024 glibcxx_cv_func__ldexpf_use=no
38026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38027 ac_ext=c
38028 ac_cpp='$CPP $CPPFLAGS'
38029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38037 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38038 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38040 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38042 for ac_func in _ldexpf
38044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38045 echo "$as_me:$LINENO: checking for $ac_func" >&5
38046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38047 if eval "test \"\${$as_ac_var+set}\" = set"; then
38048 echo $ECHO_N "(cached) $ECHO_C" >&6
38049 else
38050 if test x$gcc_no_link = xyes; then
38051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38053 { (exit 1); exit 1; }; }
38055 cat >conftest.$ac_ext <<_ACEOF
38056 /* confdefs.h. */
38057 _ACEOF
38058 cat confdefs.h >>conftest.$ac_ext
38059 cat >>conftest.$ac_ext <<_ACEOF
38060 /* end confdefs.h. */
38061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38063 #define $ac_func innocuous_$ac_func
38065 /* System header to define __stub macros and hopefully few prototypes,
38066 which can conflict with char $ac_func (); below.
38067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38068 <limits.h> exists even on freestanding compilers. */
38070 #ifdef __STDC__
38071 # include <limits.h>
38072 #else
38073 # include <assert.h>
38074 #endif
38076 #undef $ac_func
38078 /* Override any gcc2 internal prototype to avoid an error. */
38079 #ifdef __cplusplus
38080 extern "C"
38082 #endif
38083 /* We use char because int might match the return type of a gcc2
38084 builtin and then its argument prototype would still apply. */
38085 char $ac_func ();
38086 /* The GNU C library defines this for functions which it implements
38087 to always fail with ENOSYS. Some functions are actually named
38088 something starting with __ and the normal name is an alias. */
38089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38090 choke me
38091 #else
38092 char (*f) () = $ac_func;
38093 #endif
38094 #ifdef __cplusplus
38096 #endif
38099 main ()
38101 return f != $ac_func;
38103 return 0;
38105 _ACEOF
38106 rm -f conftest.$ac_objext conftest$ac_exeext
38107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38108 (eval $ac_link) 2>conftest.er1
38109 ac_status=$?
38110 grep -v '^ *+' conftest.er1 >conftest.err
38111 rm -f conftest.er1
38112 cat conftest.err >&5
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); } &&
38115 { ac_try='test -z "$ac_c_werror_flag"
38116 || test ! -s conftest.err'
38117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38118 (eval $ac_try) 2>&5
38119 ac_status=$?
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); }; } &&
38122 { ac_try='test -s conftest$ac_exeext'
38123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38124 (eval $ac_try) 2>&5
38125 ac_status=$?
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); }; }; then
38128 eval "$as_ac_var=yes"
38129 else
38130 echo "$as_me: failed program was:" >&5
38131 sed 's/^/| /' conftest.$ac_ext >&5
38133 eval "$as_ac_var=no"
38135 rm -f conftest.err conftest.$ac_objext \
38136 conftest$ac_exeext conftest.$ac_ext
38138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38140 if test `eval echo '${'$as_ac_var'}'` = yes; then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38143 _ACEOF
38146 done
38153 echo "$as_me:$LINENO: checking for logf declaration" >&5
38154 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38155 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38156 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38157 echo $ECHO_N "(cached) $ECHO_C" >&6
38158 else
38162 ac_ext=cc
38163 ac_cpp='$CXXCPP $CPPFLAGS'
38164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38168 cat >conftest.$ac_ext <<_ACEOF
38169 /* confdefs.h. */
38170 _ACEOF
38171 cat confdefs.h >>conftest.$ac_ext
38172 cat >>conftest.$ac_ext <<_ACEOF
38173 /* end confdefs.h. */
38174 #include <math.h>
38175 #ifdef HAVE_IEEEFP_H
38176 #include <ieeefp.h>
38177 #endif
38180 main ()
38182 logf(0);
38184 return 0;
38186 _ACEOF
38187 rm -f conftest.$ac_objext
38188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38189 (eval $ac_compile) 2>conftest.er1
38190 ac_status=$?
38191 grep -v '^ *+' conftest.er1 >conftest.err
38192 rm -f conftest.er1
38193 cat conftest.err >&5
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); } &&
38196 { ac_try='test -z "$ac_cxx_werror_flag"
38197 || test ! -s conftest.err'
38198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199 (eval $ac_try) 2>&5
38200 ac_status=$?
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); }; } &&
38203 { ac_try='test -s conftest.$ac_objext'
38204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205 (eval $ac_try) 2>&5
38206 ac_status=$?
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); }; }; then
38209 glibcxx_cv_func_logf_use=yes
38210 else
38211 echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.$ac_ext >&5
38214 glibcxx_cv_func_logf_use=no
38216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38217 ac_ext=c
38218 ac_cpp='$CPP $CPPFLAGS'
38219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38228 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38230 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38232 for ac_func in logf
38234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38235 echo "$as_me:$LINENO: checking for $ac_func" >&5
38236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38237 if eval "test \"\${$as_ac_var+set}\" = set"; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 else
38240 if test x$gcc_no_link = xyes; then
38241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38243 { (exit 1); exit 1; }; }
38245 cat >conftest.$ac_ext <<_ACEOF
38246 /* confdefs.h. */
38247 _ACEOF
38248 cat confdefs.h >>conftest.$ac_ext
38249 cat >>conftest.$ac_ext <<_ACEOF
38250 /* end confdefs.h. */
38251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38253 #define $ac_func innocuous_$ac_func
38255 /* System header to define __stub macros and hopefully few prototypes,
38256 which can conflict with char $ac_func (); below.
38257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38258 <limits.h> exists even on freestanding compilers. */
38260 #ifdef __STDC__
38261 # include <limits.h>
38262 #else
38263 # include <assert.h>
38264 #endif
38266 #undef $ac_func
38268 /* Override any gcc2 internal prototype to avoid an error. */
38269 #ifdef __cplusplus
38270 extern "C"
38272 #endif
38273 /* We use char because int might match the return type of a gcc2
38274 builtin and then its argument prototype would still apply. */
38275 char $ac_func ();
38276 /* The GNU C library defines this for functions which it implements
38277 to always fail with ENOSYS. Some functions are actually named
38278 something starting with __ and the normal name is an alias. */
38279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38280 choke me
38281 #else
38282 char (*f) () = $ac_func;
38283 #endif
38284 #ifdef __cplusplus
38286 #endif
38289 main ()
38291 return f != $ac_func;
38293 return 0;
38295 _ACEOF
38296 rm -f conftest.$ac_objext conftest$ac_exeext
38297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38298 (eval $ac_link) 2>conftest.er1
38299 ac_status=$?
38300 grep -v '^ *+' conftest.er1 >conftest.err
38301 rm -f conftest.er1
38302 cat conftest.err >&5
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); } &&
38305 { ac_try='test -z "$ac_c_werror_flag"
38306 || test ! -s conftest.err'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; } &&
38312 { ac_try='test -s conftest$ac_exeext'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38315 ac_status=$?
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; }; then
38318 eval "$as_ac_var=yes"
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38323 eval "$as_ac_var=no"
38325 rm -f conftest.err conftest.$ac_objext \
38326 conftest$ac_exeext conftest.$ac_ext
38328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38330 if test `eval echo '${'$as_ac_var'}'` = yes; then
38331 cat >>confdefs.h <<_ACEOF
38332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38333 _ACEOF
38336 done
38338 else
38340 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38341 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38342 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38343 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 else
38349 ac_ext=cc
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38355 cat >conftest.$ac_ext <<_ACEOF
38356 /* confdefs.h. */
38357 _ACEOF
38358 cat confdefs.h >>conftest.$ac_ext
38359 cat >>conftest.$ac_ext <<_ACEOF
38360 /* end confdefs.h. */
38361 #include <math.h>
38362 #ifdef HAVE_IEEEFP_H
38363 #include <ieeefp.h>
38364 #endif
38367 main ()
38369 _logf(0);
38371 return 0;
38373 _ACEOF
38374 rm -f conftest.$ac_objext
38375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38376 (eval $ac_compile) 2>conftest.er1
38377 ac_status=$?
38378 grep -v '^ *+' conftest.er1 >conftest.err
38379 rm -f conftest.er1
38380 cat conftest.err >&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } &&
38383 { ac_try='test -z "$ac_cxx_werror_flag"
38384 || test ! -s conftest.err'
38385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38386 (eval $ac_try) 2>&5
38387 ac_status=$?
38388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38389 (exit $ac_status); }; } &&
38390 { ac_try='test -s conftest.$ac_objext'
38391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38392 (eval $ac_try) 2>&5
38393 ac_status=$?
38394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38395 (exit $ac_status); }; }; then
38396 glibcxx_cv_func__logf_use=yes
38397 else
38398 echo "$as_me: failed program was:" >&5
38399 sed 's/^/| /' conftest.$ac_ext >&5
38401 glibcxx_cv_func__logf_use=no
38403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38404 ac_ext=c
38405 ac_cpp='$CPP $CPPFLAGS'
38406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38415 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38417 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38419 for ac_func in _logf
38421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38422 echo "$as_me:$LINENO: checking for $ac_func" >&5
38423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38424 if eval "test \"\${$as_ac_var+set}\" = set"; then
38425 echo $ECHO_N "(cached) $ECHO_C" >&6
38426 else
38427 if test x$gcc_no_link = xyes; then
38428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38430 { (exit 1); exit 1; }; }
38432 cat >conftest.$ac_ext <<_ACEOF
38433 /* confdefs.h. */
38434 _ACEOF
38435 cat confdefs.h >>conftest.$ac_ext
38436 cat >>conftest.$ac_ext <<_ACEOF
38437 /* end confdefs.h. */
38438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38440 #define $ac_func innocuous_$ac_func
38442 /* System header to define __stub macros and hopefully few prototypes,
38443 which can conflict with char $ac_func (); below.
38444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38445 <limits.h> exists even on freestanding compilers. */
38447 #ifdef __STDC__
38448 # include <limits.h>
38449 #else
38450 # include <assert.h>
38451 #endif
38453 #undef $ac_func
38455 /* Override any gcc2 internal prototype to avoid an error. */
38456 #ifdef __cplusplus
38457 extern "C"
38459 #endif
38460 /* We use char because int might match the return type of a gcc2
38461 builtin and then its argument prototype would still apply. */
38462 char $ac_func ();
38463 /* The GNU C library defines this for functions which it implements
38464 to always fail with ENOSYS. Some functions are actually named
38465 something starting with __ and the normal name is an alias. */
38466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38467 choke me
38468 #else
38469 char (*f) () = $ac_func;
38470 #endif
38471 #ifdef __cplusplus
38473 #endif
38476 main ()
38478 return f != $ac_func;
38480 return 0;
38482 _ACEOF
38483 rm -f conftest.$ac_objext conftest$ac_exeext
38484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38485 (eval $ac_link) 2>conftest.er1
38486 ac_status=$?
38487 grep -v '^ *+' conftest.er1 >conftest.err
38488 rm -f conftest.er1
38489 cat conftest.err >&5
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); } &&
38492 { ac_try='test -z "$ac_c_werror_flag"
38493 || test ! -s conftest.err'
38494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38495 (eval $ac_try) 2>&5
38496 ac_status=$?
38497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38498 (exit $ac_status); }; } &&
38499 { ac_try='test -s conftest$ac_exeext'
38500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38501 (eval $ac_try) 2>&5
38502 ac_status=$?
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); }; }; then
38505 eval "$as_ac_var=yes"
38506 else
38507 echo "$as_me: failed program was:" >&5
38508 sed 's/^/| /' conftest.$ac_ext >&5
38510 eval "$as_ac_var=no"
38512 rm -f conftest.err conftest.$ac_objext \
38513 conftest$ac_exeext conftest.$ac_ext
38515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38517 if test `eval echo '${'$as_ac_var'}'` = yes; then
38518 cat >>confdefs.h <<_ACEOF
38519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38520 _ACEOF
38523 done
38530 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38531 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38532 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38533 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38534 echo $ECHO_N "(cached) $ECHO_C" >&6
38535 else
38539 ac_ext=cc
38540 ac_cpp='$CXXCPP $CPPFLAGS'
38541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38545 cat >conftest.$ac_ext <<_ACEOF
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551 #include <math.h>
38552 #ifdef HAVE_IEEEFP_H
38553 #include <ieeefp.h>
38554 #endif
38557 main ()
38559 log10f(0);
38561 return 0;
38563 _ACEOF
38564 rm -f conftest.$ac_objext
38565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38566 (eval $ac_compile) 2>conftest.er1
38567 ac_status=$?
38568 grep -v '^ *+' conftest.er1 >conftest.err
38569 rm -f conftest.er1
38570 cat conftest.err >&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); } &&
38573 { ac_try='test -z "$ac_cxx_werror_flag"
38574 || test ! -s conftest.err'
38575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38576 (eval $ac_try) 2>&5
38577 ac_status=$?
38578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579 (exit $ac_status); }; } &&
38580 { ac_try='test -s conftest.$ac_objext'
38581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38582 (eval $ac_try) 2>&5
38583 ac_status=$?
38584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585 (exit $ac_status); }; }; then
38586 glibcxx_cv_func_log10f_use=yes
38587 else
38588 echo "$as_me: failed program was:" >&5
38589 sed 's/^/| /' conftest.$ac_ext >&5
38591 glibcxx_cv_func_log10f_use=no
38593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38594 ac_ext=c
38595 ac_cpp='$CPP $CPPFLAGS'
38596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38605 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38607 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38609 for ac_func in log10f
38611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38612 echo "$as_me:$LINENO: checking for $ac_func" >&5
38613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38614 if eval "test \"\${$as_ac_var+set}\" = set"; then
38615 echo $ECHO_N "(cached) $ECHO_C" >&6
38616 else
38617 if test x$gcc_no_link = xyes; then
38618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38620 { (exit 1); exit 1; }; }
38622 cat >conftest.$ac_ext <<_ACEOF
38623 /* confdefs.h. */
38624 _ACEOF
38625 cat confdefs.h >>conftest.$ac_ext
38626 cat >>conftest.$ac_ext <<_ACEOF
38627 /* end confdefs.h. */
38628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38630 #define $ac_func innocuous_$ac_func
38632 /* System header to define __stub macros and hopefully few prototypes,
38633 which can conflict with char $ac_func (); below.
38634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38635 <limits.h> exists even on freestanding compilers. */
38637 #ifdef __STDC__
38638 # include <limits.h>
38639 #else
38640 # include <assert.h>
38641 #endif
38643 #undef $ac_func
38645 /* Override any gcc2 internal prototype to avoid an error. */
38646 #ifdef __cplusplus
38647 extern "C"
38649 #endif
38650 /* We use char because int might match the return type of a gcc2
38651 builtin and then its argument prototype would still apply. */
38652 char $ac_func ();
38653 /* The GNU C library defines this for functions which it implements
38654 to always fail with ENOSYS. Some functions are actually named
38655 something starting with __ and the normal name is an alias. */
38656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38657 choke me
38658 #else
38659 char (*f) () = $ac_func;
38660 #endif
38661 #ifdef __cplusplus
38663 #endif
38666 main ()
38668 return f != $ac_func;
38670 return 0;
38672 _ACEOF
38673 rm -f conftest.$ac_objext conftest$ac_exeext
38674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38675 (eval $ac_link) 2>conftest.er1
38676 ac_status=$?
38677 grep -v '^ *+' conftest.er1 >conftest.err
38678 rm -f conftest.er1
38679 cat conftest.err >&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); } &&
38682 { ac_try='test -z "$ac_c_werror_flag"
38683 || test ! -s conftest.err'
38684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38685 (eval $ac_try) 2>&5
38686 ac_status=$?
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); }; } &&
38689 { ac_try='test -s conftest$ac_exeext'
38690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38691 (eval $ac_try) 2>&5
38692 ac_status=$?
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); }; }; then
38695 eval "$as_ac_var=yes"
38696 else
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38700 eval "$as_ac_var=no"
38702 rm -f conftest.err conftest.$ac_objext \
38703 conftest$ac_exeext conftest.$ac_ext
38705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38707 if test `eval echo '${'$as_ac_var'}'` = yes; then
38708 cat >>confdefs.h <<_ACEOF
38709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38710 _ACEOF
38713 done
38715 else
38717 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38718 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38719 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38720 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38722 else
38726 ac_ext=cc
38727 ac_cpp='$CXXCPP $CPPFLAGS'
38728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38732 cat >conftest.$ac_ext <<_ACEOF
38733 /* confdefs.h. */
38734 _ACEOF
38735 cat confdefs.h >>conftest.$ac_ext
38736 cat >>conftest.$ac_ext <<_ACEOF
38737 /* end confdefs.h. */
38738 #include <math.h>
38739 #ifdef HAVE_IEEEFP_H
38740 #include <ieeefp.h>
38741 #endif
38744 main ()
38746 _log10f(0);
38748 return 0;
38750 _ACEOF
38751 rm -f conftest.$ac_objext
38752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38753 (eval $ac_compile) 2>conftest.er1
38754 ac_status=$?
38755 grep -v '^ *+' conftest.er1 >conftest.err
38756 rm -f conftest.er1
38757 cat conftest.err >&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); } &&
38760 { ac_try='test -z "$ac_cxx_werror_flag"
38761 || test ! -s conftest.err'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38764 ac_status=$?
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; } &&
38767 { ac_try='test -s conftest.$ac_objext'
38768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38769 (eval $ac_try) 2>&5
38770 ac_status=$?
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); }; }; then
38773 glibcxx_cv_func__log10f_use=yes
38774 else
38775 echo "$as_me: failed program was:" >&5
38776 sed 's/^/| /' conftest.$ac_ext >&5
38778 glibcxx_cv_func__log10f_use=no
38780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38781 ac_ext=c
38782 ac_cpp='$CPP $CPPFLAGS'
38783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38792 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38794 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38796 for ac_func in _log10f
38798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38799 echo "$as_me:$LINENO: checking for $ac_func" >&5
38800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38801 if eval "test \"\${$as_ac_var+set}\" = set"; then
38802 echo $ECHO_N "(cached) $ECHO_C" >&6
38803 else
38804 if test x$gcc_no_link = xyes; then
38805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38807 { (exit 1); exit 1; }; }
38809 cat >conftest.$ac_ext <<_ACEOF
38810 /* confdefs.h. */
38811 _ACEOF
38812 cat confdefs.h >>conftest.$ac_ext
38813 cat >>conftest.$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38817 #define $ac_func innocuous_$ac_func
38819 /* System header to define __stub macros and hopefully few prototypes,
38820 which can conflict with char $ac_func (); below.
38821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38822 <limits.h> exists even on freestanding compilers. */
38824 #ifdef __STDC__
38825 # include <limits.h>
38826 #else
38827 # include <assert.h>
38828 #endif
38830 #undef $ac_func
38832 /* Override any gcc2 internal prototype to avoid an error. */
38833 #ifdef __cplusplus
38834 extern "C"
38836 #endif
38837 /* We use char because int might match the return type of a gcc2
38838 builtin and then its argument prototype would still apply. */
38839 char $ac_func ();
38840 /* The GNU C library defines this for functions which it implements
38841 to always fail with ENOSYS. Some functions are actually named
38842 something starting with __ and the normal name is an alias. */
38843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38844 choke me
38845 #else
38846 char (*f) () = $ac_func;
38847 #endif
38848 #ifdef __cplusplus
38850 #endif
38853 main ()
38855 return f != $ac_func;
38857 return 0;
38859 _ACEOF
38860 rm -f conftest.$ac_objext conftest$ac_exeext
38861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38862 (eval $ac_link) 2>conftest.er1
38863 ac_status=$?
38864 grep -v '^ *+' conftest.er1 >conftest.err
38865 rm -f conftest.er1
38866 cat conftest.err >&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); } &&
38869 { ac_try='test -z "$ac_c_werror_flag"
38870 || test ! -s conftest.err'
38871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38872 (eval $ac_try) 2>&5
38873 ac_status=$?
38874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38875 (exit $ac_status); }; } &&
38876 { ac_try='test -s conftest$ac_exeext'
38877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38878 (eval $ac_try) 2>&5
38879 ac_status=$?
38880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38881 (exit $ac_status); }; }; then
38882 eval "$as_ac_var=yes"
38883 else
38884 echo "$as_me: failed program was:" >&5
38885 sed 's/^/| /' conftest.$ac_ext >&5
38887 eval "$as_ac_var=no"
38889 rm -f conftest.err conftest.$ac_objext \
38890 conftest$ac_exeext conftest.$ac_ext
38892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38894 if test `eval echo '${'$as_ac_var'}'` = yes; then
38895 cat >>confdefs.h <<_ACEOF
38896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38897 _ACEOF
38900 done
38907 echo "$as_me:$LINENO: checking for modff declaration" >&5
38908 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38909 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38910 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38911 echo $ECHO_N "(cached) $ECHO_C" >&6
38912 else
38916 ac_ext=cc
38917 ac_cpp='$CXXCPP $CPPFLAGS'
38918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38922 cat >conftest.$ac_ext <<_ACEOF
38923 /* confdefs.h. */
38924 _ACEOF
38925 cat confdefs.h >>conftest.$ac_ext
38926 cat >>conftest.$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38928 #include <math.h>
38930 main ()
38932 modff(0, 0);
38934 return 0;
38936 _ACEOF
38937 rm -f conftest.$ac_objext
38938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38939 (eval $ac_compile) 2>conftest.er1
38940 ac_status=$?
38941 grep -v '^ *+' conftest.er1 >conftest.err
38942 rm -f conftest.er1
38943 cat conftest.err >&5
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); } &&
38946 { ac_try='test -z "$ac_cxx_werror_flag"
38947 || test ! -s conftest.err'
38948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38949 (eval $ac_try) 2>&5
38950 ac_status=$?
38951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952 (exit $ac_status); }; } &&
38953 { ac_try='test -s conftest.$ac_objext'
38954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38955 (eval $ac_try) 2>&5
38956 ac_status=$?
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; }; then
38959 glibcxx_cv_func_modff_use=yes
38960 else
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.$ac_ext >&5
38964 glibcxx_cv_func_modff_use=no
38966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38967 ac_ext=c
38968 ac_cpp='$CPP $CPPFLAGS'
38969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38978 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38980 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38982 for ac_func in modff
38984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38985 echo "$as_me:$LINENO: checking for $ac_func" >&5
38986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38987 if eval "test \"\${$as_ac_var+set}\" = set"; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38989 else
38990 if test x$gcc_no_link = xyes; then
38991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38993 { (exit 1); exit 1; }; }
38995 cat >conftest.$ac_ext <<_ACEOF
38996 /* confdefs.h. */
38997 _ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39003 #define $ac_func innocuous_$ac_func
39005 /* System header to define __stub macros and hopefully few prototypes,
39006 which can conflict with char $ac_func (); below.
39007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39008 <limits.h> exists even on freestanding compilers. */
39010 #ifdef __STDC__
39011 # include <limits.h>
39012 #else
39013 # include <assert.h>
39014 #endif
39016 #undef $ac_func
39018 /* Override any gcc2 internal prototype to avoid an error. */
39019 #ifdef __cplusplus
39020 extern "C"
39022 #endif
39023 /* We use char because int might match the return type of a gcc2
39024 builtin and then its argument prototype would still apply. */
39025 char $ac_func ();
39026 /* The GNU C library defines this for functions which it implements
39027 to always fail with ENOSYS. Some functions are actually named
39028 something starting with __ and the normal name is an alias. */
39029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39030 choke me
39031 #else
39032 char (*f) () = $ac_func;
39033 #endif
39034 #ifdef __cplusplus
39036 #endif
39039 main ()
39041 return f != $ac_func;
39043 return 0;
39045 _ACEOF
39046 rm -f conftest.$ac_objext conftest$ac_exeext
39047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39048 (eval $ac_link) 2>conftest.er1
39049 ac_status=$?
39050 grep -v '^ *+' conftest.er1 >conftest.err
39051 rm -f conftest.er1
39052 cat conftest.err >&5
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); } &&
39055 { ac_try='test -z "$ac_c_werror_flag"
39056 || test ! -s conftest.err'
39057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39058 (eval $ac_try) 2>&5
39059 ac_status=$?
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); }; } &&
39062 { ac_try='test -s conftest$ac_exeext'
39063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39064 (eval $ac_try) 2>&5
39065 ac_status=$?
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); }; }; then
39068 eval "$as_ac_var=yes"
39069 else
39070 echo "$as_me: failed program was:" >&5
39071 sed 's/^/| /' conftest.$ac_ext >&5
39073 eval "$as_ac_var=no"
39075 rm -f conftest.err conftest.$ac_objext \
39076 conftest$ac_exeext conftest.$ac_ext
39078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39080 if test `eval echo '${'$as_ac_var'}'` = yes; then
39081 cat >>confdefs.h <<_ACEOF
39082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39083 _ACEOF
39086 done
39088 else
39090 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39091 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39092 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39093 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39095 else
39099 ac_ext=cc
39100 ac_cpp='$CXXCPP $CPPFLAGS'
39101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39105 cat >conftest.$ac_ext <<_ACEOF
39106 /* confdefs.h. */
39107 _ACEOF
39108 cat confdefs.h >>conftest.$ac_ext
39109 cat >>conftest.$ac_ext <<_ACEOF
39110 /* end confdefs.h. */
39111 #include <math.h>
39113 main ()
39115 _modff(0, 0);
39117 return 0;
39119 _ACEOF
39120 rm -f conftest.$ac_objext
39121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39122 (eval $ac_compile) 2>conftest.er1
39123 ac_status=$?
39124 grep -v '^ *+' conftest.er1 >conftest.err
39125 rm -f conftest.er1
39126 cat conftest.err >&5
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); } &&
39129 { ac_try='test -z "$ac_cxx_werror_flag"
39130 || test ! -s conftest.err'
39131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39132 (eval $ac_try) 2>&5
39133 ac_status=$?
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); }; } &&
39136 { ac_try='test -s conftest.$ac_objext'
39137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39138 (eval $ac_try) 2>&5
39139 ac_status=$?
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); }; }; then
39142 glibcxx_cv_func__modff_use=yes
39143 else
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.$ac_ext >&5
39147 glibcxx_cv_func__modff_use=no
39149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39150 ac_ext=c
39151 ac_cpp='$CPP $CPPFLAGS'
39152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39161 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39163 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39165 for ac_func in _modff
39167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39168 echo "$as_me:$LINENO: checking for $ac_func" >&5
39169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39170 if eval "test \"\${$as_ac_var+set}\" = set"; then
39171 echo $ECHO_N "(cached) $ECHO_C" >&6
39172 else
39173 if test x$gcc_no_link = xyes; then
39174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39176 { (exit 1); exit 1; }; }
39178 cat >conftest.$ac_ext <<_ACEOF
39179 /* confdefs.h. */
39180 _ACEOF
39181 cat confdefs.h >>conftest.$ac_ext
39182 cat >>conftest.$ac_ext <<_ACEOF
39183 /* end confdefs.h. */
39184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39186 #define $ac_func innocuous_$ac_func
39188 /* System header to define __stub macros and hopefully few prototypes,
39189 which can conflict with char $ac_func (); below.
39190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39191 <limits.h> exists even on freestanding compilers. */
39193 #ifdef __STDC__
39194 # include <limits.h>
39195 #else
39196 # include <assert.h>
39197 #endif
39199 #undef $ac_func
39201 /* Override any gcc2 internal prototype to avoid an error. */
39202 #ifdef __cplusplus
39203 extern "C"
39205 #endif
39206 /* We use char because int might match the return type of a gcc2
39207 builtin and then its argument prototype would still apply. */
39208 char $ac_func ();
39209 /* The GNU C library defines this for functions which it implements
39210 to always fail with ENOSYS. Some functions are actually named
39211 something starting with __ and the normal name is an alias. */
39212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39213 choke me
39214 #else
39215 char (*f) () = $ac_func;
39216 #endif
39217 #ifdef __cplusplus
39219 #endif
39222 main ()
39224 return f != $ac_func;
39226 return 0;
39228 _ACEOF
39229 rm -f conftest.$ac_objext conftest$ac_exeext
39230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39231 (eval $ac_link) 2>conftest.er1
39232 ac_status=$?
39233 grep -v '^ *+' conftest.er1 >conftest.err
39234 rm -f conftest.er1
39235 cat conftest.err >&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); } &&
39238 { ac_try='test -z "$ac_c_werror_flag"
39239 || test ! -s conftest.err'
39240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39241 (eval $ac_try) 2>&5
39242 ac_status=$?
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); }; } &&
39245 { ac_try='test -s conftest$ac_exeext'
39246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39247 (eval $ac_try) 2>&5
39248 ac_status=$?
39249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39250 (exit $ac_status); }; }; then
39251 eval "$as_ac_var=yes"
39252 else
39253 echo "$as_me: failed program was:" >&5
39254 sed 's/^/| /' conftest.$ac_ext >&5
39256 eval "$as_ac_var=no"
39258 rm -f conftest.err conftest.$ac_objext \
39259 conftest$ac_exeext conftest.$ac_ext
39261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39263 if test `eval echo '${'$as_ac_var'}'` = yes; then
39264 cat >>confdefs.h <<_ACEOF
39265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39266 _ACEOF
39269 done
39276 echo "$as_me:$LINENO: checking for powf declaration" >&5
39277 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39278 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39279 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39280 echo $ECHO_N "(cached) $ECHO_C" >&6
39281 else
39285 ac_ext=cc
39286 ac_cpp='$CXXCPP $CPPFLAGS'
39287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39291 cat >conftest.$ac_ext <<_ACEOF
39292 /* confdefs.h. */
39293 _ACEOF
39294 cat confdefs.h >>conftest.$ac_ext
39295 cat >>conftest.$ac_ext <<_ACEOF
39296 /* end confdefs.h. */
39297 #include <math.h>
39299 main ()
39301 powf(0, 0);
39303 return 0;
39305 _ACEOF
39306 rm -f conftest.$ac_objext
39307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39308 (eval $ac_compile) 2>conftest.er1
39309 ac_status=$?
39310 grep -v '^ *+' conftest.er1 >conftest.err
39311 rm -f conftest.er1
39312 cat conftest.err >&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } &&
39315 { ac_try='test -z "$ac_cxx_werror_flag"
39316 || test ! -s conftest.err'
39317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39318 (eval $ac_try) 2>&5
39319 ac_status=$?
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); }; } &&
39322 { ac_try='test -s conftest.$ac_objext'
39323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39324 (eval $ac_try) 2>&5
39325 ac_status=$?
39326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39327 (exit $ac_status); }; }; then
39328 glibcxx_cv_func_powf_use=yes
39329 else
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.$ac_ext >&5
39333 glibcxx_cv_func_powf_use=no
39335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39336 ac_ext=c
39337 ac_cpp='$CPP $CPPFLAGS'
39338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39347 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39349 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39351 for ac_func in powf
39353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39354 echo "$as_me:$LINENO: checking for $ac_func" >&5
39355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39356 if eval "test \"\${$as_ac_var+set}\" = set"; then
39357 echo $ECHO_N "(cached) $ECHO_C" >&6
39358 else
39359 if test x$gcc_no_link = xyes; then
39360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39362 { (exit 1); exit 1; }; }
39364 cat >conftest.$ac_ext <<_ACEOF
39365 /* confdefs.h. */
39366 _ACEOF
39367 cat confdefs.h >>conftest.$ac_ext
39368 cat >>conftest.$ac_ext <<_ACEOF
39369 /* end confdefs.h. */
39370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39372 #define $ac_func innocuous_$ac_func
39374 /* System header to define __stub macros and hopefully few prototypes,
39375 which can conflict with char $ac_func (); below.
39376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39377 <limits.h> exists even on freestanding compilers. */
39379 #ifdef __STDC__
39380 # include <limits.h>
39381 #else
39382 # include <assert.h>
39383 #endif
39385 #undef $ac_func
39387 /* Override any gcc2 internal prototype to avoid an error. */
39388 #ifdef __cplusplus
39389 extern "C"
39391 #endif
39392 /* We use char because int might match the return type of a gcc2
39393 builtin and then its argument prototype would still apply. */
39394 char $ac_func ();
39395 /* The GNU C library defines this for functions which it implements
39396 to always fail with ENOSYS. Some functions are actually named
39397 something starting with __ and the normal name is an alias. */
39398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39399 choke me
39400 #else
39401 char (*f) () = $ac_func;
39402 #endif
39403 #ifdef __cplusplus
39405 #endif
39408 main ()
39410 return f != $ac_func;
39412 return 0;
39414 _ACEOF
39415 rm -f conftest.$ac_objext conftest$ac_exeext
39416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39417 (eval $ac_link) 2>conftest.er1
39418 ac_status=$?
39419 grep -v '^ *+' conftest.er1 >conftest.err
39420 rm -f conftest.er1
39421 cat conftest.err >&5
39422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39423 (exit $ac_status); } &&
39424 { ac_try='test -z "$ac_c_werror_flag"
39425 || test ! -s conftest.err'
39426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39427 (eval $ac_try) 2>&5
39428 ac_status=$?
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); }; } &&
39431 { ac_try='test -s conftest$ac_exeext'
39432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39433 (eval $ac_try) 2>&5
39434 ac_status=$?
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); }; }; then
39437 eval "$as_ac_var=yes"
39438 else
39439 echo "$as_me: failed program was:" >&5
39440 sed 's/^/| /' conftest.$ac_ext >&5
39442 eval "$as_ac_var=no"
39444 rm -f conftest.err conftest.$ac_objext \
39445 conftest$ac_exeext conftest.$ac_ext
39447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39449 if test `eval echo '${'$as_ac_var'}'` = yes; then
39450 cat >>confdefs.h <<_ACEOF
39451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39452 _ACEOF
39455 done
39457 else
39459 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39460 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39461 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39462 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39464 else
39468 ac_ext=cc
39469 ac_cpp='$CXXCPP $CPPFLAGS'
39470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39474 cat >conftest.$ac_ext <<_ACEOF
39475 /* confdefs.h. */
39476 _ACEOF
39477 cat confdefs.h >>conftest.$ac_ext
39478 cat >>conftest.$ac_ext <<_ACEOF
39479 /* end confdefs.h. */
39480 #include <math.h>
39482 main ()
39484 _powf(0, 0);
39486 return 0;
39488 _ACEOF
39489 rm -f conftest.$ac_objext
39490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39491 (eval $ac_compile) 2>conftest.er1
39492 ac_status=$?
39493 grep -v '^ *+' conftest.er1 >conftest.err
39494 rm -f conftest.er1
39495 cat conftest.err >&5
39496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39497 (exit $ac_status); } &&
39498 { ac_try='test -z "$ac_cxx_werror_flag"
39499 || test ! -s conftest.err'
39500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39501 (eval $ac_try) 2>&5
39502 ac_status=$?
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); }; } &&
39505 { ac_try='test -s conftest.$ac_objext'
39506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39507 (eval $ac_try) 2>&5
39508 ac_status=$?
39509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39510 (exit $ac_status); }; }; then
39511 glibcxx_cv_func__powf_use=yes
39512 else
39513 echo "$as_me: failed program was:" >&5
39514 sed 's/^/| /' conftest.$ac_ext >&5
39516 glibcxx_cv_func__powf_use=no
39518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39519 ac_ext=c
39520 ac_cpp='$CPP $CPPFLAGS'
39521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39529 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39530 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39532 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39534 for ac_func in _powf
39536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39537 echo "$as_me:$LINENO: checking for $ac_func" >&5
39538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39539 if eval "test \"\${$as_ac_var+set}\" = set"; then
39540 echo $ECHO_N "(cached) $ECHO_C" >&6
39541 else
39542 if test x$gcc_no_link = xyes; then
39543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39545 { (exit 1); exit 1; }; }
39547 cat >conftest.$ac_ext <<_ACEOF
39548 /* confdefs.h. */
39549 _ACEOF
39550 cat confdefs.h >>conftest.$ac_ext
39551 cat >>conftest.$ac_ext <<_ACEOF
39552 /* end confdefs.h. */
39553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39555 #define $ac_func innocuous_$ac_func
39557 /* System header to define __stub macros and hopefully few prototypes,
39558 which can conflict with char $ac_func (); below.
39559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39560 <limits.h> exists even on freestanding compilers. */
39562 #ifdef __STDC__
39563 # include <limits.h>
39564 #else
39565 # include <assert.h>
39566 #endif
39568 #undef $ac_func
39570 /* Override any gcc2 internal prototype to avoid an error. */
39571 #ifdef __cplusplus
39572 extern "C"
39574 #endif
39575 /* We use char because int might match the return type of a gcc2
39576 builtin and then its argument prototype would still apply. */
39577 char $ac_func ();
39578 /* The GNU C library defines this for functions which it implements
39579 to always fail with ENOSYS. Some functions are actually named
39580 something starting with __ and the normal name is an alias. */
39581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39582 choke me
39583 #else
39584 char (*f) () = $ac_func;
39585 #endif
39586 #ifdef __cplusplus
39588 #endif
39591 main ()
39593 return f != $ac_func;
39595 return 0;
39597 _ACEOF
39598 rm -f conftest.$ac_objext conftest$ac_exeext
39599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39600 (eval $ac_link) 2>conftest.er1
39601 ac_status=$?
39602 grep -v '^ *+' conftest.er1 >conftest.err
39603 rm -f conftest.er1
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } &&
39607 { ac_try='test -z "$ac_c_werror_flag"
39608 || test ! -s conftest.err'
39609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39610 (eval $ac_try) 2>&5
39611 ac_status=$?
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); }; } &&
39614 { ac_try='test -s conftest$ac_exeext'
39615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39616 (eval $ac_try) 2>&5
39617 ac_status=$?
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); }; }; then
39620 eval "$as_ac_var=yes"
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39625 eval "$as_ac_var=no"
39627 rm -f conftest.err conftest.$ac_objext \
39628 conftest$ac_exeext conftest.$ac_ext
39630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39632 if test `eval echo '${'$as_ac_var'}'` = yes; then
39633 cat >>confdefs.h <<_ACEOF
39634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39635 _ACEOF
39638 done
39645 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39646 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39647 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39648 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39649 echo $ECHO_N "(cached) $ECHO_C" >&6
39650 else
39654 ac_ext=cc
39655 ac_cpp='$CXXCPP $CPPFLAGS'
39656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39660 cat >conftest.$ac_ext <<_ACEOF
39661 /* confdefs.h. */
39662 _ACEOF
39663 cat confdefs.h >>conftest.$ac_ext
39664 cat >>conftest.$ac_ext <<_ACEOF
39665 /* end confdefs.h. */
39666 #include <math.h>
39667 #ifdef HAVE_IEEEFP_H
39668 #include <ieeefp.h>
39669 #endif
39672 main ()
39674 sqrtf(0);
39676 return 0;
39678 _ACEOF
39679 rm -f conftest.$ac_objext
39680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39681 (eval $ac_compile) 2>conftest.er1
39682 ac_status=$?
39683 grep -v '^ *+' conftest.er1 >conftest.err
39684 rm -f conftest.er1
39685 cat conftest.err >&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); } &&
39688 { ac_try='test -z "$ac_cxx_werror_flag"
39689 || test ! -s conftest.err'
39690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39691 (eval $ac_try) 2>&5
39692 ac_status=$?
39693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694 (exit $ac_status); }; } &&
39695 { ac_try='test -s conftest.$ac_objext'
39696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39697 (eval $ac_try) 2>&5
39698 ac_status=$?
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); }; }; then
39701 glibcxx_cv_func_sqrtf_use=yes
39702 else
39703 echo "$as_me: failed program was:" >&5
39704 sed 's/^/| /' conftest.$ac_ext >&5
39706 glibcxx_cv_func_sqrtf_use=no
39708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39709 ac_ext=c
39710 ac_cpp='$CPP $CPPFLAGS'
39711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39720 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39722 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39724 for ac_func in sqrtf
39726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39727 echo "$as_me:$LINENO: checking for $ac_func" >&5
39728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39729 if eval "test \"\${$as_ac_var+set}\" = set"; then
39730 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 else
39732 if test x$gcc_no_link = xyes; then
39733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39735 { (exit 1); exit 1; }; }
39737 cat >conftest.$ac_ext <<_ACEOF
39738 /* confdefs.h. */
39739 _ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39745 #define $ac_func innocuous_$ac_func
39747 /* System header to define __stub macros and hopefully few prototypes,
39748 which can conflict with char $ac_func (); below.
39749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39750 <limits.h> exists even on freestanding compilers. */
39752 #ifdef __STDC__
39753 # include <limits.h>
39754 #else
39755 # include <assert.h>
39756 #endif
39758 #undef $ac_func
39760 /* Override any gcc2 internal prototype to avoid an error. */
39761 #ifdef __cplusplus
39762 extern "C"
39764 #endif
39765 /* We use char because int might match the return type of a gcc2
39766 builtin and then its argument prototype would still apply. */
39767 char $ac_func ();
39768 /* The GNU C library defines this for functions which it implements
39769 to always fail with ENOSYS. Some functions are actually named
39770 something starting with __ and the normal name is an alias. */
39771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39772 choke me
39773 #else
39774 char (*f) () = $ac_func;
39775 #endif
39776 #ifdef __cplusplus
39778 #endif
39781 main ()
39783 return f != $ac_func;
39785 return 0;
39787 _ACEOF
39788 rm -f conftest.$ac_objext conftest$ac_exeext
39789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39790 (eval $ac_link) 2>conftest.er1
39791 ac_status=$?
39792 grep -v '^ *+' conftest.er1 >conftest.err
39793 rm -f conftest.er1
39794 cat conftest.err >&5
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); } &&
39797 { ac_try='test -z "$ac_c_werror_flag"
39798 || test ! -s conftest.err'
39799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39800 (eval $ac_try) 2>&5
39801 ac_status=$?
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); }; } &&
39804 { ac_try='test -s conftest$ac_exeext'
39805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806 (eval $ac_try) 2>&5
39807 ac_status=$?
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); }; }; then
39810 eval "$as_ac_var=yes"
39811 else
39812 echo "$as_me: failed program was:" >&5
39813 sed 's/^/| /' conftest.$ac_ext >&5
39815 eval "$as_ac_var=no"
39817 rm -f conftest.err conftest.$ac_objext \
39818 conftest$ac_exeext conftest.$ac_ext
39820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39822 if test `eval echo '${'$as_ac_var'}'` = yes; then
39823 cat >>confdefs.h <<_ACEOF
39824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39825 _ACEOF
39828 done
39830 else
39832 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39833 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39834 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39835 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 else
39841 ac_ext=cc
39842 ac_cpp='$CXXCPP $CPPFLAGS'
39843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39847 cat >conftest.$ac_ext <<_ACEOF
39848 /* confdefs.h. */
39849 _ACEOF
39850 cat confdefs.h >>conftest.$ac_ext
39851 cat >>conftest.$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 #include <math.h>
39854 #ifdef HAVE_IEEEFP_H
39855 #include <ieeefp.h>
39856 #endif
39859 main ()
39861 _sqrtf(0);
39863 return 0;
39865 _ACEOF
39866 rm -f conftest.$ac_objext
39867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39868 (eval $ac_compile) 2>conftest.er1
39869 ac_status=$?
39870 grep -v '^ *+' conftest.er1 >conftest.err
39871 rm -f conftest.er1
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } &&
39875 { ac_try='test -z "$ac_cxx_werror_flag"
39876 || test ! -s conftest.err'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39879 ac_status=$?
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; } &&
39882 { ac_try='test -s conftest.$ac_objext'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39885 ac_status=$?
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; }; then
39888 glibcxx_cv_func__sqrtf_use=yes
39889 else
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39893 glibcxx_cv_func__sqrtf_use=no
39895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39896 ac_ext=c
39897 ac_cpp='$CPP $CPPFLAGS'
39898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39907 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39909 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39911 for ac_func in _sqrtf
39913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39914 echo "$as_me:$LINENO: checking for $ac_func" >&5
39915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39916 if eval "test \"\${$as_ac_var+set}\" = set"; then
39917 echo $ECHO_N "(cached) $ECHO_C" >&6
39918 else
39919 if test x$gcc_no_link = xyes; then
39920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39922 { (exit 1); exit 1; }; }
39924 cat >conftest.$ac_ext <<_ACEOF
39925 /* confdefs.h. */
39926 _ACEOF
39927 cat confdefs.h >>conftest.$ac_ext
39928 cat >>conftest.$ac_ext <<_ACEOF
39929 /* end confdefs.h. */
39930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39932 #define $ac_func innocuous_$ac_func
39934 /* System header to define __stub macros and hopefully few prototypes,
39935 which can conflict with char $ac_func (); below.
39936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39937 <limits.h> exists even on freestanding compilers. */
39939 #ifdef __STDC__
39940 # include <limits.h>
39941 #else
39942 # include <assert.h>
39943 #endif
39945 #undef $ac_func
39947 /* Override any gcc2 internal prototype to avoid an error. */
39948 #ifdef __cplusplus
39949 extern "C"
39951 #endif
39952 /* We use char because int might match the return type of a gcc2
39953 builtin and then its argument prototype would still apply. */
39954 char $ac_func ();
39955 /* The GNU C library defines this for functions which it implements
39956 to always fail with ENOSYS. Some functions are actually named
39957 something starting with __ and the normal name is an alias. */
39958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39959 choke me
39960 #else
39961 char (*f) () = $ac_func;
39962 #endif
39963 #ifdef __cplusplus
39965 #endif
39968 main ()
39970 return f != $ac_func;
39972 return 0;
39974 _ACEOF
39975 rm -f conftest.$ac_objext conftest$ac_exeext
39976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39977 (eval $ac_link) 2>conftest.er1
39978 ac_status=$?
39979 grep -v '^ *+' conftest.er1 >conftest.err
39980 rm -f conftest.er1
39981 cat conftest.err >&5
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); } &&
39984 { ac_try='test -z "$ac_c_werror_flag"
39985 || test ! -s conftest.err'
39986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39987 (eval $ac_try) 2>&5
39988 ac_status=$?
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); }; } &&
39991 { ac_try='test -s conftest$ac_exeext'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39994 ac_status=$?
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; }; then
39997 eval "$as_ac_var=yes"
39998 else
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.$ac_ext >&5
40002 eval "$as_ac_var=no"
40004 rm -f conftest.err conftest.$ac_objext \
40005 conftest$ac_exeext conftest.$ac_ext
40007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40009 if test `eval echo '${'$as_ac_var'}'` = yes; then
40010 cat >>confdefs.h <<_ACEOF
40011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40012 _ACEOF
40015 done
40022 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40023 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40024 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40025 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40031 ac_ext=cc
40032 ac_cpp='$CXXCPP $CPPFLAGS'
40033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40037 cat >conftest.$ac_ext <<_ACEOF
40038 /* confdefs.h. */
40039 _ACEOF
40040 cat confdefs.h >>conftest.$ac_ext
40041 cat >>conftest.$ac_ext <<_ACEOF
40042 /* end confdefs.h. */
40043 #include <math.h>
40045 main ()
40047 sincosf(0, 0, 0);
40049 return 0;
40051 _ACEOF
40052 rm -f conftest.$ac_objext
40053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40054 (eval $ac_compile) 2>conftest.er1
40055 ac_status=$?
40056 grep -v '^ *+' conftest.er1 >conftest.err
40057 rm -f conftest.er1
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } &&
40061 { ac_try='test -z "$ac_cxx_werror_flag"
40062 || test ! -s conftest.err'
40063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40064 (eval $ac_try) 2>&5
40065 ac_status=$?
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); }; } &&
40068 { ac_try='test -s conftest.$ac_objext'
40069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 (eval $ac_try) 2>&5
40071 ac_status=$?
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); }; }; then
40074 glibcxx_cv_func_sincosf_use=yes
40075 else
40076 echo "$as_me: failed program was:" >&5
40077 sed 's/^/| /' conftest.$ac_ext >&5
40079 glibcxx_cv_func_sincosf_use=no
40081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40082 ac_ext=c
40083 ac_cpp='$CPP $CPPFLAGS'
40084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40093 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40095 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40097 for ac_func in sincosf
40099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40100 echo "$as_me:$LINENO: checking for $ac_func" >&5
40101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40102 if eval "test \"\${$as_ac_var+set}\" = set"; then
40103 echo $ECHO_N "(cached) $ECHO_C" >&6
40104 else
40105 if test x$gcc_no_link = xyes; then
40106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40108 { (exit 1); exit 1; }; }
40110 cat >conftest.$ac_ext <<_ACEOF
40111 /* confdefs.h. */
40112 _ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40118 #define $ac_func innocuous_$ac_func
40120 /* System header to define __stub macros and hopefully few prototypes,
40121 which can conflict with char $ac_func (); below.
40122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40123 <limits.h> exists even on freestanding compilers. */
40125 #ifdef __STDC__
40126 # include <limits.h>
40127 #else
40128 # include <assert.h>
40129 #endif
40131 #undef $ac_func
40133 /* Override any gcc2 internal prototype to avoid an error. */
40134 #ifdef __cplusplus
40135 extern "C"
40137 #endif
40138 /* We use char because int might match the return type of a gcc2
40139 builtin and then its argument prototype would still apply. */
40140 char $ac_func ();
40141 /* The GNU C library defines this for functions which it implements
40142 to always fail with ENOSYS. Some functions are actually named
40143 something starting with __ and the normal name is an alias. */
40144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40145 choke me
40146 #else
40147 char (*f) () = $ac_func;
40148 #endif
40149 #ifdef __cplusplus
40151 #endif
40154 main ()
40156 return f != $ac_func;
40158 return 0;
40160 _ACEOF
40161 rm -f conftest.$ac_objext conftest$ac_exeext
40162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40163 (eval $ac_link) 2>conftest.er1
40164 ac_status=$?
40165 grep -v '^ *+' conftest.er1 >conftest.err
40166 rm -f conftest.er1
40167 cat conftest.err >&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); } &&
40170 { ac_try='test -z "$ac_c_werror_flag"
40171 || test ! -s conftest.err'
40172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40173 (eval $ac_try) 2>&5
40174 ac_status=$?
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; } &&
40177 { ac_try='test -s conftest$ac_exeext'
40178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179 (eval $ac_try) 2>&5
40180 ac_status=$?
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); }; }; then
40183 eval "$as_ac_var=yes"
40184 else
40185 echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.$ac_ext >&5
40188 eval "$as_ac_var=no"
40190 rm -f conftest.err conftest.$ac_objext \
40191 conftest$ac_exeext conftest.$ac_ext
40193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40195 if test `eval echo '${'$as_ac_var'}'` = yes; then
40196 cat >>confdefs.h <<_ACEOF
40197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40198 _ACEOF
40201 done
40203 else
40205 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40206 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40207 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40208 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40209 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 else
40214 ac_ext=cc
40215 ac_cpp='$CXXCPP $CPPFLAGS'
40216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40220 cat >conftest.$ac_ext <<_ACEOF
40221 /* confdefs.h. */
40222 _ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h. */
40226 #include <math.h>
40228 main ()
40230 _sincosf(0, 0, 0);
40232 return 0;
40234 _ACEOF
40235 rm -f conftest.$ac_objext
40236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40237 (eval $ac_compile) 2>conftest.er1
40238 ac_status=$?
40239 grep -v '^ *+' conftest.er1 >conftest.err
40240 rm -f conftest.er1
40241 cat conftest.err >&5
40242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243 (exit $ac_status); } &&
40244 { ac_try='test -z "$ac_cxx_werror_flag"
40245 || test ! -s conftest.err'
40246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40247 (eval $ac_try) 2>&5
40248 ac_status=$?
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); }; } &&
40251 { ac_try='test -s conftest.$ac_objext'
40252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40253 (eval $ac_try) 2>&5
40254 ac_status=$?
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); }; }; then
40257 glibcxx_cv_func__sincosf_use=yes
40258 else
40259 echo "$as_me: failed program was:" >&5
40260 sed 's/^/| /' conftest.$ac_ext >&5
40262 glibcxx_cv_func__sincosf_use=no
40264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40265 ac_ext=c
40266 ac_cpp='$CPP $CPPFLAGS'
40267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40275 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40276 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40278 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40280 for ac_func in _sincosf
40282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40283 echo "$as_me:$LINENO: checking for $ac_func" >&5
40284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40285 if eval "test \"\${$as_ac_var+set}\" = set"; then
40286 echo $ECHO_N "(cached) $ECHO_C" >&6
40287 else
40288 if test x$gcc_no_link = xyes; then
40289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40291 { (exit 1); exit 1; }; }
40293 cat >conftest.$ac_ext <<_ACEOF
40294 /* confdefs.h. */
40295 _ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40301 #define $ac_func innocuous_$ac_func
40303 /* System header to define __stub macros and hopefully few prototypes,
40304 which can conflict with char $ac_func (); below.
40305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40306 <limits.h> exists even on freestanding compilers. */
40308 #ifdef __STDC__
40309 # include <limits.h>
40310 #else
40311 # include <assert.h>
40312 #endif
40314 #undef $ac_func
40316 /* Override any gcc2 internal prototype to avoid an error. */
40317 #ifdef __cplusplus
40318 extern "C"
40320 #endif
40321 /* We use char because int might match the return type of a gcc2
40322 builtin and then its argument prototype would still apply. */
40323 char $ac_func ();
40324 /* The GNU C library defines this for functions which it implements
40325 to always fail with ENOSYS. Some functions are actually named
40326 something starting with __ and the normal name is an alias. */
40327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40328 choke me
40329 #else
40330 char (*f) () = $ac_func;
40331 #endif
40332 #ifdef __cplusplus
40334 #endif
40337 main ()
40339 return f != $ac_func;
40341 return 0;
40343 _ACEOF
40344 rm -f conftest.$ac_objext conftest$ac_exeext
40345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40346 (eval $ac_link) 2>conftest.er1
40347 ac_status=$?
40348 grep -v '^ *+' conftest.er1 >conftest.err
40349 rm -f conftest.er1
40350 cat conftest.err >&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } &&
40353 { ac_try='test -z "$ac_c_werror_flag"
40354 || test ! -s conftest.err'
40355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40356 (eval $ac_try) 2>&5
40357 ac_status=$?
40358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359 (exit $ac_status); }; } &&
40360 { ac_try='test -s conftest$ac_exeext'
40361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40362 (eval $ac_try) 2>&5
40363 ac_status=$?
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); }; }; then
40366 eval "$as_ac_var=yes"
40367 else
40368 echo "$as_me: failed program was:" >&5
40369 sed 's/^/| /' conftest.$ac_ext >&5
40371 eval "$as_ac_var=no"
40373 rm -f conftest.err conftest.$ac_objext \
40374 conftest$ac_exeext conftest.$ac_ext
40376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40378 if test `eval echo '${'$as_ac_var'}'` = yes; then
40379 cat >>confdefs.h <<_ACEOF
40380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40381 _ACEOF
40384 done
40391 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40392 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40393 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40394 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40395 echo $ECHO_N "(cached) $ECHO_C" >&6
40396 else
40400 ac_ext=cc
40401 ac_cpp='$CXXCPP $CPPFLAGS'
40402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40406 cat >conftest.$ac_ext <<_ACEOF
40407 /* confdefs.h. */
40408 _ACEOF
40409 cat confdefs.h >>conftest.$ac_ext
40410 cat >>conftest.$ac_ext <<_ACEOF
40411 /* end confdefs.h. */
40412 #include <math.h>
40413 #ifdef HAVE_IEEEFP_H
40414 #include <ieeefp.h>
40415 #endif
40418 main ()
40420 finitef(0);
40422 return 0;
40424 _ACEOF
40425 rm -f conftest.$ac_objext
40426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40427 (eval $ac_compile) 2>conftest.er1
40428 ac_status=$?
40429 grep -v '^ *+' conftest.er1 >conftest.err
40430 rm -f conftest.er1
40431 cat conftest.err >&5
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); } &&
40434 { ac_try='test -z "$ac_cxx_werror_flag"
40435 || test ! -s conftest.err'
40436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40437 (eval $ac_try) 2>&5
40438 ac_status=$?
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); }; } &&
40441 { ac_try='test -s conftest.$ac_objext'
40442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443 (eval $ac_try) 2>&5
40444 ac_status=$?
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); }; }; then
40447 glibcxx_cv_func_finitef_use=yes
40448 else
40449 echo "$as_me: failed program was:" >&5
40450 sed 's/^/| /' conftest.$ac_ext >&5
40452 glibcxx_cv_func_finitef_use=no
40454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40455 ac_ext=c
40456 ac_cpp='$CPP $CPPFLAGS'
40457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40466 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40468 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40470 for ac_func in finitef
40472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40473 echo "$as_me:$LINENO: checking for $ac_func" >&5
40474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40475 if eval "test \"\${$as_ac_var+set}\" = set"; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 else
40478 if test x$gcc_no_link = xyes; then
40479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40481 { (exit 1); exit 1; }; }
40483 cat >conftest.$ac_ext <<_ACEOF
40484 /* confdefs.h. */
40485 _ACEOF
40486 cat confdefs.h >>conftest.$ac_ext
40487 cat >>conftest.$ac_ext <<_ACEOF
40488 /* end confdefs.h. */
40489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40491 #define $ac_func innocuous_$ac_func
40493 /* System header to define __stub macros and hopefully few prototypes,
40494 which can conflict with char $ac_func (); below.
40495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40496 <limits.h> exists even on freestanding compilers. */
40498 #ifdef __STDC__
40499 # include <limits.h>
40500 #else
40501 # include <assert.h>
40502 #endif
40504 #undef $ac_func
40506 /* Override any gcc2 internal prototype to avoid an error. */
40507 #ifdef __cplusplus
40508 extern "C"
40510 #endif
40511 /* We use char because int might match the return type of a gcc2
40512 builtin and then its argument prototype would still apply. */
40513 char $ac_func ();
40514 /* The GNU C library defines this for functions which it implements
40515 to always fail with ENOSYS. Some functions are actually named
40516 something starting with __ and the normal name is an alias. */
40517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40518 choke me
40519 #else
40520 char (*f) () = $ac_func;
40521 #endif
40522 #ifdef __cplusplus
40524 #endif
40527 main ()
40529 return f != $ac_func;
40531 return 0;
40533 _ACEOF
40534 rm -f conftest.$ac_objext conftest$ac_exeext
40535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40536 (eval $ac_link) 2>conftest.er1
40537 ac_status=$?
40538 grep -v '^ *+' conftest.er1 >conftest.err
40539 rm -f conftest.er1
40540 cat conftest.err >&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } &&
40543 { ac_try='test -z "$ac_c_werror_flag"
40544 || test ! -s conftest.err'
40545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40546 (eval $ac_try) 2>&5
40547 ac_status=$?
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); }; } &&
40550 { ac_try='test -s conftest$ac_exeext'
40551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40552 (eval $ac_try) 2>&5
40553 ac_status=$?
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); }; }; then
40556 eval "$as_ac_var=yes"
40557 else
40558 echo "$as_me: failed program was:" >&5
40559 sed 's/^/| /' conftest.$ac_ext >&5
40561 eval "$as_ac_var=no"
40563 rm -f conftest.err conftest.$ac_objext \
40564 conftest$ac_exeext conftest.$ac_ext
40566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40568 if test `eval echo '${'$as_ac_var'}'` = yes; then
40569 cat >>confdefs.h <<_ACEOF
40570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40571 _ACEOF
40574 done
40576 else
40578 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40579 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40580 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40581 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40582 echo $ECHO_N "(cached) $ECHO_C" >&6
40583 else
40587 ac_ext=cc
40588 ac_cpp='$CXXCPP $CPPFLAGS'
40589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40593 cat >conftest.$ac_ext <<_ACEOF
40594 /* confdefs.h. */
40595 _ACEOF
40596 cat confdefs.h >>conftest.$ac_ext
40597 cat >>conftest.$ac_ext <<_ACEOF
40598 /* end confdefs.h. */
40599 #include <math.h>
40600 #ifdef HAVE_IEEEFP_H
40601 #include <ieeefp.h>
40602 #endif
40605 main ()
40607 _finitef(0);
40609 return 0;
40611 _ACEOF
40612 rm -f conftest.$ac_objext
40613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40614 (eval $ac_compile) 2>conftest.er1
40615 ac_status=$?
40616 grep -v '^ *+' conftest.er1 >conftest.err
40617 rm -f conftest.er1
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } &&
40621 { ac_try='test -z "$ac_cxx_werror_flag"
40622 || test ! -s conftest.err'
40623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40624 (eval $ac_try) 2>&5
40625 ac_status=$?
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); }; } &&
40628 { ac_try='test -s conftest.$ac_objext'
40629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40630 (eval $ac_try) 2>&5
40631 ac_status=$?
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); }; }; then
40634 glibcxx_cv_func__finitef_use=yes
40635 else
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40639 glibcxx_cv_func__finitef_use=no
40641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40642 ac_ext=c
40643 ac_cpp='$CPP $CPPFLAGS'
40644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40653 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40655 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40657 for ac_func in _finitef
40659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40660 echo "$as_me:$LINENO: checking for $ac_func" >&5
40661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40662 if eval "test \"\${$as_ac_var+set}\" = set"; then
40663 echo $ECHO_N "(cached) $ECHO_C" >&6
40664 else
40665 if test x$gcc_no_link = xyes; then
40666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40668 { (exit 1); exit 1; }; }
40670 cat >conftest.$ac_ext <<_ACEOF
40671 /* confdefs.h. */
40672 _ACEOF
40673 cat confdefs.h >>conftest.$ac_ext
40674 cat >>conftest.$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40678 #define $ac_func innocuous_$ac_func
40680 /* System header to define __stub macros and hopefully few prototypes,
40681 which can conflict with char $ac_func (); below.
40682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40683 <limits.h> exists even on freestanding compilers. */
40685 #ifdef __STDC__
40686 # include <limits.h>
40687 #else
40688 # include <assert.h>
40689 #endif
40691 #undef $ac_func
40693 /* Override any gcc2 internal prototype to avoid an error. */
40694 #ifdef __cplusplus
40695 extern "C"
40697 #endif
40698 /* We use char because int might match the return type of a gcc2
40699 builtin and then its argument prototype would still apply. */
40700 char $ac_func ();
40701 /* The GNU C library defines this for functions which it implements
40702 to always fail with ENOSYS. Some functions are actually named
40703 something starting with __ and the normal name is an alias. */
40704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40705 choke me
40706 #else
40707 char (*f) () = $ac_func;
40708 #endif
40709 #ifdef __cplusplus
40711 #endif
40714 main ()
40716 return f != $ac_func;
40718 return 0;
40720 _ACEOF
40721 rm -f conftest.$ac_objext conftest$ac_exeext
40722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40723 (eval $ac_link) 2>conftest.er1
40724 ac_status=$?
40725 grep -v '^ *+' conftest.er1 >conftest.err
40726 rm -f conftest.er1
40727 cat conftest.err >&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } &&
40730 { ac_try='test -z "$ac_c_werror_flag"
40731 || test ! -s conftest.err'
40732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40733 (eval $ac_try) 2>&5
40734 ac_status=$?
40735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736 (exit $ac_status); }; } &&
40737 { ac_try='test -s conftest$ac_exeext'
40738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40739 (eval $ac_try) 2>&5
40740 ac_status=$?
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); }; }; then
40743 eval "$as_ac_var=yes"
40744 else
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40748 eval "$as_ac_var=no"
40750 rm -f conftest.err conftest.$ac_objext \
40751 conftest$ac_exeext conftest.$ac_ext
40753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40755 if test `eval echo '${'$as_ac_var'}'` = yes; then
40756 cat >>confdefs.h <<_ACEOF
40757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40758 _ACEOF
40761 done
40768 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40769 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40770 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40771 echo $ECHO_N "(cached) $ECHO_C" >&6
40772 else
40776 ac_ext=cc
40777 ac_cpp='$CXXCPP $CPPFLAGS'
40778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40782 cat >conftest.$ac_ext <<_ACEOF
40783 /* confdefs.h. */
40784 _ACEOF
40785 cat confdefs.h >>conftest.$ac_ext
40786 cat >>conftest.$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40788 #include <math.h>
40790 main ()
40792 `for x in acosl asinl atanl \
40793 cosl sinl tanl \
40794 coshl sinhl tanhl; do echo "$x (0);"; done`
40796 return 0;
40798 _ACEOF
40799 rm -f conftest.$ac_objext
40800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40801 (eval $ac_compile) 2>conftest.er1
40802 ac_status=$?
40803 grep -v '^ *+' conftest.er1 >conftest.err
40804 rm -f conftest.er1
40805 cat conftest.err >&5
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); } &&
40808 { ac_try='test -z "$ac_cxx_werror_flag"
40809 || test ! -s conftest.err'
40810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40811 (eval $ac_try) 2>&5
40812 ac_status=$?
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); }; } &&
40815 { ac_try='test -s conftest.$ac_objext'
40816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40817 (eval $ac_try) 2>&5
40818 ac_status=$?
40819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40820 (exit $ac_status); }; }; then
40821 glibcxx_cv_func_long_double_trig_use=yes
40822 else
40823 echo "$as_me: failed program was:" >&5
40824 sed 's/^/| /' conftest.$ac_ext >&5
40826 glibcxx_cv_func_long_double_trig_use=no
40828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40829 ac_ext=c
40830 ac_cpp='$CPP $CPPFLAGS'
40831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40838 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40839 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40849 for ac_func in acosl asinl atanl \
40850 cosl sinl tanl \
40851 coshl sinhl tanhl
40853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40854 echo "$as_me:$LINENO: checking for $ac_func" >&5
40855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40856 if eval "test \"\${$as_ac_var+set}\" = set"; then
40857 echo $ECHO_N "(cached) $ECHO_C" >&6
40858 else
40859 if test x$gcc_no_link = xyes; then
40860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40862 { (exit 1); exit 1; }; }
40864 cat >conftest.$ac_ext <<_ACEOF
40865 /* confdefs.h. */
40866 _ACEOF
40867 cat confdefs.h >>conftest.$ac_ext
40868 cat >>conftest.$ac_ext <<_ACEOF
40869 /* end confdefs.h. */
40870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40872 #define $ac_func innocuous_$ac_func
40874 /* System header to define __stub macros and hopefully few prototypes,
40875 which can conflict with char $ac_func (); below.
40876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40877 <limits.h> exists even on freestanding compilers. */
40879 #ifdef __STDC__
40880 # include <limits.h>
40881 #else
40882 # include <assert.h>
40883 #endif
40885 #undef $ac_func
40887 /* Override any gcc2 internal prototype to avoid an error. */
40888 #ifdef __cplusplus
40889 extern "C"
40891 #endif
40892 /* We use char because int might match the return type of a gcc2
40893 builtin and then its argument prototype would still apply. */
40894 char $ac_func ();
40895 /* The GNU C library defines this for functions which it implements
40896 to always fail with ENOSYS. Some functions are actually named
40897 something starting with __ and the normal name is an alias. */
40898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40899 choke me
40900 #else
40901 char (*f) () = $ac_func;
40902 #endif
40903 #ifdef __cplusplus
40905 #endif
40908 main ()
40910 return f != $ac_func;
40912 return 0;
40914 _ACEOF
40915 rm -f conftest.$ac_objext conftest$ac_exeext
40916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40917 (eval $ac_link) 2>conftest.er1
40918 ac_status=$?
40919 grep -v '^ *+' conftest.er1 >conftest.err
40920 rm -f conftest.er1
40921 cat conftest.err >&5
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); } &&
40924 { ac_try='test -z "$ac_c_werror_flag"
40925 || test ! -s conftest.err'
40926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40927 (eval $ac_try) 2>&5
40928 ac_status=$?
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); }; } &&
40931 { ac_try='test -s conftest$ac_exeext'
40932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40933 (eval $ac_try) 2>&5
40934 ac_status=$?
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); }; }; then
40937 eval "$as_ac_var=yes"
40938 else
40939 echo "$as_me: failed program was:" >&5
40940 sed 's/^/| /' conftest.$ac_ext >&5
40942 eval "$as_ac_var=no"
40944 rm -f conftest.err conftest.$ac_objext \
40945 conftest$ac_exeext conftest.$ac_ext
40947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40949 if test `eval echo '${'$as_ac_var'}'` = yes; then
40950 cat >>confdefs.h <<_ACEOF
40951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40952 _ACEOF
40955 done
40960 echo "$as_me:$LINENO: checking for long double round functions" >&5
40961 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40962 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40964 else
40968 ac_ext=cc
40969 ac_cpp='$CXXCPP $CPPFLAGS'
40970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40974 cat >conftest.$ac_ext <<_ACEOF
40975 /* confdefs.h. */
40976 _ACEOF
40977 cat confdefs.h >>conftest.$ac_ext
40978 cat >>conftest.$ac_ext <<_ACEOF
40979 /* end confdefs.h. */
40980 #include <math.h>
40982 main ()
40984 `for x in ceill floorl; do echo "$x (0);"; done`
40986 return 0;
40988 _ACEOF
40989 rm -f conftest.$ac_objext
40990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40991 (eval $ac_compile) 2>conftest.er1
40992 ac_status=$?
40993 grep -v '^ *+' conftest.er1 >conftest.err
40994 rm -f conftest.er1
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } &&
40998 { ac_try='test -z "$ac_cxx_werror_flag"
40999 || test ! -s conftest.err'
41000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41001 (eval $ac_try) 2>&5
41002 ac_status=$?
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); }; } &&
41005 { ac_try='test -s conftest.$ac_objext'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; }; then
41011 glibcxx_cv_func_long_double_round_use=yes
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41016 glibcxx_cv_func_long_double_round_use=no
41018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41019 ac_ext=c
41020 ac_cpp='$CPP $CPPFLAGS'
41021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41028 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41029 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41032 for ac_func in ceill floorl
41034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41035 echo "$as_me:$LINENO: checking for $ac_func" >&5
41036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41037 if eval "test \"\${$as_ac_var+set}\" = set"; then
41038 echo $ECHO_N "(cached) $ECHO_C" >&6
41039 else
41040 if test x$gcc_no_link = xyes; then
41041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41043 { (exit 1); exit 1; }; }
41045 cat >conftest.$ac_ext <<_ACEOF
41046 /* confdefs.h. */
41047 _ACEOF
41048 cat confdefs.h >>conftest.$ac_ext
41049 cat >>conftest.$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41053 #define $ac_func innocuous_$ac_func
41055 /* System header to define __stub macros and hopefully few prototypes,
41056 which can conflict with char $ac_func (); below.
41057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41058 <limits.h> exists even on freestanding compilers. */
41060 #ifdef __STDC__
41061 # include <limits.h>
41062 #else
41063 # include <assert.h>
41064 #endif
41066 #undef $ac_func
41068 /* Override any gcc2 internal prototype to avoid an error. */
41069 #ifdef __cplusplus
41070 extern "C"
41072 #endif
41073 /* We use char because int might match the return type of a gcc2
41074 builtin and then its argument prototype would still apply. */
41075 char $ac_func ();
41076 /* The GNU C library defines this for functions which it implements
41077 to always fail with ENOSYS. Some functions are actually named
41078 something starting with __ and the normal name is an alias. */
41079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41080 choke me
41081 #else
41082 char (*f) () = $ac_func;
41083 #endif
41084 #ifdef __cplusplus
41086 #endif
41089 main ()
41091 return f != $ac_func;
41093 return 0;
41095 _ACEOF
41096 rm -f conftest.$ac_objext conftest$ac_exeext
41097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41098 (eval $ac_link) 2>conftest.er1
41099 ac_status=$?
41100 grep -v '^ *+' conftest.er1 >conftest.err
41101 rm -f conftest.er1
41102 cat conftest.err >&5
41103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41104 (exit $ac_status); } &&
41105 { ac_try='test -z "$ac_c_werror_flag"
41106 || test ! -s conftest.err'
41107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41108 (eval $ac_try) 2>&5
41109 ac_status=$?
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); }; } &&
41112 { ac_try='test -s conftest$ac_exeext'
41113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41114 (eval $ac_try) 2>&5
41115 ac_status=$?
41116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117 (exit $ac_status); }; }; then
41118 eval "$as_ac_var=yes"
41119 else
41120 echo "$as_me: failed program was:" >&5
41121 sed 's/^/| /' conftest.$ac_ext >&5
41123 eval "$as_ac_var=no"
41125 rm -f conftest.err conftest.$ac_objext \
41126 conftest$ac_exeext conftest.$ac_ext
41128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41130 if test `eval echo '${'$as_ac_var'}'` = yes; then
41131 cat >>confdefs.h <<_ACEOF
41132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41133 _ACEOF
41136 done
41142 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41143 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41144 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41145 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41146 echo $ECHO_N "(cached) $ECHO_C" >&6
41147 else
41151 ac_ext=cc
41152 ac_cpp='$CXXCPP $CPPFLAGS'
41153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41157 cat >conftest.$ac_ext <<_ACEOF
41158 /* confdefs.h. */
41159 _ACEOF
41160 cat confdefs.h >>conftest.$ac_ext
41161 cat >>conftest.$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41163 #include <math.h>
41164 #ifdef HAVE_IEEEFP_H
41165 #include <ieeefp.h>
41166 #endif
41169 main ()
41171 isnanl(0);
41173 return 0;
41175 _ACEOF
41176 rm -f conftest.$ac_objext
41177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41178 (eval $ac_compile) 2>conftest.er1
41179 ac_status=$?
41180 grep -v '^ *+' conftest.er1 >conftest.err
41181 rm -f conftest.er1
41182 cat conftest.err >&5
41183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41184 (exit $ac_status); } &&
41185 { ac_try='test -z "$ac_cxx_werror_flag"
41186 || test ! -s conftest.err'
41187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41188 (eval $ac_try) 2>&5
41189 ac_status=$?
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); }; } &&
41192 { ac_try='test -s conftest.$ac_objext'
41193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41194 (eval $ac_try) 2>&5
41195 ac_status=$?
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); }; }; then
41198 glibcxx_cv_func_isnanl_use=yes
41199 else
41200 echo "$as_me: failed program was:" >&5
41201 sed 's/^/| /' conftest.$ac_ext >&5
41203 glibcxx_cv_func_isnanl_use=no
41205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41206 ac_ext=c
41207 ac_cpp='$CPP $CPPFLAGS'
41208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41217 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41219 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41221 for ac_func in isnanl
41223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41224 echo "$as_me:$LINENO: checking for $ac_func" >&5
41225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41226 if eval "test \"\${$as_ac_var+set}\" = set"; then
41227 echo $ECHO_N "(cached) $ECHO_C" >&6
41228 else
41229 if test x$gcc_no_link = xyes; then
41230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41232 { (exit 1); exit 1; }; }
41234 cat >conftest.$ac_ext <<_ACEOF
41235 /* confdefs.h. */
41236 _ACEOF
41237 cat confdefs.h >>conftest.$ac_ext
41238 cat >>conftest.$ac_ext <<_ACEOF
41239 /* end confdefs.h. */
41240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41242 #define $ac_func innocuous_$ac_func
41244 /* System header to define __stub macros and hopefully few prototypes,
41245 which can conflict with char $ac_func (); below.
41246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41247 <limits.h> exists even on freestanding compilers. */
41249 #ifdef __STDC__
41250 # include <limits.h>
41251 #else
41252 # include <assert.h>
41253 #endif
41255 #undef $ac_func
41257 /* Override any gcc2 internal prototype to avoid an error. */
41258 #ifdef __cplusplus
41259 extern "C"
41261 #endif
41262 /* We use char because int might match the return type of a gcc2
41263 builtin and then its argument prototype would still apply. */
41264 char $ac_func ();
41265 /* The GNU C library defines this for functions which it implements
41266 to always fail with ENOSYS. Some functions are actually named
41267 something starting with __ and the normal name is an alias. */
41268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41269 choke me
41270 #else
41271 char (*f) () = $ac_func;
41272 #endif
41273 #ifdef __cplusplus
41275 #endif
41278 main ()
41280 return f != $ac_func;
41282 return 0;
41284 _ACEOF
41285 rm -f conftest.$ac_objext conftest$ac_exeext
41286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41287 (eval $ac_link) 2>conftest.er1
41288 ac_status=$?
41289 grep -v '^ *+' conftest.er1 >conftest.err
41290 rm -f conftest.er1
41291 cat conftest.err >&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); } &&
41294 { ac_try='test -z "$ac_c_werror_flag"
41295 || test ! -s conftest.err'
41296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41297 (eval $ac_try) 2>&5
41298 ac_status=$?
41299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41300 (exit $ac_status); }; } &&
41301 { ac_try='test -s conftest$ac_exeext'
41302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41303 (eval $ac_try) 2>&5
41304 ac_status=$?
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); }; }; then
41307 eval "$as_ac_var=yes"
41308 else
41309 echo "$as_me: failed program was:" >&5
41310 sed 's/^/| /' conftest.$ac_ext >&5
41312 eval "$as_ac_var=no"
41314 rm -f conftest.err conftest.$ac_objext \
41315 conftest$ac_exeext conftest.$ac_ext
41317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41319 if test `eval echo '${'$as_ac_var'}'` = yes; then
41320 cat >>confdefs.h <<_ACEOF
41321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41322 _ACEOF
41325 done
41327 else
41329 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41330 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41331 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41332 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41333 echo $ECHO_N "(cached) $ECHO_C" >&6
41334 else
41338 ac_ext=cc
41339 ac_cpp='$CXXCPP $CPPFLAGS'
41340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41344 cat >conftest.$ac_ext <<_ACEOF
41345 /* confdefs.h. */
41346 _ACEOF
41347 cat confdefs.h >>conftest.$ac_ext
41348 cat >>conftest.$ac_ext <<_ACEOF
41349 /* end confdefs.h. */
41350 #include <math.h>
41351 #ifdef HAVE_IEEEFP_H
41352 #include <ieeefp.h>
41353 #endif
41356 main ()
41358 _isnanl(0);
41360 return 0;
41362 _ACEOF
41363 rm -f conftest.$ac_objext
41364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41365 (eval $ac_compile) 2>conftest.er1
41366 ac_status=$?
41367 grep -v '^ *+' conftest.er1 >conftest.err
41368 rm -f conftest.er1
41369 cat conftest.err >&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); } &&
41372 { ac_try='test -z "$ac_cxx_werror_flag"
41373 || test ! -s conftest.err'
41374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41375 (eval $ac_try) 2>&5
41376 ac_status=$?
41377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378 (exit $ac_status); }; } &&
41379 { ac_try='test -s conftest.$ac_objext'
41380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41381 (eval $ac_try) 2>&5
41382 ac_status=$?
41383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41384 (exit $ac_status); }; }; then
41385 glibcxx_cv_func__isnanl_use=yes
41386 else
41387 echo "$as_me: failed program was:" >&5
41388 sed 's/^/| /' conftest.$ac_ext >&5
41390 glibcxx_cv_func__isnanl_use=no
41392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41393 ac_ext=c
41394 ac_cpp='$CPP $CPPFLAGS'
41395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41404 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41406 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41408 for ac_func in _isnanl
41410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41411 echo "$as_me:$LINENO: checking for $ac_func" >&5
41412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41413 if eval "test \"\${$as_ac_var+set}\" = set"; then
41414 echo $ECHO_N "(cached) $ECHO_C" >&6
41415 else
41416 if test x$gcc_no_link = xyes; then
41417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41419 { (exit 1); exit 1; }; }
41421 cat >conftest.$ac_ext <<_ACEOF
41422 /* confdefs.h. */
41423 _ACEOF
41424 cat confdefs.h >>conftest.$ac_ext
41425 cat >>conftest.$ac_ext <<_ACEOF
41426 /* end confdefs.h. */
41427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41429 #define $ac_func innocuous_$ac_func
41431 /* System header to define __stub macros and hopefully few prototypes,
41432 which can conflict with char $ac_func (); below.
41433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41434 <limits.h> exists even on freestanding compilers. */
41436 #ifdef __STDC__
41437 # include <limits.h>
41438 #else
41439 # include <assert.h>
41440 #endif
41442 #undef $ac_func
41444 /* Override any gcc2 internal prototype to avoid an error. */
41445 #ifdef __cplusplus
41446 extern "C"
41448 #endif
41449 /* We use char because int might match the return type of a gcc2
41450 builtin and then its argument prototype would still apply. */
41451 char $ac_func ();
41452 /* The GNU C library defines this for functions which it implements
41453 to always fail with ENOSYS. Some functions are actually named
41454 something starting with __ and the normal name is an alias. */
41455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41456 choke me
41457 #else
41458 char (*f) () = $ac_func;
41459 #endif
41460 #ifdef __cplusplus
41462 #endif
41465 main ()
41467 return f != $ac_func;
41469 return 0;
41471 _ACEOF
41472 rm -f conftest.$ac_objext conftest$ac_exeext
41473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41474 (eval $ac_link) 2>conftest.er1
41475 ac_status=$?
41476 grep -v '^ *+' conftest.er1 >conftest.err
41477 rm -f conftest.er1
41478 cat conftest.err >&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); } &&
41481 { ac_try='test -z "$ac_c_werror_flag"
41482 || test ! -s conftest.err'
41483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41484 (eval $ac_try) 2>&5
41485 ac_status=$?
41486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41487 (exit $ac_status); }; } &&
41488 { ac_try='test -s conftest$ac_exeext'
41489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41490 (eval $ac_try) 2>&5
41491 ac_status=$?
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); }; }; then
41494 eval "$as_ac_var=yes"
41495 else
41496 echo "$as_me: failed program was:" >&5
41497 sed 's/^/| /' conftest.$ac_ext >&5
41499 eval "$as_ac_var=no"
41501 rm -f conftest.err conftest.$ac_objext \
41502 conftest$ac_exeext conftest.$ac_ext
41504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41506 if test `eval echo '${'$as_ac_var'}'` = yes; then
41507 cat >>confdefs.h <<_ACEOF
41508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41509 _ACEOF
41512 done
41519 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41520 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41521 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41522 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41523 echo $ECHO_N "(cached) $ECHO_C" >&6
41524 else
41528 ac_ext=cc
41529 ac_cpp='$CXXCPP $CPPFLAGS'
41530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41534 cat >conftest.$ac_ext <<_ACEOF
41535 /* confdefs.h. */
41536 _ACEOF
41537 cat confdefs.h >>conftest.$ac_ext
41538 cat >>conftest.$ac_ext <<_ACEOF
41539 /* end confdefs.h. */
41540 #include <math.h>
41541 #ifdef HAVE_IEEEFP_H
41542 #include <ieeefp.h>
41543 #endif
41546 main ()
41548 isinfl(0);
41550 return 0;
41552 _ACEOF
41553 rm -f conftest.$ac_objext
41554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41555 (eval $ac_compile) 2>conftest.er1
41556 ac_status=$?
41557 grep -v '^ *+' conftest.er1 >conftest.err
41558 rm -f conftest.er1
41559 cat conftest.err >&5
41560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41561 (exit $ac_status); } &&
41562 { ac_try='test -z "$ac_cxx_werror_flag"
41563 || test ! -s conftest.err'
41564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41565 (eval $ac_try) 2>&5
41566 ac_status=$?
41567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568 (exit $ac_status); }; } &&
41569 { ac_try='test -s conftest.$ac_objext'
41570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571 (eval $ac_try) 2>&5
41572 ac_status=$?
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; }; then
41575 glibcxx_cv_func_isinfl_use=yes
41576 else
41577 echo "$as_me: failed program was:" >&5
41578 sed 's/^/| /' conftest.$ac_ext >&5
41580 glibcxx_cv_func_isinfl_use=no
41582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41583 ac_ext=c
41584 ac_cpp='$CPP $CPPFLAGS'
41585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41594 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41596 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41598 for ac_func in isinfl
41600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41601 echo "$as_me:$LINENO: checking for $ac_func" >&5
41602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41603 if eval "test \"\${$as_ac_var+set}\" = set"; then
41604 echo $ECHO_N "(cached) $ECHO_C" >&6
41605 else
41606 if test x$gcc_no_link = xyes; then
41607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41609 { (exit 1); exit 1; }; }
41611 cat >conftest.$ac_ext <<_ACEOF
41612 /* confdefs.h. */
41613 _ACEOF
41614 cat confdefs.h >>conftest.$ac_ext
41615 cat >>conftest.$ac_ext <<_ACEOF
41616 /* end confdefs.h. */
41617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41619 #define $ac_func innocuous_$ac_func
41621 /* System header to define __stub macros and hopefully few prototypes,
41622 which can conflict with char $ac_func (); below.
41623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41624 <limits.h> exists even on freestanding compilers. */
41626 #ifdef __STDC__
41627 # include <limits.h>
41628 #else
41629 # include <assert.h>
41630 #endif
41632 #undef $ac_func
41634 /* Override any gcc2 internal prototype to avoid an error. */
41635 #ifdef __cplusplus
41636 extern "C"
41638 #endif
41639 /* We use char because int might match the return type of a gcc2
41640 builtin and then its argument prototype would still apply. */
41641 char $ac_func ();
41642 /* The GNU C library defines this for functions which it implements
41643 to always fail with ENOSYS. Some functions are actually named
41644 something starting with __ and the normal name is an alias. */
41645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41646 choke me
41647 #else
41648 char (*f) () = $ac_func;
41649 #endif
41650 #ifdef __cplusplus
41652 #endif
41655 main ()
41657 return f != $ac_func;
41659 return 0;
41661 _ACEOF
41662 rm -f conftest.$ac_objext conftest$ac_exeext
41663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41664 (eval $ac_link) 2>conftest.er1
41665 ac_status=$?
41666 grep -v '^ *+' conftest.er1 >conftest.err
41667 rm -f conftest.er1
41668 cat conftest.err >&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); } &&
41671 { ac_try='test -z "$ac_c_werror_flag"
41672 || test ! -s conftest.err'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41675 ac_status=$?
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; } &&
41678 { ac_try='test -s conftest$ac_exeext'
41679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41680 (eval $ac_try) 2>&5
41681 ac_status=$?
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); }; }; then
41684 eval "$as_ac_var=yes"
41685 else
41686 echo "$as_me: failed program was:" >&5
41687 sed 's/^/| /' conftest.$ac_ext >&5
41689 eval "$as_ac_var=no"
41691 rm -f conftest.err conftest.$ac_objext \
41692 conftest$ac_exeext conftest.$ac_ext
41694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41696 if test `eval echo '${'$as_ac_var'}'` = yes; then
41697 cat >>confdefs.h <<_ACEOF
41698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41699 _ACEOF
41702 done
41704 else
41706 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41707 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41708 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41709 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41710 echo $ECHO_N "(cached) $ECHO_C" >&6
41711 else
41715 ac_ext=cc
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41721 cat >conftest.$ac_ext <<_ACEOF
41722 /* confdefs.h. */
41723 _ACEOF
41724 cat confdefs.h >>conftest.$ac_ext
41725 cat >>conftest.$ac_ext <<_ACEOF
41726 /* end confdefs.h. */
41727 #include <math.h>
41728 #ifdef HAVE_IEEEFP_H
41729 #include <ieeefp.h>
41730 #endif
41733 main ()
41735 _isinfl(0);
41737 return 0;
41739 _ACEOF
41740 rm -f conftest.$ac_objext
41741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41742 (eval $ac_compile) 2>conftest.er1
41743 ac_status=$?
41744 grep -v '^ *+' conftest.er1 >conftest.err
41745 rm -f conftest.er1
41746 cat conftest.err >&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); } &&
41749 { ac_try='test -z "$ac_cxx_werror_flag"
41750 || test ! -s conftest.err'
41751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41752 (eval $ac_try) 2>&5
41753 ac_status=$?
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; } &&
41756 { ac_try='test -s conftest.$ac_objext'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41759 ac_status=$?
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; }; then
41762 glibcxx_cv_func__isinfl_use=yes
41763 else
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.$ac_ext >&5
41767 glibcxx_cv_func__isinfl_use=no
41769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41770 ac_ext=c
41771 ac_cpp='$CPP $CPPFLAGS'
41772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41781 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41783 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41785 for ac_func in _isinfl
41787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41788 echo "$as_me:$LINENO: checking for $ac_func" >&5
41789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41790 if eval "test \"\${$as_ac_var+set}\" = set"; then
41791 echo $ECHO_N "(cached) $ECHO_C" >&6
41792 else
41793 if test x$gcc_no_link = xyes; then
41794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41796 { (exit 1); exit 1; }; }
41798 cat >conftest.$ac_ext <<_ACEOF
41799 /* confdefs.h. */
41800 _ACEOF
41801 cat confdefs.h >>conftest.$ac_ext
41802 cat >>conftest.$ac_ext <<_ACEOF
41803 /* end confdefs.h. */
41804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41806 #define $ac_func innocuous_$ac_func
41808 /* System header to define __stub macros and hopefully few prototypes,
41809 which can conflict with char $ac_func (); below.
41810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41811 <limits.h> exists even on freestanding compilers. */
41813 #ifdef __STDC__
41814 # include <limits.h>
41815 #else
41816 # include <assert.h>
41817 #endif
41819 #undef $ac_func
41821 /* Override any gcc2 internal prototype to avoid an error. */
41822 #ifdef __cplusplus
41823 extern "C"
41825 #endif
41826 /* We use char because int might match the return type of a gcc2
41827 builtin and then its argument prototype would still apply. */
41828 char $ac_func ();
41829 /* The GNU C library defines this for functions which it implements
41830 to always fail with ENOSYS. Some functions are actually named
41831 something starting with __ and the normal name is an alias. */
41832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41833 choke me
41834 #else
41835 char (*f) () = $ac_func;
41836 #endif
41837 #ifdef __cplusplus
41839 #endif
41842 main ()
41844 return f != $ac_func;
41846 return 0;
41848 _ACEOF
41849 rm -f conftest.$ac_objext conftest$ac_exeext
41850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41851 (eval $ac_link) 2>conftest.er1
41852 ac_status=$?
41853 grep -v '^ *+' conftest.er1 >conftest.err
41854 rm -f conftest.er1
41855 cat conftest.err >&5
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); } &&
41858 { ac_try='test -z "$ac_c_werror_flag"
41859 || test ! -s conftest.err'
41860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41861 (eval $ac_try) 2>&5
41862 ac_status=$?
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); }; } &&
41865 { ac_try='test -s conftest$ac_exeext'
41866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41867 (eval $ac_try) 2>&5
41868 ac_status=$?
41869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41870 (exit $ac_status); }; }; then
41871 eval "$as_ac_var=yes"
41872 else
41873 echo "$as_me: failed program was:" >&5
41874 sed 's/^/| /' conftest.$ac_ext >&5
41876 eval "$as_ac_var=no"
41878 rm -f conftest.err conftest.$ac_objext \
41879 conftest$ac_exeext conftest.$ac_ext
41881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41883 if test `eval echo '${'$as_ac_var'}'` = yes; then
41884 cat >>confdefs.h <<_ACEOF
41885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41886 _ACEOF
41889 done
41896 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41897 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41898 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41899 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41900 echo $ECHO_N "(cached) $ECHO_C" >&6
41901 else
41905 ac_ext=cc
41906 ac_cpp='$CXXCPP $CPPFLAGS'
41907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41911 cat >conftest.$ac_ext <<_ACEOF
41912 /* confdefs.h. */
41913 _ACEOF
41914 cat confdefs.h >>conftest.$ac_ext
41915 cat >>conftest.$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41917 #include <math.h>
41919 main ()
41921 copysignl(0, 0);
41923 return 0;
41925 _ACEOF
41926 rm -f conftest.$ac_objext
41927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41928 (eval $ac_compile) 2>conftest.er1
41929 ac_status=$?
41930 grep -v '^ *+' conftest.er1 >conftest.err
41931 rm -f conftest.er1
41932 cat conftest.err >&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); } &&
41935 { ac_try='test -z "$ac_cxx_werror_flag"
41936 || test ! -s conftest.err'
41937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41938 (eval $ac_try) 2>&5
41939 ac_status=$?
41940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41941 (exit $ac_status); }; } &&
41942 { ac_try='test -s conftest.$ac_objext'
41943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41944 (eval $ac_try) 2>&5
41945 ac_status=$?
41946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41947 (exit $ac_status); }; }; then
41948 glibcxx_cv_func_copysignl_use=yes
41949 else
41950 echo "$as_me: failed program was:" >&5
41951 sed 's/^/| /' conftest.$ac_ext >&5
41953 glibcxx_cv_func_copysignl_use=no
41955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41956 ac_ext=c
41957 ac_cpp='$CPP $CPPFLAGS'
41958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41966 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41967 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41969 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41971 for ac_func in copysignl
41973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41974 echo "$as_me:$LINENO: checking for $ac_func" >&5
41975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41976 if eval "test \"\${$as_ac_var+set}\" = set"; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 else
41979 if test x$gcc_no_link = xyes; then
41980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41982 { (exit 1); exit 1; }; }
41984 cat >conftest.$ac_ext <<_ACEOF
41985 /* confdefs.h. */
41986 _ACEOF
41987 cat confdefs.h >>conftest.$ac_ext
41988 cat >>conftest.$ac_ext <<_ACEOF
41989 /* end confdefs.h. */
41990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41992 #define $ac_func innocuous_$ac_func
41994 /* System header to define __stub macros and hopefully few prototypes,
41995 which can conflict with char $ac_func (); below.
41996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41997 <limits.h> exists even on freestanding compilers. */
41999 #ifdef __STDC__
42000 # include <limits.h>
42001 #else
42002 # include <assert.h>
42003 #endif
42005 #undef $ac_func
42007 /* Override any gcc2 internal prototype to avoid an error. */
42008 #ifdef __cplusplus
42009 extern "C"
42011 #endif
42012 /* We use char because int might match the return type of a gcc2
42013 builtin and then its argument prototype would still apply. */
42014 char $ac_func ();
42015 /* The GNU C library defines this for functions which it implements
42016 to always fail with ENOSYS. Some functions are actually named
42017 something starting with __ and the normal name is an alias. */
42018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42019 choke me
42020 #else
42021 char (*f) () = $ac_func;
42022 #endif
42023 #ifdef __cplusplus
42025 #endif
42028 main ()
42030 return f != $ac_func;
42032 return 0;
42034 _ACEOF
42035 rm -f conftest.$ac_objext conftest$ac_exeext
42036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42037 (eval $ac_link) 2>conftest.er1
42038 ac_status=$?
42039 grep -v '^ *+' conftest.er1 >conftest.err
42040 rm -f conftest.er1
42041 cat conftest.err >&5
42042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42043 (exit $ac_status); } &&
42044 { ac_try='test -z "$ac_c_werror_flag"
42045 || test ! -s conftest.err'
42046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42047 (eval $ac_try) 2>&5
42048 ac_status=$?
42049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42050 (exit $ac_status); }; } &&
42051 { ac_try='test -s conftest$ac_exeext'
42052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42053 (eval $ac_try) 2>&5
42054 ac_status=$?
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); }; }; then
42057 eval "$as_ac_var=yes"
42058 else
42059 echo "$as_me: failed program was:" >&5
42060 sed 's/^/| /' conftest.$ac_ext >&5
42062 eval "$as_ac_var=no"
42064 rm -f conftest.err conftest.$ac_objext \
42065 conftest$ac_exeext conftest.$ac_ext
42067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42069 if test `eval echo '${'$as_ac_var'}'` = yes; then
42070 cat >>confdefs.h <<_ACEOF
42071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42072 _ACEOF
42075 done
42077 else
42079 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42080 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42081 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42082 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42083 echo $ECHO_N "(cached) $ECHO_C" >&6
42084 else
42088 ac_ext=cc
42089 ac_cpp='$CXXCPP $CPPFLAGS'
42090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42094 cat >conftest.$ac_ext <<_ACEOF
42095 /* confdefs.h. */
42096 _ACEOF
42097 cat confdefs.h >>conftest.$ac_ext
42098 cat >>conftest.$ac_ext <<_ACEOF
42099 /* end confdefs.h. */
42100 #include <math.h>
42102 main ()
42104 _copysignl(0, 0);
42106 return 0;
42108 _ACEOF
42109 rm -f conftest.$ac_objext
42110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42111 (eval $ac_compile) 2>conftest.er1
42112 ac_status=$?
42113 grep -v '^ *+' conftest.er1 >conftest.err
42114 rm -f conftest.er1
42115 cat conftest.err >&5
42116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42117 (exit $ac_status); } &&
42118 { ac_try='test -z "$ac_cxx_werror_flag"
42119 || test ! -s conftest.err'
42120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42121 (eval $ac_try) 2>&5
42122 ac_status=$?
42123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42124 (exit $ac_status); }; } &&
42125 { ac_try='test -s conftest.$ac_objext'
42126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42127 (eval $ac_try) 2>&5
42128 ac_status=$?
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); }; }; then
42131 glibcxx_cv_func__copysignl_use=yes
42132 else
42133 echo "$as_me: failed program was:" >&5
42134 sed 's/^/| /' conftest.$ac_ext >&5
42136 glibcxx_cv_func__copysignl_use=no
42138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42139 ac_ext=c
42140 ac_cpp='$CPP $CPPFLAGS'
42141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42149 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42150 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42152 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42154 for ac_func in _copysignl
42156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42157 echo "$as_me:$LINENO: checking for $ac_func" >&5
42158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42159 if eval "test \"\${$as_ac_var+set}\" = set"; then
42160 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 else
42162 if test x$gcc_no_link = xyes; then
42163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42165 { (exit 1); exit 1; }; }
42167 cat >conftest.$ac_ext <<_ACEOF
42168 /* confdefs.h. */
42169 _ACEOF
42170 cat confdefs.h >>conftest.$ac_ext
42171 cat >>conftest.$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42175 #define $ac_func innocuous_$ac_func
42177 /* System header to define __stub macros and hopefully few prototypes,
42178 which can conflict with char $ac_func (); below.
42179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42180 <limits.h> exists even on freestanding compilers. */
42182 #ifdef __STDC__
42183 # include <limits.h>
42184 #else
42185 # include <assert.h>
42186 #endif
42188 #undef $ac_func
42190 /* Override any gcc2 internal prototype to avoid an error. */
42191 #ifdef __cplusplus
42192 extern "C"
42194 #endif
42195 /* We use char because int might match the return type of a gcc2
42196 builtin and then its argument prototype would still apply. */
42197 char $ac_func ();
42198 /* The GNU C library defines this for functions which it implements
42199 to always fail with ENOSYS. Some functions are actually named
42200 something starting with __ and the normal name is an alias. */
42201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42202 choke me
42203 #else
42204 char (*f) () = $ac_func;
42205 #endif
42206 #ifdef __cplusplus
42208 #endif
42211 main ()
42213 return f != $ac_func;
42215 return 0;
42217 _ACEOF
42218 rm -f conftest.$ac_objext conftest$ac_exeext
42219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42220 (eval $ac_link) 2>conftest.er1
42221 ac_status=$?
42222 grep -v '^ *+' conftest.er1 >conftest.err
42223 rm -f conftest.er1
42224 cat conftest.err >&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); } &&
42227 { ac_try='test -z "$ac_c_werror_flag"
42228 || test ! -s conftest.err'
42229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42230 (eval $ac_try) 2>&5
42231 ac_status=$?
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); }; } &&
42234 { ac_try='test -s conftest$ac_exeext'
42235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42236 (eval $ac_try) 2>&5
42237 ac_status=$?
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); }; }; then
42240 eval "$as_ac_var=yes"
42241 else
42242 echo "$as_me: failed program was:" >&5
42243 sed 's/^/| /' conftest.$ac_ext >&5
42245 eval "$as_ac_var=no"
42247 rm -f conftest.err conftest.$ac_objext \
42248 conftest$ac_exeext conftest.$ac_ext
42250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42252 if test `eval echo '${'$as_ac_var'}'` = yes; then
42253 cat >>confdefs.h <<_ACEOF
42254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42255 _ACEOF
42258 done
42265 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42266 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42267 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42268 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42269 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 else
42274 ac_ext=cc
42275 ac_cpp='$CXXCPP $CPPFLAGS'
42276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42280 cat >conftest.$ac_ext <<_ACEOF
42281 /* confdefs.h. */
42282 _ACEOF
42283 cat confdefs.h >>conftest.$ac_ext
42284 cat >>conftest.$ac_ext <<_ACEOF
42285 /* end confdefs.h. */
42286 #include <math.h>
42288 main ()
42290 atan2l(0, 0);
42292 return 0;
42294 _ACEOF
42295 rm -f conftest.$ac_objext
42296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42297 (eval $ac_compile) 2>conftest.er1
42298 ac_status=$?
42299 grep -v '^ *+' conftest.er1 >conftest.err
42300 rm -f conftest.er1
42301 cat conftest.err >&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } &&
42304 { ac_try='test -z "$ac_cxx_werror_flag"
42305 || test ! -s conftest.err'
42306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42307 (eval $ac_try) 2>&5
42308 ac_status=$?
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); }; } &&
42311 { ac_try='test -s conftest.$ac_objext'
42312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42313 (eval $ac_try) 2>&5
42314 ac_status=$?
42315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42316 (exit $ac_status); }; }; then
42317 glibcxx_cv_func_atan2l_use=yes
42318 else
42319 echo "$as_me: failed program was:" >&5
42320 sed 's/^/| /' conftest.$ac_ext >&5
42322 glibcxx_cv_func_atan2l_use=no
42324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42325 ac_ext=c
42326 ac_cpp='$CPP $CPPFLAGS'
42327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42336 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42338 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42340 for ac_func in atan2l
42342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42343 echo "$as_me:$LINENO: checking for $ac_func" >&5
42344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42345 if eval "test \"\${$as_ac_var+set}\" = set"; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42347 else
42348 if test x$gcc_no_link = xyes; then
42349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42351 { (exit 1); exit 1; }; }
42353 cat >conftest.$ac_ext <<_ACEOF
42354 /* confdefs.h. */
42355 _ACEOF
42356 cat confdefs.h >>conftest.$ac_ext
42357 cat >>conftest.$ac_ext <<_ACEOF
42358 /* end confdefs.h. */
42359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42361 #define $ac_func innocuous_$ac_func
42363 /* System header to define __stub macros and hopefully few prototypes,
42364 which can conflict with char $ac_func (); below.
42365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42366 <limits.h> exists even on freestanding compilers. */
42368 #ifdef __STDC__
42369 # include <limits.h>
42370 #else
42371 # include <assert.h>
42372 #endif
42374 #undef $ac_func
42376 /* Override any gcc2 internal prototype to avoid an error. */
42377 #ifdef __cplusplus
42378 extern "C"
42380 #endif
42381 /* We use char because int might match the return type of a gcc2
42382 builtin and then its argument prototype would still apply. */
42383 char $ac_func ();
42384 /* The GNU C library defines this for functions which it implements
42385 to always fail with ENOSYS. Some functions are actually named
42386 something starting with __ and the normal name is an alias. */
42387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42388 choke me
42389 #else
42390 char (*f) () = $ac_func;
42391 #endif
42392 #ifdef __cplusplus
42394 #endif
42397 main ()
42399 return f != $ac_func;
42401 return 0;
42403 _ACEOF
42404 rm -f conftest.$ac_objext conftest$ac_exeext
42405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42406 (eval $ac_link) 2>conftest.er1
42407 ac_status=$?
42408 grep -v '^ *+' conftest.er1 >conftest.err
42409 rm -f conftest.er1
42410 cat conftest.err >&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); } &&
42413 { ac_try='test -z "$ac_c_werror_flag"
42414 || test ! -s conftest.err'
42415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42416 (eval $ac_try) 2>&5
42417 ac_status=$?
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); }; } &&
42420 { ac_try='test -s conftest$ac_exeext'
42421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42422 (eval $ac_try) 2>&5
42423 ac_status=$?
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); }; }; then
42426 eval "$as_ac_var=yes"
42427 else
42428 echo "$as_me: failed program was:" >&5
42429 sed 's/^/| /' conftest.$ac_ext >&5
42431 eval "$as_ac_var=no"
42433 rm -f conftest.err conftest.$ac_objext \
42434 conftest$ac_exeext conftest.$ac_ext
42436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42438 if test `eval echo '${'$as_ac_var'}'` = yes; then
42439 cat >>confdefs.h <<_ACEOF
42440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42441 _ACEOF
42444 done
42446 else
42448 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42449 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42450 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42451 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42453 else
42457 ac_ext=cc
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42463 cat >conftest.$ac_ext <<_ACEOF
42464 /* confdefs.h. */
42465 _ACEOF
42466 cat confdefs.h >>conftest.$ac_ext
42467 cat >>conftest.$ac_ext <<_ACEOF
42468 /* end confdefs.h. */
42469 #include <math.h>
42471 main ()
42473 _atan2l(0, 0);
42475 return 0;
42477 _ACEOF
42478 rm -f conftest.$ac_objext
42479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42480 (eval $ac_compile) 2>conftest.er1
42481 ac_status=$?
42482 grep -v '^ *+' conftest.er1 >conftest.err
42483 rm -f conftest.er1
42484 cat conftest.err >&5
42485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42486 (exit $ac_status); } &&
42487 { ac_try='test -z "$ac_cxx_werror_flag"
42488 || test ! -s conftest.err'
42489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42490 (eval $ac_try) 2>&5
42491 ac_status=$?
42492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493 (exit $ac_status); }; } &&
42494 { ac_try='test -s conftest.$ac_objext'
42495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42496 (eval $ac_try) 2>&5
42497 ac_status=$?
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); }; }; then
42500 glibcxx_cv_func__atan2l_use=yes
42501 else
42502 echo "$as_me: failed program was:" >&5
42503 sed 's/^/| /' conftest.$ac_ext >&5
42505 glibcxx_cv_func__atan2l_use=no
42507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42508 ac_ext=c
42509 ac_cpp='$CPP $CPPFLAGS'
42510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42519 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42521 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42523 for ac_func in _atan2l
42525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42526 echo "$as_me:$LINENO: checking for $ac_func" >&5
42527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42528 if eval "test \"\${$as_ac_var+set}\" = set"; then
42529 echo $ECHO_N "(cached) $ECHO_C" >&6
42530 else
42531 if test x$gcc_no_link = xyes; then
42532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42534 { (exit 1); exit 1; }; }
42536 cat >conftest.$ac_ext <<_ACEOF
42537 /* confdefs.h. */
42538 _ACEOF
42539 cat confdefs.h >>conftest.$ac_ext
42540 cat >>conftest.$ac_ext <<_ACEOF
42541 /* end confdefs.h. */
42542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42544 #define $ac_func innocuous_$ac_func
42546 /* System header to define __stub macros and hopefully few prototypes,
42547 which can conflict with char $ac_func (); below.
42548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42549 <limits.h> exists even on freestanding compilers. */
42551 #ifdef __STDC__
42552 # include <limits.h>
42553 #else
42554 # include <assert.h>
42555 #endif
42557 #undef $ac_func
42559 /* Override any gcc2 internal prototype to avoid an error. */
42560 #ifdef __cplusplus
42561 extern "C"
42563 #endif
42564 /* We use char because int might match the return type of a gcc2
42565 builtin and then its argument prototype would still apply. */
42566 char $ac_func ();
42567 /* The GNU C library defines this for functions which it implements
42568 to always fail with ENOSYS. Some functions are actually named
42569 something starting with __ and the normal name is an alias. */
42570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42571 choke me
42572 #else
42573 char (*f) () = $ac_func;
42574 #endif
42575 #ifdef __cplusplus
42577 #endif
42580 main ()
42582 return f != $ac_func;
42584 return 0;
42586 _ACEOF
42587 rm -f conftest.$ac_objext conftest$ac_exeext
42588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42589 (eval $ac_link) 2>conftest.er1
42590 ac_status=$?
42591 grep -v '^ *+' conftest.er1 >conftest.err
42592 rm -f conftest.er1
42593 cat conftest.err >&5
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); } &&
42596 { ac_try='test -z "$ac_c_werror_flag"
42597 || test ! -s conftest.err'
42598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42599 (eval $ac_try) 2>&5
42600 ac_status=$?
42601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602 (exit $ac_status); }; } &&
42603 { ac_try='test -s conftest$ac_exeext'
42604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42605 (eval $ac_try) 2>&5
42606 ac_status=$?
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); }; }; then
42609 eval "$as_ac_var=yes"
42610 else
42611 echo "$as_me: failed program was:" >&5
42612 sed 's/^/| /' conftest.$ac_ext >&5
42614 eval "$as_ac_var=no"
42616 rm -f conftest.err conftest.$ac_objext \
42617 conftest$ac_exeext conftest.$ac_ext
42619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42621 if test `eval echo '${'$as_ac_var'}'` = yes; then
42622 cat >>confdefs.h <<_ACEOF
42623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42624 _ACEOF
42627 done
42634 echo "$as_me:$LINENO: checking for expl declaration" >&5
42635 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42636 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42637 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42638 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 else
42643 ac_ext=cc
42644 ac_cpp='$CXXCPP $CPPFLAGS'
42645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42649 cat >conftest.$ac_ext <<_ACEOF
42650 /* confdefs.h. */
42651 _ACEOF
42652 cat confdefs.h >>conftest.$ac_ext
42653 cat >>conftest.$ac_ext <<_ACEOF
42654 /* end confdefs.h. */
42655 #include <math.h>
42656 #ifdef HAVE_IEEEFP_H
42657 #include <ieeefp.h>
42658 #endif
42661 main ()
42663 expl(0);
42665 return 0;
42667 _ACEOF
42668 rm -f conftest.$ac_objext
42669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42670 (eval $ac_compile) 2>conftest.er1
42671 ac_status=$?
42672 grep -v '^ *+' conftest.er1 >conftest.err
42673 rm -f conftest.er1
42674 cat conftest.err >&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); } &&
42677 { ac_try='test -z "$ac_cxx_werror_flag"
42678 || test ! -s conftest.err'
42679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42680 (eval $ac_try) 2>&5
42681 ac_status=$?
42682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42683 (exit $ac_status); }; } &&
42684 { ac_try='test -s conftest.$ac_objext'
42685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42686 (eval $ac_try) 2>&5
42687 ac_status=$?
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; }; then
42690 glibcxx_cv_func_expl_use=yes
42691 else
42692 echo "$as_me: failed program was:" >&5
42693 sed 's/^/| /' conftest.$ac_ext >&5
42695 glibcxx_cv_func_expl_use=no
42697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42698 ac_ext=c
42699 ac_cpp='$CPP $CPPFLAGS'
42700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42709 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42711 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42713 for ac_func in expl
42715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42716 echo "$as_me:$LINENO: checking for $ac_func" >&5
42717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42718 if eval "test \"\${$as_ac_var+set}\" = set"; then
42719 echo $ECHO_N "(cached) $ECHO_C" >&6
42720 else
42721 if test x$gcc_no_link = xyes; then
42722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42724 { (exit 1); exit 1; }; }
42726 cat >conftest.$ac_ext <<_ACEOF
42727 /* confdefs.h. */
42728 _ACEOF
42729 cat confdefs.h >>conftest.$ac_ext
42730 cat >>conftest.$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42734 #define $ac_func innocuous_$ac_func
42736 /* System header to define __stub macros and hopefully few prototypes,
42737 which can conflict with char $ac_func (); below.
42738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42739 <limits.h> exists even on freestanding compilers. */
42741 #ifdef __STDC__
42742 # include <limits.h>
42743 #else
42744 # include <assert.h>
42745 #endif
42747 #undef $ac_func
42749 /* Override any gcc2 internal prototype to avoid an error. */
42750 #ifdef __cplusplus
42751 extern "C"
42753 #endif
42754 /* We use char because int might match the return type of a gcc2
42755 builtin and then its argument prototype would still apply. */
42756 char $ac_func ();
42757 /* The GNU C library defines this for functions which it implements
42758 to always fail with ENOSYS. Some functions are actually named
42759 something starting with __ and the normal name is an alias. */
42760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42761 choke me
42762 #else
42763 char (*f) () = $ac_func;
42764 #endif
42765 #ifdef __cplusplus
42767 #endif
42770 main ()
42772 return f != $ac_func;
42774 return 0;
42776 _ACEOF
42777 rm -f conftest.$ac_objext conftest$ac_exeext
42778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42779 (eval $ac_link) 2>conftest.er1
42780 ac_status=$?
42781 grep -v '^ *+' conftest.er1 >conftest.err
42782 rm -f conftest.er1
42783 cat conftest.err >&5
42784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42785 (exit $ac_status); } &&
42786 { ac_try='test -z "$ac_c_werror_flag"
42787 || test ! -s conftest.err'
42788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42789 (eval $ac_try) 2>&5
42790 ac_status=$?
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); }; } &&
42793 { ac_try='test -s conftest$ac_exeext'
42794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42795 (eval $ac_try) 2>&5
42796 ac_status=$?
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; }; then
42799 eval "$as_ac_var=yes"
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42804 eval "$as_ac_var=no"
42806 rm -f conftest.err conftest.$ac_objext \
42807 conftest$ac_exeext conftest.$ac_ext
42809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42811 if test `eval echo '${'$as_ac_var'}'` = yes; then
42812 cat >>confdefs.h <<_ACEOF
42813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42814 _ACEOF
42817 done
42819 else
42821 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42822 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42823 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42824 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42825 echo $ECHO_N "(cached) $ECHO_C" >&6
42826 else
42830 ac_ext=cc
42831 ac_cpp='$CXXCPP $CPPFLAGS'
42832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42836 cat >conftest.$ac_ext <<_ACEOF
42837 /* confdefs.h. */
42838 _ACEOF
42839 cat confdefs.h >>conftest.$ac_ext
42840 cat >>conftest.$ac_ext <<_ACEOF
42841 /* end confdefs.h. */
42842 #include <math.h>
42843 #ifdef HAVE_IEEEFP_H
42844 #include <ieeefp.h>
42845 #endif
42848 main ()
42850 _expl(0);
42852 return 0;
42854 _ACEOF
42855 rm -f conftest.$ac_objext
42856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42857 (eval $ac_compile) 2>conftest.er1
42858 ac_status=$?
42859 grep -v '^ *+' conftest.er1 >conftest.err
42860 rm -f conftest.er1
42861 cat conftest.err >&5
42862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863 (exit $ac_status); } &&
42864 { ac_try='test -z "$ac_cxx_werror_flag"
42865 || test ! -s conftest.err'
42866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42867 (eval $ac_try) 2>&5
42868 ac_status=$?
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); }; } &&
42871 { ac_try='test -s conftest.$ac_objext'
42872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42873 (eval $ac_try) 2>&5
42874 ac_status=$?
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); }; }; then
42877 glibcxx_cv_func__expl_use=yes
42878 else
42879 echo "$as_me: failed program was:" >&5
42880 sed 's/^/| /' conftest.$ac_ext >&5
42882 glibcxx_cv_func__expl_use=no
42884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42885 ac_ext=c
42886 ac_cpp='$CPP $CPPFLAGS'
42887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42896 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42898 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42900 for ac_func in _expl
42902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42903 echo "$as_me:$LINENO: checking for $ac_func" >&5
42904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42905 if eval "test \"\${$as_ac_var+set}\" = set"; then
42906 echo $ECHO_N "(cached) $ECHO_C" >&6
42907 else
42908 if test x$gcc_no_link = xyes; then
42909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42911 { (exit 1); exit 1; }; }
42913 cat >conftest.$ac_ext <<_ACEOF
42914 /* confdefs.h. */
42915 _ACEOF
42916 cat confdefs.h >>conftest.$ac_ext
42917 cat >>conftest.$ac_ext <<_ACEOF
42918 /* end confdefs.h. */
42919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42921 #define $ac_func innocuous_$ac_func
42923 /* System header to define __stub macros and hopefully few prototypes,
42924 which can conflict with char $ac_func (); below.
42925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42926 <limits.h> exists even on freestanding compilers. */
42928 #ifdef __STDC__
42929 # include <limits.h>
42930 #else
42931 # include <assert.h>
42932 #endif
42934 #undef $ac_func
42936 /* Override any gcc2 internal prototype to avoid an error. */
42937 #ifdef __cplusplus
42938 extern "C"
42940 #endif
42941 /* We use char because int might match the return type of a gcc2
42942 builtin and then its argument prototype would still apply. */
42943 char $ac_func ();
42944 /* The GNU C library defines this for functions which it implements
42945 to always fail with ENOSYS. Some functions are actually named
42946 something starting with __ and the normal name is an alias. */
42947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42948 choke me
42949 #else
42950 char (*f) () = $ac_func;
42951 #endif
42952 #ifdef __cplusplus
42954 #endif
42957 main ()
42959 return f != $ac_func;
42961 return 0;
42963 _ACEOF
42964 rm -f conftest.$ac_objext conftest$ac_exeext
42965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42966 (eval $ac_link) 2>conftest.er1
42967 ac_status=$?
42968 grep -v '^ *+' conftest.er1 >conftest.err
42969 rm -f conftest.er1
42970 cat conftest.err >&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); } &&
42973 { ac_try='test -z "$ac_c_werror_flag"
42974 || test ! -s conftest.err'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42977 ac_status=$?
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; } &&
42980 { ac_try='test -s conftest$ac_exeext'
42981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982 (eval $ac_try) 2>&5
42983 ac_status=$?
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); }; }; then
42986 eval "$as_ac_var=yes"
42987 else
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.$ac_ext >&5
42991 eval "$as_ac_var=no"
42993 rm -f conftest.err conftest.$ac_objext \
42994 conftest$ac_exeext conftest.$ac_ext
42996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42998 if test `eval echo '${'$as_ac_var'}'` = yes; then
42999 cat >>confdefs.h <<_ACEOF
43000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43001 _ACEOF
43004 done
43011 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43012 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43013 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43014 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43015 echo $ECHO_N "(cached) $ECHO_C" >&6
43016 else
43020 ac_ext=cc
43021 ac_cpp='$CXXCPP $CPPFLAGS'
43022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43026 cat >conftest.$ac_ext <<_ACEOF
43027 /* confdefs.h. */
43028 _ACEOF
43029 cat confdefs.h >>conftest.$ac_ext
43030 cat >>conftest.$ac_ext <<_ACEOF
43031 /* end confdefs.h. */
43032 #include <math.h>
43033 #ifdef HAVE_IEEEFP_H
43034 #include <ieeefp.h>
43035 #endif
43038 main ()
43040 fabsl(0);
43042 return 0;
43044 _ACEOF
43045 rm -f conftest.$ac_objext
43046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43047 (eval $ac_compile) 2>conftest.er1
43048 ac_status=$?
43049 grep -v '^ *+' conftest.er1 >conftest.err
43050 rm -f conftest.er1
43051 cat conftest.err >&5
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); } &&
43054 { ac_try='test -z "$ac_cxx_werror_flag"
43055 || test ! -s conftest.err'
43056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43057 (eval $ac_try) 2>&5
43058 ac_status=$?
43059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060 (exit $ac_status); }; } &&
43061 { ac_try='test -s conftest.$ac_objext'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43064 ac_status=$?
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; }; then
43067 glibcxx_cv_func_fabsl_use=yes
43068 else
43069 echo "$as_me: failed program was:" >&5
43070 sed 's/^/| /' conftest.$ac_ext >&5
43072 glibcxx_cv_func_fabsl_use=no
43074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43075 ac_ext=c
43076 ac_cpp='$CPP $CPPFLAGS'
43077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43086 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43088 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43090 for ac_func in fabsl
43092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43093 echo "$as_me:$LINENO: checking for $ac_func" >&5
43094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43095 if eval "test \"\${$as_ac_var+set}\" = set"; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43097 else
43098 if test x$gcc_no_link = xyes; then
43099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43101 { (exit 1); exit 1; }; }
43103 cat >conftest.$ac_ext <<_ACEOF
43104 /* confdefs.h. */
43105 _ACEOF
43106 cat confdefs.h >>conftest.$ac_ext
43107 cat >>conftest.$ac_ext <<_ACEOF
43108 /* end confdefs.h. */
43109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43111 #define $ac_func innocuous_$ac_func
43113 /* System header to define __stub macros and hopefully few prototypes,
43114 which can conflict with char $ac_func (); below.
43115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43116 <limits.h> exists even on freestanding compilers. */
43118 #ifdef __STDC__
43119 # include <limits.h>
43120 #else
43121 # include <assert.h>
43122 #endif
43124 #undef $ac_func
43126 /* Override any gcc2 internal prototype to avoid an error. */
43127 #ifdef __cplusplus
43128 extern "C"
43130 #endif
43131 /* We use char because int might match the return type of a gcc2
43132 builtin and then its argument prototype would still apply. */
43133 char $ac_func ();
43134 /* The GNU C library defines this for functions which it implements
43135 to always fail with ENOSYS. Some functions are actually named
43136 something starting with __ and the normal name is an alias. */
43137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43138 choke me
43139 #else
43140 char (*f) () = $ac_func;
43141 #endif
43142 #ifdef __cplusplus
43144 #endif
43147 main ()
43149 return f != $ac_func;
43151 return 0;
43153 _ACEOF
43154 rm -f conftest.$ac_objext conftest$ac_exeext
43155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43156 (eval $ac_link) 2>conftest.er1
43157 ac_status=$?
43158 grep -v '^ *+' conftest.er1 >conftest.err
43159 rm -f conftest.er1
43160 cat conftest.err >&5
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); } &&
43163 { ac_try='test -z "$ac_c_werror_flag"
43164 || test ! -s conftest.err'
43165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43166 (eval $ac_try) 2>&5
43167 ac_status=$?
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); }; } &&
43170 { ac_try='test -s conftest$ac_exeext'
43171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43172 (eval $ac_try) 2>&5
43173 ac_status=$?
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); }; }; then
43176 eval "$as_ac_var=yes"
43177 else
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.$ac_ext >&5
43181 eval "$as_ac_var=no"
43183 rm -f conftest.err conftest.$ac_objext \
43184 conftest$ac_exeext conftest.$ac_ext
43186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43188 if test `eval echo '${'$as_ac_var'}'` = yes; then
43189 cat >>confdefs.h <<_ACEOF
43190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43191 _ACEOF
43194 done
43196 else
43198 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43199 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43200 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43201 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43202 echo $ECHO_N "(cached) $ECHO_C" >&6
43203 else
43207 ac_ext=cc
43208 ac_cpp='$CXXCPP $CPPFLAGS'
43209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43213 cat >conftest.$ac_ext <<_ACEOF
43214 /* confdefs.h. */
43215 _ACEOF
43216 cat confdefs.h >>conftest.$ac_ext
43217 cat >>conftest.$ac_ext <<_ACEOF
43218 /* end confdefs.h. */
43219 #include <math.h>
43220 #ifdef HAVE_IEEEFP_H
43221 #include <ieeefp.h>
43222 #endif
43225 main ()
43227 _fabsl(0);
43229 return 0;
43231 _ACEOF
43232 rm -f conftest.$ac_objext
43233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43234 (eval $ac_compile) 2>conftest.er1
43235 ac_status=$?
43236 grep -v '^ *+' conftest.er1 >conftest.err
43237 rm -f conftest.er1
43238 cat conftest.err >&5
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); } &&
43241 { ac_try='test -z "$ac_cxx_werror_flag"
43242 || test ! -s conftest.err'
43243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43244 (eval $ac_try) 2>&5
43245 ac_status=$?
43246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247 (exit $ac_status); }; } &&
43248 { ac_try='test -s conftest.$ac_objext'
43249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43250 (eval $ac_try) 2>&5
43251 ac_status=$?
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); }; }; then
43254 glibcxx_cv_func__fabsl_use=yes
43255 else
43256 echo "$as_me: failed program was:" >&5
43257 sed 's/^/| /' conftest.$ac_ext >&5
43259 glibcxx_cv_func__fabsl_use=no
43261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43262 ac_ext=c
43263 ac_cpp='$CPP $CPPFLAGS'
43264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43273 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43275 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43277 for ac_func in _fabsl
43279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43280 echo "$as_me:$LINENO: checking for $ac_func" >&5
43281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43282 if eval "test \"\${$as_ac_var+set}\" = set"; then
43283 echo $ECHO_N "(cached) $ECHO_C" >&6
43284 else
43285 if test x$gcc_no_link = xyes; then
43286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43288 { (exit 1); exit 1; }; }
43290 cat >conftest.$ac_ext <<_ACEOF
43291 /* confdefs.h. */
43292 _ACEOF
43293 cat confdefs.h >>conftest.$ac_ext
43294 cat >>conftest.$ac_ext <<_ACEOF
43295 /* end confdefs.h. */
43296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43298 #define $ac_func innocuous_$ac_func
43300 /* System header to define __stub macros and hopefully few prototypes,
43301 which can conflict with char $ac_func (); below.
43302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43303 <limits.h> exists even on freestanding compilers. */
43305 #ifdef __STDC__
43306 # include <limits.h>
43307 #else
43308 # include <assert.h>
43309 #endif
43311 #undef $ac_func
43313 /* Override any gcc2 internal prototype to avoid an error. */
43314 #ifdef __cplusplus
43315 extern "C"
43317 #endif
43318 /* We use char because int might match the return type of a gcc2
43319 builtin and then its argument prototype would still apply. */
43320 char $ac_func ();
43321 /* The GNU C library defines this for functions which it implements
43322 to always fail with ENOSYS. Some functions are actually named
43323 something starting with __ and the normal name is an alias. */
43324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43325 choke me
43326 #else
43327 char (*f) () = $ac_func;
43328 #endif
43329 #ifdef __cplusplus
43331 #endif
43334 main ()
43336 return f != $ac_func;
43338 return 0;
43340 _ACEOF
43341 rm -f conftest.$ac_objext conftest$ac_exeext
43342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43343 (eval $ac_link) 2>conftest.er1
43344 ac_status=$?
43345 grep -v '^ *+' conftest.er1 >conftest.err
43346 rm -f conftest.er1
43347 cat conftest.err >&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); } &&
43350 { ac_try='test -z "$ac_c_werror_flag"
43351 || test ! -s conftest.err'
43352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43353 (eval $ac_try) 2>&5
43354 ac_status=$?
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); }; } &&
43357 { ac_try='test -s conftest$ac_exeext'
43358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43359 (eval $ac_try) 2>&5
43360 ac_status=$?
43361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43362 (exit $ac_status); }; }; then
43363 eval "$as_ac_var=yes"
43364 else
43365 echo "$as_me: failed program was:" >&5
43366 sed 's/^/| /' conftest.$ac_ext >&5
43368 eval "$as_ac_var=no"
43370 rm -f conftest.err conftest.$ac_objext \
43371 conftest$ac_exeext conftest.$ac_ext
43373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43375 if test `eval echo '${'$as_ac_var'}'` = yes; then
43376 cat >>confdefs.h <<_ACEOF
43377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43378 _ACEOF
43381 done
43388 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43389 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43390 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43391 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 else
43397 ac_ext=cc
43398 ac_cpp='$CXXCPP $CPPFLAGS'
43399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43403 cat >conftest.$ac_ext <<_ACEOF
43404 /* confdefs.h. */
43405 _ACEOF
43406 cat confdefs.h >>conftest.$ac_ext
43407 cat >>conftest.$ac_ext <<_ACEOF
43408 /* end confdefs.h. */
43409 #include <math.h>
43411 main ()
43413 fmodl(0, 0);
43415 return 0;
43417 _ACEOF
43418 rm -f conftest.$ac_objext
43419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43420 (eval $ac_compile) 2>conftest.er1
43421 ac_status=$?
43422 grep -v '^ *+' conftest.er1 >conftest.err
43423 rm -f conftest.er1
43424 cat conftest.err >&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } &&
43427 { ac_try='test -z "$ac_cxx_werror_flag"
43428 || test ! -s conftest.err'
43429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43430 (eval $ac_try) 2>&5
43431 ac_status=$?
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); }; } &&
43434 { ac_try='test -s conftest.$ac_objext'
43435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43436 (eval $ac_try) 2>&5
43437 ac_status=$?
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); }; }; then
43440 glibcxx_cv_func_fmodl_use=yes
43441 else
43442 echo "$as_me: failed program was:" >&5
43443 sed 's/^/| /' conftest.$ac_ext >&5
43445 glibcxx_cv_func_fmodl_use=no
43447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43448 ac_ext=c
43449 ac_cpp='$CPP $CPPFLAGS'
43450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43459 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43461 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43463 for ac_func in fmodl
43465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43466 echo "$as_me:$LINENO: checking for $ac_func" >&5
43467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43468 if eval "test \"\${$as_ac_var+set}\" = set"; then
43469 echo $ECHO_N "(cached) $ECHO_C" >&6
43470 else
43471 if test x$gcc_no_link = xyes; then
43472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43474 { (exit 1); exit 1; }; }
43476 cat >conftest.$ac_ext <<_ACEOF
43477 /* confdefs.h. */
43478 _ACEOF
43479 cat confdefs.h >>conftest.$ac_ext
43480 cat >>conftest.$ac_ext <<_ACEOF
43481 /* end confdefs.h. */
43482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43484 #define $ac_func innocuous_$ac_func
43486 /* System header to define __stub macros and hopefully few prototypes,
43487 which can conflict with char $ac_func (); below.
43488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43489 <limits.h> exists even on freestanding compilers. */
43491 #ifdef __STDC__
43492 # include <limits.h>
43493 #else
43494 # include <assert.h>
43495 #endif
43497 #undef $ac_func
43499 /* Override any gcc2 internal prototype to avoid an error. */
43500 #ifdef __cplusplus
43501 extern "C"
43503 #endif
43504 /* We use char because int might match the return type of a gcc2
43505 builtin and then its argument prototype would still apply. */
43506 char $ac_func ();
43507 /* The GNU C library defines this for functions which it implements
43508 to always fail with ENOSYS. Some functions are actually named
43509 something starting with __ and the normal name is an alias. */
43510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43511 choke me
43512 #else
43513 char (*f) () = $ac_func;
43514 #endif
43515 #ifdef __cplusplus
43517 #endif
43520 main ()
43522 return f != $ac_func;
43524 return 0;
43526 _ACEOF
43527 rm -f conftest.$ac_objext conftest$ac_exeext
43528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43529 (eval $ac_link) 2>conftest.er1
43530 ac_status=$?
43531 grep -v '^ *+' conftest.er1 >conftest.err
43532 rm -f conftest.er1
43533 cat conftest.err >&5
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); } &&
43536 { ac_try='test -z "$ac_c_werror_flag"
43537 || test ! -s conftest.err'
43538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43539 (eval $ac_try) 2>&5
43540 ac_status=$?
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); }; } &&
43543 { ac_try='test -s conftest$ac_exeext'
43544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43545 (eval $ac_try) 2>&5
43546 ac_status=$?
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); }; }; then
43549 eval "$as_ac_var=yes"
43550 else
43551 echo "$as_me: failed program was:" >&5
43552 sed 's/^/| /' conftest.$ac_ext >&5
43554 eval "$as_ac_var=no"
43556 rm -f conftest.err conftest.$ac_objext \
43557 conftest$ac_exeext conftest.$ac_ext
43559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43561 if test `eval echo '${'$as_ac_var'}'` = yes; then
43562 cat >>confdefs.h <<_ACEOF
43563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43564 _ACEOF
43567 done
43569 else
43571 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43572 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43573 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43574 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43576 else
43580 ac_ext=cc
43581 ac_cpp='$CXXCPP $CPPFLAGS'
43582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43586 cat >conftest.$ac_ext <<_ACEOF
43587 /* confdefs.h. */
43588 _ACEOF
43589 cat confdefs.h >>conftest.$ac_ext
43590 cat >>conftest.$ac_ext <<_ACEOF
43591 /* end confdefs.h. */
43592 #include <math.h>
43594 main ()
43596 _fmodl(0, 0);
43598 return 0;
43600 _ACEOF
43601 rm -f conftest.$ac_objext
43602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43603 (eval $ac_compile) 2>conftest.er1
43604 ac_status=$?
43605 grep -v '^ *+' conftest.er1 >conftest.err
43606 rm -f conftest.er1
43607 cat conftest.err >&5
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); } &&
43610 { ac_try='test -z "$ac_cxx_werror_flag"
43611 || test ! -s conftest.err'
43612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43613 (eval $ac_try) 2>&5
43614 ac_status=$?
43615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43616 (exit $ac_status); }; } &&
43617 { ac_try='test -s conftest.$ac_objext'
43618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43619 (eval $ac_try) 2>&5
43620 ac_status=$?
43621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43622 (exit $ac_status); }; }; then
43623 glibcxx_cv_func__fmodl_use=yes
43624 else
43625 echo "$as_me: failed program was:" >&5
43626 sed 's/^/| /' conftest.$ac_ext >&5
43628 glibcxx_cv_func__fmodl_use=no
43630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43631 ac_ext=c
43632 ac_cpp='$CPP $CPPFLAGS'
43633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43642 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43644 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43646 for ac_func in _fmodl
43648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43649 echo "$as_me:$LINENO: checking for $ac_func" >&5
43650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43651 if eval "test \"\${$as_ac_var+set}\" = set"; then
43652 echo $ECHO_N "(cached) $ECHO_C" >&6
43653 else
43654 if test x$gcc_no_link = xyes; then
43655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43657 { (exit 1); exit 1; }; }
43659 cat >conftest.$ac_ext <<_ACEOF
43660 /* confdefs.h. */
43661 _ACEOF
43662 cat confdefs.h >>conftest.$ac_ext
43663 cat >>conftest.$ac_ext <<_ACEOF
43664 /* end confdefs.h. */
43665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43667 #define $ac_func innocuous_$ac_func
43669 /* System header to define __stub macros and hopefully few prototypes,
43670 which can conflict with char $ac_func (); below.
43671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43672 <limits.h> exists even on freestanding compilers. */
43674 #ifdef __STDC__
43675 # include <limits.h>
43676 #else
43677 # include <assert.h>
43678 #endif
43680 #undef $ac_func
43682 /* Override any gcc2 internal prototype to avoid an error. */
43683 #ifdef __cplusplus
43684 extern "C"
43686 #endif
43687 /* We use char because int might match the return type of a gcc2
43688 builtin and then its argument prototype would still apply. */
43689 char $ac_func ();
43690 /* The GNU C library defines this for functions which it implements
43691 to always fail with ENOSYS. Some functions are actually named
43692 something starting with __ and the normal name is an alias. */
43693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43694 choke me
43695 #else
43696 char (*f) () = $ac_func;
43697 #endif
43698 #ifdef __cplusplus
43700 #endif
43703 main ()
43705 return f != $ac_func;
43707 return 0;
43709 _ACEOF
43710 rm -f conftest.$ac_objext conftest$ac_exeext
43711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43712 (eval $ac_link) 2>conftest.er1
43713 ac_status=$?
43714 grep -v '^ *+' conftest.er1 >conftest.err
43715 rm -f conftest.er1
43716 cat conftest.err >&5
43717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43718 (exit $ac_status); } &&
43719 { ac_try='test -z "$ac_c_werror_flag"
43720 || test ! -s conftest.err'
43721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43722 (eval $ac_try) 2>&5
43723 ac_status=$?
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); }; } &&
43726 { ac_try='test -s conftest$ac_exeext'
43727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43728 (eval $ac_try) 2>&5
43729 ac_status=$?
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); }; }; then
43732 eval "$as_ac_var=yes"
43733 else
43734 echo "$as_me: failed program was:" >&5
43735 sed 's/^/| /' conftest.$ac_ext >&5
43737 eval "$as_ac_var=no"
43739 rm -f conftest.err conftest.$ac_objext \
43740 conftest$ac_exeext conftest.$ac_ext
43742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43744 if test `eval echo '${'$as_ac_var'}'` = yes; then
43745 cat >>confdefs.h <<_ACEOF
43746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43747 _ACEOF
43750 done
43757 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43758 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43759 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43760 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43761 echo $ECHO_N "(cached) $ECHO_C" >&6
43762 else
43766 ac_ext=cc
43767 ac_cpp='$CXXCPP $CPPFLAGS'
43768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43772 cat >conftest.$ac_ext <<_ACEOF
43773 /* confdefs.h. */
43774 _ACEOF
43775 cat confdefs.h >>conftest.$ac_ext
43776 cat >>conftest.$ac_ext <<_ACEOF
43777 /* end confdefs.h. */
43778 #include <math.h>
43780 main ()
43782 frexpl(0, 0);
43784 return 0;
43786 _ACEOF
43787 rm -f conftest.$ac_objext
43788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43789 (eval $ac_compile) 2>conftest.er1
43790 ac_status=$?
43791 grep -v '^ *+' conftest.er1 >conftest.err
43792 rm -f conftest.er1
43793 cat conftest.err >&5
43794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43795 (exit $ac_status); } &&
43796 { ac_try='test -z "$ac_cxx_werror_flag"
43797 || test ! -s conftest.err'
43798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43799 (eval $ac_try) 2>&5
43800 ac_status=$?
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); }; } &&
43803 { ac_try='test -s conftest.$ac_objext'
43804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43805 (eval $ac_try) 2>&5
43806 ac_status=$?
43807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43808 (exit $ac_status); }; }; then
43809 glibcxx_cv_func_frexpl_use=yes
43810 else
43811 echo "$as_me: failed program was:" >&5
43812 sed 's/^/| /' conftest.$ac_ext >&5
43814 glibcxx_cv_func_frexpl_use=no
43816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43817 ac_ext=c
43818 ac_cpp='$CPP $CPPFLAGS'
43819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43828 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43830 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43832 for ac_func in frexpl
43834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43835 echo "$as_me:$LINENO: checking for $ac_func" >&5
43836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43837 if eval "test \"\${$as_ac_var+set}\" = set"; then
43838 echo $ECHO_N "(cached) $ECHO_C" >&6
43839 else
43840 if test x$gcc_no_link = xyes; then
43841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43843 { (exit 1); exit 1; }; }
43845 cat >conftest.$ac_ext <<_ACEOF
43846 /* confdefs.h. */
43847 _ACEOF
43848 cat confdefs.h >>conftest.$ac_ext
43849 cat >>conftest.$ac_ext <<_ACEOF
43850 /* end confdefs.h. */
43851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43853 #define $ac_func innocuous_$ac_func
43855 /* System header to define __stub macros and hopefully few prototypes,
43856 which can conflict with char $ac_func (); below.
43857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43858 <limits.h> exists even on freestanding compilers. */
43860 #ifdef __STDC__
43861 # include <limits.h>
43862 #else
43863 # include <assert.h>
43864 #endif
43866 #undef $ac_func
43868 /* Override any gcc2 internal prototype to avoid an error. */
43869 #ifdef __cplusplus
43870 extern "C"
43872 #endif
43873 /* We use char because int might match the return type of a gcc2
43874 builtin and then its argument prototype would still apply. */
43875 char $ac_func ();
43876 /* The GNU C library defines this for functions which it implements
43877 to always fail with ENOSYS. Some functions are actually named
43878 something starting with __ and the normal name is an alias. */
43879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43880 choke me
43881 #else
43882 char (*f) () = $ac_func;
43883 #endif
43884 #ifdef __cplusplus
43886 #endif
43889 main ()
43891 return f != $ac_func;
43893 return 0;
43895 _ACEOF
43896 rm -f conftest.$ac_objext conftest$ac_exeext
43897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43898 (eval $ac_link) 2>conftest.er1
43899 ac_status=$?
43900 grep -v '^ *+' conftest.er1 >conftest.err
43901 rm -f conftest.er1
43902 cat conftest.err >&5
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); } &&
43905 { ac_try='test -z "$ac_c_werror_flag"
43906 || test ! -s conftest.err'
43907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43908 (eval $ac_try) 2>&5
43909 ac_status=$?
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; } &&
43912 { ac_try='test -s conftest$ac_exeext'
43913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43914 (eval $ac_try) 2>&5
43915 ac_status=$?
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); }; }; then
43918 eval "$as_ac_var=yes"
43919 else
43920 echo "$as_me: failed program was:" >&5
43921 sed 's/^/| /' conftest.$ac_ext >&5
43923 eval "$as_ac_var=no"
43925 rm -f conftest.err conftest.$ac_objext \
43926 conftest$ac_exeext conftest.$ac_ext
43928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43930 if test `eval echo '${'$as_ac_var'}'` = yes; then
43931 cat >>confdefs.h <<_ACEOF
43932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43933 _ACEOF
43936 done
43938 else
43940 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43941 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43942 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43943 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43944 echo $ECHO_N "(cached) $ECHO_C" >&6
43945 else
43949 ac_ext=cc
43950 ac_cpp='$CXXCPP $CPPFLAGS'
43951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43955 cat >conftest.$ac_ext <<_ACEOF
43956 /* confdefs.h. */
43957 _ACEOF
43958 cat confdefs.h >>conftest.$ac_ext
43959 cat >>conftest.$ac_ext <<_ACEOF
43960 /* end confdefs.h. */
43961 #include <math.h>
43963 main ()
43965 _frexpl(0, 0);
43967 return 0;
43969 _ACEOF
43970 rm -f conftest.$ac_objext
43971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43972 (eval $ac_compile) 2>conftest.er1
43973 ac_status=$?
43974 grep -v '^ *+' conftest.er1 >conftest.err
43975 rm -f conftest.er1
43976 cat conftest.err >&5
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); } &&
43979 { ac_try='test -z "$ac_cxx_werror_flag"
43980 || test ! -s conftest.err'
43981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43982 (eval $ac_try) 2>&5
43983 ac_status=$?
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); }; } &&
43986 { ac_try='test -s conftest.$ac_objext'
43987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43988 (eval $ac_try) 2>&5
43989 ac_status=$?
43990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43991 (exit $ac_status); }; }; then
43992 glibcxx_cv_func__frexpl_use=yes
43993 else
43994 echo "$as_me: failed program was:" >&5
43995 sed 's/^/| /' conftest.$ac_ext >&5
43997 glibcxx_cv_func__frexpl_use=no
43999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44000 ac_ext=c
44001 ac_cpp='$CPP $CPPFLAGS'
44002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44011 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44013 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44015 for ac_func in _frexpl
44017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44018 echo "$as_me:$LINENO: checking for $ac_func" >&5
44019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44020 if eval "test \"\${$as_ac_var+set}\" = set"; then
44021 echo $ECHO_N "(cached) $ECHO_C" >&6
44022 else
44023 if test x$gcc_no_link = xyes; then
44024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44026 { (exit 1); exit 1; }; }
44028 cat >conftest.$ac_ext <<_ACEOF
44029 /* confdefs.h. */
44030 _ACEOF
44031 cat confdefs.h >>conftest.$ac_ext
44032 cat >>conftest.$ac_ext <<_ACEOF
44033 /* end confdefs.h. */
44034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44036 #define $ac_func innocuous_$ac_func
44038 /* System header to define __stub macros and hopefully few prototypes,
44039 which can conflict with char $ac_func (); below.
44040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44041 <limits.h> exists even on freestanding compilers. */
44043 #ifdef __STDC__
44044 # include <limits.h>
44045 #else
44046 # include <assert.h>
44047 #endif
44049 #undef $ac_func
44051 /* Override any gcc2 internal prototype to avoid an error. */
44052 #ifdef __cplusplus
44053 extern "C"
44055 #endif
44056 /* We use char because int might match the return type of a gcc2
44057 builtin and then its argument prototype would still apply. */
44058 char $ac_func ();
44059 /* The GNU C library defines this for functions which it implements
44060 to always fail with ENOSYS. Some functions are actually named
44061 something starting with __ and the normal name is an alias. */
44062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44063 choke me
44064 #else
44065 char (*f) () = $ac_func;
44066 #endif
44067 #ifdef __cplusplus
44069 #endif
44072 main ()
44074 return f != $ac_func;
44076 return 0;
44078 _ACEOF
44079 rm -f conftest.$ac_objext conftest$ac_exeext
44080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44081 (eval $ac_link) 2>conftest.er1
44082 ac_status=$?
44083 grep -v '^ *+' conftest.er1 >conftest.err
44084 rm -f conftest.er1
44085 cat conftest.err >&5
44086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44087 (exit $ac_status); } &&
44088 { ac_try='test -z "$ac_c_werror_flag"
44089 || test ! -s conftest.err'
44090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44091 (eval $ac_try) 2>&5
44092 ac_status=$?
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); }; } &&
44095 { ac_try='test -s conftest$ac_exeext'
44096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44097 (eval $ac_try) 2>&5
44098 ac_status=$?
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); }; }; then
44101 eval "$as_ac_var=yes"
44102 else
44103 echo "$as_me: failed program was:" >&5
44104 sed 's/^/| /' conftest.$ac_ext >&5
44106 eval "$as_ac_var=no"
44108 rm -f conftest.err conftest.$ac_objext \
44109 conftest$ac_exeext conftest.$ac_ext
44111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44113 if test `eval echo '${'$as_ac_var'}'` = yes; then
44114 cat >>confdefs.h <<_ACEOF
44115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44116 _ACEOF
44119 done
44126 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44127 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44128 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44129 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44130 echo $ECHO_N "(cached) $ECHO_C" >&6
44131 else
44135 ac_ext=cc
44136 ac_cpp='$CXXCPP $CPPFLAGS'
44137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44141 cat >conftest.$ac_ext <<_ACEOF
44142 /* confdefs.h. */
44143 _ACEOF
44144 cat confdefs.h >>conftest.$ac_ext
44145 cat >>conftest.$ac_ext <<_ACEOF
44146 /* end confdefs.h. */
44147 #include <math.h>
44149 main ()
44151 hypotl(0, 0);
44153 return 0;
44155 _ACEOF
44156 rm -f conftest.$ac_objext
44157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44158 (eval $ac_compile) 2>conftest.er1
44159 ac_status=$?
44160 grep -v '^ *+' conftest.er1 >conftest.err
44161 rm -f conftest.er1
44162 cat conftest.err >&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } &&
44165 { ac_try='test -z "$ac_cxx_werror_flag"
44166 || test ! -s conftest.err'
44167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44168 (eval $ac_try) 2>&5
44169 ac_status=$?
44170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171 (exit $ac_status); }; } &&
44172 { ac_try='test -s conftest.$ac_objext'
44173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44174 (eval $ac_try) 2>&5
44175 ac_status=$?
44176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44177 (exit $ac_status); }; }; then
44178 glibcxx_cv_func_hypotl_use=yes
44179 else
44180 echo "$as_me: failed program was:" >&5
44181 sed 's/^/| /' conftest.$ac_ext >&5
44183 glibcxx_cv_func_hypotl_use=no
44185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44186 ac_ext=c
44187 ac_cpp='$CPP $CPPFLAGS'
44188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44196 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44197 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44199 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44201 for ac_func in hypotl
44203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44204 echo "$as_me:$LINENO: checking for $ac_func" >&5
44205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44206 if eval "test \"\${$as_ac_var+set}\" = set"; then
44207 echo $ECHO_N "(cached) $ECHO_C" >&6
44208 else
44209 if test x$gcc_no_link = xyes; then
44210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44212 { (exit 1); exit 1; }; }
44214 cat >conftest.$ac_ext <<_ACEOF
44215 /* confdefs.h. */
44216 _ACEOF
44217 cat confdefs.h >>conftest.$ac_ext
44218 cat >>conftest.$ac_ext <<_ACEOF
44219 /* end confdefs.h. */
44220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44222 #define $ac_func innocuous_$ac_func
44224 /* System header to define __stub macros and hopefully few prototypes,
44225 which can conflict with char $ac_func (); below.
44226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44227 <limits.h> exists even on freestanding compilers. */
44229 #ifdef __STDC__
44230 # include <limits.h>
44231 #else
44232 # include <assert.h>
44233 #endif
44235 #undef $ac_func
44237 /* Override any gcc2 internal prototype to avoid an error. */
44238 #ifdef __cplusplus
44239 extern "C"
44241 #endif
44242 /* We use char because int might match the return type of a gcc2
44243 builtin and then its argument prototype would still apply. */
44244 char $ac_func ();
44245 /* The GNU C library defines this for functions which it implements
44246 to always fail with ENOSYS. Some functions are actually named
44247 something starting with __ and the normal name is an alias. */
44248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44249 choke me
44250 #else
44251 char (*f) () = $ac_func;
44252 #endif
44253 #ifdef __cplusplus
44255 #endif
44258 main ()
44260 return f != $ac_func;
44262 return 0;
44264 _ACEOF
44265 rm -f conftest.$ac_objext conftest$ac_exeext
44266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44267 (eval $ac_link) 2>conftest.er1
44268 ac_status=$?
44269 grep -v '^ *+' conftest.er1 >conftest.err
44270 rm -f conftest.er1
44271 cat conftest.err >&5
44272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44273 (exit $ac_status); } &&
44274 { ac_try='test -z "$ac_c_werror_flag"
44275 || test ! -s conftest.err'
44276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44277 (eval $ac_try) 2>&5
44278 ac_status=$?
44279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44280 (exit $ac_status); }; } &&
44281 { ac_try='test -s conftest$ac_exeext'
44282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44283 (eval $ac_try) 2>&5
44284 ac_status=$?
44285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44286 (exit $ac_status); }; }; then
44287 eval "$as_ac_var=yes"
44288 else
44289 echo "$as_me: failed program was:" >&5
44290 sed 's/^/| /' conftest.$ac_ext >&5
44292 eval "$as_ac_var=no"
44294 rm -f conftest.err conftest.$ac_objext \
44295 conftest$ac_exeext conftest.$ac_ext
44297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44299 if test `eval echo '${'$as_ac_var'}'` = yes; then
44300 cat >>confdefs.h <<_ACEOF
44301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44302 _ACEOF
44305 done
44307 else
44309 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44310 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44311 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44312 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44313 echo $ECHO_N "(cached) $ECHO_C" >&6
44314 else
44318 ac_ext=cc
44319 ac_cpp='$CXXCPP $CPPFLAGS'
44320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44324 cat >conftest.$ac_ext <<_ACEOF
44325 /* confdefs.h. */
44326 _ACEOF
44327 cat confdefs.h >>conftest.$ac_ext
44328 cat >>conftest.$ac_ext <<_ACEOF
44329 /* end confdefs.h. */
44330 #include <math.h>
44332 main ()
44334 _hypotl(0, 0);
44336 return 0;
44338 _ACEOF
44339 rm -f conftest.$ac_objext
44340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44341 (eval $ac_compile) 2>conftest.er1
44342 ac_status=$?
44343 grep -v '^ *+' conftest.er1 >conftest.err
44344 rm -f conftest.er1
44345 cat conftest.err >&5
44346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44347 (exit $ac_status); } &&
44348 { ac_try='test -z "$ac_cxx_werror_flag"
44349 || test ! -s conftest.err'
44350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44351 (eval $ac_try) 2>&5
44352 ac_status=$?
44353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44354 (exit $ac_status); }; } &&
44355 { ac_try='test -s conftest.$ac_objext'
44356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44357 (eval $ac_try) 2>&5
44358 ac_status=$?
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; }; then
44361 glibcxx_cv_func__hypotl_use=yes
44362 else
44363 echo "$as_me: failed program was:" >&5
44364 sed 's/^/| /' conftest.$ac_ext >&5
44366 glibcxx_cv_func__hypotl_use=no
44368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44369 ac_ext=c
44370 ac_cpp='$CPP $CPPFLAGS'
44371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44379 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44380 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44382 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44384 for ac_func in _hypotl
44386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44387 echo "$as_me:$LINENO: checking for $ac_func" >&5
44388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44389 if eval "test \"\${$as_ac_var+set}\" = set"; then
44390 echo $ECHO_N "(cached) $ECHO_C" >&6
44391 else
44392 if test x$gcc_no_link = xyes; then
44393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44395 { (exit 1); exit 1; }; }
44397 cat >conftest.$ac_ext <<_ACEOF
44398 /* confdefs.h. */
44399 _ACEOF
44400 cat confdefs.h >>conftest.$ac_ext
44401 cat >>conftest.$ac_ext <<_ACEOF
44402 /* end confdefs.h. */
44403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44405 #define $ac_func innocuous_$ac_func
44407 /* System header to define __stub macros and hopefully few prototypes,
44408 which can conflict with char $ac_func (); below.
44409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44410 <limits.h> exists even on freestanding compilers. */
44412 #ifdef __STDC__
44413 # include <limits.h>
44414 #else
44415 # include <assert.h>
44416 #endif
44418 #undef $ac_func
44420 /* Override any gcc2 internal prototype to avoid an error. */
44421 #ifdef __cplusplus
44422 extern "C"
44424 #endif
44425 /* We use char because int might match the return type of a gcc2
44426 builtin and then its argument prototype would still apply. */
44427 char $ac_func ();
44428 /* The GNU C library defines this for functions which it implements
44429 to always fail with ENOSYS. Some functions are actually named
44430 something starting with __ and the normal name is an alias. */
44431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44432 choke me
44433 #else
44434 char (*f) () = $ac_func;
44435 #endif
44436 #ifdef __cplusplus
44438 #endif
44441 main ()
44443 return f != $ac_func;
44445 return 0;
44447 _ACEOF
44448 rm -f conftest.$ac_objext conftest$ac_exeext
44449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44450 (eval $ac_link) 2>conftest.er1
44451 ac_status=$?
44452 grep -v '^ *+' conftest.er1 >conftest.err
44453 rm -f conftest.er1
44454 cat conftest.err >&5
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); } &&
44457 { ac_try='test -z "$ac_c_werror_flag"
44458 || test ! -s conftest.err'
44459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44460 (eval $ac_try) 2>&5
44461 ac_status=$?
44462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44463 (exit $ac_status); }; } &&
44464 { ac_try='test -s conftest$ac_exeext'
44465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44466 (eval $ac_try) 2>&5
44467 ac_status=$?
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); }; }; then
44470 eval "$as_ac_var=yes"
44471 else
44472 echo "$as_me: failed program was:" >&5
44473 sed 's/^/| /' conftest.$ac_ext >&5
44475 eval "$as_ac_var=no"
44477 rm -f conftest.err conftest.$ac_objext \
44478 conftest$ac_exeext conftest.$ac_ext
44480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44482 if test `eval echo '${'$as_ac_var'}'` = yes; then
44483 cat >>confdefs.h <<_ACEOF
44484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44485 _ACEOF
44488 done
44495 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44496 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44497 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44498 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44499 echo $ECHO_N "(cached) $ECHO_C" >&6
44500 else
44504 ac_ext=cc
44505 ac_cpp='$CXXCPP $CPPFLAGS'
44506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44510 cat >conftest.$ac_ext <<_ACEOF
44511 /* confdefs.h. */
44512 _ACEOF
44513 cat confdefs.h >>conftest.$ac_ext
44514 cat >>conftest.$ac_ext <<_ACEOF
44515 /* end confdefs.h. */
44516 #include <math.h>
44518 main ()
44520 ldexpl(0, 0);
44522 return 0;
44524 _ACEOF
44525 rm -f conftest.$ac_objext
44526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44527 (eval $ac_compile) 2>conftest.er1
44528 ac_status=$?
44529 grep -v '^ *+' conftest.er1 >conftest.err
44530 rm -f conftest.er1
44531 cat conftest.err >&5
44532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44533 (exit $ac_status); } &&
44534 { ac_try='test -z "$ac_cxx_werror_flag"
44535 || test ! -s conftest.err'
44536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44537 (eval $ac_try) 2>&5
44538 ac_status=$?
44539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540 (exit $ac_status); }; } &&
44541 { ac_try='test -s conftest.$ac_objext'
44542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543 (eval $ac_try) 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; }; then
44547 glibcxx_cv_func_ldexpl_use=yes
44548 else
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.$ac_ext >&5
44552 glibcxx_cv_func_ldexpl_use=no
44554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44555 ac_ext=c
44556 ac_cpp='$CPP $CPPFLAGS'
44557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44566 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44568 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44570 for ac_func in ldexpl
44572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44573 echo "$as_me:$LINENO: checking for $ac_func" >&5
44574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44575 if eval "test \"\${$as_ac_var+set}\" = set"; then
44576 echo $ECHO_N "(cached) $ECHO_C" >&6
44577 else
44578 if test x$gcc_no_link = xyes; then
44579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44581 { (exit 1); exit 1; }; }
44583 cat >conftest.$ac_ext <<_ACEOF
44584 /* confdefs.h. */
44585 _ACEOF
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44591 #define $ac_func innocuous_$ac_func
44593 /* System header to define __stub macros and hopefully few prototypes,
44594 which can conflict with char $ac_func (); below.
44595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44596 <limits.h> exists even on freestanding compilers. */
44598 #ifdef __STDC__
44599 # include <limits.h>
44600 #else
44601 # include <assert.h>
44602 #endif
44604 #undef $ac_func
44606 /* Override any gcc2 internal prototype to avoid an error. */
44607 #ifdef __cplusplus
44608 extern "C"
44610 #endif
44611 /* We use char because int might match the return type of a gcc2
44612 builtin and then its argument prototype would still apply. */
44613 char $ac_func ();
44614 /* The GNU C library defines this for functions which it implements
44615 to always fail with ENOSYS. Some functions are actually named
44616 something starting with __ and the normal name is an alias. */
44617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44618 choke me
44619 #else
44620 char (*f) () = $ac_func;
44621 #endif
44622 #ifdef __cplusplus
44624 #endif
44627 main ()
44629 return f != $ac_func;
44631 return 0;
44633 _ACEOF
44634 rm -f conftest.$ac_objext conftest$ac_exeext
44635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44636 (eval $ac_link) 2>conftest.er1
44637 ac_status=$?
44638 grep -v '^ *+' conftest.er1 >conftest.err
44639 rm -f conftest.er1
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } &&
44643 { ac_try='test -z "$ac_c_werror_flag"
44644 || test ! -s conftest.err'
44645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44646 (eval $ac_try) 2>&5
44647 ac_status=$?
44648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649 (exit $ac_status); }; } &&
44650 { ac_try='test -s conftest$ac_exeext'
44651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44652 (eval $ac_try) 2>&5
44653 ac_status=$?
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; }; then
44656 eval "$as_ac_var=yes"
44657 else
44658 echo "$as_me: failed program was:" >&5
44659 sed 's/^/| /' conftest.$ac_ext >&5
44661 eval "$as_ac_var=no"
44663 rm -f conftest.err conftest.$ac_objext \
44664 conftest$ac_exeext conftest.$ac_ext
44666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44668 if test `eval echo '${'$as_ac_var'}'` = yes; then
44669 cat >>confdefs.h <<_ACEOF
44670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44671 _ACEOF
44674 done
44676 else
44678 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44679 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44680 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44681 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44682 echo $ECHO_N "(cached) $ECHO_C" >&6
44683 else
44687 ac_ext=cc
44688 ac_cpp='$CXXCPP $CPPFLAGS'
44689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44693 cat >conftest.$ac_ext <<_ACEOF
44694 /* confdefs.h. */
44695 _ACEOF
44696 cat confdefs.h >>conftest.$ac_ext
44697 cat >>conftest.$ac_ext <<_ACEOF
44698 /* end confdefs.h. */
44699 #include <math.h>
44701 main ()
44703 _ldexpl(0, 0);
44705 return 0;
44707 _ACEOF
44708 rm -f conftest.$ac_objext
44709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44710 (eval $ac_compile) 2>conftest.er1
44711 ac_status=$?
44712 grep -v '^ *+' conftest.er1 >conftest.err
44713 rm -f conftest.er1
44714 cat conftest.err >&5
44715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44716 (exit $ac_status); } &&
44717 { ac_try='test -z "$ac_cxx_werror_flag"
44718 || test ! -s conftest.err'
44719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44720 (eval $ac_try) 2>&5
44721 ac_status=$?
44722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44723 (exit $ac_status); }; } &&
44724 { ac_try='test -s conftest.$ac_objext'
44725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44726 (eval $ac_try) 2>&5
44727 ac_status=$?
44728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44729 (exit $ac_status); }; }; then
44730 glibcxx_cv_func__ldexpl_use=yes
44731 else
44732 echo "$as_me: failed program was:" >&5
44733 sed 's/^/| /' conftest.$ac_ext >&5
44735 glibcxx_cv_func__ldexpl_use=no
44737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44738 ac_ext=c
44739 ac_cpp='$CPP $CPPFLAGS'
44740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44748 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44749 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44751 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44753 for ac_func in _ldexpl
44755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44756 echo "$as_me:$LINENO: checking for $ac_func" >&5
44757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44758 if eval "test \"\${$as_ac_var+set}\" = set"; then
44759 echo $ECHO_N "(cached) $ECHO_C" >&6
44760 else
44761 if test x$gcc_no_link = xyes; then
44762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44764 { (exit 1); exit 1; }; }
44766 cat >conftest.$ac_ext <<_ACEOF
44767 /* confdefs.h. */
44768 _ACEOF
44769 cat confdefs.h >>conftest.$ac_ext
44770 cat >>conftest.$ac_ext <<_ACEOF
44771 /* end confdefs.h. */
44772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44774 #define $ac_func innocuous_$ac_func
44776 /* System header to define __stub macros and hopefully few prototypes,
44777 which can conflict with char $ac_func (); below.
44778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44779 <limits.h> exists even on freestanding compilers. */
44781 #ifdef __STDC__
44782 # include <limits.h>
44783 #else
44784 # include <assert.h>
44785 #endif
44787 #undef $ac_func
44789 /* Override any gcc2 internal prototype to avoid an error. */
44790 #ifdef __cplusplus
44791 extern "C"
44793 #endif
44794 /* We use char because int might match the return type of a gcc2
44795 builtin and then its argument prototype would still apply. */
44796 char $ac_func ();
44797 /* The GNU C library defines this for functions which it implements
44798 to always fail with ENOSYS. Some functions are actually named
44799 something starting with __ and the normal name is an alias. */
44800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44801 choke me
44802 #else
44803 char (*f) () = $ac_func;
44804 #endif
44805 #ifdef __cplusplus
44807 #endif
44810 main ()
44812 return f != $ac_func;
44814 return 0;
44816 _ACEOF
44817 rm -f conftest.$ac_objext conftest$ac_exeext
44818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44819 (eval $ac_link) 2>conftest.er1
44820 ac_status=$?
44821 grep -v '^ *+' conftest.er1 >conftest.err
44822 rm -f conftest.er1
44823 cat conftest.err >&5
44824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825 (exit $ac_status); } &&
44826 { ac_try='test -z "$ac_c_werror_flag"
44827 || test ! -s conftest.err'
44828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829 (eval $ac_try) 2>&5
44830 ac_status=$?
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; } &&
44833 { ac_try='test -s conftest$ac_exeext'
44834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44835 (eval $ac_try) 2>&5
44836 ac_status=$?
44837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44838 (exit $ac_status); }; }; then
44839 eval "$as_ac_var=yes"
44840 else
44841 echo "$as_me: failed program was:" >&5
44842 sed 's/^/| /' conftest.$ac_ext >&5
44844 eval "$as_ac_var=no"
44846 rm -f conftest.err conftest.$ac_objext \
44847 conftest$ac_exeext conftest.$ac_ext
44849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44851 if test `eval echo '${'$as_ac_var'}'` = yes; then
44852 cat >>confdefs.h <<_ACEOF
44853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44854 _ACEOF
44857 done
44864 echo "$as_me:$LINENO: checking for logl declaration" >&5
44865 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44866 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44867 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44868 echo $ECHO_N "(cached) $ECHO_C" >&6
44869 else
44873 ac_ext=cc
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44879 cat >conftest.$ac_ext <<_ACEOF
44880 /* confdefs.h. */
44881 _ACEOF
44882 cat confdefs.h >>conftest.$ac_ext
44883 cat >>conftest.$ac_ext <<_ACEOF
44884 /* end confdefs.h. */
44885 #include <math.h>
44886 #ifdef HAVE_IEEEFP_H
44887 #include <ieeefp.h>
44888 #endif
44891 main ()
44893 logl(0);
44895 return 0;
44897 _ACEOF
44898 rm -f conftest.$ac_objext
44899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44900 (eval $ac_compile) 2>conftest.er1
44901 ac_status=$?
44902 grep -v '^ *+' conftest.er1 >conftest.err
44903 rm -f conftest.er1
44904 cat conftest.err >&5
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); } &&
44907 { ac_try='test -z "$ac_cxx_werror_flag"
44908 || test ! -s conftest.err'
44909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44910 (eval $ac_try) 2>&5
44911 ac_status=$?
44912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44913 (exit $ac_status); }; } &&
44914 { ac_try='test -s conftest.$ac_objext'
44915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44916 (eval $ac_try) 2>&5
44917 ac_status=$?
44918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44919 (exit $ac_status); }; }; then
44920 glibcxx_cv_func_logl_use=yes
44921 else
44922 echo "$as_me: failed program was:" >&5
44923 sed 's/^/| /' conftest.$ac_ext >&5
44925 glibcxx_cv_func_logl_use=no
44927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44928 ac_ext=c
44929 ac_cpp='$CPP $CPPFLAGS'
44930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44938 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44939 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44941 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44943 for ac_func in logl
44945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44946 echo "$as_me:$LINENO: checking for $ac_func" >&5
44947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44948 if eval "test \"\${$as_ac_var+set}\" = set"; then
44949 echo $ECHO_N "(cached) $ECHO_C" >&6
44950 else
44951 if test x$gcc_no_link = xyes; then
44952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44954 { (exit 1); exit 1; }; }
44956 cat >conftest.$ac_ext <<_ACEOF
44957 /* confdefs.h. */
44958 _ACEOF
44959 cat confdefs.h >>conftest.$ac_ext
44960 cat >>conftest.$ac_ext <<_ACEOF
44961 /* end confdefs.h. */
44962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44964 #define $ac_func innocuous_$ac_func
44966 /* System header to define __stub macros and hopefully few prototypes,
44967 which can conflict with char $ac_func (); below.
44968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44969 <limits.h> exists even on freestanding compilers. */
44971 #ifdef __STDC__
44972 # include <limits.h>
44973 #else
44974 # include <assert.h>
44975 #endif
44977 #undef $ac_func
44979 /* Override any gcc2 internal prototype to avoid an error. */
44980 #ifdef __cplusplus
44981 extern "C"
44983 #endif
44984 /* We use char because int might match the return type of a gcc2
44985 builtin and then its argument prototype would still apply. */
44986 char $ac_func ();
44987 /* The GNU C library defines this for functions which it implements
44988 to always fail with ENOSYS. Some functions are actually named
44989 something starting with __ and the normal name is an alias. */
44990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44991 choke me
44992 #else
44993 char (*f) () = $ac_func;
44994 #endif
44995 #ifdef __cplusplus
44997 #endif
45000 main ()
45002 return f != $ac_func;
45004 return 0;
45006 _ACEOF
45007 rm -f conftest.$ac_objext conftest$ac_exeext
45008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45009 (eval $ac_link) 2>conftest.er1
45010 ac_status=$?
45011 grep -v '^ *+' conftest.er1 >conftest.err
45012 rm -f conftest.er1
45013 cat conftest.err >&5
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); } &&
45016 { ac_try='test -z "$ac_c_werror_flag"
45017 || test ! -s conftest.err'
45018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45019 (eval $ac_try) 2>&5
45020 ac_status=$?
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); }; } &&
45023 { ac_try='test -s conftest$ac_exeext'
45024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45025 (eval $ac_try) 2>&5
45026 ac_status=$?
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; }; then
45029 eval "$as_ac_var=yes"
45030 else
45031 echo "$as_me: failed program was:" >&5
45032 sed 's/^/| /' conftest.$ac_ext >&5
45034 eval "$as_ac_var=no"
45036 rm -f conftest.err conftest.$ac_objext \
45037 conftest$ac_exeext conftest.$ac_ext
45039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45041 if test `eval echo '${'$as_ac_var'}'` = yes; then
45042 cat >>confdefs.h <<_ACEOF
45043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45044 _ACEOF
45047 done
45049 else
45051 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45052 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45053 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45054 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45055 echo $ECHO_N "(cached) $ECHO_C" >&6
45056 else
45060 ac_ext=cc
45061 ac_cpp='$CXXCPP $CPPFLAGS'
45062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45066 cat >conftest.$ac_ext <<_ACEOF
45067 /* confdefs.h. */
45068 _ACEOF
45069 cat confdefs.h >>conftest.$ac_ext
45070 cat >>conftest.$ac_ext <<_ACEOF
45071 /* end confdefs.h. */
45072 #include <math.h>
45073 #ifdef HAVE_IEEEFP_H
45074 #include <ieeefp.h>
45075 #endif
45078 main ()
45080 _logl(0);
45082 return 0;
45084 _ACEOF
45085 rm -f conftest.$ac_objext
45086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45087 (eval $ac_compile) 2>conftest.er1
45088 ac_status=$?
45089 grep -v '^ *+' conftest.er1 >conftest.err
45090 rm -f conftest.er1
45091 cat conftest.err >&5
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); } &&
45094 { ac_try='test -z "$ac_cxx_werror_flag"
45095 || test ! -s conftest.err'
45096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45097 (eval $ac_try) 2>&5
45098 ac_status=$?
45099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45100 (exit $ac_status); }; } &&
45101 { ac_try='test -s conftest.$ac_objext'
45102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45103 (eval $ac_try) 2>&5
45104 ac_status=$?
45105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45106 (exit $ac_status); }; }; then
45107 glibcxx_cv_func__logl_use=yes
45108 else
45109 echo "$as_me: failed program was:" >&5
45110 sed 's/^/| /' conftest.$ac_ext >&5
45112 glibcxx_cv_func__logl_use=no
45114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45115 ac_ext=c
45116 ac_cpp='$CPP $CPPFLAGS'
45117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45125 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45126 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45128 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45130 for ac_func in _logl
45132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45133 echo "$as_me:$LINENO: checking for $ac_func" >&5
45134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45135 if eval "test \"\${$as_ac_var+set}\" = set"; then
45136 echo $ECHO_N "(cached) $ECHO_C" >&6
45137 else
45138 if test x$gcc_no_link = xyes; then
45139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45141 { (exit 1); exit 1; }; }
45143 cat >conftest.$ac_ext <<_ACEOF
45144 /* confdefs.h. */
45145 _ACEOF
45146 cat confdefs.h >>conftest.$ac_ext
45147 cat >>conftest.$ac_ext <<_ACEOF
45148 /* end confdefs.h. */
45149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45151 #define $ac_func innocuous_$ac_func
45153 /* System header to define __stub macros and hopefully few prototypes,
45154 which can conflict with char $ac_func (); below.
45155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45156 <limits.h> exists even on freestanding compilers. */
45158 #ifdef __STDC__
45159 # include <limits.h>
45160 #else
45161 # include <assert.h>
45162 #endif
45164 #undef $ac_func
45166 /* Override any gcc2 internal prototype to avoid an error. */
45167 #ifdef __cplusplus
45168 extern "C"
45170 #endif
45171 /* We use char because int might match the return type of a gcc2
45172 builtin and then its argument prototype would still apply. */
45173 char $ac_func ();
45174 /* The GNU C library defines this for functions which it implements
45175 to always fail with ENOSYS. Some functions are actually named
45176 something starting with __ and the normal name is an alias. */
45177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45178 choke me
45179 #else
45180 char (*f) () = $ac_func;
45181 #endif
45182 #ifdef __cplusplus
45184 #endif
45187 main ()
45189 return f != $ac_func;
45191 return 0;
45193 _ACEOF
45194 rm -f conftest.$ac_objext conftest$ac_exeext
45195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45196 (eval $ac_link) 2>conftest.er1
45197 ac_status=$?
45198 grep -v '^ *+' conftest.er1 >conftest.err
45199 rm -f conftest.er1
45200 cat conftest.err >&5
45201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45202 (exit $ac_status); } &&
45203 { ac_try='test -z "$ac_c_werror_flag"
45204 || test ! -s conftest.err'
45205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45206 (eval $ac_try) 2>&5
45207 ac_status=$?
45208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209 (exit $ac_status); }; } &&
45210 { ac_try='test -s conftest$ac_exeext'
45211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45212 (eval $ac_try) 2>&5
45213 ac_status=$?
45214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45215 (exit $ac_status); }; }; then
45216 eval "$as_ac_var=yes"
45217 else
45218 echo "$as_me: failed program was:" >&5
45219 sed 's/^/| /' conftest.$ac_ext >&5
45221 eval "$as_ac_var=no"
45223 rm -f conftest.err conftest.$ac_objext \
45224 conftest$ac_exeext conftest.$ac_ext
45226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45228 if test `eval echo '${'$as_ac_var'}'` = yes; then
45229 cat >>confdefs.h <<_ACEOF
45230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45231 _ACEOF
45234 done
45241 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45242 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45243 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45244 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45245 echo $ECHO_N "(cached) $ECHO_C" >&6
45246 else
45250 ac_ext=cc
45251 ac_cpp='$CXXCPP $CPPFLAGS'
45252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45256 cat >conftest.$ac_ext <<_ACEOF
45257 /* confdefs.h. */
45258 _ACEOF
45259 cat confdefs.h >>conftest.$ac_ext
45260 cat >>conftest.$ac_ext <<_ACEOF
45261 /* end confdefs.h. */
45262 #include <math.h>
45263 #ifdef HAVE_IEEEFP_H
45264 #include <ieeefp.h>
45265 #endif
45268 main ()
45270 log10l(0);
45272 return 0;
45274 _ACEOF
45275 rm -f conftest.$ac_objext
45276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45277 (eval $ac_compile) 2>conftest.er1
45278 ac_status=$?
45279 grep -v '^ *+' conftest.er1 >conftest.err
45280 rm -f conftest.er1
45281 cat conftest.err >&5
45282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283 (exit $ac_status); } &&
45284 { ac_try='test -z "$ac_cxx_werror_flag"
45285 || test ! -s conftest.err'
45286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45287 (eval $ac_try) 2>&5
45288 ac_status=$?
45289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290 (exit $ac_status); }; } &&
45291 { ac_try='test -s conftest.$ac_objext'
45292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45293 (eval $ac_try) 2>&5
45294 ac_status=$?
45295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45296 (exit $ac_status); }; }; then
45297 glibcxx_cv_func_log10l_use=yes
45298 else
45299 echo "$as_me: failed program was:" >&5
45300 sed 's/^/| /' conftest.$ac_ext >&5
45302 glibcxx_cv_func_log10l_use=no
45304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45305 ac_ext=c
45306 ac_cpp='$CPP $CPPFLAGS'
45307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45316 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45318 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45320 for ac_func in log10l
45322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45323 echo "$as_me:$LINENO: checking for $ac_func" >&5
45324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45325 if eval "test \"\${$as_ac_var+set}\" = set"; then
45326 echo $ECHO_N "(cached) $ECHO_C" >&6
45327 else
45328 if test x$gcc_no_link = xyes; then
45329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45331 { (exit 1); exit 1; }; }
45333 cat >conftest.$ac_ext <<_ACEOF
45334 /* confdefs.h. */
45335 _ACEOF
45336 cat confdefs.h >>conftest.$ac_ext
45337 cat >>conftest.$ac_ext <<_ACEOF
45338 /* end confdefs.h. */
45339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45341 #define $ac_func innocuous_$ac_func
45343 /* System header to define __stub macros and hopefully few prototypes,
45344 which can conflict with char $ac_func (); below.
45345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45346 <limits.h> exists even on freestanding compilers. */
45348 #ifdef __STDC__
45349 # include <limits.h>
45350 #else
45351 # include <assert.h>
45352 #endif
45354 #undef $ac_func
45356 /* Override any gcc2 internal prototype to avoid an error. */
45357 #ifdef __cplusplus
45358 extern "C"
45360 #endif
45361 /* We use char because int might match the return type of a gcc2
45362 builtin and then its argument prototype would still apply. */
45363 char $ac_func ();
45364 /* The GNU C library defines this for functions which it implements
45365 to always fail with ENOSYS. Some functions are actually named
45366 something starting with __ and the normal name is an alias. */
45367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45368 choke me
45369 #else
45370 char (*f) () = $ac_func;
45371 #endif
45372 #ifdef __cplusplus
45374 #endif
45377 main ()
45379 return f != $ac_func;
45381 return 0;
45383 _ACEOF
45384 rm -f conftest.$ac_objext conftest$ac_exeext
45385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45386 (eval $ac_link) 2>conftest.er1
45387 ac_status=$?
45388 grep -v '^ *+' conftest.er1 >conftest.err
45389 rm -f conftest.er1
45390 cat conftest.err >&5
45391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45392 (exit $ac_status); } &&
45393 { ac_try='test -z "$ac_c_werror_flag"
45394 || test ! -s conftest.err'
45395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45396 (eval $ac_try) 2>&5
45397 ac_status=$?
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); }; } &&
45400 { ac_try='test -s conftest$ac_exeext'
45401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45402 (eval $ac_try) 2>&5
45403 ac_status=$?
45404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45405 (exit $ac_status); }; }; then
45406 eval "$as_ac_var=yes"
45407 else
45408 echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.$ac_ext >&5
45411 eval "$as_ac_var=no"
45413 rm -f conftest.err conftest.$ac_objext \
45414 conftest$ac_exeext conftest.$ac_ext
45416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45418 if test `eval echo '${'$as_ac_var'}'` = yes; then
45419 cat >>confdefs.h <<_ACEOF
45420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45421 _ACEOF
45424 done
45426 else
45428 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45429 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45430 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45431 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45432 echo $ECHO_N "(cached) $ECHO_C" >&6
45433 else
45437 ac_ext=cc
45438 ac_cpp='$CXXCPP $CPPFLAGS'
45439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45443 cat >conftest.$ac_ext <<_ACEOF
45444 /* confdefs.h. */
45445 _ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h. */
45449 #include <math.h>
45450 #ifdef HAVE_IEEEFP_H
45451 #include <ieeefp.h>
45452 #endif
45455 main ()
45457 _log10l(0);
45459 return 0;
45461 _ACEOF
45462 rm -f conftest.$ac_objext
45463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45464 (eval $ac_compile) 2>conftest.er1
45465 ac_status=$?
45466 grep -v '^ *+' conftest.er1 >conftest.err
45467 rm -f conftest.er1
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } &&
45471 { ac_try='test -z "$ac_cxx_werror_flag"
45472 || test ! -s conftest.err'
45473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45474 (eval $ac_try) 2>&5
45475 ac_status=$?
45476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477 (exit $ac_status); }; } &&
45478 { ac_try='test -s conftest.$ac_objext'
45479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45480 (eval $ac_try) 2>&5
45481 ac_status=$?
45482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45483 (exit $ac_status); }; }; then
45484 glibcxx_cv_func__log10l_use=yes
45485 else
45486 echo "$as_me: failed program was:" >&5
45487 sed 's/^/| /' conftest.$ac_ext >&5
45489 glibcxx_cv_func__log10l_use=no
45491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45492 ac_ext=c
45493 ac_cpp='$CPP $CPPFLAGS'
45494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45503 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45505 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45507 for ac_func in _log10l
45509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45510 echo "$as_me:$LINENO: checking for $ac_func" >&5
45511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45512 if eval "test \"\${$as_ac_var+set}\" = set"; then
45513 echo $ECHO_N "(cached) $ECHO_C" >&6
45514 else
45515 if test x$gcc_no_link = xyes; then
45516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45518 { (exit 1); exit 1; }; }
45520 cat >conftest.$ac_ext <<_ACEOF
45521 /* confdefs.h. */
45522 _ACEOF
45523 cat confdefs.h >>conftest.$ac_ext
45524 cat >>conftest.$ac_ext <<_ACEOF
45525 /* end confdefs.h. */
45526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45528 #define $ac_func innocuous_$ac_func
45530 /* System header to define __stub macros and hopefully few prototypes,
45531 which can conflict with char $ac_func (); below.
45532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45533 <limits.h> exists even on freestanding compilers. */
45535 #ifdef __STDC__
45536 # include <limits.h>
45537 #else
45538 # include <assert.h>
45539 #endif
45541 #undef $ac_func
45543 /* Override any gcc2 internal prototype to avoid an error. */
45544 #ifdef __cplusplus
45545 extern "C"
45547 #endif
45548 /* We use char because int might match the return type of a gcc2
45549 builtin and then its argument prototype would still apply. */
45550 char $ac_func ();
45551 /* The GNU C library defines this for functions which it implements
45552 to always fail with ENOSYS. Some functions are actually named
45553 something starting with __ and the normal name is an alias. */
45554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45555 choke me
45556 #else
45557 char (*f) () = $ac_func;
45558 #endif
45559 #ifdef __cplusplus
45561 #endif
45564 main ()
45566 return f != $ac_func;
45568 return 0;
45570 _ACEOF
45571 rm -f conftest.$ac_objext conftest$ac_exeext
45572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45573 (eval $ac_link) 2>conftest.er1
45574 ac_status=$?
45575 grep -v '^ *+' conftest.er1 >conftest.err
45576 rm -f conftest.er1
45577 cat conftest.err >&5
45578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45579 (exit $ac_status); } &&
45580 { ac_try='test -z "$ac_c_werror_flag"
45581 || test ! -s conftest.err'
45582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45583 (eval $ac_try) 2>&5
45584 ac_status=$?
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); }; } &&
45587 { ac_try='test -s conftest$ac_exeext'
45588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45589 (eval $ac_try) 2>&5
45590 ac_status=$?
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); }; }; then
45593 eval "$as_ac_var=yes"
45594 else
45595 echo "$as_me: failed program was:" >&5
45596 sed 's/^/| /' conftest.$ac_ext >&5
45598 eval "$as_ac_var=no"
45600 rm -f conftest.err conftest.$ac_objext \
45601 conftest$ac_exeext conftest.$ac_ext
45603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45605 if test `eval echo '${'$as_ac_var'}'` = yes; then
45606 cat >>confdefs.h <<_ACEOF
45607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45608 _ACEOF
45611 done
45618 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45619 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45620 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45621 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45622 echo $ECHO_N "(cached) $ECHO_C" >&6
45623 else
45627 ac_ext=cc
45628 ac_cpp='$CXXCPP $CPPFLAGS'
45629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45633 cat >conftest.$ac_ext <<_ACEOF
45634 /* confdefs.h. */
45635 _ACEOF
45636 cat confdefs.h >>conftest.$ac_ext
45637 cat >>conftest.$ac_ext <<_ACEOF
45638 /* end confdefs.h. */
45639 #include <math.h>
45641 main ()
45643 modfl(0, 0);
45645 return 0;
45647 _ACEOF
45648 rm -f conftest.$ac_objext
45649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45650 (eval $ac_compile) 2>conftest.er1
45651 ac_status=$?
45652 grep -v '^ *+' conftest.er1 >conftest.err
45653 rm -f conftest.er1
45654 cat conftest.err >&5
45655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45656 (exit $ac_status); } &&
45657 { ac_try='test -z "$ac_cxx_werror_flag"
45658 || test ! -s conftest.err'
45659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45660 (eval $ac_try) 2>&5
45661 ac_status=$?
45662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45663 (exit $ac_status); }; } &&
45664 { ac_try='test -s conftest.$ac_objext'
45665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45666 (eval $ac_try) 2>&5
45667 ac_status=$?
45668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45669 (exit $ac_status); }; }; then
45670 glibcxx_cv_func_modfl_use=yes
45671 else
45672 echo "$as_me: failed program was:" >&5
45673 sed 's/^/| /' conftest.$ac_ext >&5
45675 glibcxx_cv_func_modfl_use=no
45677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45678 ac_ext=c
45679 ac_cpp='$CPP $CPPFLAGS'
45680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45689 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45691 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45693 for ac_func in modfl
45695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45696 echo "$as_me:$LINENO: checking for $ac_func" >&5
45697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45698 if eval "test \"\${$as_ac_var+set}\" = set"; then
45699 echo $ECHO_N "(cached) $ECHO_C" >&6
45700 else
45701 if test x$gcc_no_link = xyes; then
45702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45704 { (exit 1); exit 1; }; }
45706 cat >conftest.$ac_ext <<_ACEOF
45707 /* confdefs.h. */
45708 _ACEOF
45709 cat confdefs.h >>conftest.$ac_ext
45710 cat >>conftest.$ac_ext <<_ACEOF
45711 /* end confdefs.h. */
45712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45714 #define $ac_func innocuous_$ac_func
45716 /* System header to define __stub macros and hopefully few prototypes,
45717 which can conflict with char $ac_func (); below.
45718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45719 <limits.h> exists even on freestanding compilers. */
45721 #ifdef __STDC__
45722 # include <limits.h>
45723 #else
45724 # include <assert.h>
45725 #endif
45727 #undef $ac_func
45729 /* Override any gcc2 internal prototype to avoid an error. */
45730 #ifdef __cplusplus
45731 extern "C"
45733 #endif
45734 /* We use char because int might match the return type of a gcc2
45735 builtin and then its argument prototype would still apply. */
45736 char $ac_func ();
45737 /* The GNU C library defines this for functions which it implements
45738 to always fail with ENOSYS. Some functions are actually named
45739 something starting with __ and the normal name is an alias. */
45740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45741 choke me
45742 #else
45743 char (*f) () = $ac_func;
45744 #endif
45745 #ifdef __cplusplus
45747 #endif
45750 main ()
45752 return f != $ac_func;
45754 return 0;
45756 _ACEOF
45757 rm -f conftest.$ac_objext conftest$ac_exeext
45758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45759 (eval $ac_link) 2>conftest.er1
45760 ac_status=$?
45761 grep -v '^ *+' conftest.er1 >conftest.err
45762 rm -f conftest.er1
45763 cat conftest.err >&5
45764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765 (exit $ac_status); } &&
45766 { ac_try='test -z "$ac_c_werror_flag"
45767 || test ! -s conftest.err'
45768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45769 (eval $ac_try) 2>&5
45770 ac_status=$?
45771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45772 (exit $ac_status); }; } &&
45773 { ac_try='test -s conftest$ac_exeext'
45774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45775 (eval $ac_try) 2>&5
45776 ac_status=$?
45777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45778 (exit $ac_status); }; }; then
45779 eval "$as_ac_var=yes"
45780 else
45781 echo "$as_me: failed program was:" >&5
45782 sed 's/^/| /' conftest.$ac_ext >&5
45784 eval "$as_ac_var=no"
45786 rm -f conftest.err conftest.$ac_objext \
45787 conftest$ac_exeext conftest.$ac_ext
45789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45791 if test `eval echo '${'$as_ac_var'}'` = yes; then
45792 cat >>confdefs.h <<_ACEOF
45793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45794 _ACEOF
45797 done
45799 else
45801 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45802 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45803 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45804 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45805 echo $ECHO_N "(cached) $ECHO_C" >&6
45806 else
45810 ac_ext=cc
45811 ac_cpp='$CXXCPP $CPPFLAGS'
45812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45816 cat >conftest.$ac_ext <<_ACEOF
45817 /* confdefs.h. */
45818 _ACEOF
45819 cat confdefs.h >>conftest.$ac_ext
45820 cat >>conftest.$ac_ext <<_ACEOF
45821 /* end confdefs.h. */
45822 #include <math.h>
45824 main ()
45826 _modfl(0, 0);
45828 return 0;
45830 _ACEOF
45831 rm -f conftest.$ac_objext
45832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45833 (eval $ac_compile) 2>conftest.er1
45834 ac_status=$?
45835 grep -v '^ *+' conftest.er1 >conftest.err
45836 rm -f conftest.er1
45837 cat conftest.err >&5
45838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45839 (exit $ac_status); } &&
45840 { ac_try='test -z "$ac_cxx_werror_flag"
45841 || test ! -s conftest.err'
45842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45843 (eval $ac_try) 2>&5
45844 ac_status=$?
45845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846 (exit $ac_status); }; } &&
45847 { ac_try='test -s conftest.$ac_objext'
45848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45849 (eval $ac_try) 2>&5
45850 ac_status=$?
45851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45852 (exit $ac_status); }; }; then
45853 glibcxx_cv_func__modfl_use=yes
45854 else
45855 echo "$as_me: failed program was:" >&5
45856 sed 's/^/| /' conftest.$ac_ext >&5
45858 glibcxx_cv_func__modfl_use=no
45860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45861 ac_ext=c
45862 ac_cpp='$CPP $CPPFLAGS'
45863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45872 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45874 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45876 for ac_func in _modfl
45878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45879 echo "$as_me:$LINENO: checking for $ac_func" >&5
45880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45881 if eval "test \"\${$as_ac_var+set}\" = set"; then
45882 echo $ECHO_N "(cached) $ECHO_C" >&6
45883 else
45884 if test x$gcc_no_link = xyes; then
45885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45887 { (exit 1); exit 1; }; }
45889 cat >conftest.$ac_ext <<_ACEOF
45890 /* confdefs.h. */
45891 _ACEOF
45892 cat confdefs.h >>conftest.$ac_ext
45893 cat >>conftest.$ac_ext <<_ACEOF
45894 /* end confdefs.h. */
45895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45897 #define $ac_func innocuous_$ac_func
45899 /* System header to define __stub macros and hopefully few prototypes,
45900 which can conflict with char $ac_func (); below.
45901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45902 <limits.h> exists even on freestanding compilers. */
45904 #ifdef __STDC__
45905 # include <limits.h>
45906 #else
45907 # include <assert.h>
45908 #endif
45910 #undef $ac_func
45912 /* Override any gcc2 internal prototype to avoid an error. */
45913 #ifdef __cplusplus
45914 extern "C"
45916 #endif
45917 /* We use char because int might match the return type of a gcc2
45918 builtin and then its argument prototype would still apply. */
45919 char $ac_func ();
45920 /* The GNU C library defines this for functions which it implements
45921 to always fail with ENOSYS. Some functions are actually named
45922 something starting with __ and the normal name is an alias. */
45923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45924 choke me
45925 #else
45926 char (*f) () = $ac_func;
45927 #endif
45928 #ifdef __cplusplus
45930 #endif
45933 main ()
45935 return f != $ac_func;
45937 return 0;
45939 _ACEOF
45940 rm -f conftest.$ac_objext conftest$ac_exeext
45941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45942 (eval $ac_link) 2>conftest.er1
45943 ac_status=$?
45944 grep -v '^ *+' conftest.er1 >conftest.err
45945 rm -f conftest.er1
45946 cat conftest.err >&5
45947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45948 (exit $ac_status); } &&
45949 { ac_try='test -z "$ac_c_werror_flag"
45950 || test ! -s conftest.err'
45951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45952 (eval $ac_try) 2>&5
45953 ac_status=$?
45954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45955 (exit $ac_status); }; } &&
45956 { ac_try='test -s conftest$ac_exeext'
45957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45958 (eval $ac_try) 2>&5
45959 ac_status=$?
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); }; }; then
45962 eval "$as_ac_var=yes"
45963 else
45964 echo "$as_me: failed program was:" >&5
45965 sed 's/^/| /' conftest.$ac_ext >&5
45967 eval "$as_ac_var=no"
45969 rm -f conftest.err conftest.$ac_objext \
45970 conftest$ac_exeext conftest.$ac_ext
45972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45974 if test `eval echo '${'$as_ac_var'}'` = yes; then
45975 cat >>confdefs.h <<_ACEOF
45976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45977 _ACEOF
45980 done
45987 echo "$as_me:$LINENO: checking for powl declaration" >&5
45988 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45989 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45990 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45991 echo $ECHO_N "(cached) $ECHO_C" >&6
45992 else
45996 ac_ext=cc
45997 ac_cpp='$CXXCPP $CPPFLAGS'
45998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46002 cat >conftest.$ac_ext <<_ACEOF
46003 /* confdefs.h. */
46004 _ACEOF
46005 cat confdefs.h >>conftest.$ac_ext
46006 cat >>conftest.$ac_ext <<_ACEOF
46007 /* end confdefs.h. */
46008 #include <math.h>
46010 main ()
46012 powl(0, 0);
46014 return 0;
46016 _ACEOF
46017 rm -f conftest.$ac_objext
46018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46019 (eval $ac_compile) 2>conftest.er1
46020 ac_status=$?
46021 grep -v '^ *+' conftest.er1 >conftest.err
46022 rm -f conftest.er1
46023 cat conftest.err >&5
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); } &&
46026 { ac_try='test -z "$ac_cxx_werror_flag"
46027 || test ! -s conftest.err'
46028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46029 (eval $ac_try) 2>&5
46030 ac_status=$?
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); }; } &&
46033 { ac_try='test -s conftest.$ac_objext'
46034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46035 (eval $ac_try) 2>&5
46036 ac_status=$?
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); }; }; then
46039 glibcxx_cv_func_powl_use=yes
46040 else
46041 echo "$as_me: failed program was:" >&5
46042 sed 's/^/| /' conftest.$ac_ext >&5
46044 glibcxx_cv_func_powl_use=no
46046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46047 ac_ext=c
46048 ac_cpp='$CPP $CPPFLAGS'
46049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46058 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46060 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46062 for ac_func in powl
46064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46065 echo "$as_me:$LINENO: checking for $ac_func" >&5
46066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46067 if eval "test \"\${$as_ac_var+set}\" = set"; then
46068 echo $ECHO_N "(cached) $ECHO_C" >&6
46069 else
46070 if test x$gcc_no_link = xyes; then
46071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46073 { (exit 1); exit 1; }; }
46075 cat >conftest.$ac_ext <<_ACEOF
46076 /* confdefs.h. */
46077 _ACEOF
46078 cat confdefs.h >>conftest.$ac_ext
46079 cat >>conftest.$ac_ext <<_ACEOF
46080 /* end confdefs.h. */
46081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46083 #define $ac_func innocuous_$ac_func
46085 /* System header to define __stub macros and hopefully few prototypes,
46086 which can conflict with char $ac_func (); below.
46087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46088 <limits.h> exists even on freestanding compilers. */
46090 #ifdef __STDC__
46091 # include <limits.h>
46092 #else
46093 # include <assert.h>
46094 #endif
46096 #undef $ac_func
46098 /* Override any gcc2 internal prototype to avoid an error. */
46099 #ifdef __cplusplus
46100 extern "C"
46102 #endif
46103 /* We use char because int might match the return type of a gcc2
46104 builtin and then its argument prototype would still apply. */
46105 char $ac_func ();
46106 /* The GNU C library defines this for functions which it implements
46107 to always fail with ENOSYS. Some functions are actually named
46108 something starting with __ and the normal name is an alias. */
46109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46110 choke me
46111 #else
46112 char (*f) () = $ac_func;
46113 #endif
46114 #ifdef __cplusplus
46116 #endif
46119 main ()
46121 return f != $ac_func;
46123 return 0;
46125 _ACEOF
46126 rm -f conftest.$ac_objext conftest$ac_exeext
46127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46128 (eval $ac_link) 2>conftest.er1
46129 ac_status=$?
46130 grep -v '^ *+' conftest.er1 >conftest.err
46131 rm -f conftest.er1
46132 cat conftest.err >&5
46133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46134 (exit $ac_status); } &&
46135 { ac_try='test -z "$ac_c_werror_flag"
46136 || test ! -s conftest.err'
46137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46138 (eval $ac_try) 2>&5
46139 ac_status=$?
46140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46141 (exit $ac_status); }; } &&
46142 { ac_try='test -s conftest$ac_exeext'
46143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46144 (eval $ac_try) 2>&5
46145 ac_status=$?
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); }; }; then
46148 eval "$as_ac_var=yes"
46149 else
46150 echo "$as_me: failed program was:" >&5
46151 sed 's/^/| /' conftest.$ac_ext >&5
46153 eval "$as_ac_var=no"
46155 rm -f conftest.err conftest.$ac_objext \
46156 conftest$ac_exeext conftest.$ac_ext
46158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46160 if test `eval echo '${'$as_ac_var'}'` = yes; then
46161 cat >>confdefs.h <<_ACEOF
46162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46163 _ACEOF
46166 done
46168 else
46170 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46171 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46172 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46173 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46174 echo $ECHO_N "(cached) $ECHO_C" >&6
46175 else
46179 ac_ext=cc
46180 ac_cpp='$CXXCPP $CPPFLAGS'
46181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46185 cat >conftest.$ac_ext <<_ACEOF
46186 /* confdefs.h. */
46187 _ACEOF
46188 cat confdefs.h >>conftest.$ac_ext
46189 cat >>conftest.$ac_ext <<_ACEOF
46190 /* end confdefs.h. */
46191 #include <math.h>
46193 main ()
46195 _powl(0, 0);
46197 return 0;
46199 _ACEOF
46200 rm -f conftest.$ac_objext
46201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46202 (eval $ac_compile) 2>conftest.er1
46203 ac_status=$?
46204 grep -v '^ *+' conftest.er1 >conftest.err
46205 rm -f conftest.er1
46206 cat conftest.err >&5
46207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46208 (exit $ac_status); } &&
46209 { ac_try='test -z "$ac_cxx_werror_flag"
46210 || test ! -s conftest.err'
46211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46212 (eval $ac_try) 2>&5
46213 ac_status=$?
46214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215 (exit $ac_status); }; } &&
46216 { ac_try='test -s conftest.$ac_objext'
46217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46218 (eval $ac_try) 2>&5
46219 ac_status=$?
46220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46221 (exit $ac_status); }; }; then
46222 glibcxx_cv_func__powl_use=yes
46223 else
46224 echo "$as_me: failed program was:" >&5
46225 sed 's/^/| /' conftest.$ac_ext >&5
46227 glibcxx_cv_func__powl_use=no
46229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46230 ac_ext=c
46231 ac_cpp='$CPP $CPPFLAGS'
46232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46241 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46243 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46245 for ac_func in _powl
46247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46248 echo "$as_me:$LINENO: checking for $ac_func" >&5
46249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46250 if eval "test \"\${$as_ac_var+set}\" = set"; then
46251 echo $ECHO_N "(cached) $ECHO_C" >&6
46252 else
46253 if test x$gcc_no_link = xyes; then
46254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46256 { (exit 1); exit 1; }; }
46258 cat >conftest.$ac_ext <<_ACEOF
46259 /* confdefs.h. */
46260 _ACEOF
46261 cat confdefs.h >>conftest.$ac_ext
46262 cat >>conftest.$ac_ext <<_ACEOF
46263 /* end confdefs.h. */
46264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46266 #define $ac_func innocuous_$ac_func
46268 /* System header to define __stub macros and hopefully few prototypes,
46269 which can conflict with char $ac_func (); below.
46270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46271 <limits.h> exists even on freestanding compilers. */
46273 #ifdef __STDC__
46274 # include <limits.h>
46275 #else
46276 # include <assert.h>
46277 #endif
46279 #undef $ac_func
46281 /* Override any gcc2 internal prototype to avoid an error. */
46282 #ifdef __cplusplus
46283 extern "C"
46285 #endif
46286 /* We use char because int might match the return type of a gcc2
46287 builtin and then its argument prototype would still apply. */
46288 char $ac_func ();
46289 /* The GNU C library defines this for functions which it implements
46290 to always fail with ENOSYS. Some functions are actually named
46291 something starting with __ and the normal name is an alias. */
46292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46293 choke me
46294 #else
46295 char (*f) () = $ac_func;
46296 #endif
46297 #ifdef __cplusplus
46299 #endif
46302 main ()
46304 return f != $ac_func;
46306 return 0;
46308 _ACEOF
46309 rm -f conftest.$ac_objext conftest$ac_exeext
46310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46311 (eval $ac_link) 2>conftest.er1
46312 ac_status=$?
46313 grep -v '^ *+' conftest.er1 >conftest.err
46314 rm -f conftest.er1
46315 cat conftest.err >&5
46316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46317 (exit $ac_status); } &&
46318 { ac_try='test -z "$ac_c_werror_flag"
46319 || test ! -s conftest.err'
46320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46321 (eval $ac_try) 2>&5
46322 ac_status=$?
46323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46324 (exit $ac_status); }; } &&
46325 { ac_try='test -s conftest$ac_exeext'
46326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46327 (eval $ac_try) 2>&5
46328 ac_status=$?
46329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46330 (exit $ac_status); }; }; then
46331 eval "$as_ac_var=yes"
46332 else
46333 echo "$as_me: failed program was:" >&5
46334 sed 's/^/| /' conftest.$ac_ext >&5
46336 eval "$as_ac_var=no"
46338 rm -f conftest.err conftest.$ac_objext \
46339 conftest$ac_exeext conftest.$ac_ext
46341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46343 if test `eval echo '${'$as_ac_var'}'` = yes; then
46344 cat >>confdefs.h <<_ACEOF
46345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46346 _ACEOF
46349 done
46356 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46357 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46358 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46359 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46360 echo $ECHO_N "(cached) $ECHO_C" >&6
46361 else
46365 ac_ext=cc
46366 ac_cpp='$CXXCPP $CPPFLAGS'
46367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46371 cat >conftest.$ac_ext <<_ACEOF
46372 /* confdefs.h. */
46373 _ACEOF
46374 cat confdefs.h >>conftest.$ac_ext
46375 cat >>conftest.$ac_ext <<_ACEOF
46376 /* end confdefs.h. */
46377 #include <math.h>
46378 #ifdef HAVE_IEEEFP_H
46379 #include <ieeefp.h>
46380 #endif
46383 main ()
46385 sqrtl(0);
46387 return 0;
46389 _ACEOF
46390 rm -f conftest.$ac_objext
46391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46392 (eval $ac_compile) 2>conftest.er1
46393 ac_status=$?
46394 grep -v '^ *+' conftest.er1 >conftest.err
46395 rm -f conftest.er1
46396 cat conftest.err >&5
46397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46398 (exit $ac_status); } &&
46399 { ac_try='test -z "$ac_cxx_werror_flag"
46400 || test ! -s conftest.err'
46401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46402 (eval $ac_try) 2>&5
46403 ac_status=$?
46404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46405 (exit $ac_status); }; } &&
46406 { ac_try='test -s conftest.$ac_objext'
46407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46408 (eval $ac_try) 2>&5
46409 ac_status=$?
46410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46411 (exit $ac_status); }; }; then
46412 glibcxx_cv_func_sqrtl_use=yes
46413 else
46414 echo "$as_me: failed program was:" >&5
46415 sed 's/^/| /' conftest.$ac_ext >&5
46417 glibcxx_cv_func_sqrtl_use=no
46419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46420 ac_ext=c
46421 ac_cpp='$CPP $CPPFLAGS'
46422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46431 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46433 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46435 for ac_func in sqrtl
46437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46438 echo "$as_me:$LINENO: checking for $ac_func" >&5
46439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46440 if eval "test \"\${$as_ac_var+set}\" = set"; then
46441 echo $ECHO_N "(cached) $ECHO_C" >&6
46442 else
46443 if test x$gcc_no_link = xyes; then
46444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46446 { (exit 1); exit 1; }; }
46448 cat >conftest.$ac_ext <<_ACEOF
46449 /* confdefs.h. */
46450 _ACEOF
46451 cat confdefs.h >>conftest.$ac_ext
46452 cat >>conftest.$ac_ext <<_ACEOF
46453 /* end confdefs.h. */
46454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46456 #define $ac_func innocuous_$ac_func
46458 /* System header to define __stub macros and hopefully few prototypes,
46459 which can conflict with char $ac_func (); below.
46460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46461 <limits.h> exists even on freestanding compilers. */
46463 #ifdef __STDC__
46464 # include <limits.h>
46465 #else
46466 # include <assert.h>
46467 #endif
46469 #undef $ac_func
46471 /* Override any gcc2 internal prototype to avoid an error. */
46472 #ifdef __cplusplus
46473 extern "C"
46475 #endif
46476 /* We use char because int might match the return type of a gcc2
46477 builtin and then its argument prototype would still apply. */
46478 char $ac_func ();
46479 /* The GNU C library defines this for functions which it implements
46480 to always fail with ENOSYS. Some functions are actually named
46481 something starting with __ and the normal name is an alias. */
46482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46483 choke me
46484 #else
46485 char (*f) () = $ac_func;
46486 #endif
46487 #ifdef __cplusplus
46489 #endif
46492 main ()
46494 return f != $ac_func;
46496 return 0;
46498 _ACEOF
46499 rm -f conftest.$ac_objext conftest$ac_exeext
46500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46501 (eval $ac_link) 2>conftest.er1
46502 ac_status=$?
46503 grep -v '^ *+' conftest.er1 >conftest.err
46504 rm -f conftest.er1
46505 cat conftest.err >&5
46506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46507 (exit $ac_status); } &&
46508 { ac_try='test -z "$ac_c_werror_flag"
46509 || test ! -s conftest.err'
46510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46511 (eval $ac_try) 2>&5
46512 ac_status=$?
46513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46514 (exit $ac_status); }; } &&
46515 { ac_try='test -s conftest$ac_exeext'
46516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46517 (eval $ac_try) 2>&5
46518 ac_status=$?
46519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46520 (exit $ac_status); }; }; then
46521 eval "$as_ac_var=yes"
46522 else
46523 echo "$as_me: failed program was:" >&5
46524 sed 's/^/| /' conftest.$ac_ext >&5
46526 eval "$as_ac_var=no"
46528 rm -f conftest.err conftest.$ac_objext \
46529 conftest$ac_exeext conftest.$ac_ext
46531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46533 if test `eval echo '${'$as_ac_var'}'` = yes; then
46534 cat >>confdefs.h <<_ACEOF
46535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46536 _ACEOF
46539 done
46541 else
46543 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46544 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46545 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46546 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46547 echo $ECHO_N "(cached) $ECHO_C" >&6
46548 else
46552 ac_ext=cc
46553 ac_cpp='$CXXCPP $CPPFLAGS'
46554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46558 cat >conftest.$ac_ext <<_ACEOF
46559 /* confdefs.h. */
46560 _ACEOF
46561 cat confdefs.h >>conftest.$ac_ext
46562 cat >>conftest.$ac_ext <<_ACEOF
46563 /* end confdefs.h. */
46564 #include <math.h>
46565 #ifdef HAVE_IEEEFP_H
46566 #include <ieeefp.h>
46567 #endif
46570 main ()
46572 _sqrtl(0);
46574 return 0;
46576 _ACEOF
46577 rm -f conftest.$ac_objext
46578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46579 (eval $ac_compile) 2>conftest.er1
46580 ac_status=$?
46581 grep -v '^ *+' conftest.er1 >conftest.err
46582 rm -f conftest.er1
46583 cat conftest.err >&5
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); } &&
46586 { ac_try='test -z "$ac_cxx_werror_flag"
46587 || test ! -s conftest.err'
46588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46589 (eval $ac_try) 2>&5
46590 ac_status=$?
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); }; } &&
46593 { ac_try='test -s conftest.$ac_objext'
46594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46595 (eval $ac_try) 2>&5
46596 ac_status=$?
46597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46598 (exit $ac_status); }; }; then
46599 glibcxx_cv_func__sqrtl_use=yes
46600 else
46601 echo "$as_me: failed program was:" >&5
46602 sed 's/^/| /' conftest.$ac_ext >&5
46604 glibcxx_cv_func__sqrtl_use=no
46606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46607 ac_ext=c
46608 ac_cpp='$CPP $CPPFLAGS'
46609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46618 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46620 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46622 for ac_func in _sqrtl
46624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46625 echo "$as_me:$LINENO: checking for $ac_func" >&5
46626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46627 if eval "test \"\${$as_ac_var+set}\" = set"; then
46628 echo $ECHO_N "(cached) $ECHO_C" >&6
46629 else
46630 if test x$gcc_no_link = xyes; then
46631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46633 { (exit 1); exit 1; }; }
46635 cat >conftest.$ac_ext <<_ACEOF
46636 /* confdefs.h. */
46637 _ACEOF
46638 cat confdefs.h >>conftest.$ac_ext
46639 cat >>conftest.$ac_ext <<_ACEOF
46640 /* end confdefs.h. */
46641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46643 #define $ac_func innocuous_$ac_func
46645 /* System header to define __stub macros and hopefully few prototypes,
46646 which can conflict with char $ac_func (); below.
46647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46648 <limits.h> exists even on freestanding compilers. */
46650 #ifdef __STDC__
46651 # include <limits.h>
46652 #else
46653 # include <assert.h>
46654 #endif
46656 #undef $ac_func
46658 /* Override any gcc2 internal prototype to avoid an error. */
46659 #ifdef __cplusplus
46660 extern "C"
46662 #endif
46663 /* We use char because int might match the return type of a gcc2
46664 builtin and then its argument prototype would still apply. */
46665 char $ac_func ();
46666 /* The GNU C library defines this for functions which it implements
46667 to always fail with ENOSYS. Some functions are actually named
46668 something starting with __ and the normal name is an alias. */
46669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46670 choke me
46671 #else
46672 char (*f) () = $ac_func;
46673 #endif
46674 #ifdef __cplusplus
46676 #endif
46679 main ()
46681 return f != $ac_func;
46683 return 0;
46685 _ACEOF
46686 rm -f conftest.$ac_objext conftest$ac_exeext
46687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46688 (eval $ac_link) 2>conftest.er1
46689 ac_status=$?
46690 grep -v '^ *+' conftest.er1 >conftest.err
46691 rm -f conftest.er1
46692 cat conftest.err >&5
46693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694 (exit $ac_status); } &&
46695 { ac_try='test -z "$ac_c_werror_flag"
46696 || test ! -s conftest.err'
46697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46698 (eval $ac_try) 2>&5
46699 ac_status=$?
46700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46701 (exit $ac_status); }; } &&
46702 { ac_try='test -s conftest$ac_exeext'
46703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46704 (eval $ac_try) 2>&5
46705 ac_status=$?
46706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46707 (exit $ac_status); }; }; then
46708 eval "$as_ac_var=yes"
46709 else
46710 echo "$as_me: failed program was:" >&5
46711 sed 's/^/| /' conftest.$ac_ext >&5
46713 eval "$as_ac_var=no"
46715 rm -f conftest.err conftest.$ac_objext \
46716 conftest$ac_exeext conftest.$ac_ext
46718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46720 if test `eval echo '${'$as_ac_var'}'` = yes; then
46721 cat >>confdefs.h <<_ACEOF
46722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46723 _ACEOF
46726 done
46733 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46734 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46735 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46736 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46737 echo $ECHO_N "(cached) $ECHO_C" >&6
46738 else
46742 ac_ext=cc
46743 ac_cpp='$CXXCPP $CPPFLAGS'
46744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46748 cat >conftest.$ac_ext <<_ACEOF
46749 /* confdefs.h. */
46750 _ACEOF
46751 cat confdefs.h >>conftest.$ac_ext
46752 cat >>conftest.$ac_ext <<_ACEOF
46753 /* end confdefs.h. */
46754 #include <math.h>
46756 main ()
46758 sincosl(0, 0, 0);
46760 return 0;
46762 _ACEOF
46763 rm -f conftest.$ac_objext
46764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46765 (eval $ac_compile) 2>conftest.er1
46766 ac_status=$?
46767 grep -v '^ *+' conftest.er1 >conftest.err
46768 rm -f conftest.er1
46769 cat conftest.err >&5
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); } &&
46772 { ac_try='test -z "$ac_cxx_werror_flag"
46773 || test ! -s conftest.err'
46774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46775 (eval $ac_try) 2>&5
46776 ac_status=$?
46777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46778 (exit $ac_status); }; } &&
46779 { ac_try='test -s conftest.$ac_objext'
46780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46781 (eval $ac_try) 2>&5
46782 ac_status=$?
46783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46784 (exit $ac_status); }; }; then
46785 glibcxx_cv_func_sincosl_use=yes
46786 else
46787 echo "$as_me: failed program was:" >&5
46788 sed 's/^/| /' conftest.$ac_ext >&5
46790 glibcxx_cv_func_sincosl_use=no
46792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46793 ac_ext=c
46794 ac_cpp='$CPP $CPPFLAGS'
46795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46804 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46806 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46808 for ac_func in sincosl
46810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46811 echo "$as_me:$LINENO: checking for $ac_func" >&5
46812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46813 if eval "test \"\${$as_ac_var+set}\" = set"; then
46814 echo $ECHO_N "(cached) $ECHO_C" >&6
46815 else
46816 if test x$gcc_no_link = xyes; then
46817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46819 { (exit 1); exit 1; }; }
46821 cat >conftest.$ac_ext <<_ACEOF
46822 /* confdefs.h. */
46823 _ACEOF
46824 cat confdefs.h >>conftest.$ac_ext
46825 cat >>conftest.$ac_ext <<_ACEOF
46826 /* end confdefs.h. */
46827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46829 #define $ac_func innocuous_$ac_func
46831 /* System header to define __stub macros and hopefully few prototypes,
46832 which can conflict with char $ac_func (); below.
46833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46834 <limits.h> exists even on freestanding compilers. */
46836 #ifdef __STDC__
46837 # include <limits.h>
46838 #else
46839 # include <assert.h>
46840 #endif
46842 #undef $ac_func
46844 /* Override any gcc2 internal prototype to avoid an error. */
46845 #ifdef __cplusplus
46846 extern "C"
46848 #endif
46849 /* We use char because int might match the return type of a gcc2
46850 builtin and then its argument prototype would still apply. */
46851 char $ac_func ();
46852 /* The GNU C library defines this for functions which it implements
46853 to always fail with ENOSYS. Some functions are actually named
46854 something starting with __ and the normal name is an alias. */
46855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46856 choke me
46857 #else
46858 char (*f) () = $ac_func;
46859 #endif
46860 #ifdef __cplusplus
46862 #endif
46865 main ()
46867 return f != $ac_func;
46869 return 0;
46871 _ACEOF
46872 rm -f conftest.$ac_objext conftest$ac_exeext
46873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46874 (eval $ac_link) 2>conftest.er1
46875 ac_status=$?
46876 grep -v '^ *+' conftest.er1 >conftest.err
46877 rm -f conftest.er1
46878 cat conftest.err >&5
46879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46880 (exit $ac_status); } &&
46881 { ac_try='test -z "$ac_c_werror_flag"
46882 || test ! -s conftest.err'
46883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46884 (eval $ac_try) 2>&5
46885 ac_status=$?
46886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46887 (exit $ac_status); }; } &&
46888 { ac_try='test -s conftest$ac_exeext'
46889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46890 (eval $ac_try) 2>&5
46891 ac_status=$?
46892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46893 (exit $ac_status); }; }; then
46894 eval "$as_ac_var=yes"
46895 else
46896 echo "$as_me: failed program was:" >&5
46897 sed 's/^/| /' conftest.$ac_ext >&5
46899 eval "$as_ac_var=no"
46901 rm -f conftest.err conftest.$ac_objext \
46902 conftest$ac_exeext conftest.$ac_ext
46904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46906 if test `eval echo '${'$as_ac_var'}'` = yes; then
46907 cat >>confdefs.h <<_ACEOF
46908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46909 _ACEOF
46912 done
46914 else
46916 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46917 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46918 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46919 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46920 echo $ECHO_N "(cached) $ECHO_C" >&6
46921 else
46925 ac_ext=cc
46926 ac_cpp='$CXXCPP $CPPFLAGS'
46927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46931 cat >conftest.$ac_ext <<_ACEOF
46932 /* confdefs.h. */
46933 _ACEOF
46934 cat confdefs.h >>conftest.$ac_ext
46935 cat >>conftest.$ac_ext <<_ACEOF
46936 /* end confdefs.h. */
46937 #include <math.h>
46939 main ()
46941 _sincosl(0, 0, 0);
46943 return 0;
46945 _ACEOF
46946 rm -f conftest.$ac_objext
46947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46948 (eval $ac_compile) 2>conftest.er1
46949 ac_status=$?
46950 grep -v '^ *+' conftest.er1 >conftest.err
46951 rm -f conftest.er1
46952 cat conftest.err >&5
46953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46954 (exit $ac_status); } &&
46955 { ac_try='test -z "$ac_cxx_werror_flag"
46956 || test ! -s conftest.err'
46957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46958 (eval $ac_try) 2>&5
46959 ac_status=$?
46960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961 (exit $ac_status); }; } &&
46962 { ac_try='test -s conftest.$ac_objext'
46963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46964 (eval $ac_try) 2>&5
46965 ac_status=$?
46966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46967 (exit $ac_status); }; }; then
46968 glibcxx_cv_func__sincosl_use=yes
46969 else
46970 echo "$as_me: failed program was:" >&5
46971 sed 's/^/| /' conftest.$ac_ext >&5
46973 glibcxx_cv_func__sincosl_use=no
46975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46976 ac_ext=c
46977 ac_cpp='$CPP $CPPFLAGS'
46978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46987 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46989 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46991 for ac_func in _sincosl
46993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46994 echo "$as_me:$LINENO: checking for $ac_func" >&5
46995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46996 if eval "test \"\${$as_ac_var+set}\" = set"; then
46997 echo $ECHO_N "(cached) $ECHO_C" >&6
46998 else
46999 if test x$gcc_no_link = xyes; then
47000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47002 { (exit 1); exit 1; }; }
47004 cat >conftest.$ac_ext <<_ACEOF
47005 /* confdefs.h. */
47006 _ACEOF
47007 cat confdefs.h >>conftest.$ac_ext
47008 cat >>conftest.$ac_ext <<_ACEOF
47009 /* end confdefs.h. */
47010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47012 #define $ac_func innocuous_$ac_func
47014 /* System header to define __stub macros and hopefully few prototypes,
47015 which can conflict with char $ac_func (); below.
47016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47017 <limits.h> exists even on freestanding compilers. */
47019 #ifdef __STDC__
47020 # include <limits.h>
47021 #else
47022 # include <assert.h>
47023 #endif
47025 #undef $ac_func
47027 /* Override any gcc2 internal prototype to avoid an error. */
47028 #ifdef __cplusplus
47029 extern "C"
47031 #endif
47032 /* We use char because int might match the return type of a gcc2
47033 builtin and then its argument prototype would still apply. */
47034 char $ac_func ();
47035 /* The GNU C library defines this for functions which it implements
47036 to always fail with ENOSYS. Some functions are actually named
47037 something starting with __ and the normal name is an alias. */
47038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47039 choke me
47040 #else
47041 char (*f) () = $ac_func;
47042 #endif
47043 #ifdef __cplusplus
47045 #endif
47048 main ()
47050 return f != $ac_func;
47052 return 0;
47054 _ACEOF
47055 rm -f conftest.$ac_objext conftest$ac_exeext
47056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47057 (eval $ac_link) 2>conftest.er1
47058 ac_status=$?
47059 grep -v '^ *+' conftest.er1 >conftest.err
47060 rm -f conftest.er1
47061 cat conftest.err >&5
47062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47063 (exit $ac_status); } &&
47064 { ac_try='test -z "$ac_c_werror_flag"
47065 || test ! -s conftest.err'
47066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47067 (eval $ac_try) 2>&5
47068 ac_status=$?
47069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47070 (exit $ac_status); }; } &&
47071 { ac_try='test -s conftest$ac_exeext'
47072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47073 (eval $ac_try) 2>&5
47074 ac_status=$?
47075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47076 (exit $ac_status); }; }; then
47077 eval "$as_ac_var=yes"
47078 else
47079 echo "$as_me: failed program was:" >&5
47080 sed 's/^/| /' conftest.$ac_ext >&5
47082 eval "$as_ac_var=no"
47084 rm -f conftest.err conftest.$ac_objext \
47085 conftest$ac_exeext conftest.$ac_ext
47087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47089 if test `eval echo '${'$as_ac_var'}'` = yes; then
47090 cat >>confdefs.h <<_ACEOF
47091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47092 _ACEOF
47095 done
47102 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47103 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47104 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47105 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47106 echo $ECHO_N "(cached) $ECHO_C" >&6
47107 else
47111 ac_ext=cc
47112 ac_cpp='$CXXCPP $CPPFLAGS'
47113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47117 cat >conftest.$ac_ext <<_ACEOF
47118 /* confdefs.h. */
47119 _ACEOF
47120 cat confdefs.h >>conftest.$ac_ext
47121 cat >>conftest.$ac_ext <<_ACEOF
47122 /* end confdefs.h. */
47123 #include <math.h>
47124 #ifdef HAVE_IEEEFP_H
47125 #include <ieeefp.h>
47126 #endif
47129 main ()
47131 finitel(0);
47133 return 0;
47135 _ACEOF
47136 rm -f conftest.$ac_objext
47137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47138 (eval $ac_compile) 2>conftest.er1
47139 ac_status=$?
47140 grep -v '^ *+' conftest.er1 >conftest.err
47141 rm -f conftest.er1
47142 cat conftest.err >&5
47143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144 (exit $ac_status); } &&
47145 { ac_try='test -z "$ac_cxx_werror_flag"
47146 || test ! -s conftest.err'
47147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47148 (eval $ac_try) 2>&5
47149 ac_status=$?
47150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151 (exit $ac_status); }; } &&
47152 { ac_try='test -s conftest.$ac_objext'
47153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154 (eval $ac_try) 2>&5
47155 ac_status=$?
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); }; }; then
47158 glibcxx_cv_func_finitel_use=yes
47159 else
47160 echo "$as_me: failed program was:" >&5
47161 sed 's/^/| /' conftest.$ac_ext >&5
47163 glibcxx_cv_func_finitel_use=no
47165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47166 ac_ext=c
47167 ac_cpp='$CPP $CPPFLAGS'
47168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47177 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47179 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47181 for ac_func in finitel
47183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47184 echo "$as_me:$LINENO: checking for $ac_func" >&5
47185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47186 if eval "test \"\${$as_ac_var+set}\" = set"; then
47187 echo $ECHO_N "(cached) $ECHO_C" >&6
47188 else
47189 if test x$gcc_no_link = xyes; then
47190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47192 { (exit 1); exit 1; }; }
47194 cat >conftest.$ac_ext <<_ACEOF
47195 /* confdefs.h. */
47196 _ACEOF
47197 cat confdefs.h >>conftest.$ac_ext
47198 cat >>conftest.$ac_ext <<_ACEOF
47199 /* end confdefs.h. */
47200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47202 #define $ac_func innocuous_$ac_func
47204 /* System header to define __stub macros and hopefully few prototypes,
47205 which can conflict with char $ac_func (); below.
47206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47207 <limits.h> exists even on freestanding compilers. */
47209 #ifdef __STDC__
47210 # include <limits.h>
47211 #else
47212 # include <assert.h>
47213 #endif
47215 #undef $ac_func
47217 /* Override any gcc2 internal prototype to avoid an error. */
47218 #ifdef __cplusplus
47219 extern "C"
47221 #endif
47222 /* We use char because int might match the return type of a gcc2
47223 builtin and then its argument prototype would still apply. */
47224 char $ac_func ();
47225 /* The GNU C library defines this for functions which it implements
47226 to always fail with ENOSYS. Some functions are actually named
47227 something starting with __ and the normal name is an alias. */
47228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47229 choke me
47230 #else
47231 char (*f) () = $ac_func;
47232 #endif
47233 #ifdef __cplusplus
47235 #endif
47238 main ()
47240 return f != $ac_func;
47242 return 0;
47244 _ACEOF
47245 rm -f conftest.$ac_objext conftest$ac_exeext
47246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47247 (eval $ac_link) 2>conftest.er1
47248 ac_status=$?
47249 grep -v '^ *+' conftest.er1 >conftest.err
47250 rm -f conftest.er1
47251 cat conftest.err >&5
47252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47253 (exit $ac_status); } &&
47254 { ac_try='test -z "$ac_c_werror_flag"
47255 || test ! -s conftest.err'
47256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47257 (eval $ac_try) 2>&5
47258 ac_status=$?
47259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47260 (exit $ac_status); }; } &&
47261 { ac_try='test -s conftest$ac_exeext'
47262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47263 (eval $ac_try) 2>&5
47264 ac_status=$?
47265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266 (exit $ac_status); }; }; then
47267 eval "$as_ac_var=yes"
47268 else
47269 echo "$as_me: failed program was:" >&5
47270 sed 's/^/| /' conftest.$ac_ext >&5
47272 eval "$as_ac_var=no"
47274 rm -f conftest.err conftest.$ac_objext \
47275 conftest$ac_exeext conftest.$ac_ext
47277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47279 if test `eval echo '${'$as_ac_var'}'` = yes; then
47280 cat >>confdefs.h <<_ACEOF
47281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47282 _ACEOF
47285 done
47287 else
47289 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47290 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47291 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47292 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47293 echo $ECHO_N "(cached) $ECHO_C" >&6
47294 else
47298 ac_ext=cc
47299 ac_cpp='$CXXCPP $CPPFLAGS'
47300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47304 cat >conftest.$ac_ext <<_ACEOF
47305 /* confdefs.h. */
47306 _ACEOF
47307 cat confdefs.h >>conftest.$ac_ext
47308 cat >>conftest.$ac_ext <<_ACEOF
47309 /* end confdefs.h. */
47310 #include <math.h>
47311 #ifdef HAVE_IEEEFP_H
47312 #include <ieeefp.h>
47313 #endif
47316 main ()
47318 _finitel(0);
47320 return 0;
47322 _ACEOF
47323 rm -f conftest.$ac_objext
47324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47325 (eval $ac_compile) 2>conftest.er1
47326 ac_status=$?
47327 grep -v '^ *+' conftest.er1 >conftest.err
47328 rm -f conftest.er1
47329 cat conftest.err >&5
47330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47331 (exit $ac_status); } &&
47332 { ac_try='test -z "$ac_cxx_werror_flag"
47333 || test ! -s conftest.err'
47334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47335 (eval $ac_try) 2>&5
47336 ac_status=$?
47337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47338 (exit $ac_status); }; } &&
47339 { ac_try='test -s conftest.$ac_objext'
47340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341 (eval $ac_try) 2>&5
47342 ac_status=$?
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; }; then
47345 glibcxx_cv_func__finitel_use=yes
47346 else
47347 echo "$as_me: failed program was:" >&5
47348 sed 's/^/| /' conftest.$ac_ext >&5
47350 glibcxx_cv_func__finitel_use=no
47352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47353 ac_ext=c
47354 ac_cpp='$CPP $CPPFLAGS'
47355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47364 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47366 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47368 for ac_func in _finitel
47370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47371 echo "$as_me:$LINENO: checking for $ac_func" >&5
47372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47373 if eval "test \"\${$as_ac_var+set}\" = set"; then
47374 echo $ECHO_N "(cached) $ECHO_C" >&6
47375 else
47376 if test x$gcc_no_link = xyes; then
47377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47379 { (exit 1); exit 1; }; }
47381 cat >conftest.$ac_ext <<_ACEOF
47382 /* confdefs.h. */
47383 _ACEOF
47384 cat confdefs.h >>conftest.$ac_ext
47385 cat >>conftest.$ac_ext <<_ACEOF
47386 /* end confdefs.h. */
47387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47389 #define $ac_func innocuous_$ac_func
47391 /* System header to define __stub macros and hopefully few prototypes,
47392 which can conflict with char $ac_func (); below.
47393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47394 <limits.h> exists even on freestanding compilers. */
47396 #ifdef __STDC__
47397 # include <limits.h>
47398 #else
47399 # include <assert.h>
47400 #endif
47402 #undef $ac_func
47404 /* Override any gcc2 internal prototype to avoid an error. */
47405 #ifdef __cplusplus
47406 extern "C"
47408 #endif
47409 /* We use char because int might match the return type of a gcc2
47410 builtin and then its argument prototype would still apply. */
47411 char $ac_func ();
47412 /* The GNU C library defines this for functions which it implements
47413 to always fail with ENOSYS. Some functions are actually named
47414 something starting with __ and the normal name is an alias. */
47415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47416 choke me
47417 #else
47418 char (*f) () = $ac_func;
47419 #endif
47420 #ifdef __cplusplus
47422 #endif
47425 main ()
47427 return f != $ac_func;
47429 return 0;
47431 _ACEOF
47432 rm -f conftest.$ac_objext conftest$ac_exeext
47433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47434 (eval $ac_link) 2>conftest.er1
47435 ac_status=$?
47436 grep -v '^ *+' conftest.er1 >conftest.err
47437 rm -f conftest.er1
47438 cat conftest.err >&5
47439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47440 (exit $ac_status); } &&
47441 { ac_try='test -z "$ac_c_werror_flag"
47442 || test ! -s conftest.err'
47443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47444 (eval $ac_try) 2>&5
47445 ac_status=$?
47446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47447 (exit $ac_status); }; } &&
47448 { ac_try='test -s conftest$ac_exeext'
47449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47450 (eval $ac_try) 2>&5
47451 ac_status=$?
47452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453 (exit $ac_status); }; }; then
47454 eval "$as_ac_var=yes"
47455 else
47456 echo "$as_me: failed program was:" >&5
47457 sed 's/^/| /' conftest.$ac_ext >&5
47459 eval "$as_ac_var=no"
47461 rm -f conftest.err conftest.$ac_objext \
47462 conftest$ac_exeext conftest.$ac_ext
47464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47466 if test `eval echo '${'$as_ac_var'}'` = yes; then
47467 cat >>confdefs.h <<_ACEOF
47468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47469 _ACEOF
47472 done
47480 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47481 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47482 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47483 echo $ECHO_N "(cached) $ECHO_C" >&6
47484 else
47488 ac_ext=cc
47489 ac_cpp='$CXXCPP $CPPFLAGS'
47490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47494 cat >conftest.$ac_ext <<_ACEOF
47495 /* confdefs.h. */
47496 _ACEOF
47497 cat confdefs.h >>conftest.$ac_ext
47498 cat >>conftest.$ac_ext <<_ACEOF
47499 /* end confdefs.h. */
47500 #include <math.h>
47502 main ()
47504 `for x in _acosf _asinf _atanf \
47505 _cosf _sinf _tanf \
47506 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47508 return 0;
47510 _ACEOF
47511 rm -f conftest.$ac_objext
47512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47513 (eval $ac_compile) 2>conftest.er1
47514 ac_status=$?
47515 grep -v '^ *+' conftest.er1 >conftest.err
47516 rm -f conftest.er1
47517 cat conftest.err >&5
47518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47519 (exit $ac_status); } &&
47520 { ac_try='test -z "$ac_cxx_werror_flag"
47521 || test ! -s conftest.err'
47522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47523 (eval $ac_try) 2>&5
47524 ac_status=$?
47525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47526 (exit $ac_status); }; } &&
47527 { ac_try='test -s conftest.$ac_objext'
47528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47529 (eval $ac_try) 2>&5
47530 ac_status=$?
47531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47532 (exit $ac_status); }; }; then
47533 glibcxx_cv_func__float_trig_use=yes
47534 else
47535 echo "$as_me: failed program was:" >&5
47536 sed 's/^/| /' conftest.$ac_ext >&5
47538 glibcxx_cv_func__float_trig_use=no
47540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47541 ac_ext=c
47542 ac_cpp='$CPP $CPPFLAGS'
47543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47550 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47551 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47561 for ac_func in _acosf _asinf _atanf \
47562 _cosf _sinf _tanf \
47563 _coshf _sinhf _tanhf
47565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47566 echo "$as_me:$LINENO: checking for $ac_func" >&5
47567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47568 if eval "test \"\${$as_ac_var+set}\" = set"; then
47569 echo $ECHO_N "(cached) $ECHO_C" >&6
47570 else
47571 if test x$gcc_no_link = xyes; then
47572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47574 { (exit 1); exit 1; }; }
47576 cat >conftest.$ac_ext <<_ACEOF
47577 /* confdefs.h. */
47578 _ACEOF
47579 cat confdefs.h >>conftest.$ac_ext
47580 cat >>conftest.$ac_ext <<_ACEOF
47581 /* end confdefs.h. */
47582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47584 #define $ac_func innocuous_$ac_func
47586 /* System header to define __stub macros and hopefully few prototypes,
47587 which can conflict with char $ac_func (); below.
47588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47589 <limits.h> exists even on freestanding compilers. */
47591 #ifdef __STDC__
47592 # include <limits.h>
47593 #else
47594 # include <assert.h>
47595 #endif
47597 #undef $ac_func
47599 /* Override any gcc2 internal prototype to avoid an error. */
47600 #ifdef __cplusplus
47601 extern "C"
47603 #endif
47604 /* We use char because int might match the return type of a gcc2
47605 builtin and then its argument prototype would still apply. */
47606 char $ac_func ();
47607 /* The GNU C library defines this for functions which it implements
47608 to always fail with ENOSYS. Some functions are actually named
47609 something starting with __ and the normal name is an alias. */
47610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47611 choke me
47612 #else
47613 char (*f) () = $ac_func;
47614 #endif
47615 #ifdef __cplusplus
47617 #endif
47620 main ()
47622 return f != $ac_func;
47624 return 0;
47626 _ACEOF
47627 rm -f conftest.$ac_objext conftest$ac_exeext
47628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47629 (eval $ac_link) 2>conftest.er1
47630 ac_status=$?
47631 grep -v '^ *+' conftest.er1 >conftest.err
47632 rm -f conftest.er1
47633 cat conftest.err >&5
47634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47635 (exit $ac_status); } &&
47636 { ac_try='test -z "$ac_c_werror_flag"
47637 || test ! -s conftest.err'
47638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47639 (eval $ac_try) 2>&5
47640 ac_status=$?
47641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642 (exit $ac_status); }; } &&
47643 { ac_try='test -s conftest$ac_exeext'
47644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47645 (eval $ac_try) 2>&5
47646 ac_status=$?
47647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47648 (exit $ac_status); }; }; then
47649 eval "$as_ac_var=yes"
47650 else
47651 echo "$as_me: failed program was:" >&5
47652 sed 's/^/| /' conftest.$ac_ext >&5
47654 eval "$as_ac_var=no"
47656 rm -f conftest.err conftest.$ac_objext \
47657 conftest$ac_exeext conftest.$ac_ext
47659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47661 if test `eval echo '${'$as_ac_var'}'` = yes; then
47662 cat >>confdefs.h <<_ACEOF
47663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47664 _ACEOF
47667 done
47672 echo "$as_me:$LINENO: checking for _float round functions" >&5
47673 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47674 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47675 echo $ECHO_N "(cached) $ECHO_C" >&6
47676 else
47680 ac_ext=cc
47681 ac_cpp='$CXXCPP $CPPFLAGS'
47682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47686 cat >conftest.$ac_ext <<_ACEOF
47687 /* confdefs.h. */
47688 _ACEOF
47689 cat confdefs.h >>conftest.$ac_ext
47690 cat >>conftest.$ac_ext <<_ACEOF
47691 /* end confdefs.h. */
47692 #include <math.h>
47694 main ()
47696 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47698 return 0;
47700 _ACEOF
47701 rm -f conftest.$ac_objext
47702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47703 (eval $ac_compile) 2>conftest.er1
47704 ac_status=$?
47705 grep -v '^ *+' conftest.er1 >conftest.err
47706 rm -f conftest.er1
47707 cat conftest.err >&5
47708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47709 (exit $ac_status); } &&
47710 { ac_try='test -z "$ac_cxx_werror_flag"
47711 || test ! -s conftest.err'
47712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47713 (eval $ac_try) 2>&5
47714 ac_status=$?
47715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47716 (exit $ac_status); }; } &&
47717 { ac_try='test -s conftest.$ac_objext'
47718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47719 (eval $ac_try) 2>&5
47720 ac_status=$?
47721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47722 (exit $ac_status); }; }; then
47723 glibcxx_cv_func__float_round_use=yes
47724 else
47725 echo "$as_me: failed program was:" >&5
47726 sed 's/^/| /' conftest.$ac_ext >&5
47728 glibcxx_cv_func__float_round_use=no
47730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47731 ac_ext=c
47732 ac_cpp='$CPP $CPPFLAGS'
47733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47740 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47741 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47744 for ac_func in _ceilf _floorf
47746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47747 echo "$as_me:$LINENO: checking for $ac_func" >&5
47748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47749 if eval "test \"\${$as_ac_var+set}\" = set"; then
47750 echo $ECHO_N "(cached) $ECHO_C" >&6
47751 else
47752 if test x$gcc_no_link = xyes; then
47753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47755 { (exit 1); exit 1; }; }
47757 cat >conftest.$ac_ext <<_ACEOF
47758 /* confdefs.h. */
47759 _ACEOF
47760 cat confdefs.h >>conftest.$ac_ext
47761 cat >>conftest.$ac_ext <<_ACEOF
47762 /* end confdefs.h. */
47763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47765 #define $ac_func innocuous_$ac_func
47767 /* System header to define __stub macros and hopefully few prototypes,
47768 which can conflict with char $ac_func (); below.
47769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47770 <limits.h> exists even on freestanding compilers. */
47772 #ifdef __STDC__
47773 # include <limits.h>
47774 #else
47775 # include <assert.h>
47776 #endif
47778 #undef $ac_func
47780 /* Override any gcc2 internal prototype to avoid an error. */
47781 #ifdef __cplusplus
47782 extern "C"
47784 #endif
47785 /* We use char because int might match the return type of a gcc2
47786 builtin and then its argument prototype would still apply. */
47787 char $ac_func ();
47788 /* The GNU C library defines this for functions which it implements
47789 to always fail with ENOSYS. Some functions are actually named
47790 something starting with __ and the normal name is an alias. */
47791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47792 choke me
47793 #else
47794 char (*f) () = $ac_func;
47795 #endif
47796 #ifdef __cplusplus
47798 #endif
47801 main ()
47803 return f != $ac_func;
47805 return 0;
47807 _ACEOF
47808 rm -f conftest.$ac_objext conftest$ac_exeext
47809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47810 (eval $ac_link) 2>conftest.er1
47811 ac_status=$?
47812 grep -v '^ *+' conftest.er1 >conftest.err
47813 rm -f conftest.er1
47814 cat conftest.err >&5
47815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47816 (exit $ac_status); } &&
47817 { ac_try='test -z "$ac_c_werror_flag"
47818 || test ! -s conftest.err'
47819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47820 (eval $ac_try) 2>&5
47821 ac_status=$?
47822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47823 (exit $ac_status); }; } &&
47824 { ac_try='test -s conftest$ac_exeext'
47825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47826 (eval $ac_try) 2>&5
47827 ac_status=$?
47828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47829 (exit $ac_status); }; }; then
47830 eval "$as_ac_var=yes"
47831 else
47832 echo "$as_me: failed program was:" >&5
47833 sed 's/^/| /' conftest.$ac_ext >&5
47835 eval "$as_ac_var=no"
47837 rm -f conftest.err conftest.$ac_objext \
47838 conftest$ac_exeext conftest.$ac_ext
47840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47842 if test `eval echo '${'$as_ac_var'}'` = yes; then
47843 cat >>confdefs.h <<_ACEOF
47844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47845 _ACEOF
47848 done
47854 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47855 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47856 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47857 echo $ECHO_N "(cached) $ECHO_C" >&6
47858 else
47862 ac_ext=cc
47863 ac_cpp='$CXXCPP $CPPFLAGS'
47864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47868 cat >conftest.$ac_ext <<_ACEOF
47869 /* confdefs.h. */
47870 _ACEOF
47871 cat confdefs.h >>conftest.$ac_ext
47872 cat >>conftest.$ac_ext <<_ACEOF
47873 /* end confdefs.h. */
47874 #include <math.h>
47876 main ()
47878 `for x in _acosl _asinl _atanl \
47879 _cosl _sinl _tanl \
47880 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47882 return 0;
47884 _ACEOF
47885 rm -f conftest.$ac_objext
47886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47887 (eval $ac_compile) 2>conftest.er1
47888 ac_status=$?
47889 grep -v '^ *+' conftest.er1 >conftest.err
47890 rm -f conftest.er1
47891 cat conftest.err >&5
47892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47893 (exit $ac_status); } &&
47894 { ac_try='test -z "$ac_cxx_werror_flag"
47895 || test ! -s conftest.err'
47896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47897 (eval $ac_try) 2>&5
47898 ac_status=$?
47899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47900 (exit $ac_status); }; } &&
47901 { ac_try='test -s conftest.$ac_objext'
47902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47903 (eval $ac_try) 2>&5
47904 ac_status=$?
47905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47906 (exit $ac_status); }; }; then
47907 glibcxx_cv_func__long_double_trig_use=yes
47908 else
47909 echo "$as_me: failed program was:" >&5
47910 sed 's/^/| /' conftest.$ac_ext >&5
47912 glibcxx_cv_func__long_double_trig_use=no
47914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47915 ac_ext=c
47916 ac_cpp='$CPP $CPPFLAGS'
47917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47924 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47925 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47935 for ac_func in _acosl _asinl _atanl \
47936 _cosl _sinl _tanl \
47937 _coshl _sinhl _tanhl
47939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47940 echo "$as_me:$LINENO: checking for $ac_func" >&5
47941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47942 if eval "test \"\${$as_ac_var+set}\" = set"; then
47943 echo $ECHO_N "(cached) $ECHO_C" >&6
47944 else
47945 if test x$gcc_no_link = xyes; then
47946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47948 { (exit 1); exit 1; }; }
47950 cat >conftest.$ac_ext <<_ACEOF
47951 /* confdefs.h. */
47952 _ACEOF
47953 cat confdefs.h >>conftest.$ac_ext
47954 cat >>conftest.$ac_ext <<_ACEOF
47955 /* end confdefs.h. */
47956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47958 #define $ac_func innocuous_$ac_func
47960 /* System header to define __stub macros and hopefully few prototypes,
47961 which can conflict with char $ac_func (); below.
47962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47963 <limits.h> exists even on freestanding compilers. */
47965 #ifdef __STDC__
47966 # include <limits.h>
47967 #else
47968 # include <assert.h>
47969 #endif
47971 #undef $ac_func
47973 /* Override any gcc2 internal prototype to avoid an error. */
47974 #ifdef __cplusplus
47975 extern "C"
47977 #endif
47978 /* We use char because int might match the return type of a gcc2
47979 builtin and then its argument prototype would still apply. */
47980 char $ac_func ();
47981 /* The GNU C library defines this for functions which it implements
47982 to always fail with ENOSYS. Some functions are actually named
47983 something starting with __ and the normal name is an alias. */
47984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47985 choke me
47986 #else
47987 char (*f) () = $ac_func;
47988 #endif
47989 #ifdef __cplusplus
47991 #endif
47994 main ()
47996 return f != $ac_func;
47998 return 0;
48000 _ACEOF
48001 rm -f conftest.$ac_objext conftest$ac_exeext
48002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48003 (eval $ac_link) 2>conftest.er1
48004 ac_status=$?
48005 grep -v '^ *+' conftest.er1 >conftest.err
48006 rm -f conftest.er1
48007 cat conftest.err >&5
48008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48009 (exit $ac_status); } &&
48010 { ac_try='test -z "$ac_c_werror_flag"
48011 || test ! -s conftest.err'
48012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48013 (eval $ac_try) 2>&5
48014 ac_status=$?
48015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48016 (exit $ac_status); }; } &&
48017 { ac_try='test -s conftest$ac_exeext'
48018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48019 (eval $ac_try) 2>&5
48020 ac_status=$?
48021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48022 (exit $ac_status); }; }; then
48023 eval "$as_ac_var=yes"
48024 else
48025 echo "$as_me: failed program was:" >&5
48026 sed 's/^/| /' conftest.$ac_ext >&5
48028 eval "$as_ac_var=no"
48030 rm -f conftest.err conftest.$ac_objext \
48031 conftest$ac_exeext conftest.$ac_ext
48033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48035 if test `eval echo '${'$as_ac_var'}'` = yes; then
48036 cat >>confdefs.h <<_ACEOF
48037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48038 _ACEOF
48041 done
48046 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48047 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48048 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48049 echo $ECHO_N "(cached) $ECHO_C" >&6
48050 else
48054 ac_ext=cc
48055 ac_cpp='$CXXCPP $CPPFLAGS'
48056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48060 cat >conftest.$ac_ext <<_ACEOF
48061 /* confdefs.h. */
48062 _ACEOF
48063 cat confdefs.h >>conftest.$ac_ext
48064 cat >>conftest.$ac_ext <<_ACEOF
48065 /* end confdefs.h. */
48066 #include <math.h>
48068 main ()
48070 `for x in _ceill _floorl; do echo "$x (0);"; done`
48072 return 0;
48074 _ACEOF
48075 rm -f conftest.$ac_objext
48076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48077 (eval $ac_compile) 2>conftest.er1
48078 ac_status=$?
48079 grep -v '^ *+' conftest.er1 >conftest.err
48080 rm -f conftest.er1
48081 cat conftest.err >&5
48082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48083 (exit $ac_status); } &&
48084 { ac_try='test -z "$ac_cxx_werror_flag"
48085 || test ! -s conftest.err'
48086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48087 (eval $ac_try) 2>&5
48088 ac_status=$?
48089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48090 (exit $ac_status); }; } &&
48091 { ac_try='test -s conftest.$ac_objext'
48092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48093 (eval $ac_try) 2>&5
48094 ac_status=$?
48095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48096 (exit $ac_status); }; }; then
48097 glibcxx_cv_func__long_double_round_use=yes
48098 else
48099 echo "$as_me: failed program was:" >&5
48100 sed 's/^/| /' conftest.$ac_ext >&5
48102 glibcxx_cv_func__long_double_round_use=no
48104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48105 ac_ext=c
48106 ac_cpp='$CPP $CPPFLAGS'
48107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48114 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48115 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48118 for ac_func in _ceill _floorl
48120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48121 echo "$as_me:$LINENO: checking for $ac_func" >&5
48122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48123 if eval "test \"\${$as_ac_var+set}\" = set"; then
48124 echo $ECHO_N "(cached) $ECHO_C" >&6
48125 else
48126 if test x$gcc_no_link = xyes; then
48127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48129 { (exit 1); exit 1; }; }
48131 cat >conftest.$ac_ext <<_ACEOF
48132 /* confdefs.h. */
48133 _ACEOF
48134 cat confdefs.h >>conftest.$ac_ext
48135 cat >>conftest.$ac_ext <<_ACEOF
48136 /* end confdefs.h. */
48137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48139 #define $ac_func innocuous_$ac_func
48141 /* System header to define __stub macros and hopefully few prototypes,
48142 which can conflict with char $ac_func (); below.
48143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48144 <limits.h> exists even on freestanding compilers. */
48146 #ifdef __STDC__
48147 # include <limits.h>
48148 #else
48149 # include <assert.h>
48150 #endif
48152 #undef $ac_func
48154 /* Override any gcc2 internal prototype to avoid an error. */
48155 #ifdef __cplusplus
48156 extern "C"
48158 #endif
48159 /* We use char because int might match the return type of a gcc2
48160 builtin and then its argument prototype would still apply. */
48161 char $ac_func ();
48162 /* The GNU C library defines this for functions which it implements
48163 to always fail with ENOSYS. Some functions are actually named
48164 something starting with __ and the normal name is an alias. */
48165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48166 choke me
48167 #else
48168 char (*f) () = $ac_func;
48169 #endif
48170 #ifdef __cplusplus
48172 #endif
48175 main ()
48177 return f != $ac_func;
48179 return 0;
48181 _ACEOF
48182 rm -f conftest.$ac_objext conftest$ac_exeext
48183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48184 (eval $ac_link) 2>conftest.er1
48185 ac_status=$?
48186 grep -v '^ *+' conftest.er1 >conftest.err
48187 rm -f conftest.er1
48188 cat conftest.err >&5
48189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48190 (exit $ac_status); } &&
48191 { ac_try='test -z "$ac_c_werror_flag"
48192 || test ! -s conftest.err'
48193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48194 (eval $ac_try) 2>&5
48195 ac_status=$?
48196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48197 (exit $ac_status); }; } &&
48198 { ac_try='test -s conftest$ac_exeext'
48199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48200 (eval $ac_try) 2>&5
48201 ac_status=$?
48202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48203 (exit $ac_status); }; }; then
48204 eval "$as_ac_var=yes"
48205 else
48206 echo "$as_me: failed program was:" >&5
48207 sed 's/^/| /' conftest.$ac_ext >&5
48209 eval "$as_ac_var=no"
48211 rm -f conftest.err conftest.$ac_objext \
48212 conftest$ac_exeext conftest.$ac_ext
48214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48216 if test `eval echo '${'$as_ac_var'}'` = yes; then
48217 cat >>confdefs.h <<_ACEOF
48218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48219 _ACEOF
48222 done
48227 LIBS="$ac_save_LIBS"
48228 CXXFLAGS="$ac_save_CXXFLAGS"
48232 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48233 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48234 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48235 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48236 echo $ECHO_N "(cached) $ECHO_C" >&6
48237 else
48241 ac_ext=cc
48242 ac_cpp='$CXXCPP $CPPFLAGS'
48243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48247 cat >conftest.$ac_ext <<_ACEOF
48248 /* confdefs.h. */
48249 _ACEOF
48250 cat confdefs.h >>conftest.$ac_ext
48251 cat >>conftest.$ac_ext <<_ACEOF
48252 /* end confdefs.h. */
48253 #include <math.h>
48255 main ()
48257 __builtin_abs(0);
48259 return 0;
48261 _ACEOF
48262 rm -f conftest.$ac_objext
48263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48264 (eval $ac_compile) 2>conftest.er1
48265 ac_status=$?
48266 grep -v '^ *+' conftest.er1 >conftest.err
48267 rm -f conftest.er1
48268 cat conftest.err >&5
48269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48270 (exit $ac_status); } &&
48271 { ac_try='test -z "$ac_cxx_werror_flag"
48272 || test ! -s conftest.err'
48273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48274 (eval $ac_try) 2>&5
48275 ac_status=$?
48276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48277 (exit $ac_status); }; } &&
48278 { ac_try='test -s conftest.$ac_objext'
48279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48280 (eval $ac_try) 2>&5
48281 ac_status=$?
48282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48283 (exit $ac_status); }; }; then
48284 glibcxx_cv_func___builtin_abs_use=yes
48285 else
48286 echo "$as_me: failed program was:" >&5
48287 sed 's/^/| /' conftest.$ac_ext >&5
48289 glibcxx_cv_func___builtin_abs_use=no
48291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48292 ac_ext=c
48293 ac_cpp='$CPP $CPPFLAGS'
48294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48302 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48303 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48304 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48305 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48306 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48307 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48308 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48309 echo $ECHO_N "(cached) $ECHO_C" >&6
48310 else
48312 if test x$gcc_no_link = xyes; then
48313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48315 { (exit 1); exit 1; }; }
48317 cat >conftest.$ac_ext <<_ACEOF
48318 /* confdefs.h. */
48319 _ACEOF
48320 cat confdefs.h >>conftest.$ac_ext
48321 cat >>conftest.$ac_ext <<_ACEOF
48322 /* end confdefs.h. */
48323 #include <math.h>
48325 main ()
48327 __builtin_abs(0);
48329 return 0;
48331 _ACEOF
48332 rm -f conftest.$ac_objext conftest$ac_exeext
48333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48334 (eval $ac_link) 2>conftest.er1
48335 ac_status=$?
48336 grep -v '^ *+' conftest.er1 >conftest.err
48337 rm -f conftest.er1
48338 cat conftest.err >&5
48339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48340 (exit $ac_status); } &&
48341 { ac_try='test -z "$ac_c_werror_flag"
48342 || test ! -s conftest.err'
48343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48344 (eval $ac_try) 2>&5
48345 ac_status=$?
48346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48347 (exit $ac_status); }; } &&
48348 { ac_try='test -s conftest$ac_exeext'
48349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48350 (eval $ac_try) 2>&5
48351 ac_status=$?
48352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48353 (exit $ac_status); }; }; then
48354 glibcxx_cv_func___builtin_abs_link=yes
48355 else
48356 echo "$as_me: failed program was:" >&5
48357 sed 's/^/| /' conftest.$ac_ext >&5
48359 glibcxx_cv_func___builtin_abs_link=no
48361 rm -f conftest.err conftest.$ac_objext \
48362 conftest$ac_exeext conftest.$ac_ext
48367 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48368 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48369 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48370 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48372 cat >>confdefs.h <<_ACEOF
48373 #define ${ac_tr_func} 1
48374 _ACEOF
48380 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48381 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48382 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48383 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48384 echo $ECHO_N "(cached) $ECHO_C" >&6
48385 else
48389 ac_ext=cc
48390 ac_cpp='$CXXCPP $CPPFLAGS'
48391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48395 cat >conftest.$ac_ext <<_ACEOF
48396 /* confdefs.h. */
48397 _ACEOF
48398 cat confdefs.h >>conftest.$ac_ext
48399 cat >>conftest.$ac_ext <<_ACEOF
48400 /* end confdefs.h. */
48401 #include <math.h>
48403 main ()
48405 __builtin_fabsf(0);
48407 return 0;
48409 _ACEOF
48410 rm -f conftest.$ac_objext
48411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48412 (eval $ac_compile) 2>conftest.er1
48413 ac_status=$?
48414 grep -v '^ *+' conftest.er1 >conftest.err
48415 rm -f conftest.er1
48416 cat conftest.err >&5
48417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48418 (exit $ac_status); } &&
48419 { ac_try='test -z "$ac_cxx_werror_flag"
48420 || test ! -s conftest.err'
48421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48422 (eval $ac_try) 2>&5
48423 ac_status=$?
48424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48425 (exit $ac_status); }; } &&
48426 { ac_try='test -s conftest.$ac_objext'
48427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48428 (eval $ac_try) 2>&5
48429 ac_status=$?
48430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48431 (exit $ac_status); }; }; then
48432 glibcxx_cv_func___builtin_fabsf_use=yes
48433 else
48434 echo "$as_me: failed program was:" >&5
48435 sed 's/^/| /' conftest.$ac_ext >&5
48437 glibcxx_cv_func___builtin_fabsf_use=no
48439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48440 ac_ext=c
48441 ac_cpp='$CPP $CPPFLAGS'
48442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48450 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48451 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48452 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48453 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48454 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48455 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48456 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48457 echo $ECHO_N "(cached) $ECHO_C" >&6
48458 else
48460 if test x$gcc_no_link = xyes; then
48461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48463 { (exit 1); exit 1; }; }
48465 cat >conftest.$ac_ext <<_ACEOF
48466 /* confdefs.h. */
48467 _ACEOF
48468 cat confdefs.h >>conftest.$ac_ext
48469 cat >>conftest.$ac_ext <<_ACEOF
48470 /* end confdefs.h. */
48471 #include <math.h>
48473 main ()
48475 __builtin_fabsf(0);
48477 return 0;
48479 _ACEOF
48480 rm -f conftest.$ac_objext conftest$ac_exeext
48481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48482 (eval $ac_link) 2>conftest.er1
48483 ac_status=$?
48484 grep -v '^ *+' conftest.er1 >conftest.err
48485 rm -f conftest.er1
48486 cat conftest.err >&5
48487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48488 (exit $ac_status); } &&
48489 { ac_try='test -z "$ac_c_werror_flag"
48490 || test ! -s conftest.err'
48491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48492 (eval $ac_try) 2>&5
48493 ac_status=$?
48494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495 (exit $ac_status); }; } &&
48496 { ac_try='test -s conftest$ac_exeext'
48497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48498 (eval $ac_try) 2>&5
48499 ac_status=$?
48500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48501 (exit $ac_status); }; }; then
48502 glibcxx_cv_func___builtin_fabsf_link=yes
48503 else
48504 echo "$as_me: failed program was:" >&5
48505 sed 's/^/| /' conftest.$ac_ext >&5
48507 glibcxx_cv_func___builtin_fabsf_link=no
48509 rm -f conftest.err conftest.$ac_objext \
48510 conftest$ac_exeext conftest.$ac_ext
48515 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48516 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48517 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48518 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48520 cat >>confdefs.h <<_ACEOF
48521 #define ${ac_tr_func} 1
48522 _ACEOF
48528 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48529 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48530 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48531 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48532 echo $ECHO_N "(cached) $ECHO_C" >&6
48533 else
48537 ac_ext=cc
48538 ac_cpp='$CXXCPP $CPPFLAGS'
48539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48543 cat >conftest.$ac_ext <<_ACEOF
48544 /* confdefs.h. */
48545 _ACEOF
48546 cat confdefs.h >>conftest.$ac_ext
48547 cat >>conftest.$ac_ext <<_ACEOF
48548 /* end confdefs.h. */
48549 #include <math.h>
48551 main ()
48553 __builtin_fabs(0);
48555 return 0;
48557 _ACEOF
48558 rm -f conftest.$ac_objext
48559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48560 (eval $ac_compile) 2>conftest.er1
48561 ac_status=$?
48562 grep -v '^ *+' conftest.er1 >conftest.err
48563 rm -f conftest.er1
48564 cat conftest.err >&5
48565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48566 (exit $ac_status); } &&
48567 { ac_try='test -z "$ac_cxx_werror_flag"
48568 || test ! -s conftest.err'
48569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48570 (eval $ac_try) 2>&5
48571 ac_status=$?
48572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48573 (exit $ac_status); }; } &&
48574 { ac_try='test -s conftest.$ac_objext'
48575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48576 (eval $ac_try) 2>&5
48577 ac_status=$?
48578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48579 (exit $ac_status); }; }; then
48580 glibcxx_cv_func___builtin_fabs_use=yes
48581 else
48582 echo "$as_me: failed program was:" >&5
48583 sed 's/^/| /' conftest.$ac_ext >&5
48585 glibcxx_cv_func___builtin_fabs_use=no
48587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48588 ac_ext=c
48589 ac_cpp='$CPP $CPPFLAGS'
48590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48598 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48599 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48600 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48601 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48602 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48603 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48604 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48605 echo $ECHO_N "(cached) $ECHO_C" >&6
48606 else
48608 if test x$gcc_no_link = xyes; then
48609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48611 { (exit 1); exit 1; }; }
48613 cat >conftest.$ac_ext <<_ACEOF
48614 /* confdefs.h. */
48615 _ACEOF
48616 cat confdefs.h >>conftest.$ac_ext
48617 cat >>conftest.$ac_ext <<_ACEOF
48618 /* end confdefs.h. */
48619 #include <math.h>
48621 main ()
48623 __builtin_fabs(0);
48625 return 0;
48627 _ACEOF
48628 rm -f conftest.$ac_objext conftest$ac_exeext
48629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48630 (eval $ac_link) 2>conftest.er1
48631 ac_status=$?
48632 grep -v '^ *+' conftest.er1 >conftest.err
48633 rm -f conftest.er1
48634 cat conftest.err >&5
48635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48636 (exit $ac_status); } &&
48637 { ac_try='test -z "$ac_c_werror_flag"
48638 || test ! -s conftest.err'
48639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48640 (eval $ac_try) 2>&5
48641 ac_status=$?
48642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48643 (exit $ac_status); }; } &&
48644 { ac_try='test -s conftest$ac_exeext'
48645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48646 (eval $ac_try) 2>&5
48647 ac_status=$?
48648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48649 (exit $ac_status); }; }; then
48650 glibcxx_cv_func___builtin_fabs_link=yes
48651 else
48652 echo "$as_me: failed program was:" >&5
48653 sed 's/^/| /' conftest.$ac_ext >&5
48655 glibcxx_cv_func___builtin_fabs_link=no
48657 rm -f conftest.err conftest.$ac_objext \
48658 conftest$ac_exeext conftest.$ac_ext
48663 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48664 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48665 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48666 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48668 cat >>confdefs.h <<_ACEOF
48669 #define ${ac_tr_func} 1
48670 _ACEOF
48676 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48677 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48678 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48679 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48680 echo $ECHO_N "(cached) $ECHO_C" >&6
48681 else
48685 ac_ext=cc
48686 ac_cpp='$CXXCPP $CPPFLAGS'
48687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48691 cat >conftest.$ac_ext <<_ACEOF
48692 /* confdefs.h. */
48693 _ACEOF
48694 cat confdefs.h >>conftest.$ac_ext
48695 cat >>conftest.$ac_ext <<_ACEOF
48696 /* end confdefs.h. */
48697 #include <math.h>
48699 main ()
48701 __builtin_fabsl(0);
48703 return 0;
48705 _ACEOF
48706 rm -f conftest.$ac_objext
48707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48708 (eval $ac_compile) 2>conftest.er1
48709 ac_status=$?
48710 grep -v '^ *+' conftest.er1 >conftest.err
48711 rm -f conftest.er1
48712 cat conftest.err >&5
48713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48714 (exit $ac_status); } &&
48715 { ac_try='test -z "$ac_cxx_werror_flag"
48716 || test ! -s conftest.err'
48717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48718 (eval $ac_try) 2>&5
48719 ac_status=$?
48720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721 (exit $ac_status); }; } &&
48722 { ac_try='test -s conftest.$ac_objext'
48723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48724 (eval $ac_try) 2>&5
48725 ac_status=$?
48726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48727 (exit $ac_status); }; }; then
48728 glibcxx_cv_func___builtin_fabsl_use=yes
48729 else
48730 echo "$as_me: failed program was:" >&5
48731 sed 's/^/| /' conftest.$ac_ext >&5
48733 glibcxx_cv_func___builtin_fabsl_use=no
48735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48736 ac_ext=c
48737 ac_cpp='$CPP $CPPFLAGS'
48738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48747 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48748 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48749 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48750 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48751 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48752 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48753 echo $ECHO_N "(cached) $ECHO_C" >&6
48754 else
48756 if test x$gcc_no_link = xyes; then
48757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48759 { (exit 1); exit 1; }; }
48761 cat >conftest.$ac_ext <<_ACEOF
48762 /* confdefs.h. */
48763 _ACEOF
48764 cat confdefs.h >>conftest.$ac_ext
48765 cat >>conftest.$ac_ext <<_ACEOF
48766 /* end confdefs.h. */
48767 #include <math.h>
48769 main ()
48771 __builtin_fabsl(0);
48773 return 0;
48775 _ACEOF
48776 rm -f conftest.$ac_objext conftest$ac_exeext
48777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48778 (eval $ac_link) 2>conftest.er1
48779 ac_status=$?
48780 grep -v '^ *+' conftest.er1 >conftest.err
48781 rm -f conftest.er1
48782 cat conftest.err >&5
48783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48784 (exit $ac_status); } &&
48785 { ac_try='test -z "$ac_c_werror_flag"
48786 || test ! -s conftest.err'
48787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48788 (eval $ac_try) 2>&5
48789 ac_status=$?
48790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791 (exit $ac_status); }; } &&
48792 { ac_try='test -s conftest$ac_exeext'
48793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48794 (eval $ac_try) 2>&5
48795 ac_status=$?
48796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48797 (exit $ac_status); }; }; then
48798 glibcxx_cv_func___builtin_fabsl_link=yes
48799 else
48800 echo "$as_me: failed program was:" >&5
48801 sed 's/^/| /' conftest.$ac_ext >&5
48803 glibcxx_cv_func___builtin_fabsl_link=no
48805 rm -f conftest.err conftest.$ac_objext \
48806 conftest$ac_exeext conftest.$ac_ext
48811 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48812 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48813 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48814 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48816 cat >>confdefs.h <<_ACEOF
48817 #define ${ac_tr_func} 1
48818 _ACEOF
48824 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48825 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48826 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48827 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48828 echo $ECHO_N "(cached) $ECHO_C" >&6
48829 else
48833 ac_ext=cc
48834 ac_cpp='$CXXCPP $CPPFLAGS'
48835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48839 cat >conftest.$ac_ext <<_ACEOF
48840 /* confdefs.h. */
48841 _ACEOF
48842 cat confdefs.h >>conftest.$ac_ext
48843 cat >>conftest.$ac_ext <<_ACEOF
48844 /* end confdefs.h. */
48845 #include <math.h>
48847 main ()
48849 __builtin_labs(0);
48851 return 0;
48853 _ACEOF
48854 rm -f conftest.$ac_objext
48855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48856 (eval $ac_compile) 2>conftest.er1
48857 ac_status=$?
48858 grep -v '^ *+' conftest.er1 >conftest.err
48859 rm -f conftest.er1
48860 cat conftest.err >&5
48861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48862 (exit $ac_status); } &&
48863 { ac_try='test -z "$ac_cxx_werror_flag"
48864 || test ! -s conftest.err'
48865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48866 (eval $ac_try) 2>&5
48867 ac_status=$?
48868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48869 (exit $ac_status); }; } &&
48870 { ac_try='test -s conftest.$ac_objext'
48871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48872 (eval $ac_try) 2>&5
48873 ac_status=$?
48874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48875 (exit $ac_status); }; }; then
48876 glibcxx_cv_func___builtin_labs_use=yes
48877 else
48878 echo "$as_me: failed program was:" >&5
48879 sed 's/^/| /' conftest.$ac_ext >&5
48881 glibcxx_cv_func___builtin_labs_use=no
48883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48884 ac_ext=c
48885 ac_cpp='$CPP $CPPFLAGS'
48886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48895 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48896 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48897 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48898 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48899 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48900 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48901 echo $ECHO_N "(cached) $ECHO_C" >&6
48902 else
48904 if test x$gcc_no_link = xyes; then
48905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48907 { (exit 1); exit 1; }; }
48909 cat >conftest.$ac_ext <<_ACEOF
48910 /* confdefs.h. */
48911 _ACEOF
48912 cat confdefs.h >>conftest.$ac_ext
48913 cat >>conftest.$ac_ext <<_ACEOF
48914 /* end confdefs.h. */
48915 #include <math.h>
48917 main ()
48919 __builtin_labs(0);
48921 return 0;
48923 _ACEOF
48924 rm -f conftest.$ac_objext conftest$ac_exeext
48925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48926 (eval $ac_link) 2>conftest.er1
48927 ac_status=$?
48928 grep -v '^ *+' conftest.er1 >conftest.err
48929 rm -f conftest.er1
48930 cat conftest.err >&5
48931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48932 (exit $ac_status); } &&
48933 { ac_try='test -z "$ac_c_werror_flag"
48934 || test ! -s conftest.err'
48935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48936 (eval $ac_try) 2>&5
48937 ac_status=$?
48938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48939 (exit $ac_status); }; } &&
48940 { ac_try='test -s conftest$ac_exeext'
48941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48942 (eval $ac_try) 2>&5
48943 ac_status=$?
48944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48945 (exit $ac_status); }; }; then
48946 glibcxx_cv_func___builtin_labs_link=yes
48947 else
48948 echo "$as_me: failed program was:" >&5
48949 sed 's/^/| /' conftest.$ac_ext >&5
48951 glibcxx_cv_func___builtin_labs_link=no
48953 rm -f conftest.err conftest.$ac_objext \
48954 conftest$ac_exeext conftest.$ac_ext
48959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48960 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48961 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48962 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48964 cat >>confdefs.h <<_ACEOF
48965 #define ${ac_tr_func} 1
48966 _ACEOF
48973 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48974 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48975 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48976 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48977 echo $ECHO_N "(cached) $ECHO_C" >&6
48978 else
48982 ac_ext=cc
48983 ac_cpp='$CXXCPP $CPPFLAGS'
48984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48988 cat >conftest.$ac_ext <<_ACEOF
48989 /* confdefs.h. */
48990 _ACEOF
48991 cat confdefs.h >>conftest.$ac_ext
48992 cat >>conftest.$ac_ext <<_ACEOF
48993 /* end confdefs.h. */
48994 #include <math.h>
48996 main ()
48998 __builtin_sqrtf(0);
49000 return 0;
49002 _ACEOF
49003 rm -f conftest.$ac_objext
49004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49005 (eval $ac_compile) 2>conftest.er1
49006 ac_status=$?
49007 grep -v '^ *+' conftest.er1 >conftest.err
49008 rm -f conftest.er1
49009 cat conftest.err >&5
49010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49011 (exit $ac_status); } &&
49012 { ac_try='test -z "$ac_cxx_werror_flag"
49013 || test ! -s conftest.err'
49014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49015 (eval $ac_try) 2>&5
49016 ac_status=$?
49017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49018 (exit $ac_status); }; } &&
49019 { ac_try='test -s conftest.$ac_objext'
49020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49021 (eval $ac_try) 2>&5
49022 ac_status=$?
49023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49024 (exit $ac_status); }; }; then
49025 glibcxx_cv_func___builtin_sqrtf_use=yes
49026 else
49027 echo "$as_me: failed program was:" >&5
49028 sed 's/^/| /' conftest.$ac_ext >&5
49030 glibcxx_cv_func___builtin_sqrtf_use=no
49032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49033 ac_ext=c
49034 ac_cpp='$CPP $CPPFLAGS'
49035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49044 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49045 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49046 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49047 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49048 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49049 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49050 echo $ECHO_N "(cached) $ECHO_C" >&6
49051 else
49053 if test x$gcc_no_link = xyes; then
49054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49056 { (exit 1); exit 1; }; }
49058 cat >conftest.$ac_ext <<_ACEOF
49059 /* confdefs.h. */
49060 _ACEOF
49061 cat confdefs.h >>conftest.$ac_ext
49062 cat >>conftest.$ac_ext <<_ACEOF
49063 /* end confdefs.h. */
49064 #include <math.h>
49066 main ()
49068 __builtin_sqrtf(0);
49070 return 0;
49072 _ACEOF
49073 rm -f conftest.$ac_objext conftest$ac_exeext
49074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49075 (eval $ac_link) 2>conftest.er1
49076 ac_status=$?
49077 grep -v '^ *+' conftest.er1 >conftest.err
49078 rm -f conftest.er1
49079 cat conftest.err >&5
49080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49081 (exit $ac_status); } &&
49082 { ac_try='test -z "$ac_c_werror_flag"
49083 || test ! -s conftest.err'
49084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49085 (eval $ac_try) 2>&5
49086 ac_status=$?
49087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088 (exit $ac_status); }; } &&
49089 { ac_try='test -s conftest$ac_exeext'
49090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49091 (eval $ac_try) 2>&5
49092 ac_status=$?
49093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094 (exit $ac_status); }; }; then
49095 glibcxx_cv_func___builtin_sqrtf_link=yes
49096 else
49097 echo "$as_me: failed program was:" >&5
49098 sed 's/^/| /' conftest.$ac_ext >&5
49100 glibcxx_cv_func___builtin_sqrtf_link=no
49102 rm -f conftest.err conftest.$ac_objext \
49103 conftest$ac_exeext conftest.$ac_ext
49108 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49109 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49110 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49111 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49113 cat >>confdefs.h <<_ACEOF
49114 #define ${ac_tr_func} 1
49115 _ACEOF
49121 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49122 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49123 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49124 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49125 echo $ECHO_N "(cached) $ECHO_C" >&6
49126 else
49130 ac_ext=cc
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136 cat >conftest.$ac_ext <<_ACEOF
49137 /* confdefs.h. */
49138 _ACEOF
49139 cat confdefs.h >>conftest.$ac_ext
49140 cat >>conftest.$ac_ext <<_ACEOF
49141 /* end confdefs.h. */
49142 #include <math.h>
49144 main ()
49146 __builtin_sqrt(0);
49148 return 0;
49150 _ACEOF
49151 rm -f conftest.$ac_objext
49152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49153 (eval $ac_compile) 2>conftest.er1
49154 ac_status=$?
49155 grep -v '^ *+' conftest.er1 >conftest.err
49156 rm -f conftest.er1
49157 cat conftest.err >&5
49158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49159 (exit $ac_status); } &&
49160 { ac_try='test -z "$ac_cxx_werror_flag"
49161 || test ! -s conftest.err'
49162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49163 (eval $ac_try) 2>&5
49164 ac_status=$?
49165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49166 (exit $ac_status); }; } &&
49167 { ac_try='test -s conftest.$ac_objext'
49168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49169 (eval $ac_try) 2>&5
49170 ac_status=$?
49171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49172 (exit $ac_status); }; }; then
49173 glibcxx_cv_func___builtin_sqrt_use=yes
49174 else
49175 echo "$as_me: failed program was:" >&5
49176 sed 's/^/| /' conftest.$ac_ext >&5
49178 glibcxx_cv_func___builtin_sqrt_use=no
49180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49191 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49192 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49193 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49194 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49195 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49196 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49197 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49198 echo $ECHO_N "(cached) $ECHO_C" >&6
49199 else
49201 if test x$gcc_no_link = xyes; then
49202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49204 { (exit 1); exit 1; }; }
49206 cat >conftest.$ac_ext <<_ACEOF
49207 /* confdefs.h. */
49208 _ACEOF
49209 cat confdefs.h >>conftest.$ac_ext
49210 cat >>conftest.$ac_ext <<_ACEOF
49211 /* end confdefs.h. */
49212 #include <math.h>
49214 main ()
49216 __builtin_sqrt(0);
49218 return 0;
49220 _ACEOF
49221 rm -f conftest.$ac_objext conftest$ac_exeext
49222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49223 (eval $ac_link) 2>conftest.er1
49224 ac_status=$?
49225 grep -v '^ *+' conftest.er1 >conftest.err
49226 rm -f conftest.er1
49227 cat conftest.err >&5
49228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49229 (exit $ac_status); } &&
49230 { ac_try='test -z "$ac_c_werror_flag"
49231 || test ! -s conftest.err'
49232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49233 (eval $ac_try) 2>&5
49234 ac_status=$?
49235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49236 (exit $ac_status); }; } &&
49237 { ac_try='test -s conftest$ac_exeext'
49238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49239 (eval $ac_try) 2>&5
49240 ac_status=$?
49241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49242 (exit $ac_status); }; }; then
49243 glibcxx_cv_func___builtin_sqrt_link=yes
49244 else
49245 echo "$as_me: failed program was:" >&5
49246 sed 's/^/| /' conftest.$ac_ext >&5
49248 glibcxx_cv_func___builtin_sqrt_link=no
49250 rm -f conftest.err conftest.$ac_objext \
49251 conftest$ac_exeext conftest.$ac_ext
49256 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49257 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49258 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49259 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49261 cat >>confdefs.h <<_ACEOF
49262 #define ${ac_tr_func} 1
49263 _ACEOF
49269 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49270 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49271 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49272 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49273 echo $ECHO_N "(cached) $ECHO_C" >&6
49274 else
49278 ac_ext=cc
49279 ac_cpp='$CXXCPP $CPPFLAGS'
49280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284 cat >conftest.$ac_ext <<_ACEOF
49285 /* confdefs.h. */
49286 _ACEOF
49287 cat confdefs.h >>conftest.$ac_ext
49288 cat >>conftest.$ac_ext <<_ACEOF
49289 /* end confdefs.h. */
49290 #include <math.h>
49292 main ()
49294 __builtin_sqrtl(0);
49296 return 0;
49298 _ACEOF
49299 rm -f conftest.$ac_objext
49300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49301 (eval $ac_compile) 2>conftest.er1
49302 ac_status=$?
49303 grep -v '^ *+' conftest.er1 >conftest.err
49304 rm -f conftest.er1
49305 cat conftest.err >&5
49306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49307 (exit $ac_status); } &&
49308 { ac_try='test -z "$ac_cxx_werror_flag"
49309 || test ! -s conftest.err'
49310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49311 (eval $ac_try) 2>&5
49312 ac_status=$?
49313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49314 (exit $ac_status); }; } &&
49315 { ac_try='test -s conftest.$ac_objext'
49316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49317 (eval $ac_try) 2>&5
49318 ac_status=$?
49319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320 (exit $ac_status); }; }; then
49321 glibcxx_cv_func___builtin_sqrtl_use=yes
49322 else
49323 echo "$as_me: failed program was:" >&5
49324 sed 's/^/| /' conftest.$ac_ext >&5
49326 glibcxx_cv_func___builtin_sqrtl_use=no
49328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49329 ac_ext=c
49330 ac_cpp='$CPP $CPPFLAGS'
49331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49340 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49341 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49342 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49343 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49344 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49345 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49346 echo $ECHO_N "(cached) $ECHO_C" >&6
49347 else
49349 if test x$gcc_no_link = xyes; then
49350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49352 { (exit 1); exit 1; }; }
49354 cat >conftest.$ac_ext <<_ACEOF
49355 /* confdefs.h. */
49356 _ACEOF
49357 cat confdefs.h >>conftest.$ac_ext
49358 cat >>conftest.$ac_ext <<_ACEOF
49359 /* end confdefs.h. */
49360 #include <math.h>
49362 main ()
49364 __builtin_sqrtl(0);
49366 return 0;
49368 _ACEOF
49369 rm -f conftest.$ac_objext conftest$ac_exeext
49370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49371 (eval $ac_link) 2>conftest.er1
49372 ac_status=$?
49373 grep -v '^ *+' conftest.er1 >conftest.err
49374 rm -f conftest.er1
49375 cat conftest.err >&5
49376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49377 (exit $ac_status); } &&
49378 { ac_try='test -z "$ac_c_werror_flag"
49379 || test ! -s conftest.err'
49380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49381 (eval $ac_try) 2>&5
49382 ac_status=$?
49383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49384 (exit $ac_status); }; } &&
49385 { ac_try='test -s conftest$ac_exeext'
49386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49387 (eval $ac_try) 2>&5
49388 ac_status=$?
49389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49390 (exit $ac_status); }; }; then
49391 glibcxx_cv_func___builtin_sqrtl_link=yes
49392 else
49393 echo "$as_me: failed program was:" >&5
49394 sed 's/^/| /' conftest.$ac_ext >&5
49396 glibcxx_cv_func___builtin_sqrtl_link=no
49398 rm -f conftest.err conftest.$ac_objext \
49399 conftest$ac_exeext conftest.$ac_ext
49404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49405 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49406 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49407 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49409 cat >>confdefs.h <<_ACEOF
49410 #define ${ac_tr_func} 1
49411 _ACEOF
49418 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49419 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49420 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49421 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49422 echo $ECHO_N "(cached) $ECHO_C" >&6
49423 else
49427 ac_ext=cc
49428 ac_cpp='$CXXCPP $CPPFLAGS'
49429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49433 cat >conftest.$ac_ext <<_ACEOF
49434 /* confdefs.h. */
49435 _ACEOF
49436 cat confdefs.h >>conftest.$ac_ext
49437 cat >>conftest.$ac_ext <<_ACEOF
49438 /* end confdefs.h. */
49439 #include <math.h>
49441 main ()
49443 __builtin_sinf(0);
49445 return 0;
49447 _ACEOF
49448 rm -f conftest.$ac_objext
49449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49450 (eval $ac_compile) 2>conftest.er1
49451 ac_status=$?
49452 grep -v '^ *+' conftest.er1 >conftest.err
49453 rm -f conftest.er1
49454 cat conftest.err >&5
49455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49456 (exit $ac_status); } &&
49457 { ac_try='test -z "$ac_cxx_werror_flag"
49458 || test ! -s conftest.err'
49459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49460 (eval $ac_try) 2>&5
49461 ac_status=$?
49462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49463 (exit $ac_status); }; } &&
49464 { ac_try='test -s conftest.$ac_objext'
49465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49466 (eval $ac_try) 2>&5
49467 ac_status=$?
49468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49469 (exit $ac_status); }; }; then
49470 glibcxx_cv_func___builtin_sinf_use=yes
49471 else
49472 echo "$as_me: failed program was:" >&5
49473 sed 's/^/| /' conftest.$ac_ext >&5
49475 glibcxx_cv_func___builtin_sinf_use=no
49477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49478 ac_ext=c
49479 ac_cpp='$CPP $CPPFLAGS'
49480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49489 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49490 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49491 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49492 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49493 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49494 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49495 echo $ECHO_N "(cached) $ECHO_C" >&6
49496 else
49498 if test x$gcc_no_link = xyes; then
49499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49501 { (exit 1); exit 1; }; }
49503 cat >conftest.$ac_ext <<_ACEOF
49504 /* confdefs.h. */
49505 _ACEOF
49506 cat confdefs.h >>conftest.$ac_ext
49507 cat >>conftest.$ac_ext <<_ACEOF
49508 /* end confdefs.h. */
49509 #include <math.h>
49511 main ()
49513 __builtin_sinf(0);
49515 return 0;
49517 _ACEOF
49518 rm -f conftest.$ac_objext conftest$ac_exeext
49519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49520 (eval $ac_link) 2>conftest.er1
49521 ac_status=$?
49522 grep -v '^ *+' conftest.er1 >conftest.err
49523 rm -f conftest.er1
49524 cat conftest.err >&5
49525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49526 (exit $ac_status); } &&
49527 { ac_try='test -z "$ac_c_werror_flag"
49528 || test ! -s conftest.err'
49529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49530 (eval $ac_try) 2>&5
49531 ac_status=$?
49532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49533 (exit $ac_status); }; } &&
49534 { ac_try='test -s conftest$ac_exeext'
49535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49536 (eval $ac_try) 2>&5
49537 ac_status=$?
49538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49539 (exit $ac_status); }; }; then
49540 glibcxx_cv_func___builtin_sinf_link=yes
49541 else
49542 echo "$as_me: failed program was:" >&5
49543 sed 's/^/| /' conftest.$ac_ext >&5
49545 glibcxx_cv_func___builtin_sinf_link=no
49547 rm -f conftest.err conftest.$ac_objext \
49548 conftest$ac_exeext conftest.$ac_ext
49553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49554 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49555 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49556 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49558 cat >>confdefs.h <<_ACEOF
49559 #define ${ac_tr_func} 1
49560 _ACEOF
49566 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49567 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49568 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49569 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49570 echo $ECHO_N "(cached) $ECHO_C" >&6
49571 else
49575 ac_ext=cc
49576 ac_cpp='$CXXCPP $CPPFLAGS'
49577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49581 cat >conftest.$ac_ext <<_ACEOF
49582 /* confdefs.h. */
49583 _ACEOF
49584 cat confdefs.h >>conftest.$ac_ext
49585 cat >>conftest.$ac_ext <<_ACEOF
49586 /* end confdefs.h. */
49587 #include <math.h>
49589 main ()
49591 __builtin_sin(0);
49593 return 0;
49595 _ACEOF
49596 rm -f conftest.$ac_objext
49597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49598 (eval $ac_compile) 2>conftest.er1
49599 ac_status=$?
49600 grep -v '^ *+' conftest.er1 >conftest.err
49601 rm -f conftest.er1
49602 cat conftest.err >&5
49603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49604 (exit $ac_status); } &&
49605 { ac_try='test -z "$ac_cxx_werror_flag"
49606 || test ! -s conftest.err'
49607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49608 (eval $ac_try) 2>&5
49609 ac_status=$?
49610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49611 (exit $ac_status); }; } &&
49612 { ac_try='test -s conftest.$ac_objext'
49613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49614 (eval $ac_try) 2>&5
49615 ac_status=$?
49616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49617 (exit $ac_status); }; }; then
49618 glibcxx_cv_func___builtin_sin_use=yes
49619 else
49620 echo "$as_me: failed program was:" >&5
49621 sed 's/^/| /' conftest.$ac_ext >&5
49623 glibcxx_cv_func___builtin_sin_use=no
49625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49626 ac_ext=c
49627 ac_cpp='$CPP $CPPFLAGS'
49628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49636 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49637 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49638 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49639 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49640 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49641 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49642 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49643 echo $ECHO_N "(cached) $ECHO_C" >&6
49644 else
49646 if test x$gcc_no_link = xyes; then
49647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49649 { (exit 1); exit 1; }; }
49651 cat >conftest.$ac_ext <<_ACEOF
49652 /* confdefs.h. */
49653 _ACEOF
49654 cat confdefs.h >>conftest.$ac_ext
49655 cat >>conftest.$ac_ext <<_ACEOF
49656 /* end confdefs.h. */
49657 #include <math.h>
49659 main ()
49661 __builtin_sin(0);
49663 return 0;
49665 _ACEOF
49666 rm -f conftest.$ac_objext conftest$ac_exeext
49667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49668 (eval $ac_link) 2>conftest.er1
49669 ac_status=$?
49670 grep -v '^ *+' conftest.er1 >conftest.err
49671 rm -f conftest.er1
49672 cat conftest.err >&5
49673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49674 (exit $ac_status); } &&
49675 { ac_try='test -z "$ac_c_werror_flag"
49676 || test ! -s conftest.err'
49677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49678 (eval $ac_try) 2>&5
49679 ac_status=$?
49680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49681 (exit $ac_status); }; } &&
49682 { ac_try='test -s conftest$ac_exeext'
49683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49684 (eval $ac_try) 2>&5
49685 ac_status=$?
49686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49687 (exit $ac_status); }; }; then
49688 glibcxx_cv_func___builtin_sin_link=yes
49689 else
49690 echo "$as_me: failed program was:" >&5
49691 sed 's/^/| /' conftest.$ac_ext >&5
49693 glibcxx_cv_func___builtin_sin_link=no
49695 rm -f conftest.err conftest.$ac_objext \
49696 conftest$ac_exeext conftest.$ac_ext
49701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49703 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49704 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49706 cat >>confdefs.h <<_ACEOF
49707 #define ${ac_tr_func} 1
49708 _ACEOF
49714 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49715 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49716 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49717 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 else
49723 ac_ext=cc
49724 ac_cpp='$CXXCPP $CPPFLAGS'
49725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49729 cat >conftest.$ac_ext <<_ACEOF
49730 /* confdefs.h. */
49731 _ACEOF
49732 cat confdefs.h >>conftest.$ac_ext
49733 cat >>conftest.$ac_ext <<_ACEOF
49734 /* end confdefs.h. */
49735 #include <math.h>
49737 main ()
49739 __builtin_sinl(0);
49741 return 0;
49743 _ACEOF
49744 rm -f conftest.$ac_objext
49745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49746 (eval $ac_compile) 2>conftest.er1
49747 ac_status=$?
49748 grep -v '^ *+' conftest.er1 >conftest.err
49749 rm -f conftest.er1
49750 cat conftest.err >&5
49751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49752 (exit $ac_status); } &&
49753 { ac_try='test -z "$ac_cxx_werror_flag"
49754 || test ! -s conftest.err'
49755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49756 (eval $ac_try) 2>&5
49757 ac_status=$?
49758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49759 (exit $ac_status); }; } &&
49760 { ac_try='test -s conftest.$ac_objext'
49761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49762 (eval $ac_try) 2>&5
49763 ac_status=$?
49764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49765 (exit $ac_status); }; }; then
49766 glibcxx_cv_func___builtin_sinl_use=yes
49767 else
49768 echo "$as_me: failed program was:" >&5
49769 sed 's/^/| /' conftest.$ac_ext >&5
49771 glibcxx_cv_func___builtin_sinl_use=no
49773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49774 ac_ext=c
49775 ac_cpp='$CPP $CPPFLAGS'
49776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49784 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49785 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49786 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49787 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49788 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49789 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49790 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49791 echo $ECHO_N "(cached) $ECHO_C" >&6
49792 else
49794 if test x$gcc_no_link = xyes; then
49795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49797 { (exit 1); exit 1; }; }
49799 cat >conftest.$ac_ext <<_ACEOF
49800 /* confdefs.h. */
49801 _ACEOF
49802 cat confdefs.h >>conftest.$ac_ext
49803 cat >>conftest.$ac_ext <<_ACEOF
49804 /* end confdefs.h. */
49805 #include <math.h>
49807 main ()
49809 __builtin_sinl(0);
49811 return 0;
49813 _ACEOF
49814 rm -f conftest.$ac_objext conftest$ac_exeext
49815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49816 (eval $ac_link) 2>conftest.er1
49817 ac_status=$?
49818 grep -v '^ *+' conftest.er1 >conftest.err
49819 rm -f conftest.er1
49820 cat conftest.err >&5
49821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49822 (exit $ac_status); } &&
49823 { ac_try='test -z "$ac_c_werror_flag"
49824 || test ! -s conftest.err'
49825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49826 (eval $ac_try) 2>&5
49827 ac_status=$?
49828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49829 (exit $ac_status); }; } &&
49830 { ac_try='test -s conftest$ac_exeext'
49831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49832 (eval $ac_try) 2>&5
49833 ac_status=$?
49834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49835 (exit $ac_status); }; }; then
49836 glibcxx_cv_func___builtin_sinl_link=yes
49837 else
49838 echo "$as_me: failed program was:" >&5
49839 sed 's/^/| /' conftest.$ac_ext >&5
49841 glibcxx_cv_func___builtin_sinl_link=no
49843 rm -f conftest.err conftest.$ac_objext \
49844 conftest$ac_exeext conftest.$ac_ext
49849 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49850 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49851 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49852 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49854 cat >>confdefs.h <<_ACEOF
49855 #define ${ac_tr_func} 1
49856 _ACEOF
49863 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49864 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49865 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49866 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49867 echo $ECHO_N "(cached) $ECHO_C" >&6
49868 else
49872 ac_ext=cc
49873 ac_cpp='$CXXCPP $CPPFLAGS'
49874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49878 cat >conftest.$ac_ext <<_ACEOF
49879 /* confdefs.h. */
49880 _ACEOF
49881 cat confdefs.h >>conftest.$ac_ext
49882 cat >>conftest.$ac_ext <<_ACEOF
49883 /* end confdefs.h. */
49884 #include <math.h>
49886 main ()
49888 __builtin_cosf(0);
49890 return 0;
49892 _ACEOF
49893 rm -f conftest.$ac_objext
49894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49895 (eval $ac_compile) 2>conftest.er1
49896 ac_status=$?
49897 grep -v '^ *+' conftest.er1 >conftest.err
49898 rm -f conftest.er1
49899 cat conftest.err >&5
49900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49901 (exit $ac_status); } &&
49902 { ac_try='test -z "$ac_cxx_werror_flag"
49903 || test ! -s conftest.err'
49904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49905 (eval $ac_try) 2>&5
49906 ac_status=$?
49907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49908 (exit $ac_status); }; } &&
49909 { ac_try='test -s conftest.$ac_objext'
49910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49911 (eval $ac_try) 2>&5
49912 ac_status=$?
49913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914 (exit $ac_status); }; }; then
49915 glibcxx_cv_func___builtin_cosf_use=yes
49916 else
49917 echo "$as_me: failed program was:" >&5
49918 sed 's/^/| /' conftest.$ac_ext >&5
49920 glibcxx_cv_func___builtin_cosf_use=no
49922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49923 ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49934 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49935 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49936 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49937 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49938 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49939 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49940 echo $ECHO_N "(cached) $ECHO_C" >&6
49941 else
49943 if test x$gcc_no_link = xyes; then
49944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49946 { (exit 1); exit 1; }; }
49948 cat >conftest.$ac_ext <<_ACEOF
49949 /* confdefs.h. */
49950 _ACEOF
49951 cat confdefs.h >>conftest.$ac_ext
49952 cat >>conftest.$ac_ext <<_ACEOF
49953 /* end confdefs.h. */
49954 #include <math.h>
49956 main ()
49958 __builtin_cosf(0);
49960 return 0;
49962 _ACEOF
49963 rm -f conftest.$ac_objext conftest$ac_exeext
49964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49965 (eval $ac_link) 2>conftest.er1
49966 ac_status=$?
49967 grep -v '^ *+' conftest.er1 >conftest.err
49968 rm -f conftest.er1
49969 cat conftest.err >&5
49970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49971 (exit $ac_status); } &&
49972 { ac_try='test -z "$ac_c_werror_flag"
49973 || test ! -s conftest.err'
49974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49975 (eval $ac_try) 2>&5
49976 ac_status=$?
49977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49978 (exit $ac_status); }; } &&
49979 { ac_try='test -s conftest$ac_exeext'
49980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49981 (eval $ac_try) 2>&5
49982 ac_status=$?
49983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49984 (exit $ac_status); }; }; then
49985 glibcxx_cv_func___builtin_cosf_link=yes
49986 else
49987 echo "$as_me: failed program was:" >&5
49988 sed 's/^/| /' conftest.$ac_ext >&5
49990 glibcxx_cv_func___builtin_cosf_link=no
49992 rm -f conftest.err conftest.$ac_objext \
49993 conftest$ac_exeext conftest.$ac_ext
49998 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49999 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50000 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50001 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50003 cat >>confdefs.h <<_ACEOF
50004 #define ${ac_tr_func} 1
50005 _ACEOF
50011 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50012 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50013 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50014 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50015 echo $ECHO_N "(cached) $ECHO_C" >&6
50016 else
50020 ac_ext=cc
50021 ac_cpp='$CXXCPP $CPPFLAGS'
50022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50026 cat >conftest.$ac_ext <<_ACEOF
50027 /* confdefs.h. */
50028 _ACEOF
50029 cat confdefs.h >>conftest.$ac_ext
50030 cat >>conftest.$ac_ext <<_ACEOF
50031 /* end confdefs.h. */
50032 #include <math.h>
50034 main ()
50036 __builtin_cos(0);
50038 return 0;
50040 _ACEOF
50041 rm -f conftest.$ac_objext
50042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50043 (eval $ac_compile) 2>conftest.er1
50044 ac_status=$?
50045 grep -v '^ *+' conftest.er1 >conftest.err
50046 rm -f conftest.er1
50047 cat conftest.err >&5
50048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50049 (exit $ac_status); } &&
50050 { ac_try='test -z "$ac_cxx_werror_flag"
50051 || test ! -s conftest.err'
50052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50053 (eval $ac_try) 2>&5
50054 ac_status=$?
50055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50056 (exit $ac_status); }; } &&
50057 { ac_try='test -s conftest.$ac_objext'
50058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50059 (eval $ac_try) 2>&5
50060 ac_status=$?
50061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50062 (exit $ac_status); }; }; then
50063 glibcxx_cv_func___builtin_cos_use=yes
50064 else
50065 echo "$as_me: failed program was:" >&5
50066 sed 's/^/| /' conftest.$ac_ext >&5
50068 glibcxx_cv_func___builtin_cos_use=no
50070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50071 ac_ext=c
50072 ac_cpp='$CPP $CPPFLAGS'
50073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50081 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50082 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50083 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50084 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50085 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50086 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50087 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50088 echo $ECHO_N "(cached) $ECHO_C" >&6
50089 else
50091 if test x$gcc_no_link = xyes; then
50092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50094 { (exit 1); exit 1; }; }
50096 cat >conftest.$ac_ext <<_ACEOF
50097 /* confdefs.h. */
50098 _ACEOF
50099 cat confdefs.h >>conftest.$ac_ext
50100 cat >>conftest.$ac_ext <<_ACEOF
50101 /* end confdefs.h. */
50102 #include <math.h>
50104 main ()
50106 __builtin_cos(0);
50108 return 0;
50110 _ACEOF
50111 rm -f conftest.$ac_objext conftest$ac_exeext
50112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50113 (eval $ac_link) 2>conftest.er1
50114 ac_status=$?
50115 grep -v '^ *+' conftest.er1 >conftest.err
50116 rm -f conftest.er1
50117 cat conftest.err >&5
50118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50119 (exit $ac_status); } &&
50120 { ac_try='test -z "$ac_c_werror_flag"
50121 || test ! -s conftest.err'
50122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50123 (eval $ac_try) 2>&5
50124 ac_status=$?
50125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50126 (exit $ac_status); }; } &&
50127 { ac_try='test -s conftest$ac_exeext'
50128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50129 (eval $ac_try) 2>&5
50130 ac_status=$?
50131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50132 (exit $ac_status); }; }; then
50133 glibcxx_cv_func___builtin_cos_link=yes
50134 else
50135 echo "$as_me: failed program was:" >&5
50136 sed 's/^/| /' conftest.$ac_ext >&5
50138 glibcxx_cv_func___builtin_cos_link=no
50140 rm -f conftest.err conftest.$ac_objext \
50141 conftest$ac_exeext conftest.$ac_ext
50146 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50147 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50148 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50149 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50151 cat >>confdefs.h <<_ACEOF
50152 #define ${ac_tr_func} 1
50153 _ACEOF
50159 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50160 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50161 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50162 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50163 echo $ECHO_N "(cached) $ECHO_C" >&6
50164 else
50168 ac_ext=cc
50169 ac_cpp='$CXXCPP $CPPFLAGS'
50170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50174 cat >conftest.$ac_ext <<_ACEOF
50175 /* confdefs.h. */
50176 _ACEOF
50177 cat confdefs.h >>conftest.$ac_ext
50178 cat >>conftest.$ac_ext <<_ACEOF
50179 /* end confdefs.h. */
50180 #include <math.h>
50182 main ()
50184 __builtin_cosl(0);
50186 return 0;
50188 _ACEOF
50189 rm -f conftest.$ac_objext
50190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50191 (eval $ac_compile) 2>conftest.er1
50192 ac_status=$?
50193 grep -v '^ *+' conftest.er1 >conftest.err
50194 rm -f conftest.er1
50195 cat conftest.err >&5
50196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50197 (exit $ac_status); } &&
50198 { ac_try='test -z "$ac_cxx_werror_flag"
50199 || test ! -s conftest.err'
50200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50201 (eval $ac_try) 2>&5
50202 ac_status=$?
50203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50204 (exit $ac_status); }; } &&
50205 { ac_try='test -s conftest.$ac_objext'
50206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50207 (eval $ac_try) 2>&5
50208 ac_status=$?
50209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50210 (exit $ac_status); }; }; then
50211 glibcxx_cv_func___builtin_cosl_use=yes
50212 else
50213 echo "$as_me: failed program was:" >&5
50214 sed 's/^/| /' conftest.$ac_ext >&5
50216 glibcxx_cv_func___builtin_cosl_use=no
50218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50219 ac_ext=c
50220 ac_cpp='$CPP $CPPFLAGS'
50221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50229 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50230 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50231 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50232 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50233 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50234 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50235 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50236 echo $ECHO_N "(cached) $ECHO_C" >&6
50237 else
50239 if test x$gcc_no_link = xyes; then
50240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50242 { (exit 1); exit 1; }; }
50244 cat >conftest.$ac_ext <<_ACEOF
50245 /* confdefs.h. */
50246 _ACEOF
50247 cat confdefs.h >>conftest.$ac_ext
50248 cat >>conftest.$ac_ext <<_ACEOF
50249 /* end confdefs.h. */
50250 #include <math.h>
50252 main ()
50254 __builtin_cosl(0);
50256 return 0;
50258 _ACEOF
50259 rm -f conftest.$ac_objext conftest$ac_exeext
50260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50261 (eval $ac_link) 2>conftest.er1
50262 ac_status=$?
50263 grep -v '^ *+' conftest.er1 >conftest.err
50264 rm -f conftest.er1
50265 cat conftest.err >&5
50266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50267 (exit $ac_status); } &&
50268 { ac_try='test -z "$ac_c_werror_flag"
50269 || test ! -s conftest.err'
50270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50271 (eval $ac_try) 2>&5
50272 ac_status=$?
50273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50274 (exit $ac_status); }; } &&
50275 { ac_try='test -s conftest$ac_exeext'
50276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50277 (eval $ac_try) 2>&5
50278 ac_status=$?
50279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50280 (exit $ac_status); }; }; then
50281 glibcxx_cv_func___builtin_cosl_link=yes
50282 else
50283 echo "$as_me: failed program was:" >&5
50284 sed 's/^/| /' conftest.$ac_ext >&5
50286 glibcxx_cv_func___builtin_cosl_link=no
50288 rm -f conftest.err conftest.$ac_objext \
50289 conftest$ac_exeext conftest.$ac_ext
50294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50295 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50296 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50297 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50299 cat >>confdefs.h <<_ACEOF
50300 #define ${ac_tr_func} 1
50301 _ACEOF
50309 echo "$as_me:$LINENO: checking for main in -lm" >&5
50310 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50311 if test "${ac_cv_lib_m_main+set}" = set; then
50312 echo $ECHO_N "(cached) $ECHO_C" >&6
50313 else
50314 ac_check_lib_save_LIBS=$LIBS
50315 LIBS="-lm $LIBS"
50316 if test x$gcc_no_link = xyes; then
50317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50319 { (exit 1); exit 1; }; }
50321 cat >conftest.$ac_ext <<_ACEOF
50322 /* confdefs.h. */
50323 _ACEOF
50324 cat confdefs.h >>conftest.$ac_ext
50325 cat >>conftest.$ac_ext <<_ACEOF
50326 /* end confdefs.h. */
50330 main ()
50332 main ();
50334 return 0;
50336 _ACEOF
50337 rm -f conftest.$ac_objext conftest$ac_exeext
50338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50339 (eval $ac_link) 2>conftest.er1
50340 ac_status=$?
50341 grep -v '^ *+' conftest.er1 >conftest.err
50342 rm -f conftest.er1
50343 cat conftest.err >&5
50344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50345 (exit $ac_status); } &&
50346 { ac_try='test -z "$ac_c_werror_flag"
50347 || test ! -s conftest.err'
50348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50349 (eval $ac_try) 2>&5
50350 ac_status=$?
50351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50352 (exit $ac_status); }; } &&
50353 { ac_try='test -s conftest$ac_exeext'
50354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50355 (eval $ac_try) 2>&5
50356 ac_status=$?
50357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50358 (exit $ac_status); }; }; then
50359 ac_cv_lib_m_main=yes
50360 else
50361 echo "$as_me: failed program was:" >&5
50362 sed 's/^/| /' conftest.$ac_ext >&5
50364 ac_cv_lib_m_main=no
50366 rm -f conftest.err conftest.$ac_objext \
50367 conftest$ac_exeext conftest.$ac_ext
50368 LIBS=$ac_check_lib_save_LIBS
50370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50371 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50372 if test $ac_cv_lib_m_main = yes; then
50373 cat >>confdefs.h <<_ACEOF
50374 #define HAVE_LIBM 1
50375 _ACEOF
50377 LIBS="-lm $LIBS"
50382 for ac_func in copysignf
50384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50385 echo "$as_me:$LINENO: checking for $ac_func" >&5
50386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50387 if eval "test \"\${$as_ac_var+set}\" = set"; then
50388 echo $ECHO_N "(cached) $ECHO_C" >&6
50389 else
50390 if test x$gcc_no_link = xyes; then
50391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50393 { (exit 1); exit 1; }; }
50395 cat >conftest.$ac_ext <<_ACEOF
50396 /* confdefs.h. */
50397 _ACEOF
50398 cat confdefs.h >>conftest.$ac_ext
50399 cat >>conftest.$ac_ext <<_ACEOF
50400 /* end confdefs.h. */
50401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50403 #define $ac_func innocuous_$ac_func
50405 /* System header to define __stub macros and hopefully few prototypes,
50406 which can conflict with char $ac_func (); below.
50407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50408 <limits.h> exists even on freestanding compilers. */
50410 #ifdef __STDC__
50411 # include <limits.h>
50412 #else
50413 # include <assert.h>
50414 #endif
50416 #undef $ac_func
50418 /* Override any gcc2 internal prototype to avoid an error. */
50419 #ifdef __cplusplus
50420 extern "C"
50422 #endif
50423 /* We use char because int might match the return type of a gcc2
50424 builtin and then its argument prototype would still apply. */
50425 char $ac_func ();
50426 /* The GNU C library defines this for functions which it implements
50427 to always fail with ENOSYS. Some functions are actually named
50428 something starting with __ and the normal name is an alias. */
50429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50430 choke me
50431 #else
50432 char (*f) () = $ac_func;
50433 #endif
50434 #ifdef __cplusplus
50436 #endif
50439 main ()
50441 return f != $ac_func;
50443 return 0;
50445 _ACEOF
50446 rm -f conftest.$ac_objext conftest$ac_exeext
50447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50448 (eval $ac_link) 2>conftest.er1
50449 ac_status=$?
50450 grep -v '^ *+' conftest.er1 >conftest.err
50451 rm -f conftest.er1
50452 cat conftest.err >&5
50453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50454 (exit $ac_status); } &&
50455 { ac_try='test -z "$ac_c_werror_flag"
50456 || test ! -s conftest.err'
50457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50458 (eval $ac_try) 2>&5
50459 ac_status=$?
50460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50461 (exit $ac_status); }; } &&
50462 { ac_try='test -s conftest$ac_exeext'
50463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50464 (eval $ac_try) 2>&5
50465 ac_status=$?
50466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50467 (exit $ac_status); }; }; then
50468 eval "$as_ac_var=yes"
50469 else
50470 echo "$as_me: failed program was:" >&5
50471 sed 's/^/| /' conftest.$ac_ext >&5
50473 eval "$as_ac_var=no"
50475 rm -f conftest.err conftest.$ac_objext \
50476 conftest$ac_exeext conftest.$ac_ext
50478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50480 if test `eval echo '${'$as_ac_var'}'` = yes; then
50481 cat >>confdefs.h <<_ACEOF
50482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50483 _ACEOF
50485 else
50486 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50488 done
50492 for ac_func in __signbit
50494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50495 echo "$as_me:$LINENO: checking for $ac_func" >&5
50496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50497 if eval "test \"\${$as_ac_var+set}\" = set"; then
50498 echo $ECHO_N "(cached) $ECHO_C" >&6
50499 else
50500 if test x$gcc_no_link = xyes; then
50501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50503 { (exit 1); exit 1; }; }
50505 cat >conftest.$ac_ext <<_ACEOF
50506 /* confdefs.h. */
50507 _ACEOF
50508 cat confdefs.h >>conftest.$ac_ext
50509 cat >>conftest.$ac_ext <<_ACEOF
50510 /* end confdefs.h. */
50511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50513 #define $ac_func innocuous_$ac_func
50515 /* System header to define __stub macros and hopefully few prototypes,
50516 which can conflict with char $ac_func (); below.
50517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50518 <limits.h> exists even on freestanding compilers. */
50520 #ifdef __STDC__
50521 # include <limits.h>
50522 #else
50523 # include <assert.h>
50524 #endif
50526 #undef $ac_func
50528 /* Override any gcc2 internal prototype to avoid an error. */
50529 #ifdef __cplusplus
50530 extern "C"
50532 #endif
50533 /* We use char because int might match the return type of a gcc2
50534 builtin and then its argument prototype would still apply. */
50535 char $ac_func ();
50536 /* The GNU C library defines this for functions which it implements
50537 to always fail with ENOSYS. Some functions are actually named
50538 something starting with __ and the normal name is an alias. */
50539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50540 choke me
50541 #else
50542 char (*f) () = $ac_func;
50543 #endif
50544 #ifdef __cplusplus
50546 #endif
50549 main ()
50551 return f != $ac_func;
50553 return 0;
50555 _ACEOF
50556 rm -f conftest.$ac_objext conftest$ac_exeext
50557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50558 (eval $ac_link) 2>conftest.er1
50559 ac_status=$?
50560 grep -v '^ *+' conftest.er1 >conftest.err
50561 rm -f conftest.er1
50562 cat conftest.err >&5
50563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50564 (exit $ac_status); } &&
50565 { ac_try='test -z "$ac_c_werror_flag"
50566 || test ! -s conftest.err'
50567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50568 (eval $ac_try) 2>&5
50569 ac_status=$?
50570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50571 (exit $ac_status); }; } &&
50572 { ac_try='test -s conftest$ac_exeext'
50573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50574 (eval $ac_try) 2>&5
50575 ac_status=$?
50576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50577 (exit $ac_status); }; }; then
50578 eval "$as_ac_var=yes"
50579 else
50580 echo "$as_me: failed program was:" >&5
50581 sed 's/^/| /' conftest.$ac_ext >&5
50583 eval "$as_ac_var=no"
50585 rm -f conftest.err conftest.$ac_objext \
50586 conftest$ac_exeext conftest.$ac_ext
50588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50590 if test `eval echo '${'$as_ac_var'}'` = yes; then
50591 cat >>confdefs.h <<_ACEOF
50592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50593 _ACEOF
50595 else
50596 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50598 done
50602 for ac_func in __signbitf
50604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50605 echo "$as_me:$LINENO: checking for $ac_func" >&5
50606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50607 if eval "test \"\${$as_ac_var+set}\" = set"; then
50608 echo $ECHO_N "(cached) $ECHO_C" >&6
50609 else
50610 if test x$gcc_no_link = xyes; then
50611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50613 { (exit 1); exit 1; }; }
50615 cat >conftest.$ac_ext <<_ACEOF
50616 /* confdefs.h. */
50617 _ACEOF
50618 cat confdefs.h >>conftest.$ac_ext
50619 cat >>conftest.$ac_ext <<_ACEOF
50620 /* end confdefs.h. */
50621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50623 #define $ac_func innocuous_$ac_func
50625 /* System header to define __stub macros and hopefully few prototypes,
50626 which can conflict with char $ac_func (); below.
50627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50628 <limits.h> exists even on freestanding compilers. */
50630 #ifdef __STDC__
50631 # include <limits.h>
50632 #else
50633 # include <assert.h>
50634 #endif
50636 #undef $ac_func
50638 /* Override any gcc2 internal prototype to avoid an error. */
50639 #ifdef __cplusplus
50640 extern "C"
50642 #endif
50643 /* We use char because int might match the return type of a gcc2
50644 builtin and then its argument prototype would still apply. */
50645 char $ac_func ();
50646 /* The GNU C library defines this for functions which it implements
50647 to always fail with ENOSYS. Some functions are actually named
50648 something starting with __ and the normal name is an alias. */
50649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50650 choke me
50651 #else
50652 char (*f) () = $ac_func;
50653 #endif
50654 #ifdef __cplusplus
50656 #endif
50659 main ()
50661 return f != $ac_func;
50663 return 0;
50665 _ACEOF
50666 rm -f conftest.$ac_objext conftest$ac_exeext
50667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50668 (eval $ac_link) 2>conftest.er1
50669 ac_status=$?
50670 grep -v '^ *+' conftest.er1 >conftest.err
50671 rm -f conftest.er1
50672 cat conftest.err >&5
50673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50674 (exit $ac_status); } &&
50675 { ac_try='test -z "$ac_c_werror_flag"
50676 || test ! -s conftest.err'
50677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50678 (eval $ac_try) 2>&5
50679 ac_status=$?
50680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50681 (exit $ac_status); }; } &&
50682 { ac_try='test -s conftest$ac_exeext'
50683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50684 (eval $ac_try) 2>&5
50685 ac_status=$?
50686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50687 (exit $ac_status); }; }; then
50688 eval "$as_ac_var=yes"
50689 else
50690 echo "$as_me: failed program was:" >&5
50691 sed 's/^/| /' conftest.$ac_ext >&5
50693 eval "$as_ac_var=no"
50695 rm -f conftest.err conftest.$ac_objext \
50696 conftest$ac_exeext conftest.$ac_ext
50698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50700 if test `eval echo '${'$as_ac_var'}'` = yes; then
50701 cat >>confdefs.h <<_ACEOF
50702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50703 _ACEOF
50705 else
50706 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50708 done
50711 if test x$ac_cv_func_copysignl = x"yes"; then
50713 for ac_func in __signbitl
50715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50716 echo "$as_me:$LINENO: checking for $ac_func" >&5
50717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50718 if eval "test \"\${$as_ac_var+set}\" = set"; then
50719 echo $ECHO_N "(cached) $ECHO_C" >&6
50720 else
50721 if test x$gcc_no_link = xyes; then
50722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50724 { (exit 1); exit 1; }; }
50726 cat >conftest.$ac_ext <<_ACEOF
50727 /* confdefs.h. */
50728 _ACEOF
50729 cat confdefs.h >>conftest.$ac_ext
50730 cat >>conftest.$ac_ext <<_ACEOF
50731 /* end confdefs.h. */
50732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50734 #define $ac_func innocuous_$ac_func
50736 /* System header to define __stub macros and hopefully few prototypes,
50737 which can conflict with char $ac_func (); below.
50738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50739 <limits.h> exists even on freestanding compilers. */
50741 #ifdef __STDC__
50742 # include <limits.h>
50743 #else
50744 # include <assert.h>
50745 #endif
50747 #undef $ac_func
50749 /* Override any gcc2 internal prototype to avoid an error. */
50750 #ifdef __cplusplus
50751 extern "C"
50753 #endif
50754 /* We use char because int might match the return type of a gcc2
50755 builtin and then its argument prototype would still apply. */
50756 char $ac_func ();
50757 /* The GNU C library defines this for functions which it implements
50758 to always fail with ENOSYS. Some functions are actually named
50759 something starting with __ and the normal name is an alias. */
50760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50761 choke me
50762 #else
50763 char (*f) () = $ac_func;
50764 #endif
50765 #ifdef __cplusplus
50767 #endif
50770 main ()
50772 return f != $ac_func;
50774 return 0;
50776 _ACEOF
50777 rm -f conftest.$ac_objext conftest$ac_exeext
50778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50779 (eval $ac_link) 2>conftest.er1
50780 ac_status=$?
50781 grep -v '^ *+' conftest.er1 >conftest.err
50782 rm -f conftest.er1
50783 cat conftest.err >&5
50784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50785 (exit $ac_status); } &&
50786 { ac_try='test -z "$ac_c_werror_flag"
50787 || test ! -s conftest.err'
50788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50789 (eval $ac_try) 2>&5
50790 ac_status=$?
50791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50792 (exit $ac_status); }; } &&
50793 { ac_try='test -s conftest$ac_exeext'
50794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50795 (eval $ac_try) 2>&5
50796 ac_status=$?
50797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50798 (exit $ac_status); }; }; then
50799 eval "$as_ac_var=yes"
50800 else
50801 echo "$as_me: failed program was:" >&5
50802 sed 's/^/| /' conftest.$ac_ext >&5
50804 eval "$as_ac_var=no"
50806 rm -f conftest.err conftest.$ac_objext \
50807 conftest$ac_exeext conftest.$ac_ext
50809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50811 if test `eval echo '${'$as_ac_var'}'` = yes; then
50812 cat >>confdefs.h <<_ACEOF
50813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50814 _ACEOF
50816 else
50817 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50819 done
50823 # Used in libmath/Makefile.am.
50824 if test -n "$LIBMATHOBJS"; then
50825 need_libmath=yes
50830 # Test wchar.h for mbstate_t, which is needed for char_traits and
50831 # others even if wchar_t support is not on.
50832 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50833 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50834 cat >conftest.$ac_ext <<_ACEOF
50835 /* confdefs.h. */
50836 _ACEOF
50837 cat confdefs.h >>conftest.$ac_ext
50838 cat >>conftest.$ac_ext <<_ACEOF
50839 /* end confdefs.h. */
50840 #include <wchar.h>
50842 main ()
50844 mbstate_t teststate;
50846 return 0;
50848 _ACEOF
50849 rm -f conftest.$ac_objext
50850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50851 (eval $ac_compile) 2>conftest.er1
50852 ac_status=$?
50853 grep -v '^ *+' conftest.er1 >conftest.err
50854 rm -f conftest.er1
50855 cat conftest.err >&5
50856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50857 (exit $ac_status); } &&
50858 { ac_try='test -z "$ac_c_werror_flag"
50859 || test ! -s conftest.err'
50860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50861 (eval $ac_try) 2>&5
50862 ac_status=$?
50863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50864 (exit $ac_status); }; } &&
50865 { ac_try='test -s conftest.$ac_objext'
50866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50867 (eval $ac_try) 2>&5
50868 ac_status=$?
50869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50870 (exit $ac_status); }; }; then
50871 have_mbstate_t=yes
50872 else
50873 echo "$as_me: failed program was:" >&5
50874 sed 's/^/| /' conftest.$ac_ext >&5
50876 have_mbstate_t=no
50878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50879 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50880 echo "${ECHO_T}$have_mbstate_t" >&6
50881 if test x"$have_mbstate_t" = xyes; then
50882 cat >>confdefs.h <<\_ACEOF
50883 #define HAVE_MBSTATE_T 1
50884 _ACEOF
50888 # Sanity check for existence of ISO C99 headers for extended encoding.
50890 for ac_header in wchar.h
50892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50894 echo "$as_me:$LINENO: checking for $ac_header" >&5
50895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50897 echo $ECHO_N "(cached) $ECHO_C" >&6
50899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50901 else
50902 # Is the header compilable?
50903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50905 cat >conftest.$ac_ext <<_ACEOF
50906 /* confdefs.h. */
50907 _ACEOF
50908 cat confdefs.h >>conftest.$ac_ext
50909 cat >>conftest.$ac_ext <<_ACEOF
50910 /* end confdefs.h. */
50911 $ac_includes_default
50912 #include <$ac_header>
50913 _ACEOF
50914 rm -f conftest.$ac_objext
50915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50916 (eval $ac_compile) 2>conftest.er1
50917 ac_status=$?
50918 grep -v '^ *+' conftest.er1 >conftest.err
50919 rm -f conftest.er1
50920 cat conftest.err >&5
50921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50922 (exit $ac_status); } &&
50923 { ac_try='test -z "$ac_c_werror_flag"
50924 || test ! -s conftest.err'
50925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50926 (eval $ac_try) 2>&5
50927 ac_status=$?
50928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50929 (exit $ac_status); }; } &&
50930 { ac_try='test -s conftest.$ac_objext'
50931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50932 (eval $ac_try) 2>&5
50933 ac_status=$?
50934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50935 (exit $ac_status); }; }; then
50936 ac_header_compiler=yes
50937 else
50938 echo "$as_me: failed program was:" >&5
50939 sed 's/^/| /' conftest.$ac_ext >&5
50941 ac_header_compiler=no
50943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50945 echo "${ECHO_T}$ac_header_compiler" >&6
50947 # Is the header present?
50948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50950 cat >conftest.$ac_ext <<_ACEOF
50951 /* confdefs.h. */
50952 _ACEOF
50953 cat confdefs.h >>conftest.$ac_ext
50954 cat >>conftest.$ac_ext <<_ACEOF
50955 /* end confdefs.h. */
50956 #include <$ac_header>
50957 _ACEOF
50958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50960 ac_status=$?
50961 grep -v '^ *+' conftest.er1 >conftest.err
50962 rm -f conftest.er1
50963 cat conftest.err >&5
50964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50965 (exit $ac_status); } >/dev/null; then
50966 if test -s conftest.err; then
50967 ac_cpp_err=$ac_c_preproc_warn_flag
50968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50969 else
50970 ac_cpp_err=
50972 else
50973 ac_cpp_err=yes
50975 if test -z "$ac_cpp_err"; then
50976 ac_header_preproc=yes
50977 else
50978 echo "$as_me: failed program was:" >&5
50979 sed 's/^/| /' conftest.$ac_ext >&5
50981 ac_header_preproc=no
50983 rm -f conftest.err conftest.$ac_ext
50984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50985 echo "${ECHO_T}$ac_header_preproc" >&6
50987 # So? What about this header?
50988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50989 yes:no: )
50990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50994 ac_header_preproc=yes
50996 no:yes:* )
50997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51010 cat <<\_ASBOX
51011 ## ----------------------------------------- ##
51012 ## Report this to the package-unused lists. ##
51013 ## ----------------------------------------- ##
51014 _ASBOX
51016 sed "s/^/$as_me: WARNING: /" >&2
51018 esac
51019 echo "$as_me:$LINENO: checking for $ac_header" >&5
51020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51022 echo $ECHO_N "(cached) $ECHO_C" >&6
51023 else
51024 eval "$as_ac_Header=\$ac_header_preproc"
51026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51031 cat >>confdefs.h <<_ACEOF
51032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51033 _ACEOF
51034 ac_has_wchar_h=yes
51035 else
51036 ac_has_wchar_h=no
51039 done
51042 for ac_header in wctype.h
51044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51046 echo "$as_me:$LINENO: checking for $ac_header" >&5
51047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51049 echo $ECHO_N "(cached) $ECHO_C" >&6
51051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51053 else
51054 # Is the header compilable?
51055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51057 cat >conftest.$ac_ext <<_ACEOF
51058 /* confdefs.h. */
51059 _ACEOF
51060 cat confdefs.h >>conftest.$ac_ext
51061 cat >>conftest.$ac_ext <<_ACEOF
51062 /* end confdefs.h. */
51063 $ac_includes_default
51064 #include <$ac_header>
51065 _ACEOF
51066 rm -f conftest.$ac_objext
51067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51068 (eval $ac_compile) 2>conftest.er1
51069 ac_status=$?
51070 grep -v '^ *+' conftest.er1 >conftest.err
51071 rm -f conftest.er1
51072 cat conftest.err >&5
51073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51074 (exit $ac_status); } &&
51075 { ac_try='test -z "$ac_c_werror_flag"
51076 || test ! -s conftest.err'
51077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51078 (eval $ac_try) 2>&5
51079 ac_status=$?
51080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081 (exit $ac_status); }; } &&
51082 { ac_try='test -s conftest.$ac_objext'
51083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51084 (eval $ac_try) 2>&5
51085 ac_status=$?
51086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51087 (exit $ac_status); }; }; then
51088 ac_header_compiler=yes
51089 else
51090 echo "$as_me: failed program was:" >&5
51091 sed 's/^/| /' conftest.$ac_ext >&5
51093 ac_header_compiler=no
51095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51097 echo "${ECHO_T}$ac_header_compiler" >&6
51099 # Is the header present?
51100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51102 cat >conftest.$ac_ext <<_ACEOF
51103 /* confdefs.h. */
51104 _ACEOF
51105 cat confdefs.h >>conftest.$ac_ext
51106 cat >>conftest.$ac_ext <<_ACEOF
51107 /* end confdefs.h. */
51108 #include <$ac_header>
51109 _ACEOF
51110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51112 ac_status=$?
51113 grep -v '^ *+' conftest.er1 >conftest.err
51114 rm -f conftest.er1
51115 cat conftest.err >&5
51116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51117 (exit $ac_status); } >/dev/null; then
51118 if test -s conftest.err; then
51119 ac_cpp_err=$ac_c_preproc_warn_flag
51120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51121 else
51122 ac_cpp_err=
51124 else
51125 ac_cpp_err=yes
51127 if test -z "$ac_cpp_err"; then
51128 ac_header_preproc=yes
51129 else
51130 echo "$as_me: failed program was:" >&5
51131 sed 's/^/| /' conftest.$ac_ext >&5
51133 ac_header_preproc=no
51135 rm -f conftest.err conftest.$ac_ext
51136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51137 echo "${ECHO_T}$ac_header_preproc" >&6
51139 # So? What about this header?
51140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51141 yes:no: )
51142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51146 ac_header_preproc=yes
51148 no:yes:* )
51149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51162 cat <<\_ASBOX
51163 ## ----------------------------------------- ##
51164 ## Report this to the package-unused lists. ##
51165 ## ----------------------------------------- ##
51166 _ASBOX
51168 sed "s/^/$as_me: WARNING: /" >&2
51170 esac
51171 echo "$as_me:$LINENO: checking for $ac_header" >&5
51172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51174 echo $ECHO_N "(cached) $ECHO_C" >&6
51175 else
51176 eval "$as_ac_Header=\$ac_header_preproc"
51178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51183 cat >>confdefs.h <<_ACEOF
51184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51185 _ACEOF
51186 ac_has_wctype_h=yes
51187 else
51188 ac_has_wctype_h=no
51191 done
51194 # Only continue checking if the ISO C99 headers exist and support is on.
51195 if test x"$ac_has_wchar_h" = xyes &&
51196 test x"$ac_has_wctype_h" = xyes &&
51197 test x"$enable_c_mbchar" != xno; then
51199 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51200 # numeric_limits can instantiate type_traits<wchar_t>
51201 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51202 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51203 cat >conftest.$ac_ext <<_ACEOF
51204 /* confdefs.h. */
51205 _ACEOF
51206 cat confdefs.h >>conftest.$ac_ext
51207 cat >>conftest.$ac_ext <<_ACEOF
51208 /* end confdefs.h. */
51209 #include <wchar.h>
51211 main ()
51213 int i = WCHAR_MIN; int j = WCHAR_MAX;
51215 return 0;
51217 _ACEOF
51218 rm -f conftest.$ac_objext
51219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51220 (eval $ac_compile) 2>conftest.er1
51221 ac_status=$?
51222 grep -v '^ *+' conftest.er1 >conftest.err
51223 rm -f conftest.er1
51224 cat conftest.err >&5
51225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51226 (exit $ac_status); } &&
51227 { ac_try='test -z "$ac_c_werror_flag"
51228 || test ! -s conftest.err'
51229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51230 (eval $ac_try) 2>&5
51231 ac_status=$?
51232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51233 (exit $ac_status); }; } &&
51234 { ac_try='test -s conftest.$ac_objext'
51235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51236 (eval $ac_try) 2>&5
51237 ac_status=$?
51238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51239 (exit $ac_status); }; }; then
51240 has_wchar_minmax=yes
51241 else
51242 echo "$as_me: failed program was:" >&5
51243 sed 's/^/| /' conftest.$ac_ext >&5
51245 has_wchar_minmax=no
51247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51248 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51249 echo "${ECHO_T}$has_wchar_minmax" >&6
51251 # Test wchar.h for WEOF, which is what we use to determine whether
51252 # to specialize for char_traits<wchar_t> or not.
51253 echo "$as_me:$LINENO: checking for WEOF" >&5
51254 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51255 cat >conftest.$ac_ext <<_ACEOF
51256 /* confdefs.h. */
51257 _ACEOF
51258 cat confdefs.h >>conftest.$ac_ext
51259 cat >>conftest.$ac_ext <<_ACEOF
51260 /* end confdefs.h. */
51262 #include <wchar.h>
51263 #include <stddef.h>
51265 main ()
51267 wint_t i = WEOF;
51269 return 0;
51271 _ACEOF
51272 rm -f conftest.$ac_objext
51273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51274 (eval $ac_compile) 2>conftest.er1
51275 ac_status=$?
51276 grep -v '^ *+' conftest.er1 >conftest.err
51277 rm -f conftest.er1
51278 cat conftest.err >&5
51279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280 (exit $ac_status); } &&
51281 { ac_try='test -z "$ac_c_werror_flag"
51282 || test ! -s conftest.err'
51283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51284 (eval $ac_try) 2>&5
51285 ac_status=$?
51286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51287 (exit $ac_status); }; } &&
51288 { ac_try='test -s conftest.$ac_objext'
51289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51290 (eval $ac_try) 2>&5
51291 ac_status=$?
51292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51293 (exit $ac_status); }; }; then
51294 has_weof=yes
51295 else
51296 echo "$as_me: failed program was:" >&5
51297 sed 's/^/| /' conftest.$ac_ext >&5
51299 has_weof=no
51301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51302 echo "$as_me:$LINENO: result: $has_weof" >&5
51303 echo "${ECHO_T}$has_weof" >&6
51305 # Tests for wide character functions used in char_traits<wchar_t>.
51306 ac_wfuncs=yes
51313 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51316 echo "$as_me:$LINENO: checking for $ac_func" >&5
51317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51318 if eval "test \"\${$as_ac_var+set}\" = set"; then
51319 echo $ECHO_N "(cached) $ECHO_C" >&6
51320 else
51321 if test x$gcc_no_link = xyes; then
51322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51324 { (exit 1); exit 1; }; }
51326 cat >conftest.$ac_ext <<_ACEOF
51327 /* confdefs.h. */
51328 _ACEOF
51329 cat confdefs.h >>conftest.$ac_ext
51330 cat >>conftest.$ac_ext <<_ACEOF
51331 /* end confdefs.h. */
51332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51334 #define $ac_func innocuous_$ac_func
51336 /* System header to define __stub macros and hopefully few prototypes,
51337 which can conflict with char $ac_func (); below.
51338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51339 <limits.h> exists even on freestanding compilers. */
51341 #ifdef __STDC__
51342 # include <limits.h>
51343 #else
51344 # include <assert.h>
51345 #endif
51347 #undef $ac_func
51349 /* Override any gcc2 internal prototype to avoid an error. */
51350 #ifdef __cplusplus
51351 extern "C"
51353 #endif
51354 /* We use char because int might match the return type of a gcc2
51355 builtin and then its argument prototype would still apply. */
51356 char $ac_func ();
51357 /* The GNU C library defines this for functions which it implements
51358 to always fail with ENOSYS. Some functions are actually named
51359 something starting with __ and the normal name is an alias. */
51360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51361 choke me
51362 #else
51363 char (*f) () = $ac_func;
51364 #endif
51365 #ifdef __cplusplus
51367 #endif
51370 main ()
51372 return f != $ac_func;
51374 return 0;
51376 _ACEOF
51377 rm -f conftest.$ac_objext conftest$ac_exeext
51378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51379 (eval $ac_link) 2>conftest.er1
51380 ac_status=$?
51381 grep -v '^ *+' conftest.er1 >conftest.err
51382 rm -f conftest.er1
51383 cat conftest.err >&5
51384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51385 (exit $ac_status); } &&
51386 { ac_try='test -z "$ac_c_werror_flag"
51387 || test ! -s conftest.err'
51388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51389 (eval $ac_try) 2>&5
51390 ac_status=$?
51391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51392 (exit $ac_status); }; } &&
51393 { ac_try='test -s conftest$ac_exeext'
51394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51395 (eval $ac_try) 2>&5
51396 ac_status=$?
51397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51398 (exit $ac_status); }; }; then
51399 eval "$as_ac_var=yes"
51400 else
51401 echo "$as_me: failed program was:" >&5
51402 sed 's/^/| /' conftest.$ac_ext >&5
51404 eval "$as_ac_var=no"
51406 rm -f conftest.err conftest.$ac_objext \
51407 conftest$ac_exeext conftest.$ac_ext
51409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51411 if test `eval echo '${'$as_ac_var'}'` = yes; then
51412 cat >>confdefs.h <<_ACEOF
51413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51414 _ACEOF
51416 else
51417 ac_wfuncs=no
51419 done
51422 # Checks for names injected into std:: by the c_std headers.
51469 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51470 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51471 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51472 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51473 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51474 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51477 echo "$as_me:$LINENO: checking for $ac_func" >&5
51478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51479 if eval "test \"\${$as_ac_var+set}\" = set"; then
51480 echo $ECHO_N "(cached) $ECHO_C" >&6
51481 else
51482 if test x$gcc_no_link = xyes; then
51483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51485 { (exit 1); exit 1; }; }
51487 cat >conftest.$ac_ext <<_ACEOF
51488 /* confdefs.h. */
51489 _ACEOF
51490 cat confdefs.h >>conftest.$ac_ext
51491 cat >>conftest.$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51495 #define $ac_func innocuous_$ac_func
51497 /* System header to define __stub macros and hopefully few prototypes,
51498 which can conflict with char $ac_func (); below.
51499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51500 <limits.h> exists even on freestanding compilers. */
51502 #ifdef __STDC__
51503 # include <limits.h>
51504 #else
51505 # include <assert.h>
51506 #endif
51508 #undef $ac_func
51510 /* Override any gcc2 internal prototype to avoid an error. */
51511 #ifdef __cplusplus
51512 extern "C"
51514 #endif
51515 /* We use char because int might match the return type of a gcc2
51516 builtin and then its argument prototype would still apply. */
51517 char $ac_func ();
51518 /* The GNU C library defines this for functions which it implements
51519 to always fail with ENOSYS. Some functions are actually named
51520 something starting with __ and the normal name is an alias. */
51521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51522 choke me
51523 #else
51524 char (*f) () = $ac_func;
51525 #endif
51526 #ifdef __cplusplus
51528 #endif
51531 main ()
51533 return f != $ac_func;
51535 return 0;
51537 _ACEOF
51538 rm -f conftest.$ac_objext conftest$ac_exeext
51539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51540 (eval $ac_link) 2>conftest.er1
51541 ac_status=$?
51542 grep -v '^ *+' conftest.er1 >conftest.err
51543 rm -f conftest.er1
51544 cat conftest.err >&5
51545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51546 (exit $ac_status); } &&
51547 { ac_try='test -z "$ac_c_werror_flag"
51548 || test ! -s conftest.err'
51549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51550 (eval $ac_try) 2>&5
51551 ac_status=$?
51552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51553 (exit $ac_status); }; } &&
51554 { ac_try='test -s conftest$ac_exeext'
51555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51556 (eval $ac_try) 2>&5
51557 ac_status=$?
51558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51559 (exit $ac_status); }; }; then
51560 eval "$as_ac_var=yes"
51561 else
51562 echo "$as_me: failed program was:" >&5
51563 sed 's/^/| /' conftest.$ac_ext >&5
51565 eval "$as_ac_var=no"
51567 rm -f conftest.err conftest.$ac_objext \
51568 conftest$ac_exeext conftest.$ac_ext
51570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51572 if test `eval echo '${'$as_ac_var'}'` = yes; then
51573 cat >>confdefs.h <<_ACEOF
51574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51575 _ACEOF
51577 else
51578 ac_wfuncs=no
51580 done
51583 # Checks for wide character functions that are not required
51584 # for basic wchar_t support. Don't disable support if they are missing.
51585 # Injection of these is wrapped with guard macros.
51591 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51594 echo "$as_me:$LINENO: checking for $ac_func" >&5
51595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51596 if eval "test \"\${$as_ac_var+set}\" = set"; then
51597 echo $ECHO_N "(cached) $ECHO_C" >&6
51598 else
51599 if test x$gcc_no_link = xyes; then
51600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51602 { (exit 1); exit 1; }; }
51604 cat >conftest.$ac_ext <<_ACEOF
51605 /* confdefs.h. */
51606 _ACEOF
51607 cat confdefs.h >>conftest.$ac_ext
51608 cat >>conftest.$ac_ext <<_ACEOF
51609 /* end confdefs.h. */
51610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51612 #define $ac_func innocuous_$ac_func
51614 /* System header to define __stub macros and hopefully few prototypes,
51615 which can conflict with char $ac_func (); below.
51616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51617 <limits.h> exists even on freestanding compilers. */
51619 #ifdef __STDC__
51620 # include <limits.h>
51621 #else
51622 # include <assert.h>
51623 #endif
51625 #undef $ac_func
51627 /* Override any gcc2 internal prototype to avoid an error. */
51628 #ifdef __cplusplus
51629 extern "C"
51631 #endif
51632 /* We use char because int might match the return type of a gcc2
51633 builtin and then its argument prototype would still apply. */
51634 char $ac_func ();
51635 /* The GNU C library defines this for functions which it implements
51636 to always fail with ENOSYS. Some functions are actually named
51637 something starting with __ and the normal name is an alias. */
51638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51639 choke me
51640 #else
51641 char (*f) () = $ac_func;
51642 #endif
51643 #ifdef __cplusplus
51645 #endif
51648 main ()
51650 return f != $ac_func;
51652 return 0;
51654 _ACEOF
51655 rm -f conftest.$ac_objext conftest$ac_exeext
51656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51657 (eval $ac_link) 2>conftest.er1
51658 ac_status=$?
51659 grep -v '^ *+' conftest.er1 >conftest.err
51660 rm -f conftest.er1
51661 cat conftest.err >&5
51662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51663 (exit $ac_status); } &&
51664 { ac_try='test -z "$ac_c_werror_flag"
51665 || test ! -s conftest.err'
51666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51667 (eval $ac_try) 2>&5
51668 ac_status=$?
51669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670 (exit $ac_status); }; } &&
51671 { ac_try='test -s conftest$ac_exeext'
51672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51673 (eval $ac_try) 2>&5
51674 ac_status=$?
51675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51676 (exit $ac_status); }; }; then
51677 eval "$as_ac_var=yes"
51678 else
51679 echo "$as_me: failed program was:" >&5
51680 sed 's/^/| /' conftest.$ac_ext >&5
51682 eval "$as_ac_var=no"
51684 rm -f conftest.err conftest.$ac_objext \
51685 conftest$ac_exeext conftest.$ac_ext
51687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51689 if test `eval echo '${'$as_ac_var'}'` = yes; then
51690 cat >>confdefs.h <<_ACEOF
51691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51692 _ACEOF
51695 done
51698 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51699 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51700 if test x"$has_weof" = xyes &&
51701 test x"$has_wchar_minmax" = xyes &&
51702 test x"$ac_wfuncs" = xyes;
51703 then
51704 ac_isoC99_wchar_t=yes
51705 else
51706 ac_isoC99_wchar_t=no
51708 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51709 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51711 # Use iconv for wchar_t to char conversions. As such, check for
51712 # X/Open Portability Guide, version 2 features (XPG2).
51713 if test "${ac_cv_header_iconv_h+set}" = set; then
51714 echo "$as_me:$LINENO: checking for iconv.h" >&5
51715 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51716 if test "${ac_cv_header_iconv_h+set}" = set; then
51717 echo $ECHO_N "(cached) $ECHO_C" >&6
51719 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51720 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51721 else
51722 # Is the header compilable?
51723 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51724 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51725 cat >conftest.$ac_ext <<_ACEOF
51726 /* confdefs.h. */
51727 _ACEOF
51728 cat confdefs.h >>conftest.$ac_ext
51729 cat >>conftest.$ac_ext <<_ACEOF
51730 /* end confdefs.h. */
51731 $ac_includes_default
51732 #include <iconv.h>
51733 _ACEOF
51734 rm -f conftest.$ac_objext
51735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51736 (eval $ac_compile) 2>conftest.er1
51737 ac_status=$?
51738 grep -v '^ *+' conftest.er1 >conftest.err
51739 rm -f conftest.er1
51740 cat conftest.err >&5
51741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51742 (exit $ac_status); } &&
51743 { ac_try='test -z "$ac_c_werror_flag"
51744 || test ! -s conftest.err'
51745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51746 (eval $ac_try) 2>&5
51747 ac_status=$?
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); }; } &&
51750 { ac_try='test -s conftest.$ac_objext'
51751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51752 (eval $ac_try) 2>&5
51753 ac_status=$?
51754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51755 (exit $ac_status); }; }; then
51756 ac_header_compiler=yes
51757 else
51758 echo "$as_me: failed program was:" >&5
51759 sed 's/^/| /' conftest.$ac_ext >&5
51761 ac_header_compiler=no
51763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51765 echo "${ECHO_T}$ac_header_compiler" >&6
51767 # Is the header present?
51768 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51769 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51770 cat >conftest.$ac_ext <<_ACEOF
51771 /* confdefs.h. */
51772 _ACEOF
51773 cat confdefs.h >>conftest.$ac_ext
51774 cat >>conftest.$ac_ext <<_ACEOF
51775 /* end confdefs.h. */
51776 #include <iconv.h>
51777 _ACEOF
51778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51780 ac_status=$?
51781 grep -v '^ *+' conftest.er1 >conftest.err
51782 rm -f conftest.er1
51783 cat conftest.err >&5
51784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51785 (exit $ac_status); } >/dev/null; then
51786 if test -s conftest.err; then
51787 ac_cpp_err=$ac_c_preproc_warn_flag
51788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51789 else
51790 ac_cpp_err=
51792 else
51793 ac_cpp_err=yes
51795 if test -z "$ac_cpp_err"; then
51796 ac_header_preproc=yes
51797 else
51798 echo "$as_me: failed program was:" >&5
51799 sed 's/^/| /' conftest.$ac_ext >&5
51801 ac_header_preproc=no
51803 rm -f conftest.err conftest.$ac_ext
51804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51805 echo "${ECHO_T}$ac_header_preproc" >&6
51807 # So? What about this header?
51808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51809 yes:no: )
51810 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51811 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51812 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51813 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51814 ac_header_preproc=yes
51816 no:yes:* )
51817 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51818 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51819 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51820 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51821 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51822 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51823 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51824 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51825 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51826 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51827 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51828 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51830 cat <<\_ASBOX
51831 ## ----------------------------------------- ##
51832 ## Report this to the package-unused lists. ##
51833 ## ----------------------------------------- ##
51834 _ASBOX
51836 sed "s/^/$as_me: WARNING: /" >&2
51838 esac
51839 echo "$as_me:$LINENO: checking for iconv.h" >&5
51840 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51841 if test "${ac_cv_header_iconv_h+set}" = set; then
51842 echo $ECHO_N "(cached) $ECHO_C" >&6
51843 else
51844 ac_cv_header_iconv_h=$ac_header_preproc
51846 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51847 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51850 if test $ac_cv_header_iconv_h = yes; then
51851 ac_has_iconv_h=yes
51852 else
51853 ac_has_iconv_h=no
51857 if test "${ac_cv_header_langinfo_h+set}" = set; then
51858 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51859 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51860 if test "${ac_cv_header_langinfo_h+set}" = set; then
51861 echo $ECHO_N "(cached) $ECHO_C" >&6
51863 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51864 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51865 else
51866 # Is the header compilable?
51867 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51868 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51869 cat >conftest.$ac_ext <<_ACEOF
51870 /* confdefs.h. */
51871 _ACEOF
51872 cat confdefs.h >>conftest.$ac_ext
51873 cat >>conftest.$ac_ext <<_ACEOF
51874 /* end confdefs.h. */
51875 $ac_includes_default
51876 #include <langinfo.h>
51877 _ACEOF
51878 rm -f conftest.$ac_objext
51879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51880 (eval $ac_compile) 2>conftest.er1
51881 ac_status=$?
51882 grep -v '^ *+' conftest.er1 >conftest.err
51883 rm -f conftest.er1
51884 cat conftest.err >&5
51885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51886 (exit $ac_status); } &&
51887 { ac_try='test -z "$ac_c_werror_flag"
51888 || test ! -s conftest.err'
51889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51890 (eval $ac_try) 2>&5
51891 ac_status=$?
51892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51893 (exit $ac_status); }; } &&
51894 { ac_try='test -s conftest.$ac_objext'
51895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51896 (eval $ac_try) 2>&5
51897 ac_status=$?
51898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51899 (exit $ac_status); }; }; then
51900 ac_header_compiler=yes
51901 else
51902 echo "$as_me: failed program was:" >&5
51903 sed 's/^/| /' conftest.$ac_ext >&5
51905 ac_header_compiler=no
51907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51909 echo "${ECHO_T}$ac_header_compiler" >&6
51911 # Is the header present?
51912 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51913 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51914 cat >conftest.$ac_ext <<_ACEOF
51915 /* confdefs.h. */
51916 _ACEOF
51917 cat confdefs.h >>conftest.$ac_ext
51918 cat >>conftest.$ac_ext <<_ACEOF
51919 /* end confdefs.h. */
51920 #include <langinfo.h>
51921 _ACEOF
51922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51924 ac_status=$?
51925 grep -v '^ *+' conftest.er1 >conftest.err
51926 rm -f conftest.er1
51927 cat conftest.err >&5
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); } >/dev/null; then
51930 if test -s conftest.err; then
51931 ac_cpp_err=$ac_c_preproc_warn_flag
51932 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51933 else
51934 ac_cpp_err=
51936 else
51937 ac_cpp_err=yes
51939 if test -z "$ac_cpp_err"; then
51940 ac_header_preproc=yes
51941 else
51942 echo "$as_me: failed program was:" >&5
51943 sed 's/^/| /' conftest.$ac_ext >&5
51945 ac_header_preproc=no
51947 rm -f conftest.err conftest.$ac_ext
51948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51949 echo "${ECHO_T}$ac_header_preproc" >&6
51951 # So? What about this header?
51952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51953 yes:no: )
51954 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51955 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51956 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51957 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51958 ac_header_preproc=yes
51960 no:yes:* )
51961 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51962 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51963 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51964 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51965 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51966 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51967 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51968 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51969 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51970 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51971 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51972 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51974 cat <<\_ASBOX
51975 ## ----------------------------------------- ##
51976 ## Report this to the package-unused lists. ##
51977 ## ----------------------------------------- ##
51978 _ASBOX
51980 sed "s/^/$as_me: WARNING: /" >&2
51982 esac
51983 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51984 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51985 if test "${ac_cv_header_langinfo_h+set}" = set; then
51986 echo $ECHO_N "(cached) $ECHO_C" >&6
51987 else
51988 ac_cv_header_langinfo_h=$ac_header_preproc
51990 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51991 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51994 if test $ac_cv_header_langinfo_h = yes; then
51995 ac_has_langinfo_h=yes
51996 else
51997 ac_has_langinfo_h=no
52002 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52003 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52004 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52005 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52006 echo $ECHO_N "(cached) $ECHO_C" >&6
52007 else
52008 ac_check_lib_save_LIBS=$LIBS
52009 LIBS="-liconv $LIBS"
52010 if test x$gcc_no_link = xyes; then
52011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52013 { (exit 1); exit 1; }; }
52015 cat >conftest.$ac_ext <<_ACEOF
52016 /* confdefs.h. */
52017 _ACEOF
52018 cat confdefs.h >>conftest.$ac_ext
52019 cat >>conftest.$ac_ext <<_ACEOF
52020 /* end confdefs.h. */
52022 /* Override any gcc2 internal prototype to avoid an error. */
52023 #ifdef __cplusplus
52024 extern "C"
52025 #endif
52026 /* We use char because int might match the return type of a gcc2
52027 builtin and then its argument prototype would still apply. */
52028 char iconv ();
52030 main ()
52032 iconv ();
52034 return 0;
52036 _ACEOF
52037 rm -f conftest.$ac_objext conftest$ac_exeext
52038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52039 (eval $ac_link) 2>conftest.er1
52040 ac_status=$?
52041 grep -v '^ *+' conftest.er1 >conftest.err
52042 rm -f conftest.er1
52043 cat conftest.err >&5
52044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52045 (exit $ac_status); } &&
52046 { ac_try='test -z "$ac_c_werror_flag"
52047 || test ! -s conftest.err'
52048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52049 (eval $ac_try) 2>&5
52050 ac_status=$?
52051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52052 (exit $ac_status); }; } &&
52053 { ac_try='test -s conftest$ac_exeext'
52054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52055 (eval $ac_try) 2>&5
52056 ac_status=$?
52057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52058 (exit $ac_status); }; }; then
52059 ac_cv_lib_iconv_iconv=yes
52060 else
52061 echo "$as_me: failed program was:" >&5
52062 sed 's/^/| /' conftest.$ac_ext >&5
52064 ac_cv_lib_iconv_iconv=no
52066 rm -f conftest.err conftest.$ac_objext \
52067 conftest$ac_exeext conftest.$ac_ext
52068 LIBS=$ac_check_lib_save_LIBS
52070 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52071 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52072 if test $ac_cv_lib_iconv_iconv = yes; then
52073 LIBICONV="-liconv"
52076 ac_save_LIBS="$LIBS"
52077 LIBS="$LIBS $LIBICONV"
52084 for ac_func in iconv_open iconv_close iconv nl_langinfo
52086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52087 echo "$as_me:$LINENO: checking for $ac_func" >&5
52088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52089 if eval "test \"\${$as_ac_var+set}\" = set"; then
52090 echo $ECHO_N "(cached) $ECHO_C" >&6
52091 else
52092 if test x$gcc_no_link = xyes; then
52093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52095 { (exit 1); exit 1; }; }
52097 cat >conftest.$ac_ext <<_ACEOF
52098 /* confdefs.h. */
52099 _ACEOF
52100 cat confdefs.h >>conftest.$ac_ext
52101 cat >>conftest.$ac_ext <<_ACEOF
52102 /* end confdefs.h. */
52103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52105 #define $ac_func innocuous_$ac_func
52107 /* System header to define __stub macros and hopefully few prototypes,
52108 which can conflict with char $ac_func (); below.
52109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52110 <limits.h> exists even on freestanding compilers. */
52112 #ifdef __STDC__
52113 # include <limits.h>
52114 #else
52115 # include <assert.h>
52116 #endif
52118 #undef $ac_func
52120 /* Override any gcc2 internal prototype to avoid an error. */
52121 #ifdef __cplusplus
52122 extern "C"
52124 #endif
52125 /* We use char because int might match the return type of a gcc2
52126 builtin and then its argument prototype would still apply. */
52127 char $ac_func ();
52128 /* The GNU C library defines this for functions which it implements
52129 to always fail with ENOSYS. Some functions are actually named
52130 something starting with __ and the normal name is an alias. */
52131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52132 choke me
52133 #else
52134 char (*f) () = $ac_func;
52135 #endif
52136 #ifdef __cplusplus
52138 #endif
52141 main ()
52143 return f != $ac_func;
52145 return 0;
52147 _ACEOF
52148 rm -f conftest.$ac_objext conftest$ac_exeext
52149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52150 (eval $ac_link) 2>conftest.er1
52151 ac_status=$?
52152 grep -v '^ *+' conftest.er1 >conftest.err
52153 rm -f conftest.er1
52154 cat conftest.err >&5
52155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52156 (exit $ac_status); } &&
52157 { ac_try='test -z "$ac_c_werror_flag"
52158 || test ! -s conftest.err'
52159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52160 (eval $ac_try) 2>&5
52161 ac_status=$?
52162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52163 (exit $ac_status); }; } &&
52164 { ac_try='test -s conftest$ac_exeext'
52165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52166 (eval $ac_try) 2>&5
52167 ac_status=$?
52168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52169 (exit $ac_status); }; }; then
52170 eval "$as_ac_var=yes"
52171 else
52172 echo "$as_me: failed program was:" >&5
52173 sed 's/^/| /' conftest.$ac_ext >&5
52175 eval "$as_ac_var=no"
52177 rm -f conftest.err conftest.$ac_objext \
52178 conftest$ac_exeext conftest.$ac_ext
52180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52182 if test `eval echo '${'$as_ac_var'}'` = yes; then
52183 cat >>confdefs.h <<_ACEOF
52184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52185 _ACEOF
52186 ac_XPG2funcs=yes
52187 else
52188 ac_XPG2funcs=no
52190 done
52193 LIBS="$ac_save_LIBS"
52195 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52196 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52197 if test x"$ac_has_iconv_h" = xyes &&
52198 test x"$ac_has_langinfo_h" = xyes &&
52199 test x"$ac_XPG2funcs" = xyes;
52200 then
52201 ac_XPG2_wchar_t=yes
52202 else
52203 ac_XPG2_wchar_t=no
52205 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52206 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52208 # At the moment, only enable wchar_t specializations if all the
52209 # above support is present.
52210 if test x"$ac_isoC99_wchar_t" = xyes &&
52211 test x"$ac_XPG2_wchar_t" = xyes;
52212 then
52213 cat >>confdefs.h <<\_ACEOF
52214 #define _GLIBCXX_USE_WCHAR_T 1
52215 _ACEOF
52217 enable_wchar_t=yes
52220 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52221 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52222 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52223 echo "${ECHO_T}$enable_wchar_t" >&6
52226 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52227 ac_save_CXXFLAGS="$CXXFLAGS"
52228 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52231 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52232 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52233 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52234 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52235 echo $ECHO_N "(cached) $ECHO_C" >&6
52236 else
52240 ac_ext=cc
52241 ac_cpp='$CXXCPP $CPPFLAGS'
52242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52246 cat >conftest.$ac_ext <<_ACEOF
52247 /* confdefs.h. */
52248 _ACEOF
52249 cat confdefs.h >>conftest.$ac_ext
52250 cat >>conftest.$ac_ext <<_ACEOF
52251 /* end confdefs.h. */
52252 #include <stdlib.h>
52254 main ()
52256 strtold(0, 0);
52258 return 0;
52260 _ACEOF
52261 rm -f conftest.$ac_objext
52262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52263 (eval $ac_compile) 2>conftest.er1
52264 ac_status=$?
52265 grep -v '^ *+' conftest.er1 >conftest.err
52266 rm -f conftest.er1
52267 cat conftest.err >&5
52268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52269 (exit $ac_status); } &&
52270 { ac_try='test -z "$ac_cxx_werror_flag"
52271 || test ! -s conftest.err'
52272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52273 (eval $ac_try) 2>&5
52274 ac_status=$?
52275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52276 (exit $ac_status); }; } &&
52277 { ac_try='test -s conftest.$ac_objext'
52278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52279 (eval $ac_try) 2>&5
52280 ac_status=$?
52281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52282 (exit $ac_status); }; }; then
52283 glibcxx_cv_func_strtold_use=yes
52284 else
52285 echo "$as_me: failed program was:" >&5
52286 sed 's/^/| /' conftest.$ac_ext >&5
52288 glibcxx_cv_func_strtold_use=no
52290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52291 ac_ext=c
52292 ac_cpp='$CPP $CPPFLAGS'
52293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52302 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52303 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52305 for ac_func in strtold
52307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52308 echo "$as_me:$LINENO: checking for $ac_func" >&5
52309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52310 if eval "test \"\${$as_ac_var+set}\" = set"; then
52311 echo $ECHO_N "(cached) $ECHO_C" >&6
52312 else
52313 if test x$gcc_no_link = xyes; then
52314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52316 { (exit 1); exit 1; }; }
52318 cat >conftest.$ac_ext <<_ACEOF
52319 /* confdefs.h. */
52320 _ACEOF
52321 cat confdefs.h >>conftest.$ac_ext
52322 cat >>conftest.$ac_ext <<_ACEOF
52323 /* end confdefs.h. */
52324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52326 #define $ac_func innocuous_$ac_func
52328 /* System header to define __stub macros and hopefully few prototypes,
52329 which can conflict with char $ac_func (); below.
52330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52331 <limits.h> exists even on freestanding compilers. */
52333 #ifdef __STDC__
52334 # include <limits.h>
52335 #else
52336 # include <assert.h>
52337 #endif
52339 #undef $ac_func
52341 /* Override any gcc2 internal prototype to avoid an error. */
52342 #ifdef __cplusplus
52343 extern "C"
52345 #endif
52346 /* We use char because int might match the return type of a gcc2
52347 builtin and then its argument prototype would still apply. */
52348 char $ac_func ();
52349 /* The GNU C library defines this for functions which it implements
52350 to always fail with ENOSYS. Some functions are actually named
52351 something starting with __ and the normal name is an alias. */
52352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52353 choke me
52354 #else
52355 char (*f) () = $ac_func;
52356 #endif
52357 #ifdef __cplusplus
52359 #endif
52362 main ()
52364 return f != $ac_func;
52366 return 0;
52368 _ACEOF
52369 rm -f conftest.$ac_objext conftest$ac_exeext
52370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52371 (eval $ac_link) 2>conftest.er1
52372 ac_status=$?
52373 grep -v '^ *+' conftest.er1 >conftest.err
52374 rm -f conftest.er1
52375 cat conftest.err >&5
52376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52377 (exit $ac_status); } &&
52378 { ac_try='test -z "$ac_c_werror_flag"
52379 || test ! -s conftest.err'
52380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52381 (eval $ac_try) 2>&5
52382 ac_status=$?
52383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52384 (exit $ac_status); }; } &&
52385 { ac_try='test -s conftest$ac_exeext'
52386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52387 (eval $ac_try) 2>&5
52388 ac_status=$?
52389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52390 (exit $ac_status); }; }; then
52391 eval "$as_ac_var=yes"
52392 else
52393 echo "$as_me: failed program was:" >&5
52394 sed 's/^/| /' conftest.$ac_ext >&5
52396 eval "$as_ac_var=no"
52398 rm -f conftest.err conftest.$ac_objext \
52399 conftest$ac_exeext conftest.$ac_ext
52401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52403 if test `eval echo '${'$as_ac_var'}'` = yes; then
52404 cat >>confdefs.h <<_ACEOF
52405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52406 _ACEOF
52409 done
52414 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52415 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52416 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52417 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52418 echo $ECHO_N "(cached) $ECHO_C" >&6
52419 else
52423 ac_ext=cc
52424 ac_cpp='$CXXCPP $CPPFLAGS'
52425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52429 cat >conftest.$ac_ext <<_ACEOF
52430 /* confdefs.h. */
52431 _ACEOF
52432 cat confdefs.h >>conftest.$ac_ext
52433 cat >>conftest.$ac_ext <<_ACEOF
52434 /* end confdefs.h. */
52435 #include <stdlib.h>
52437 main ()
52439 strtof(0, 0);
52441 return 0;
52443 _ACEOF
52444 rm -f conftest.$ac_objext
52445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52446 (eval $ac_compile) 2>conftest.er1
52447 ac_status=$?
52448 grep -v '^ *+' conftest.er1 >conftest.err
52449 rm -f conftest.er1
52450 cat conftest.err >&5
52451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52452 (exit $ac_status); } &&
52453 { ac_try='test -z "$ac_cxx_werror_flag"
52454 || test ! -s conftest.err'
52455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52456 (eval $ac_try) 2>&5
52457 ac_status=$?
52458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52459 (exit $ac_status); }; } &&
52460 { ac_try='test -s conftest.$ac_objext'
52461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52462 (eval $ac_try) 2>&5
52463 ac_status=$?
52464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52465 (exit $ac_status); }; }; then
52466 glibcxx_cv_func_strtof_use=yes
52467 else
52468 echo "$as_me: failed program was:" >&5
52469 sed 's/^/| /' conftest.$ac_ext >&5
52471 glibcxx_cv_func_strtof_use=no
52473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52474 ac_ext=c
52475 ac_cpp='$CPP $CPPFLAGS'
52476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52485 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52486 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52488 for ac_func in strtof
52490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52491 echo "$as_me:$LINENO: checking for $ac_func" >&5
52492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52493 if eval "test \"\${$as_ac_var+set}\" = set"; then
52494 echo $ECHO_N "(cached) $ECHO_C" >&6
52495 else
52496 if test x$gcc_no_link = xyes; then
52497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52499 { (exit 1); exit 1; }; }
52501 cat >conftest.$ac_ext <<_ACEOF
52502 /* confdefs.h. */
52503 _ACEOF
52504 cat confdefs.h >>conftest.$ac_ext
52505 cat >>conftest.$ac_ext <<_ACEOF
52506 /* end confdefs.h. */
52507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52509 #define $ac_func innocuous_$ac_func
52511 /* System header to define __stub macros and hopefully few prototypes,
52512 which can conflict with char $ac_func (); below.
52513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52514 <limits.h> exists even on freestanding compilers. */
52516 #ifdef __STDC__
52517 # include <limits.h>
52518 #else
52519 # include <assert.h>
52520 #endif
52522 #undef $ac_func
52524 /* Override any gcc2 internal prototype to avoid an error. */
52525 #ifdef __cplusplus
52526 extern "C"
52528 #endif
52529 /* We use char because int might match the return type of a gcc2
52530 builtin and then its argument prototype would still apply. */
52531 char $ac_func ();
52532 /* The GNU C library defines this for functions which it implements
52533 to always fail with ENOSYS. Some functions are actually named
52534 something starting with __ and the normal name is an alias. */
52535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52536 choke me
52537 #else
52538 char (*f) () = $ac_func;
52539 #endif
52540 #ifdef __cplusplus
52542 #endif
52545 main ()
52547 return f != $ac_func;
52549 return 0;
52551 _ACEOF
52552 rm -f conftest.$ac_objext conftest$ac_exeext
52553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52554 (eval $ac_link) 2>conftest.er1
52555 ac_status=$?
52556 grep -v '^ *+' conftest.er1 >conftest.err
52557 rm -f conftest.er1
52558 cat conftest.err >&5
52559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52560 (exit $ac_status); } &&
52561 { ac_try='test -z "$ac_c_werror_flag"
52562 || test ! -s conftest.err'
52563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52564 (eval $ac_try) 2>&5
52565 ac_status=$?
52566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52567 (exit $ac_status); }; } &&
52568 { ac_try='test -s conftest$ac_exeext'
52569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52570 (eval $ac_try) 2>&5
52571 ac_status=$?
52572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52573 (exit $ac_status); }; }; then
52574 eval "$as_ac_var=yes"
52575 else
52576 echo "$as_me: failed program was:" >&5
52577 sed 's/^/| /' conftest.$ac_ext >&5
52579 eval "$as_ac_var=no"
52581 rm -f conftest.err conftest.$ac_objext \
52582 conftest$ac_exeext conftest.$ac_ext
52584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52586 if test `eval echo '${'$as_ac_var'}'` = yes; then
52587 cat >>confdefs.h <<_ACEOF
52588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52589 _ACEOF
52592 done
52597 CXXFLAGS="$ac_save_CXXFLAGS"
52600 # For showmanyc_helper().
52603 for ac_header in sys/ioctl.h sys/filio.h
52605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52607 echo "$as_me:$LINENO: checking for $ac_header" >&5
52608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52610 echo $ECHO_N "(cached) $ECHO_C" >&6
52612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52614 else
52615 # Is the header compilable?
52616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52618 cat >conftest.$ac_ext <<_ACEOF
52619 /* confdefs.h. */
52620 _ACEOF
52621 cat confdefs.h >>conftest.$ac_ext
52622 cat >>conftest.$ac_ext <<_ACEOF
52623 /* end confdefs.h. */
52624 $ac_includes_default
52625 #include <$ac_header>
52626 _ACEOF
52627 rm -f conftest.$ac_objext
52628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52629 (eval $ac_compile) 2>conftest.er1
52630 ac_status=$?
52631 grep -v '^ *+' conftest.er1 >conftest.err
52632 rm -f conftest.er1
52633 cat conftest.err >&5
52634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52635 (exit $ac_status); } &&
52636 { ac_try='test -z "$ac_c_werror_flag"
52637 || test ! -s conftest.err'
52638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52639 (eval $ac_try) 2>&5
52640 ac_status=$?
52641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52642 (exit $ac_status); }; } &&
52643 { ac_try='test -s conftest.$ac_objext'
52644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52645 (eval $ac_try) 2>&5
52646 ac_status=$?
52647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52648 (exit $ac_status); }; }; then
52649 ac_header_compiler=yes
52650 else
52651 echo "$as_me: failed program was:" >&5
52652 sed 's/^/| /' conftest.$ac_ext >&5
52654 ac_header_compiler=no
52656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52658 echo "${ECHO_T}$ac_header_compiler" >&6
52660 # Is the header present?
52661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52663 cat >conftest.$ac_ext <<_ACEOF
52664 /* confdefs.h. */
52665 _ACEOF
52666 cat confdefs.h >>conftest.$ac_ext
52667 cat >>conftest.$ac_ext <<_ACEOF
52668 /* end confdefs.h. */
52669 #include <$ac_header>
52670 _ACEOF
52671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52673 ac_status=$?
52674 grep -v '^ *+' conftest.er1 >conftest.err
52675 rm -f conftest.er1
52676 cat conftest.err >&5
52677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52678 (exit $ac_status); } >/dev/null; then
52679 if test -s conftest.err; then
52680 ac_cpp_err=$ac_c_preproc_warn_flag
52681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52682 else
52683 ac_cpp_err=
52685 else
52686 ac_cpp_err=yes
52688 if test -z "$ac_cpp_err"; then
52689 ac_header_preproc=yes
52690 else
52691 echo "$as_me: failed program was:" >&5
52692 sed 's/^/| /' conftest.$ac_ext >&5
52694 ac_header_preproc=no
52696 rm -f conftest.err conftest.$ac_ext
52697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52698 echo "${ECHO_T}$ac_header_preproc" >&6
52700 # So? What about this header?
52701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52702 yes:no: )
52703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52707 ac_header_preproc=yes
52709 no:yes:* )
52710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52723 cat <<\_ASBOX
52724 ## ----------------------------------------- ##
52725 ## Report this to the package-unused lists. ##
52726 ## ----------------------------------------- ##
52727 _ASBOX
52729 sed "s/^/$as_me: WARNING: /" >&2
52731 esac
52732 echo "$as_me:$LINENO: checking for $ac_header" >&5
52733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52735 echo $ECHO_N "(cached) $ECHO_C" >&6
52736 else
52737 eval "$as_ac_Header=\$ac_header_preproc"
52739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52744 cat >>confdefs.h <<_ACEOF
52745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52746 _ACEOF
52750 done
52753 if test "${glibcxx_cv_POLL+set}" = set; then
52754 echo $ECHO_N "(cached) $ECHO_C" >&6
52755 else
52757 if test x$gcc_no_link = xyes; then
52758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52760 { (exit 1); exit 1; }; }
52762 cat >conftest.$ac_ext <<_ACEOF
52763 /* confdefs.h. */
52764 _ACEOF
52765 cat confdefs.h >>conftest.$ac_ext
52766 cat >>conftest.$ac_ext <<_ACEOF
52767 /* end confdefs.h. */
52768 #include <poll.h>
52770 main ()
52772 struct pollfd pfd[1];
52773 pfd[0].events = POLLIN;
52774 poll(pfd, 1, 0);
52776 return 0;
52778 _ACEOF
52779 rm -f conftest.$ac_objext conftest$ac_exeext
52780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52781 (eval $ac_link) 2>conftest.er1
52782 ac_status=$?
52783 grep -v '^ *+' conftest.er1 >conftest.err
52784 rm -f conftest.er1
52785 cat conftest.err >&5
52786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52787 (exit $ac_status); } &&
52788 { ac_try='test -z "$ac_c_werror_flag"
52789 || test ! -s conftest.err'
52790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52791 (eval $ac_try) 2>&5
52792 ac_status=$?
52793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52794 (exit $ac_status); }; } &&
52795 { ac_try='test -s conftest$ac_exeext'
52796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52797 (eval $ac_try) 2>&5
52798 ac_status=$?
52799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52800 (exit $ac_status); }; }; then
52801 glibcxx_cv_POLL=yes
52802 else
52803 echo "$as_me: failed program was:" >&5
52804 sed 's/^/| /' conftest.$ac_ext >&5
52806 glibcxx_cv_POLL=no
52808 rm -f conftest.err conftest.$ac_objext \
52809 conftest$ac_exeext conftest.$ac_ext
52813 if test $glibcxx_cv_POLL = yes; then
52814 cat >>confdefs.h <<\_ACEOF
52815 #define HAVE_POLL 1
52816 _ACEOF
52821 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52822 echo $ECHO_N "(cached) $ECHO_C" >&6
52823 else
52825 if test x$gcc_no_link = xyes; then
52826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52828 { (exit 1); exit 1; }; }
52830 cat >conftest.$ac_ext <<_ACEOF
52831 /* confdefs.h. */
52832 _ACEOF
52833 cat confdefs.h >>conftest.$ac_ext
52834 cat >>conftest.$ac_ext <<_ACEOF
52835 /* end confdefs.h. */
52836 #include <sys/stat.h>
52838 main ()
52840 struct stat buffer;
52841 fstat(0, &buffer);
52842 S_ISREG(buffer.st_mode);
52844 return 0;
52846 _ACEOF
52847 rm -f conftest.$ac_objext conftest$ac_exeext
52848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52849 (eval $ac_link) 2>conftest.er1
52850 ac_status=$?
52851 grep -v '^ *+' conftest.er1 >conftest.err
52852 rm -f conftest.er1
52853 cat conftest.err >&5
52854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52855 (exit $ac_status); } &&
52856 { ac_try='test -z "$ac_c_werror_flag"
52857 || test ! -s conftest.err'
52858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52859 (eval $ac_try) 2>&5
52860 ac_status=$?
52861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52862 (exit $ac_status); }; } &&
52863 { ac_try='test -s conftest$ac_exeext'
52864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52865 (eval $ac_try) 2>&5
52866 ac_status=$?
52867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52868 (exit $ac_status); }; }; then
52869 glibcxx_cv_S_ISREG=yes
52870 else
52871 echo "$as_me: failed program was:" >&5
52872 sed 's/^/| /' conftest.$ac_ext >&5
52874 glibcxx_cv_S_ISREG=no
52876 rm -f conftest.err conftest.$ac_objext \
52877 conftest$ac_exeext conftest.$ac_ext
52881 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52882 echo $ECHO_N "(cached) $ECHO_C" >&6
52883 else
52885 if test x$gcc_no_link = xyes; then
52886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52888 { (exit 1); exit 1; }; }
52890 cat >conftest.$ac_ext <<_ACEOF
52891 /* confdefs.h. */
52892 _ACEOF
52893 cat confdefs.h >>conftest.$ac_ext
52894 cat >>conftest.$ac_ext <<_ACEOF
52895 /* end confdefs.h. */
52896 #include <sys/stat.h>
52898 main ()
52900 struct stat buffer;
52901 fstat(0, &buffer);
52902 S_IFREG & buffer.st_mode;
52904 return 0;
52906 _ACEOF
52907 rm -f conftest.$ac_objext conftest$ac_exeext
52908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52909 (eval $ac_link) 2>conftest.er1
52910 ac_status=$?
52911 grep -v '^ *+' conftest.er1 >conftest.err
52912 rm -f conftest.er1
52913 cat conftest.err >&5
52914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52915 (exit $ac_status); } &&
52916 { ac_try='test -z "$ac_c_werror_flag"
52917 || test ! -s conftest.err'
52918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52919 (eval $ac_try) 2>&5
52920 ac_status=$?
52921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52922 (exit $ac_status); }; } &&
52923 { ac_try='test -s conftest$ac_exeext'
52924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52925 (eval $ac_try) 2>&5
52926 ac_status=$?
52927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52928 (exit $ac_status); }; }; then
52929 glibcxx_cv_S_IFREG=yes
52930 else
52931 echo "$as_me: failed program was:" >&5
52932 sed 's/^/| /' conftest.$ac_ext >&5
52934 glibcxx_cv_S_IFREG=no
52936 rm -f conftest.err conftest.$ac_objext \
52937 conftest$ac_exeext conftest.$ac_ext
52941 if test $glibcxx_cv_S_ISREG = yes; then
52942 cat >>confdefs.h <<\_ACEOF
52943 #define HAVE_S_ISREG 1
52944 _ACEOF
52946 elif test $glibcxx_cv_S_IFREG = yes; then
52947 cat >>confdefs.h <<\_ACEOF
52948 #define HAVE_S_IFREG 1
52949 _ACEOF
52954 # For xsputn_2().
52956 for ac_header in sys/uio.h
52958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52960 echo "$as_me:$LINENO: checking for $ac_header" >&5
52961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52963 echo $ECHO_N "(cached) $ECHO_C" >&6
52965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52967 else
52968 # Is the header compilable?
52969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52971 cat >conftest.$ac_ext <<_ACEOF
52972 /* confdefs.h. */
52973 _ACEOF
52974 cat confdefs.h >>conftest.$ac_ext
52975 cat >>conftest.$ac_ext <<_ACEOF
52976 /* end confdefs.h. */
52977 $ac_includes_default
52978 #include <$ac_header>
52979 _ACEOF
52980 rm -f conftest.$ac_objext
52981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52982 (eval $ac_compile) 2>conftest.er1
52983 ac_status=$?
52984 grep -v '^ *+' conftest.er1 >conftest.err
52985 rm -f conftest.er1
52986 cat conftest.err >&5
52987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52988 (exit $ac_status); } &&
52989 { ac_try='test -z "$ac_c_werror_flag"
52990 || test ! -s conftest.err'
52991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52992 (eval $ac_try) 2>&5
52993 ac_status=$?
52994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52995 (exit $ac_status); }; } &&
52996 { ac_try='test -s conftest.$ac_objext'
52997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52998 (eval $ac_try) 2>&5
52999 ac_status=$?
53000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53001 (exit $ac_status); }; }; then
53002 ac_header_compiler=yes
53003 else
53004 echo "$as_me: failed program was:" >&5
53005 sed 's/^/| /' conftest.$ac_ext >&5
53007 ac_header_compiler=no
53009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53011 echo "${ECHO_T}$ac_header_compiler" >&6
53013 # Is the header present?
53014 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53015 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53016 cat >conftest.$ac_ext <<_ACEOF
53017 /* confdefs.h. */
53018 _ACEOF
53019 cat confdefs.h >>conftest.$ac_ext
53020 cat >>conftest.$ac_ext <<_ACEOF
53021 /* end confdefs.h. */
53022 #include <$ac_header>
53023 _ACEOF
53024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53026 ac_status=$?
53027 grep -v '^ *+' conftest.er1 >conftest.err
53028 rm -f conftest.er1
53029 cat conftest.err >&5
53030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53031 (exit $ac_status); } >/dev/null; then
53032 if test -s conftest.err; then
53033 ac_cpp_err=$ac_c_preproc_warn_flag
53034 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53035 else
53036 ac_cpp_err=
53038 else
53039 ac_cpp_err=yes
53041 if test -z "$ac_cpp_err"; then
53042 ac_header_preproc=yes
53043 else
53044 echo "$as_me: failed program was:" >&5
53045 sed 's/^/| /' conftest.$ac_ext >&5
53047 ac_header_preproc=no
53049 rm -f conftest.err conftest.$ac_ext
53050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53051 echo "${ECHO_T}$ac_header_preproc" >&6
53053 # So? What about this header?
53054 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53055 yes:no: )
53056 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53057 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53059 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53060 ac_header_preproc=yes
53062 no:yes:* )
53063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53067 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53068 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53069 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53070 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53073 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53074 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53076 cat <<\_ASBOX
53077 ## ----------------------------------------- ##
53078 ## Report this to the package-unused lists. ##
53079 ## ----------------------------------------- ##
53080 _ASBOX
53082 sed "s/^/$as_me: WARNING: /" >&2
53084 esac
53085 echo "$as_me:$LINENO: checking for $ac_header" >&5
53086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53088 echo $ECHO_N "(cached) $ECHO_C" >&6
53089 else
53090 eval "$as_ac_Header=\$ac_header_preproc"
53092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53097 cat >>confdefs.h <<_ACEOF
53098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53099 _ACEOF
53103 done
53106 if test "${glibcxx_cv_WRITEV+set}" = set; then
53107 echo $ECHO_N "(cached) $ECHO_C" >&6
53108 else
53110 if test x$gcc_no_link = xyes; then
53111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53113 { (exit 1); exit 1; }; }
53115 cat >conftest.$ac_ext <<_ACEOF
53116 /* confdefs.h. */
53117 _ACEOF
53118 cat confdefs.h >>conftest.$ac_ext
53119 cat >>conftest.$ac_ext <<_ACEOF
53120 /* end confdefs.h. */
53121 #include <sys/uio.h>
53123 main ()
53125 struct iovec iov[2];
53126 writev(0, iov, 0);
53128 return 0;
53130 _ACEOF
53131 rm -f conftest.$ac_objext conftest$ac_exeext
53132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53133 (eval $ac_link) 2>conftest.er1
53134 ac_status=$?
53135 grep -v '^ *+' conftest.er1 >conftest.err
53136 rm -f conftest.er1
53137 cat conftest.err >&5
53138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53139 (exit $ac_status); } &&
53140 { ac_try='test -z "$ac_c_werror_flag"
53141 || test ! -s conftest.err'
53142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53143 (eval $ac_try) 2>&5
53144 ac_status=$?
53145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53146 (exit $ac_status); }; } &&
53147 { ac_try='test -s conftest$ac_exeext'
53148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53149 (eval $ac_try) 2>&5
53150 ac_status=$?
53151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53152 (exit $ac_status); }; }; then
53153 glibcxx_cv_WRITEV=yes
53154 else
53155 echo "$as_me: failed program was:" >&5
53156 sed 's/^/| /' conftest.$ac_ext >&5
53158 glibcxx_cv_WRITEV=no
53160 rm -f conftest.err conftest.$ac_objext \
53161 conftest$ac_exeext conftest.$ac_ext
53165 if test $glibcxx_cv_WRITEV = yes; then
53166 cat >>confdefs.h <<\_ACEOF
53167 #define HAVE_WRITEV 1
53168 _ACEOF
53173 cat >>confdefs.h <<\_ACEOF
53174 #define HAVE_LC_MESSAGES 1
53175 _ACEOF
53178 cat >conftest.$ac_ext <<_ACEOF
53179 /* confdefs.h. */
53180 _ACEOF
53181 cat confdefs.h >>conftest.$ac_ext
53182 cat >>conftest.$ac_ext <<_ACEOF
53183 /* end confdefs.h. */
53184 #include <setjmp.h>
53186 main ()
53188 sigjmp_buf env;
53189 while (! sigsetjmp (env, 1))
53190 siglongjmp (env, 1);
53193 return 0;
53195 _ACEOF
53196 rm -f conftest.$ac_objext
53197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53198 (eval $ac_compile) 2>conftest.er1
53199 ac_status=$?
53200 grep -v '^ *+' conftest.er1 >conftest.err
53201 rm -f conftest.er1
53202 cat conftest.err >&5
53203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53204 (exit $ac_status); } &&
53205 { ac_try='test -z "$ac_c_werror_flag"
53206 || test ! -s conftest.err'
53207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53208 (eval $ac_try) 2>&5
53209 ac_status=$?
53210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53211 (exit $ac_status); }; } &&
53212 { ac_try='test -s conftest.$ac_objext'
53213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53214 (eval $ac_try) 2>&5
53215 ac_status=$?
53216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53217 (exit $ac_status); }; }; then
53219 cat >>confdefs.h <<\_ACEOF
53220 #define HAVE_SIGSETJMP 1
53221 _ACEOF
53223 else
53224 echo "$as_me: failed program was:" >&5
53225 sed 's/^/| /' conftest.$ac_ext >&5
53228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53230 cat >>confdefs.h <<\_ACEOF
53231 #define HAVE_MMAP 1
53232 _ACEOF
53236 *djgpp)
53257 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53258 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53259 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53260 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53264 echo "$as_me:$LINENO: checking for $ac_header" >&5
53265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53267 echo $ECHO_N "(cached) $ECHO_C" >&6
53269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53271 else
53272 # Is the header compilable?
53273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53275 cat >conftest.$ac_ext <<_ACEOF
53276 /* confdefs.h. */
53277 _ACEOF
53278 cat confdefs.h >>conftest.$ac_ext
53279 cat >>conftest.$ac_ext <<_ACEOF
53280 /* end confdefs.h. */
53281 $ac_includes_default
53282 #include <$ac_header>
53283 _ACEOF
53284 rm -f conftest.$ac_objext
53285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53286 (eval $ac_compile) 2>conftest.er1
53287 ac_status=$?
53288 grep -v '^ *+' conftest.er1 >conftest.err
53289 rm -f conftest.er1
53290 cat conftest.err >&5
53291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53292 (exit $ac_status); } &&
53293 { ac_try='test -z "$ac_c_werror_flag"
53294 || test ! -s conftest.err'
53295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53296 (eval $ac_try) 2>&5
53297 ac_status=$?
53298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53299 (exit $ac_status); }; } &&
53300 { ac_try='test -s conftest.$ac_objext'
53301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53302 (eval $ac_try) 2>&5
53303 ac_status=$?
53304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53305 (exit $ac_status); }; }; then
53306 ac_header_compiler=yes
53307 else
53308 echo "$as_me: failed program was:" >&5
53309 sed 's/^/| /' conftest.$ac_ext >&5
53311 ac_header_compiler=no
53313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53315 echo "${ECHO_T}$ac_header_compiler" >&6
53317 # Is the header present?
53318 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53320 cat >conftest.$ac_ext <<_ACEOF
53321 /* confdefs.h. */
53322 _ACEOF
53323 cat confdefs.h >>conftest.$ac_ext
53324 cat >>conftest.$ac_ext <<_ACEOF
53325 /* end confdefs.h. */
53326 #include <$ac_header>
53327 _ACEOF
53328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53330 ac_status=$?
53331 grep -v '^ *+' conftest.er1 >conftest.err
53332 rm -f conftest.er1
53333 cat conftest.err >&5
53334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53335 (exit $ac_status); } >/dev/null; then
53336 if test -s conftest.err; then
53337 ac_cpp_err=$ac_c_preproc_warn_flag
53338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53339 else
53340 ac_cpp_err=
53342 else
53343 ac_cpp_err=yes
53345 if test -z "$ac_cpp_err"; then
53346 ac_header_preproc=yes
53347 else
53348 echo "$as_me: failed program was:" >&5
53349 sed 's/^/| /' conftest.$ac_ext >&5
53351 ac_header_preproc=no
53353 rm -f conftest.err conftest.$ac_ext
53354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53355 echo "${ECHO_T}$ac_header_preproc" >&6
53357 # So? What about this header?
53358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53359 yes:no: )
53360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53364 ac_header_preproc=yes
53366 no:yes:* )
53367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53380 cat <<\_ASBOX
53381 ## ----------------------------------------- ##
53382 ## Report this to the package-unused lists. ##
53383 ## ----------------------------------------- ##
53384 _ASBOX
53386 sed "s/^/$as_me: WARNING: /" >&2
53388 esac
53389 echo "$as_me:$LINENO: checking for $ac_header" >&5
53390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53392 echo $ECHO_N "(cached) $ECHO_C" >&6
53393 else
53394 eval "$as_ac_Header=\$ac_header_preproc"
53396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53401 cat >>confdefs.h <<_ACEOF
53402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53403 _ACEOF
53407 done
53410 # All these tests are for C++; save the language and the compiler flags.
53411 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53412 # found in GLIBCXX_CONFIGURE.
53415 ac_ext=cc
53416 ac_cpp='$CXXCPP $CPPFLAGS'
53417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53421 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53422 ac_save_CXXFLAGS="$CXXFLAGS"
53424 # Check for maintainer-mode bits.
53425 if test x"$USE_MAINTAINER_MODE" = xno; then
53426 WERROR=''
53427 else
53428 WERROR='-Werror'
53431 # Check for -ffunction-sections -fdata-sections
53432 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53433 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53434 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53435 cat >conftest.$ac_ext <<_ACEOF
53436 /* confdefs.h. */
53437 _ACEOF
53438 cat confdefs.h >>conftest.$ac_ext
53439 cat >>conftest.$ac_ext <<_ACEOF
53440 /* end confdefs.h. */
53443 main ()
53445 int foo;
53447 return 0;
53449 _ACEOF
53450 rm -f conftest.$ac_objext
53451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53452 (eval $ac_compile) 2>conftest.er1
53453 ac_status=$?
53454 grep -v '^ *+' conftest.er1 >conftest.err
53455 rm -f conftest.er1
53456 cat conftest.err >&5
53457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53458 (exit $ac_status); } &&
53459 { ac_try='test -z "$ac_cxx_werror_flag"
53460 || test ! -s conftest.err'
53461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53462 (eval $ac_try) 2>&5
53463 ac_status=$?
53464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53465 (exit $ac_status); }; } &&
53466 { ac_try='test -s conftest.$ac_objext'
53467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53468 (eval $ac_try) 2>&5
53469 ac_status=$?
53470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53471 (exit $ac_status); }; }; then
53472 ac_fdsections=yes
53473 else
53474 echo "$as_me: failed program was:" >&5
53475 sed 's/^/| /' conftest.$ac_ext >&5
53477 ac_fdsections=no
53479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53480 if test "$ac_test_CXXFLAGS" = set; then
53481 CXXFLAGS="$ac_save_CXXFLAGS"
53482 else
53483 # this is the suspicious part
53484 CXXFLAGS=''
53486 if test x"$ac_fdsections" = x"yes"; then
53487 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53489 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53490 echo "${ECHO_T}$ac_fdsections" >&6
53492 ac_ext=c
53493 ac_cpp='$CPP $CPPFLAGS'
53494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53502 # If we're not using GNU ld, then there's no point in even trying these
53503 # tests. Check for that first. We should have already tested for gld
53504 # by now (in libtool), but require it now just to be safe...
53505 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53506 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53510 # The name set by libtool depends on the version of libtool. Shame on us
53511 # for depending on an impl detail, but c'est la vie. Older versions used
53512 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53513 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53514 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53515 # set (hence we're using an older libtool), then set it.
53516 if test x${with_gnu_ld+set} != xset; then
53517 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53518 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53519 with_gnu_ld=no
53520 else
53521 with_gnu_ld=$ac_cv_prog_gnu_ld
53525 # Start by getting the version number. I think the libtool test already
53526 # does some of this, but throws away the result.
53528 ldver=`$LD --version 2>/dev/null | head -1 | \
53529 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53531 glibcxx_gnu_ld_version=`echo $ldver | \
53532 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53534 # Set --gc-sections.
53535 if test "$with_gnu_ld" = "notbroken"; then
53536 # GNU ld it is! Joy and bunny rabbits!
53538 # All these tests are for C++; save the language and the compiler flags.
53539 # Need to do this so that g++ won't try to link in libstdc++
53540 ac_test_CFLAGS="${CFLAGS+set}"
53541 ac_save_CFLAGS="$CFLAGS"
53542 CFLAGS='-x c++ -Wl,--gc-sections'
53544 # Check for -Wl,--gc-sections
53545 # XXX This test is broken at the moment, as symbols required for linking
53546 # are now in libsupc++ (not built yet). In addition, this test has
53547 # cored on solaris in the past. In addition, --gc-sections doesn't
53548 # really work at the moment (keeps on discarding used sections, first
53549 # .eh_frame and now some of the glibc sections for iconv).
53550 # Bzzzzt. Thanks for playing, maybe next time.
53551 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53552 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53553 if test "$cross_compiling" = yes; then
53554 ac_sectionLDflags=yes
53555 else
53556 cat >conftest.$ac_ext <<_ACEOF
53557 /* confdefs.h. */
53558 _ACEOF
53559 cat confdefs.h >>conftest.$ac_ext
53560 cat >>conftest.$ac_ext <<_ACEOF
53561 /* end confdefs.h. */
53563 int main(void)
53565 try { throw 1; }
53566 catch (...) { };
53567 return 0;
53570 _ACEOF
53571 rm -f conftest$ac_exeext
53572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53573 (eval $ac_link) 2>&5
53574 ac_status=$?
53575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53578 (eval $ac_try) 2>&5
53579 ac_status=$?
53580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53581 (exit $ac_status); }; }; then
53582 ac_sectionLDflags=yes
53583 else
53584 echo "$as_me: program exited with status $ac_status" >&5
53585 echo "$as_me: failed program was:" >&5
53586 sed 's/^/| /' conftest.$ac_ext >&5
53588 ( exit $ac_status )
53589 ac_sectionLDflags=no
53591 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53593 if test "$ac_test_CFLAGS" = set; then
53594 CFLAGS="$ac_save_CFLAGS"
53595 else
53596 # this is the suspicious part
53597 CFLAGS=''
53599 if test "$ac_sectionLDflags" = "yes"; then
53600 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53602 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53603 echo "${ECHO_T}$ac_sectionLDflags" >&6
53606 # Set linker optimization flags.
53607 if test x"$with_gnu_ld" = x"yes"; then
53608 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53615 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53616 ac_save_CXXFLAGS="$CXXFLAGS"
53617 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53619 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53620 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53621 if test "${ac_cv_lib_m_sin+set}" = set; then
53622 echo $ECHO_N "(cached) $ECHO_C" >&6
53623 else
53624 ac_check_lib_save_LIBS=$LIBS
53625 LIBS="-lm $LIBS"
53626 if test x$gcc_no_link = xyes; then
53627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53629 { (exit 1); exit 1; }; }
53631 cat >conftest.$ac_ext <<_ACEOF
53632 /* confdefs.h. */
53633 _ACEOF
53634 cat confdefs.h >>conftest.$ac_ext
53635 cat >>conftest.$ac_ext <<_ACEOF
53636 /* end confdefs.h. */
53638 /* Override any gcc2 internal prototype to avoid an error. */
53639 #ifdef __cplusplus
53640 extern "C"
53641 #endif
53642 /* We use char because int might match the return type of a gcc2
53643 builtin and then its argument prototype would still apply. */
53644 char sin ();
53646 main ()
53648 sin ();
53650 return 0;
53652 _ACEOF
53653 rm -f conftest.$ac_objext conftest$ac_exeext
53654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53655 (eval $ac_link) 2>conftest.er1
53656 ac_status=$?
53657 grep -v '^ *+' conftest.er1 >conftest.err
53658 rm -f conftest.er1
53659 cat conftest.err >&5
53660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661 (exit $ac_status); } &&
53662 { ac_try='test -z "$ac_c_werror_flag"
53663 || test ! -s conftest.err'
53664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53665 (eval $ac_try) 2>&5
53666 ac_status=$?
53667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53668 (exit $ac_status); }; } &&
53669 { ac_try='test -s conftest$ac_exeext'
53670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53671 (eval $ac_try) 2>&5
53672 ac_status=$?
53673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53674 (exit $ac_status); }; }; then
53675 ac_cv_lib_m_sin=yes
53676 else
53677 echo "$as_me: failed program was:" >&5
53678 sed 's/^/| /' conftest.$ac_ext >&5
53680 ac_cv_lib_m_sin=no
53682 rm -f conftest.err conftest.$ac_objext \
53683 conftest$ac_exeext conftest.$ac_ext
53684 LIBS=$ac_check_lib_save_LIBS
53686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53687 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53688 if test $ac_cv_lib_m_sin = yes; then
53689 libm="-lm"
53692 ac_save_LIBS="$LIBS"
53693 LIBS="$LIBS $libm"
53697 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53698 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53699 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53700 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53701 echo $ECHO_N "(cached) $ECHO_C" >&6
53702 else
53706 ac_ext=cc
53707 ac_cpp='$CXXCPP $CPPFLAGS'
53708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53712 cat >conftest.$ac_ext <<_ACEOF
53713 /* confdefs.h. */
53714 _ACEOF
53715 cat confdefs.h >>conftest.$ac_ext
53716 cat >>conftest.$ac_ext <<_ACEOF
53717 /* end confdefs.h. */
53718 #include <math.h>
53719 #ifdef HAVE_IEEEFP_H
53720 #include <ieeefp.h>
53721 #endif
53724 main ()
53726 isinf(0);
53728 return 0;
53730 _ACEOF
53731 rm -f conftest.$ac_objext
53732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53733 (eval $ac_compile) 2>conftest.er1
53734 ac_status=$?
53735 grep -v '^ *+' conftest.er1 >conftest.err
53736 rm -f conftest.er1
53737 cat conftest.err >&5
53738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53739 (exit $ac_status); } &&
53740 { ac_try='test -z "$ac_cxx_werror_flag"
53741 || test ! -s conftest.err'
53742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53743 (eval $ac_try) 2>&5
53744 ac_status=$?
53745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53746 (exit $ac_status); }; } &&
53747 { ac_try='test -s conftest.$ac_objext'
53748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53749 (eval $ac_try) 2>&5
53750 ac_status=$?
53751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53752 (exit $ac_status); }; }; then
53753 glibcxx_cv_func_isinf_use=yes
53754 else
53755 echo "$as_me: failed program was:" >&5
53756 sed 's/^/| /' conftest.$ac_ext >&5
53758 glibcxx_cv_func_isinf_use=no
53760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53761 ac_ext=c
53762 ac_cpp='$CPP $CPPFLAGS'
53763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53772 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53774 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53776 for ac_func in isinf
53778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53779 echo "$as_me:$LINENO: checking for $ac_func" >&5
53780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53781 if eval "test \"\${$as_ac_var+set}\" = set"; then
53782 echo $ECHO_N "(cached) $ECHO_C" >&6
53783 else
53784 if test x$gcc_no_link = xyes; then
53785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53787 { (exit 1); exit 1; }; }
53789 cat >conftest.$ac_ext <<_ACEOF
53790 /* confdefs.h. */
53791 _ACEOF
53792 cat confdefs.h >>conftest.$ac_ext
53793 cat >>conftest.$ac_ext <<_ACEOF
53794 /* end confdefs.h. */
53795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53797 #define $ac_func innocuous_$ac_func
53799 /* System header to define __stub macros and hopefully few prototypes,
53800 which can conflict with char $ac_func (); below.
53801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53802 <limits.h> exists even on freestanding compilers. */
53804 #ifdef __STDC__
53805 # include <limits.h>
53806 #else
53807 # include <assert.h>
53808 #endif
53810 #undef $ac_func
53812 /* Override any gcc2 internal prototype to avoid an error. */
53813 #ifdef __cplusplus
53814 extern "C"
53816 #endif
53817 /* We use char because int might match the return type of a gcc2
53818 builtin and then its argument prototype would still apply. */
53819 char $ac_func ();
53820 /* The GNU C library defines this for functions which it implements
53821 to always fail with ENOSYS. Some functions are actually named
53822 something starting with __ and the normal name is an alias. */
53823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53824 choke me
53825 #else
53826 char (*f) () = $ac_func;
53827 #endif
53828 #ifdef __cplusplus
53830 #endif
53833 main ()
53835 return f != $ac_func;
53837 return 0;
53839 _ACEOF
53840 rm -f conftest.$ac_objext conftest$ac_exeext
53841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53842 (eval $ac_link) 2>conftest.er1
53843 ac_status=$?
53844 grep -v '^ *+' conftest.er1 >conftest.err
53845 rm -f conftest.er1
53846 cat conftest.err >&5
53847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53848 (exit $ac_status); } &&
53849 { ac_try='test -z "$ac_c_werror_flag"
53850 || test ! -s conftest.err'
53851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53852 (eval $ac_try) 2>&5
53853 ac_status=$?
53854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53855 (exit $ac_status); }; } &&
53856 { ac_try='test -s conftest$ac_exeext'
53857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53858 (eval $ac_try) 2>&5
53859 ac_status=$?
53860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53861 (exit $ac_status); }; }; then
53862 eval "$as_ac_var=yes"
53863 else
53864 echo "$as_me: failed program was:" >&5
53865 sed 's/^/| /' conftest.$ac_ext >&5
53867 eval "$as_ac_var=no"
53869 rm -f conftest.err conftest.$ac_objext \
53870 conftest$ac_exeext conftest.$ac_ext
53872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53874 if test `eval echo '${'$as_ac_var'}'` = yes; then
53875 cat >>confdefs.h <<_ACEOF
53876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53877 _ACEOF
53880 done
53882 else
53884 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53885 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53886 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53887 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53888 echo $ECHO_N "(cached) $ECHO_C" >&6
53889 else
53893 ac_ext=cc
53894 ac_cpp='$CXXCPP $CPPFLAGS'
53895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53899 cat >conftest.$ac_ext <<_ACEOF
53900 /* confdefs.h. */
53901 _ACEOF
53902 cat confdefs.h >>conftest.$ac_ext
53903 cat >>conftest.$ac_ext <<_ACEOF
53904 /* end confdefs.h. */
53905 #include <math.h>
53906 #ifdef HAVE_IEEEFP_H
53907 #include <ieeefp.h>
53908 #endif
53911 main ()
53913 _isinf(0);
53915 return 0;
53917 _ACEOF
53918 rm -f conftest.$ac_objext
53919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53920 (eval $ac_compile) 2>conftest.er1
53921 ac_status=$?
53922 grep -v '^ *+' conftest.er1 >conftest.err
53923 rm -f conftest.er1
53924 cat conftest.err >&5
53925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53926 (exit $ac_status); } &&
53927 { ac_try='test -z "$ac_cxx_werror_flag"
53928 || test ! -s conftest.err'
53929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53930 (eval $ac_try) 2>&5
53931 ac_status=$?
53932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53933 (exit $ac_status); }; } &&
53934 { ac_try='test -s conftest.$ac_objext'
53935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53936 (eval $ac_try) 2>&5
53937 ac_status=$?
53938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53939 (exit $ac_status); }; }; then
53940 glibcxx_cv_func__isinf_use=yes
53941 else
53942 echo "$as_me: failed program was:" >&5
53943 sed 's/^/| /' conftest.$ac_ext >&5
53945 glibcxx_cv_func__isinf_use=no
53947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53948 ac_ext=c
53949 ac_cpp='$CPP $CPPFLAGS'
53950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53959 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53961 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53963 for ac_func in _isinf
53965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53966 echo "$as_me:$LINENO: checking for $ac_func" >&5
53967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53968 if eval "test \"\${$as_ac_var+set}\" = set"; then
53969 echo $ECHO_N "(cached) $ECHO_C" >&6
53970 else
53971 if test x$gcc_no_link = xyes; then
53972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53974 { (exit 1); exit 1; }; }
53976 cat >conftest.$ac_ext <<_ACEOF
53977 /* confdefs.h. */
53978 _ACEOF
53979 cat confdefs.h >>conftest.$ac_ext
53980 cat >>conftest.$ac_ext <<_ACEOF
53981 /* end confdefs.h. */
53982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53984 #define $ac_func innocuous_$ac_func
53986 /* System header to define __stub macros and hopefully few prototypes,
53987 which can conflict with char $ac_func (); below.
53988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53989 <limits.h> exists even on freestanding compilers. */
53991 #ifdef __STDC__
53992 # include <limits.h>
53993 #else
53994 # include <assert.h>
53995 #endif
53997 #undef $ac_func
53999 /* Override any gcc2 internal prototype to avoid an error. */
54000 #ifdef __cplusplus
54001 extern "C"
54003 #endif
54004 /* We use char because int might match the return type of a gcc2
54005 builtin and then its argument prototype would still apply. */
54006 char $ac_func ();
54007 /* The GNU C library defines this for functions which it implements
54008 to always fail with ENOSYS. Some functions are actually named
54009 something starting with __ and the normal name is an alias. */
54010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54011 choke me
54012 #else
54013 char (*f) () = $ac_func;
54014 #endif
54015 #ifdef __cplusplus
54017 #endif
54020 main ()
54022 return f != $ac_func;
54024 return 0;
54026 _ACEOF
54027 rm -f conftest.$ac_objext conftest$ac_exeext
54028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54029 (eval $ac_link) 2>conftest.er1
54030 ac_status=$?
54031 grep -v '^ *+' conftest.er1 >conftest.err
54032 rm -f conftest.er1
54033 cat conftest.err >&5
54034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54035 (exit $ac_status); } &&
54036 { ac_try='test -z "$ac_c_werror_flag"
54037 || test ! -s conftest.err'
54038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54039 (eval $ac_try) 2>&5
54040 ac_status=$?
54041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54042 (exit $ac_status); }; } &&
54043 { ac_try='test -s conftest$ac_exeext'
54044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54045 (eval $ac_try) 2>&5
54046 ac_status=$?
54047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54048 (exit $ac_status); }; }; then
54049 eval "$as_ac_var=yes"
54050 else
54051 echo "$as_me: failed program was:" >&5
54052 sed 's/^/| /' conftest.$ac_ext >&5
54054 eval "$as_ac_var=no"
54056 rm -f conftest.err conftest.$ac_objext \
54057 conftest$ac_exeext conftest.$ac_ext
54059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54061 if test `eval echo '${'$as_ac_var'}'` = yes; then
54062 cat >>confdefs.h <<_ACEOF
54063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54064 _ACEOF
54067 done
54074 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54075 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54076 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54077 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54078 echo $ECHO_N "(cached) $ECHO_C" >&6
54079 else
54083 ac_ext=cc
54084 ac_cpp='$CXXCPP $CPPFLAGS'
54085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54089 cat >conftest.$ac_ext <<_ACEOF
54090 /* confdefs.h. */
54091 _ACEOF
54092 cat confdefs.h >>conftest.$ac_ext
54093 cat >>conftest.$ac_ext <<_ACEOF
54094 /* end confdefs.h. */
54095 #include <math.h>
54096 #ifdef HAVE_IEEEFP_H
54097 #include <ieeefp.h>
54098 #endif
54101 main ()
54103 isnan(0);
54105 return 0;
54107 _ACEOF
54108 rm -f conftest.$ac_objext
54109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54110 (eval $ac_compile) 2>conftest.er1
54111 ac_status=$?
54112 grep -v '^ *+' conftest.er1 >conftest.err
54113 rm -f conftest.er1
54114 cat conftest.err >&5
54115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54116 (exit $ac_status); } &&
54117 { ac_try='test -z "$ac_cxx_werror_flag"
54118 || test ! -s conftest.err'
54119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54120 (eval $ac_try) 2>&5
54121 ac_status=$?
54122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54123 (exit $ac_status); }; } &&
54124 { ac_try='test -s conftest.$ac_objext'
54125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54126 (eval $ac_try) 2>&5
54127 ac_status=$?
54128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54129 (exit $ac_status); }; }; then
54130 glibcxx_cv_func_isnan_use=yes
54131 else
54132 echo "$as_me: failed program was:" >&5
54133 sed 's/^/| /' conftest.$ac_ext >&5
54135 glibcxx_cv_func_isnan_use=no
54137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54138 ac_ext=c
54139 ac_cpp='$CPP $CPPFLAGS'
54140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54149 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54151 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54153 for ac_func in isnan
54155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54156 echo "$as_me:$LINENO: checking for $ac_func" >&5
54157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54158 if eval "test \"\${$as_ac_var+set}\" = set"; then
54159 echo $ECHO_N "(cached) $ECHO_C" >&6
54160 else
54161 if test x$gcc_no_link = xyes; then
54162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54164 { (exit 1); exit 1; }; }
54166 cat >conftest.$ac_ext <<_ACEOF
54167 /* confdefs.h. */
54168 _ACEOF
54169 cat confdefs.h >>conftest.$ac_ext
54170 cat >>conftest.$ac_ext <<_ACEOF
54171 /* end confdefs.h. */
54172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54174 #define $ac_func innocuous_$ac_func
54176 /* System header to define __stub macros and hopefully few prototypes,
54177 which can conflict with char $ac_func (); below.
54178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54179 <limits.h> exists even on freestanding compilers. */
54181 #ifdef __STDC__
54182 # include <limits.h>
54183 #else
54184 # include <assert.h>
54185 #endif
54187 #undef $ac_func
54189 /* Override any gcc2 internal prototype to avoid an error. */
54190 #ifdef __cplusplus
54191 extern "C"
54193 #endif
54194 /* We use char because int might match the return type of a gcc2
54195 builtin and then its argument prototype would still apply. */
54196 char $ac_func ();
54197 /* The GNU C library defines this for functions which it implements
54198 to always fail with ENOSYS. Some functions are actually named
54199 something starting with __ and the normal name is an alias. */
54200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54201 choke me
54202 #else
54203 char (*f) () = $ac_func;
54204 #endif
54205 #ifdef __cplusplus
54207 #endif
54210 main ()
54212 return f != $ac_func;
54214 return 0;
54216 _ACEOF
54217 rm -f conftest.$ac_objext conftest$ac_exeext
54218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54219 (eval $ac_link) 2>conftest.er1
54220 ac_status=$?
54221 grep -v '^ *+' conftest.er1 >conftest.err
54222 rm -f conftest.er1
54223 cat conftest.err >&5
54224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54225 (exit $ac_status); } &&
54226 { ac_try='test -z "$ac_c_werror_flag"
54227 || test ! -s conftest.err'
54228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54229 (eval $ac_try) 2>&5
54230 ac_status=$?
54231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54232 (exit $ac_status); }; } &&
54233 { ac_try='test -s conftest$ac_exeext'
54234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54235 (eval $ac_try) 2>&5
54236 ac_status=$?
54237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54238 (exit $ac_status); }; }; then
54239 eval "$as_ac_var=yes"
54240 else
54241 echo "$as_me: failed program was:" >&5
54242 sed 's/^/| /' conftest.$ac_ext >&5
54244 eval "$as_ac_var=no"
54246 rm -f conftest.err conftest.$ac_objext \
54247 conftest$ac_exeext conftest.$ac_ext
54249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54251 if test `eval echo '${'$as_ac_var'}'` = yes; then
54252 cat >>confdefs.h <<_ACEOF
54253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54254 _ACEOF
54257 done
54259 else
54261 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54262 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54263 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54264 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54265 echo $ECHO_N "(cached) $ECHO_C" >&6
54266 else
54270 ac_ext=cc
54271 ac_cpp='$CXXCPP $CPPFLAGS'
54272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54276 cat >conftest.$ac_ext <<_ACEOF
54277 /* confdefs.h. */
54278 _ACEOF
54279 cat confdefs.h >>conftest.$ac_ext
54280 cat >>conftest.$ac_ext <<_ACEOF
54281 /* end confdefs.h. */
54282 #include <math.h>
54283 #ifdef HAVE_IEEEFP_H
54284 #include <ieeefp.h>
54285 #endif
54288 main ()
54290 _isnan(0);
54292 return 0;
54294 _ACEOF
54295 rm -f conftest.$ac_objext
54296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54297 (eval $ac_compile) 2>conftest.er1
54298 ac_status=$?
54299 grep -v '^ *+' conftest.er1 >conftest.err
54300 rm -f conftest.er1
54301 cat conftest.err >&5
54302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54303 (exit $ac_status); } &&
54304 { ac_try='test -z "$ac_cxx_werror_flag"
54305 || test ! -s conftest.err'
54306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54307 (eval $ac_try) 2>&5
54308 ac_status=$?
54309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54310 (exit $ac_status); }; } &&
54311 { ac_try='test -s conftest.$ac_objext'
54312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54313 (eval $ac_try) 2>&5
54314 ac_status=$?
54315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54316 (exit $ac_status); }; }; then
54317 glibcxx_cv_func__isnan_use=yes
54318 else
54319 echo "$as_me: failed program was:" >&5
54320 sed 's/^/| /' conftest.$ac_ext >&5
54322 glibcxx_cv_func__isnan_use=no
54324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54325 ac_ext=c
54326 ac_cpp='$CPP $CPPFLAGS'
54327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54336 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54338 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54340 for ac_func in _isnan
54342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54343 echo "$as_me:$LINENO: checking for $ac_func" >&5
54344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54345 if eval "test \"\${$as_ac_var+set}\" = set"; then
54346 echo $ECHO_N "(cached) $ECHO_C" >&6
54347 else
54348 if test x$gcc_no_link = xyes; then
54349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54351 { (exit 1); exit 1; }; }
54353 cat >conftest.$ac_ext <<_ACEOF
54354 /* confdefs.h. */
54355 _ACEOF
54356 cat confdefs.h >>conftest.$ac_ext
54357 cat >>conftest.$ac_ext <<_ACEOF
54358 /* end confdefs.h. */
54359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54361 #define $ac_func innocuous_$ac_func
54363 /* System header to define __stub macros and hopefully few prototypes,
54364 which can conflict with char $ac_func (); below.
54365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54366 <limits.h> exists even on freestanding compilers. */
54368 #ifdef __STDC__
54369 # include <limits.h>
54370 #else
54371 # include <assert.h>
54372 #endif
54374 #undef $ac_func
54376 /* Override any gcc2 internal prototype to avoid an error. */
54377 #ifdef __cplusplus
54378 extern "C"
54380 #endif
54381 /* We use char because int might match the return type of a gcc2
54382 builtin and then its argument prototype would still apply. */
54383 char $ac_func ();
54384 /* The GNU C library defines this for functions which it implements
54385 to always fail with ENOSYS. Some functions are actually named
54386 something starting with __ and the normal name is an alias. */
54387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54388 choke me
54389 #else
54390 char (*f) () = $ac_func;
54391 #endif
54392 #ifdef __cplusplus
54394 #endif
54397 main ()
54399 return f != $ac_func;
54401 return 0;
54403 _ACEOF
54404 rm -f conftest.$ac_objext conftest$ac_exeext
54405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54406 (eval $ac_link) 2>conftest.er1
54407 ac_status=$?
54408 grep -v '^ *+' conftest.er1 >conftest.err
54409 rm -f conftest.er1
54410 cat conftest.err >&5
54411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54412 (exit $ac_status); } &&
54413 { ac_try='test -z "$ac_c_werror_flag"
54414 || test ! -s conftest.err'
54415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54416 (eval $ac_try) 2>&5
54417 ac_status=$?
54418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54419 (exit $ac_status); }; } &&
54420 { ac_try='test -s conftest$ac_exeext'
54421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54422 (eval $ac_try) 2>&5
54423 ac_status=$?
54424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54425 (exit $ac_status); }; }; then
54426 eval "$as_ac_var=yes"
54427 else
54428 echo "$as_me: failed program was:" >&5
54429 sed 's/^/| /' conftest.$ac_ext >&5
54431 eval "$as_ac_var=no"
54433 rm -f conftest.err conftest.$ac_objext \
54434 conftest$ac_exeext conftest.$ac_ext
54436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54438 if test `eval echo '${'$as_ac_var'}'` = yes; then
54439 cat >>confdefs.h <<_ACEOF
54440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54441 _ACEOF
54444 done
54451 echo "$as_me:$LINENO: checking for finite declaration" >&5
54452 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54453 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54454 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54455 echo $ECHO_N "(cached) $ECHO_C" >&6
54456 else
54460 ac_ext=cc
54461 ac_cpp='$CXXCPP $CPPFLAGS'
54462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54466 cat >conftest.$ac_ext <<_ACEOF
54467 /* confdefs.h. */
54468 _ACEOF
54469 cat confdefs.h >>conftest.$ac_ext
54470 cat >>conftest.$ac_ext <<_ACEOF
54471 /* end confdefs.h. */
54472 #include <math.h>
54473 #ifdef HAVE_IEEEFP_H
54474 #include <ieeefp.h>
54475 #endif
54478 main ()
54480 finite(0);
54482 return 0;
54484 _ACEOF
54485 rm -f conftest.$ac_objext
54486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54487 (eval $ac_compile) 2>conftest.er1
54488 ac_status=$?
54489 grep -v '^ *+' conftest.er1 >conftest.err
54490 rm -f conftest.er1
54491 cat conftest.err >&5
54492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54493 (exit $ac_status); } &&
54494 { ac_try='test -z "$ac_cxx_werror_flag"
54495 || test ! -s conftest.err'
54496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54497 (eval $ac_try) 2>&5
54498 ac_status=$?
54499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54500 (exit $ac_status); }; } &&
54501 { ac_try='test -s conftest.$ac_objext'
54502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54503 (eval $ac_try) 2>&5
54504 ac_status=$?
54505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54506 (exit $ac_status); }; }; then
54507 glibcxx_cv_func_finite_use=yes
54508 else
54509 echo "$as_me: failed program was:" >&5
54510 sed 's/^/| /' conftest.$ac_ext >&5
54512 glibcxx_cv_func_finite_use=no
54514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54515 ac_ext=c
54516 ac_cpp='$CPP $CPPFLAGS'
54517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54526 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54528 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54530 for ac_func in finite
54532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54533 echo "$as_me:$LINENO: checking for $ac_func" >&5
54534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54535 if eval "test \"\${$as_ac_var+set}\" = set"; then
54536 echo $ECHO_N "(cached) $ECHO_C" >&6
54537 else
54538 if test x$gcc_no_link = xyes; then
54539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54541 { (exit 1); exit 1; }; }
54543 cat >conftest.$ac_ext <<_ACEOF
54544 /* confdefs.h. */
54545 _ACEOF
54546 cat confdefs.h >>conftest.$ac_ext
54547 cat >>conftest.$ac_ext <<_ACEOF
54548 /* end confdefs.h. */
54549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54551 #define $ac_func innocuous_$ac_func
54553 /* System header to define __stub macros and hopefully few prototypes,
54554 which can conflict with char $ac_func (); below.
54555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54556 <limits.h> exists even on freestanding compilers. */
54558 #ifdef __STDC__
54559 # include <limits.h>
54560 #else
54561 # include <assert.h>
54562 #endif
54564 #undef $ac_func
54566 /* Override any gcc2 internal prototype to avoid an error. */
54567 #ifdef __cplusplus
54568 extern "C"
54570 #endif
54571 /* We use char because int might match the return type of a gcc2
54572 builtin and then its argument prototype would still apply. */
54573 char $ac_func ();
54574 /* The GNU C library defines this for functions which it implements
54575 to always fail with ENOSYS. Some functions are actually named
54576 something starting with __ and the normal name is an alias. */
54577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54578 choke me
54579 #else
54580 char (*f) () = $ac_func;
54581 #endif
54582 #ifdef __cplusplus
54584 #endif
54587 main ()
54589 return f != $ac_func;
54591 return 0;
54593 _ACEOF
54594 rm -f conftest.$ac_objext conftest$ac_exeext
54595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54596 (eval $ac_link) 2>conftest.er1
54597 ac_status=$?
54598 grep -v '^ *+' conftest.er1 >conftest.err
54599 rm -f conftest.er1
54600 cat conftest.err >&5
54601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54602 (exit $ac_status); } &&
54603 { ac_try='test -z "$ac_c_werror_flag"
54604 || test ! -s conftest.err'
54605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54606 (eval $ac_try) 2>&5
54607 ac_status=$?
54608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54609 (exit $ac_status); }; } &&
54610 { ac_try='test -s conftest$ac_exeext'
54611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54612 (eval $ac_try) 2>&5
54613 ac_status=$?
54614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54615 (exit $ac_status); }; }; then
54616 eval "$as_ac_var=yes"
54617 else
54618 echo "$as_me: failed program was:" >&5
54619 sed 's/^/| /' conftest.$ac_ext >&5
54621 eval "$as_ac_var=no"
54623 rm -f conftest.err conftest.$ac_objext \
54624 conftest$ac_exeext conftest.$ac_ext
54626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54628 if test `eval echo '${'$as_ac_var'}'` = yes; then
54629 cat >>confdefs.h <<_ACEOF
54630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54631 _ACEOF
54634 done
54636 else
54638 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54639 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54640 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54641 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54642 echo $ECHO_N "(cached) $ECHO_C" >&6
54643 else
54647 ac_ext=cc
54648 ac_cpp='$CXXCPP $CPPFLAGS'
54649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54653 cat >conftest.$ac_ext <<_ACEOF
54654 /* confdefs.h. */
54655 _ACEOF
54656 cat confdefs.h >>conftest.$ac_ext
54657 cat >>conftest.$ac_ext <<_ACEOF
54658 /* end confdefs.h. */
54659 #include <math.h>
54660 #ifdef HAVE_IEEEFP_H
54661 #include <ieeefp.h>
54662 #endif
54665 main ()
54667 _finite(0);
54669 return 0;
54671 _ACEOF
54672 rm -f conftest.$ac_objext
54673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54674 (eval $ac_compile) 2>conftest.er1
54675 ac_status=$?
54676 grep -v '^ *+' conftest.er1 >conftest.err
54677 rm -f conftest.er1
54678 cat conftest.err >&5
54679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54680 (exit $ac_status); } &&
54681 { ac_try='test -z "$ac_cxx_werror_flag"
54682 || test ! -s conftest.err'
54683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54684 (eval $ac_try) 2>&5
54685 ac_status=$?
54686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54687 (exit $ac_status); }; } &&
54688 { ac_try='test -s conftest.$ac_objext'
54689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54690 (eval $ac_try) 2>&5
54691 ac_status=$?
54692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54693 (exit $ac_status); }; }; then
54694 glibcxx_cv_func__finite_use=yes
54695 else
54696 echo "$as_me: failed program was:" >&5
54697 sed 's/^/| /' conftest.$ac_ext >&5
54699 glibcxx_cv_func__finite_use=no
54701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54702 ac_ext=c
54703 ac_cpp='$CPP $CPPFLAGS'
54704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54713 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54715 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54717 for ac_func in _finite
54719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54720 echo "$as_me:$LINENO: checking for $ac_func" >&5
54721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54722 if eval "test \"\${$as_ac_var+set}\" = set"; then
54723 echo $ECHO_N "(cached) $ECHO_C" >&6
54724 else
54725 if test x$gcc_no_link = xyes; then
54726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54728 { (exit 1); exit 1; }; }
54730 cat >conftest.$ac_ext <<_ACEOF
54731 /* confdefs.h. */
54732 _ACEOF
54733 cat confdefs.h >>conftest.$ac_ext
54734 cat >>conftest.$ac_ext <<_ACEOF
54735 /* end confdefs.h. */
54736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54738 #define $ac_func innocuous_$ac_func
54740 /* System header to define __stub macros and hopefully few prototypes,
54741 which can conflict with char $ac_func (); below.
54742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54743 <limits.h> exists even on freestanding compilers. */
54745 #ifdef __STDC__
54746 # include <limits.h>
54747 #else
54748 # include <assert.h>
54749 #endif
54751 #undef $ac_func
54753 /* Override any gcc2 internal prototype to avoid an error. */
54754 #ifdef __cplusplus
54755 extern "C"
54757 #endif
54758 /* We use char because int might match the return type of a gcc2
54759 builtin and then its argument prototype would still apply. */
54760 char $ac_func ();
54761 /* The GNU C library defines this for functions which it implements
54762 to always fail with ENOSYS. Some functions are actually named
54763 something starting with __ and the normal name is an alias. */
54764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54765 choke me
54766 #else
54767 char (*f) () = $ac_func;
54768 #endif
54769 #ifdef __cplusplus
54771 #endif
54774 main ()
54776 return f != $ac_func;
54778 return 0;
54780 _ACEOF
54781 rm -f conftest.$ac_objext conftest$ac_exeext
54782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54783 (eval $ac_link) 2>conftest.er1
54784 ac_status=$?
54785 grep -v '^ *+' conftest.er1 >conftest.err
54786 rm -f conftest.er1
54787 cat conftest.err >&5
54788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54789 (exit $ac_status); } &&
54790 { ac_try='test -z "$ac_c_werror_flag"
54791 || test ! -s conftest.err'
54792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54793 (eval $ac_try) 2>&5
54794 ac_status=$?
54795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54796 (exit $ac_status); }; } &&
54797 { ac_try='test -s conftest$ac_exeext'
54798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54799 (eval $ac_try) 2>&5
54800 ac_status=$?
54801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54802 (exit $ac_status); }; }; then
54803 eval "$as_ac_var=yes"
54804 else
54805 echo "$as_me: failed program was:" >&5
54806 sed 's/^/| /' conftest.$ac_ext >&5
54808 eval "$as_ac_var=no"
54810 rm -f conftest.err conftest.$ac_objext \
54811 conftest$ac_exeext conftest.$ac_ext
54813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54815 if test `eval echo '${'$as_ac_var'}'` = yes; then
54816 cat >>confdefs.h <<_ACEOF
54817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54818 _ACEOF
54821 done
54828 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54829 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54830 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54831 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54832 echo $ECHO_N "(cached) $ECHO_C" >&6
54833 else
54837 ac_ext=cc
54838 ac_cpp='$CXXCPP $CPPFLAGS'
54839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54843 cat >conftest.$ac_ext <<_ACEOF
54844 /* confdefs.h. */
54845 _ACEOF
54846 cat confdefs.h >>conftest.$ac_ext
54847 cat >>conftest.$ac_ext <<_ACEOF
54848 /* end confdefs.h. */
54849 #include <math.h>
54851 main ()
54853 copysign(0, 0);
54855 return 0;
54857 _ACEOF
54858 rm -f conftest.$ac_objext
54859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54860 (eval $ac_compile) 2>conftest.er1
54861 ac_status=$?
54862 grep -v '^ *+' conftest.er1 >conftest.err
54863 rm -f conftest.er1
54864 cat conftest.err >&5
54865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866 (exit $ac_status); } &&
54867 { ac_try='test -z "$ac_cxx_werror_flag"
54868 || test ! -s conftest.err'
54869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54870 (eval $ac_try) 2>&5
54871 ac_status=$?
54872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54873 (exit $ac_status); }; } &&
54874 { ac_try='test -s conftest.$ac_objext'
54875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54876 (eval $ac_try) 2>&5
54877 ac_status=$?
54878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54879 (exit $ac_status); }; }; then
54880 glibcxx_cv_func_copysign_use=yes
54881 else
54882 echo "$as_me: failed program was:" >&5
54883 sed 's/^/| /' conftest.$ac_ext >&5
54885 glibcxx_cv_func_copysign_use=no
54887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54888 ac_ext=c
54889 ac_cpp='$CPP $CPPFLAGS'
54890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54899 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54901 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54903 for ac_func in copysign
54905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54906 echo "$as_me:$LINENO: checking for $ac_func" >&5
54907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54908 if eval "test \"\${$as_ac_var+set}\" = set"; then
54909 echo $ECHO_N "(cached) $ECHO_C" >&6
54910 else
54911 if test x$gcc_no_link = xyes; then
54912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54914 { (exit 1); exit 1; }; }
54916 cat >conftest.$ac_ext <<_ACEOF
54917 /* confdefs.h. */
54918 _ACEOF
54919 cat confdefs.h >>conftest.$ac_ext
54920 cat >>conftest.$ac_ext <<_ACEOF
54921 /* end confdefs.h. */
54922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54924 #define $ac_func innocuous_$ac_func
54926 /* System header to define __stub macros and hopefully few prototypes,
54927 which can conflict with char $ac_func (); below.
54928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54929 <limits.h> exists even on freestanding compilers. */
54931 #ifdef __STDC__
54932 # include <limits.h>
54933 #else
54934 # include <assert.h>
54935 #endif
54937 #undef $ac_func
54939 /* Override any gcc2 internal prototype to avoid an error. */
54940 #ifdef __cplusplus
54941 extern "C"
54943 #endif
54944 /* We use char because int might match the return type of a gcc2
54945 builtin and then its argument prototype would still apply. */
54946 char $ac_func ();
54947 /* The GNU C library defines this for functions which it implements
54948 to always fail with ENOSYS. Some functions are actually named
54949 something starting with __ and the normal name is an alias. */
54950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54951 choke me
54952 #else
54953 char (*f) () = $ac_func;
54954 #endif
54955 #ifdef __cplusplus
54957 #endif
54960 main ()
54962 return f != $ac_func;
54964 return 0;
54966 _ACEOF
54967 rm -f conftest.$ac_objext conftest$ac_exeext
54968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54969 (eval $ac_link) 2>conftest.er1
54970 ac_status=$?
54971 grep -v '^ *+' conftest.er1 >conftest.err
54972 rm -f conftest.er1
54973 cat conftest.err >&5
54974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54975 (exit $ac_status); } &&
54976 { ac_try='test -z "$ac_c_werror_flag"
54977 || test ! -s conftest.err'
54978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54979 (eval $ac_try) 2>&5
54980 ac_status=$?
54981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54982 (exit $ac_status); }; } &&
54983 { ac_try='test -s conftest$ac_exeext'
54984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54985 (eval $ac_try) 2>&5
54986 ac_status=$?
54987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54988 (exit $ac_status); }; }; then
54989 eval "$as_ac_var=yes"
54990 else
54991 echo "$as_me: failed program was:" >&5
54992 sed 's/^/| /' conftest.$ac_ext >&5
54994 eval "$as_ac_var=no"
54996 rm -f conftest.err conftest.$ac_objext \
54997 conftest$ac_exeext conftest.$ac_ext
54999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55001 if test `eval echo '${'$as_ac_var'}'` = yes; then
55002 cat >>confdefs.h <<_ACEOF
55003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55004 _ACEOF
55007 done
55009 else
55011 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55012 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55013 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55014 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55015 echo $ECHO_N "(cached) $ECHO_C" >&6
55016 else
55020 ac_ext=cc
55021 ac_cpp='$CXXCPP $CPPFLAGS'
55022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55026 cat >conftest.$ac_ext <<_ACEOF
55027 /* confdefs.h. */
55028 _ACEOF
55029 cat confdefs.h >>conftest.$ac_ext
55030 cat >>conftest.$ac_ext <<_ACEOF
55031 /* end confdefs.h. */
55032 #include <math.h>
55034 main ()
55036 _copysign(0, 0);
55038 return 0;
55040 _ACEOF
55041 rm -f conftest.$ac_objext
55042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55043 (eval $ac_compile) 2>conftest.er1
55044 ac_status=$?
55045 grep -v '^ *+' conftest.er1 >conftest.err
55046 rm -f conftest.er1
55047 cat conftest.err >&5
55048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55049 (exit $ac_status); } &&
55050 { ac_try='test -z "$ac_cxx_werror_flag"
55051 || test ! -s conftest.err'
55052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55053 (eval $ac_try) 2>&5
55054 ac_status=$?
55055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55056 (exit $ac_status); }; } &&
55057 { ac_try='test -s conftest.$ac_objext'
55058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55059 (eval $ac_try) 2>&5
55060 ac_status=$?
55061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55062 (exit $ac_status); }; }; then
55063 glibcxx_cv_func__copysign_use=yes
55064 else
55065 echo "$as_me: failed program was:" >&5
55066 sed 's/^/| /' conftest.$ac_ext >&5
55068 glibcxx_cv_func__copysign_use=no
55070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55071 ac_ext=c
55072 ac_cpp='$CPP $CPPFLAGS'
55073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55082 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55084 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55086 for ac_func in _copysign
55088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55089 echo "$as_me:$LINENO: checking for $ac_func" >&5
55090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55091 if eval "test \"\${$as_ac_var+set}\" = set"; then
55092 echo $ECHO_N "(cached) $ECHO_C" >&6
55093 else
55094 if test x$gcc_no_link = xyes; then
55095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55097 { (exit 1); exit 1; }; }
55099 cat >conftest.$ac_ext <<_ACEOF
55100 /* confdefs.h. */
55101 _ACEOF
55102 cat confdefs.h >>conftest.$ac_ext
55103 cat >>conftest.$ac_ext <<_ACEOF
55104 /* end confdefs.h. */
55105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55107 #define $ac_func innocuous_$ac_func
55109 /* System header to define __stub macros and hopefully few prototypes,
55110 which can conflict with char $ac_func (); below.
55111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55112 <limits.h> exists even on freestanding compilers. */
55114 #ifdef __STDC__
55115 # include <limits.h>
55116 #else
55117 # include <assert.h>
55118 #endif
55120 #undef $ac_func
55122 /* Override any gcc2 internal prototype to avoid an error. */
55123 #ifdef __cplusplus
55124 extern "C"
55126 #endif
55127 /* We use char because int might match the return type of a gcc2
55128 builtin and then its argument prototype would still apply. */
55129 char $ac_func ();
55130 /* The GNU C library defines this for functions which it implements
55131 to always fail with ENOSYS. Some functions are actually named
55132 something starting with __ and the normal name is an alias. */
55133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55134 choke me
55135 #else
55136 char (*f) () = $ac_func;
55137 #endif
55138 #ifdef __cplusplus
55140 #endif
55143 main ()
55145 return f != $ac_func;
55147 return 0;
55149 _ACEOF
55150 rm -f conftest.$ac_objext conftest$ac_exeext
55151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55152 (eval $ac_link) 2>conftest.er1
55153 ac_status=$?
55154 grep -v '^ *+' conftest.er1 >conftest.err
55155 rm -f conftest.er1
55156 cat conftest.err >&5
55157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55158 (exit $ac_status); } &&
55159 { ac_try='test -z "$ac_c_werror_flag"
55160 || test ! -s conftest.err'
55161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55162 (eval $ac_try) 2>&5
55163 ac_status=$?
55164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55165 (exit $ac_status); }; } &&
55166 { ac_try='test -s conftest$ac_exeext'
55167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55168 (eval $ac_try) 2>&5
55169 ac_status=$?
55170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55171 (exit $ac_status); }; }; then
55172 eval "$as_ac_var=yes"
55173 else
55174 echo "$as_me: failed program was:" >&5
55175 sed 's/^/| /' conftest.$ac_ext >&5
55177 eval "$as_ac_var=no"
55179 rm -f conftest.err conftest.$ac_objext \
55180 conftest$ac_exeext conftest.$ac_ext
55182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55184 if test `eval echo '${'$as_ac_var'}'` = yes; then
55185 cat >>confdefs.h <<_ACEOF
55186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55187 _ACEOF
55190 done
55197 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55198 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55199 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55200 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55201 echo $ECHO_N "(cached) $ECHO_C" >&6
55202 else
55206 ac_ext=cc
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat >conftest.$ac_ext <<_ACEOF
55213 /* confdefs.h. */
55214 _ACEOF
55215 cat confdefs.h >>conftest.$ac_ext
55216 cat >>conftest.$ac_ext <<_ACEOF
55217 /* end confdefs.h. */
55218 #include <math.h>
55220 main ()
55222 sincos(0, 0, 0);
55224 return 0;
55226 _ACEOF
55227 rm -f conftest.$ac_objext
55228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55229 (eval $ac_compile) 2>conftest.er1
55230 ac_status=$?
55231 grep -v '^ *+' conftest.er1 >conftest.err
55232 rm -f conftest.er1
55233 cat conftest.err >&5
55234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55235 (exit $ac_status); } &&
55236 { ac_try='test -z "$ac_cxx_werror_flag"
55237 || test ! -s conftest.err'
55238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55239 (eval $ac_try) 2>&5
55240 ac_status=$?
55241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55242 (exit $ac_status); }; } &&
55243 { ac_try='test -s conftest.$ac_objext'
55244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55245 (eval $ac_try) 2>&5
55246 ac_status=$?
55247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55248 (exit $ac_status); }; }; then
55249 glibcxx_cv_func_sincos_use=yes
55250 else
55251 echo "$as_me: failed program was:" >&5
55252 sed 's/^/| /' conftest.$ac_ext >&5
55254 glibcxx_cv_func_sincos_use=no
55256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55257 ac_ext=c
55258 ac_cpp='$CPP $CPPFLAGS'
55259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55268 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55270 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55272 for ac_func in sincos
55274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55275 echo "$as_me:$LINENO: checking for $ac_func" >&5
55276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55277 if eval "test \"\${$as_ac_var+set}\" = set"; then
55278 echo $ECHO_N "(cached) $ECHO_C" >&6
55279 else
55280 if test x$gcc_no_link = xyes; then
55281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55283 { (exit 1); exit 1; }; }
55285 cat >conftest.$ac_ext <<_ACEOF
55286 /* confdefs.h. */
55287 _ACEOF
55288 cat confdefs.h >>conftest.$ac_ext
55289 cat >>conftest.$ac_ext <<_ACEOF
55290 /* end confdefs.h. */
55291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55293 #define $ac_func innocuous_$ac_func
55295 /* System header to define __stub macros and hopefully few prototypes,
55296 which can conflict with char $ac_func (); below.
55297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55298 <limits.h> exists even on freestanding compilers. */
55300 #ifdef __STDC__
55301 # include <limits.h>
55302 #else
55303 # include <assert.h>
55304 #endif
55306 #undef $ac_func
55308 /* Override any gcc2 internal prototype to avoid an error. */
55309 #ifdef __cplusplus
55310 extern "C"
55312 #endif
55313 /* We use char because int might match the return type of a gcc2
55314 builtin and then its argument prototype would still apply. */
55315 char $ac_func ();
55316 /* The GNU C library defines this for functions which it implements
55317 to always fail with ENOSYS. Some functions are actually named
55318 something starting with __ and the normal name is an alias. */
55319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55320 choke me
55321 #else
55322 char (*f) () = $ac_func;
55323 #endif
55324 #ifdef __cplusplus
55326 #endif
55329 main ()
55331 return f != $ac_func;
55333 return 0;
55335 _ACEOF
55336 rm -f conftest.$ac_objext conftest$ac_exeext
55337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55338 (eval $ac_link) 2>conftest.er1
55339 ac_status=$?
55340 grep -v '^ *+' conftest.er1 >conftest.err
55341 rm -f conftest.er1
55342 cat conftest.err >&5
55343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55344 (exit $ac_status); } &&
55345 { ac_try='test -z "$ac_c_werror_flag"
55346 || test ! -s conftest.err'
55347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55348 (eval $ac_try) 2>&5
55349 ac_status=$?
55350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55351 (exit $ac_status); }; } &&
55352 { ac_try='test -s conftest$ac_exeext'
55353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55354 (eval $ac_try) 2>&5
55355 ac_status=$?
55356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55357 (exit $ac_status); }; }; then
55358 eval "$as_ac_var=yes"
55359 else
55360 echo "$as_me: failed program was:" >&5
55361 sed 's/^/| /' conftest.$ac_ext >&5
55363 eval "$as_ac_var=no"
55365 rm -f conftest.err conftest.$ac_objext \
55366 conftest$ac_exeext conftest.$ac_ext
55368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55370 if test `eval echo '${'$as_ac_var'}'` = yes; then
55371 cat >>confdefs.h <<_ACEOF
55372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55373 _ACEOF
55376 done
55378 else
55380 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55381 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55382 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55383 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55384 echo $ECHO_N "(cached) $ECHO_C" >&6
55385 else
55389 ac_ext=cc
55390 ac_cpp='$CXXCPP $CPPFLAGS'
55391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55395 cat >conftest.$ac_ext <<_ACEOF
55396 /* confdefs.h. */
55397 _ACEOF
55398 cat confdefs.h >>conftest.$ac_ext
55399 cat >>conftest.$ac_ext <<_ACEOF
55400 /* end confdefs.h. */
55401 #include <math.h>
55403 main ()
55405 _sincos(0, 0, 0);
55407 return 0;
55409 _ACEOF
55410 rm -f conftest.$ac_objext
55411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55412 (eval $ac_compile) 2>conftest.er1
55413 ac_status=$?
55414 grep -v '^ *+' conftest.er1 >conftest.err
55415 rm -f conftest.er1
55416 cat conftest.err >&5
55417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55418 (exit $ac_status); } &&
55419 { ac_try='test -z "$ac_cxx_werror_flag"
55420 || test ! -s conftest.err'
55421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55422 (eval $ac_try) 2>&5
55423 ac_status=$?
55424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55425 (exit $ac_status); }; } &&
55426 { ac_try='test -s conftest.$ac_objext'
55427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55428 (eval $ac_try) 2>&5
55429 ac_status=$?
55430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431 (exit $ac_status); }; }; then
55432 glibcxx_cv_func__sincos_use=yes
55433 else
55434 echo "$as_me: failed program was:" >&5
55435 sed 's/^/| /' conftest.$ac_ext >&5
55437 glibcxx_cv_func__sincos_use=no
55439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55440 ac_ext=c
55441 ac_cpp='$CPP $CPPFLAGS'
55442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55451 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55453 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55455 for ac_func in _sincos
55457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55458 echo "$as_me:$LINENO: checking for $ac_func" >&5
55459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55460 if eval "test \"\${$as_ac_var+set}\" = set"; then
55461 echo $ECHO_N "(cached) $ECHO_C" >&6
55462 else
55463 if test x$gcc_no_link = xyes; then
55464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55466 { (exit 1); exit 1; }; }
55468 cat >conftest.$ac_ext <<_ACEOF
55469 /* confdefs.h. */
55470 _ACEOF
55471 cat confdefs.h >>conftest.$ac_ext
55472 cat >>conftest.$ac_ext <<_ACEOF
55473 /* end confdefs.h. */
55474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55476 #define $ac_func innocuous_$ac_func
55478 /* System header to define __stub macros and hopefully few prototypes,
55479 which can conflict with char $ac_func (); below.
55480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55481 <limits.h> exists even on freestanding compilers. */
55483 #ifdef __STDC__
55484 # include <limits.h>
55485 #else
55486 # include <assert.h>
55487 #endif
55489 #undef $ac_func
55491 /* Override any gcc2 internal prototype to avoid an error. */
55492 #ifdef __cplusplus
55493 extern "C"
55495 #endif
55496 /* We use char because int might match the return type of a gcc2
55497 builtin and then its argument prototype would still apply. */
55498 char $ac_func ();
55499 /* The GNU C library defines this for functions which it implements
55500 to always fail with ENOSYS. Some functions are actually named
55501 something starting with __ and the normal name is an alias. */
55502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55503 choke me
55504 #else
55505 char (*f) () = $ac_func;
55506 #endif
55507 #ifdef __cplusplus
55509 #endif
55512 main ()
55514 return f != $ac_func;
55516 return 0;
55518 _ACEOF
55519 rm -f conftest.$ac_objext conftest$ac_exeext
55520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55521 (eval $ac_link) 2>conftest.er1
55522 ac_status=$?
55523 grep -v '^ *+' conftest.er1 >conftest.err
55524 rm -f conftest.er1
55525 cat conftest.err >&5
55526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55527 (exit $ac_status); } &&
55528 { ac_try='test -z "$ac_c_werror_flag"
55529 || test ! -s conftest.err'
55530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55531 (eval $ac_try) 2>&5
55532 ac_status=$?
55533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55534 (exit $ac_status); }; } &&
55535 { ac_try='test -s conftest$ac_exeext'
55536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55537 (eval $ac_try) 2>&5
55538 ac_status=$?
55539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540 (exit $ac_status); }; }; then
55541 eval "$as_ac_var=yes"
55542 else
55543 echo "$as_me: failed program was:" >&5
55544 sed 's/^/| /' conftest.$ac_ext >&5
55546 eval "$as_ac_var=no"
55548 rm -f conftest.err conftest.$ac_objext \
55549 conftest$ac_exeext conftest.$ac_ext
55551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55553 if test `eval echo '${'$as_ac_var'}'` = yes; then
55554 cat >>confdefs.h <<_ACEOF
55555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55556 _ACEOF
55559 done
55566 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55567 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55568 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55569 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55570 echo $ECHO_N "(cached) $ECHO_C" >&6
55571 else
55575 ac_ext=cc
55576 ac_cpp='$CXXCPP $CPPFLAGS'
55577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55581 cat >conftest.$ac_ext <<_ACEOF
55582 /* confdefs.h. */
55583 _ACEOF
55584 cat confdefs.h >>conftest.$ac_ext
55585 cat >>conftest.$ac_ext <<_ACEOF
55586 /* end confdefs.h. */
55587 #include <math.h>
55588 #ifdef HAVE_IEEEFP_H
55589 #include <ieeefp.h>
55590 #endif
55593 main ()
55595 fpclass(0);
55597 return 0;
55599 _ACEOF
55600 rm -f conftest.$ac_objext
55601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55602 (eval $ac_compile) 2>conftest.er1
55603 ac_status=$?
55604 grep -v '^ *+' conftest.er1 >conftest.err
55605 rm -f conftest.er1
55606 cat conftest.err >&5
55607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55608 (exit $ac_status); } &&
55609 { ac_try='test -z "$ac_cxx_werror_flag"
55610 || test ! -s conftest.err'
55611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55612 (eval $ac_try) 2>&5
55613 ac_status=$?
55614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55615 (exit $ac_status); }; } &&
55616 { ac_try='test -s conftest.$ac_objext'
55617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55618 (eval $ac_try) 2>&5
55619 ac_status=$?
55620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55621 (exit $ac_status); }; }; then
55622 glibcxx_cv_func_fpclass_use=yes
55623 else
55624 echo "$as_me: failed program was:" >&5
55625 sed 's/^/| /' conftest.$ac_ext >&5
55627 glibcxx_cv_func_fpclass_use=no
55629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55630 ac_ext=c
55631 ac_cpp='$CPP $CPPFLAGS'
55632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55641 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55643 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55645 for ac_func in fpclass
55647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55648 echo "$as_me:$LINENO: checking for $ac_func" >&5
55649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55650 if eval "test \"\${$as_ac_var+set}\" = set"; then
55651 echo $ECHO_N "(cached) $ECHO_C" >&6
55652 else
55653 if test x$gcc_no_link = xyes; then
55654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55656 { (exit 1); exit 1; }; }
55658 cat >conftest.$ac_ext <<_ACEOF
55659 /* confdefs.h. */
55660 _ACEOF
55661 cat confdefs.h >>conftest.$ac_ext
55662 cat >>conftest.$ac_ext <<_ACEOF
55663 /* end confdefs.h. */
55664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55666 #define $ac_func innocuous_$ac_func
55668 /* System header to define __stub macros and hopefully few prototypes,
55669 which can conflict with char $ac_func (); below.
55670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55671 <limits.h> exists even on freestanding compilers. */
55673 #ifdef __STDC__
55674 # include <limits.h>
55675 #else
55676 # include <assert.h>
55677 #endif
55679 #undef $ac_func
55681 /* Override any gcc2 internal prototype to avoid an error. */
55682 #ifdef __cplusplus
55683 extern "C"
55685 #endif
55686 /* We use char because int might match the return type of a gcc2
55687 builtin and then its argument prototype would still apply. */
55688 char $ac_func ();
55689 /* The GNU C library defines this for functions which it implements
55690 to always fail with ENOSYS. Some functions are actually named
55691 something starting with __ and the normal name is an alias. */
55692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55693 choke me
55694 #else
55695 char (*f) () = $ac_func;
55696 #endif
55697 #ifdef __cplusplus
55699 #endif
55702 main ()
55704 return f != $ac_func;
55706 return 0;
55708 _ACEOF
55709 rm -f conftest.$ac_objext conftest$ac_exeext
55710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55711 (eval $ac_link) 2>conftest.er1
55712 ac_status=$?
55713 grep -v '^ *+' conftest.er1 >conftest.err
55714 rm -f conftest.er1
55715 cat conftest.err >&5
55716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55717 (exit $ac_status); } &&
55718 { ac_try='test -z "$ac_c_werror_flag"
55719 || test ! -s conftest.err'
55720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55721 (eval $ac_try) 2>&5
55722 ac_status=$?
55723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55724 (exit $ac_status); }; } &&
55725 { ac_try='test -s conftest$ac_exeext'
55726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55727 (eval $ac_try) 2>&5
55728 ac_status=$?
55729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55730 (exit $ac_status); }; }; then
55731 eval "$as_ac_var=yes"
55732 else
55733 echo "$as_me: failed program was:" >&5
55734 sed 's/^/| /' conftest.$ac_ext >&5
55736 eval "$as_ac_var=no"
55738 rm -f conftest.err conftest.$ac_objext \
55739 conftest$ac_exeext conftest.$ac_ext
55741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55743 if test `eval echo '${'$as_ac_var'}'` = yes; then
55744 cat >>confdefs.h <<_ACEOF
55745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55746 _ACEOF
55749 done
55751 else
55753 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55754 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55755 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55756 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55757 echo $ECHO_N "(cached) $ECHO_C" >&6
55758 else
55762 ac_ext=cc
55763 ac_cpp='$CXXCPP $CPPFLAGS'
55764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55768 cat >conftest.$ac_ext <<_ACEOF
55769 /* confdefs.h. */
55770 _ACEOF
55771 cat confdefs.h >>conftest.$ac_ext
55772 cat >>conftest.$ac_ext <<_ACEOF
55773 /* end confdefs.h. */
55774 #include <math.h>
55775 #ifdef HAVE_IEEEFP_H
55776 #include <ieeefp.h>
55777 #endif
55780 main ()
55782 _fpclass(0);
55784 return 0;
55786 _ACEOF
55787 rm -f conftest.$ac_objext
55788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55789 (eval $ac_compile) 2>conftest.er1
55790 ac_status=$?
55791 grep -v '^ *+' conftest.er1 >conftest.err
55792 rm -f conftest.er1
55793 cat conftest.err >&5
55794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55795 (exit $ac_status); } &&
55796 { ac_try='test -z "$ac_cxx_werror_flag"
55797 || test ! -s conftest.err'
55798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55799 (eval $ac_try) 2>&5
55800 ac_status=$?
55801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55802 (exit $ac_status); }; } &&
55803 { ac_try='test -s conftest.$ac_objext'
55804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55805 (eval $ac_try) 2>&5
55806 ac_status=$?
55807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55808 (exit $ac_status); }; }; then
55809 glibcxx_cv_func__fpclass_use=yes
55810 else
55811 echo "$as_me: failed program was:" >&5
55812 sed 's/^/| /' conftest.$ac_ext >&5
55814 glibcxx_cv_func__fpclass_use=no
55816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55817 ac_ext=c
55818 ac_cpp='$CPP $CPPFLAGS'
55819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55828 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55830 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55832 for ac_func in _fpclass
55834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55835 echo "$as_me:$LINENO: checking for $ac_func" >&5
55836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55837 if eval "test \"\${$as_ac_var+set}\" = set"; then
55838 echo $ECHO_N "(cached) $ECHO_C" >&6
55839 else
55840 if test x$gcc_no_link = xyes; then
55841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55843 { (exit 1); exit 1; }; }
55845 cat >conftest.$ac_ext <<_ACEOF
55846 /* confdefs.h. */
55847 _ACEOF
55848 cat confdefs.h >>conftest.$ac_ext
55849 cat >>conftest.$ac_ext <<_ACEOF
55850 /* end confdefs.h. */
55851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55853 #define $ac_func innocuous_$ac_func
55855 /* System header to define __stub macros and hopefully few prototypes,
55856 which can conflict with char $ac_func (); below.
55857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55858 <limits.h> exists even on freestanding compilers. */
55860 #ifdef __STDC__
55861 # include <limits.h>
55862 #else
55863 # include <assert.h>
55864 #endif
55866 #undef $ac_func
55868 /* Override any gcc2 internal prototype to avoid an error. */
55869 #ifdef __cplusplus
55870 extern "C"
55872 #endif
55873 /* We use char because int might match the return type of a gcc2
55874 builtin and then its argument prototype would still apply. */
55875 char $ac_func ();
55876 /* The GNU C library defines this for functions which it implements
55877 to always fail with ENOSYS. Some functions are actually named
55878 something starting with __ and the normal name is an alias. */
55879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55880 choke me
55881 #else
55882 char (*f) () = $ac_func;
55883 #endif
55884 #ifdef __cplusplus
55886 #endif
55889 main ()
55891 return f != $ac_func;
55893 return 0;
55895 _ACEOF
55896 rm -f conftest.$ac_objext conftest$ac_exeext
55897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55898 (eval $ac_link) 2>conftest.er1
55899 ac_status=$?
55900 grep -v '^ *+' conftest.er1 >conftest.err
55901 rm -f conftest.er1
55902 cat conftest.err >&5
55903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55904 (exit $ac_status); } &&
55905 { ac_try='test -z "$ac_c_werror_flag"
55906 || test ! -s conftest.err'
55907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55908 (eval $ac_try) 2>&5
55909 ac_status=$?
55910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55911 (exit $ac_status); }; } &&
55912 { ac_try='test -s conftest$ac_exeext'
55913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55914 (eval $ac_try) 2>&5
55915 ac_status=$?
55916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55917 (exit $ac_status); }; }; then
55918 eval "$as_ac_var=yes"
55919 else
55920 echo "$as_me: failed program was:" >&5
55921 sed 's/^/| /' conftest.$ac_ext >&5
55923 eval "$as_ac_var=no"
55925 rm -f conftest.err conftest.$ac_objext \
55926 conftest$ac_exeext conftest.$ac_ext
55928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55930 if test `eval echo '${'$as_ac_var'}'` = yes; then
55931 cat >>confdefs.h <<_ACEOF
55932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55933 _ACEOF
55936 done
55943 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55944 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55945 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55946 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55947 echo $ECHO_N "(cached) $ECHO_C" >&6
55948 else
55952 ac_ext=cc
55953 ac_cpp='$CXXCPP $CPPFLAGS'
55954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55958 cat >conftest.$ac_ext <<_ACEOF
55959 /* confdefs.h. */
55960 _ACEOF
55961 cat confdefs.h >>conftest.$ac_ext
55962 cat >>conftest.$ac_ext <<_ACEOF
55963 /* end confdefs.h. */
55964 #include <math.h>
55965 #ifdef HAVE_IEEEFP_H
55966 #include <ieeefp.h>
55967 #endif
55970 main ()
55972 qfpclass(0);
55974 return 0;
55976 _ACEOF
55977 rm -f conftest.$ac_objext
55978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55979 (eval $ac_compile) 2>conftest.er1
55980 ac_status=$?
55981 grep -v '^ *+' conftest.er1 >conftest.err
55982 rm -f conftest.er1
55983 cat conftest.err >&5
55984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55985 (exit $ac_status); } &&
55986 { ac_try='test -z "$ac_cxx_werror_flag"
55987 || test ! -s conftest.err'
55988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55989 (eval $ac_try) 2>&5
55990 ac_status=$?
55991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55992 (exit $ac_status); }; } &&
55993 { ac_try='test -s conftest.$ac_objext'
55994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55995 (eval $ac_try) 2>&5
55996 ac_status=$?
55997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55998 (exit $ac_status); }; }; then
55999 glibcxx_cv_func_qfpclass_use=yes
56000 else
56001 echo "$as_me: failed program was:" >&5
56002 sed 's/^/| /' conftest.$ac_ext >&5
56004 glibcxx_cv_func_qfpclass_use=no
56006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56007 ac_ext=c
56008 ac_cpp='$CPP $CPPFLAGS'
56009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56018 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56020 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56022 for ac_func in qfpclass
56024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56025 echo "$as_me:$LINENO: checking for $ac_func" >&5
56026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56027 if eval "test \"\${$as_ac_var+set}\" = set"; then
56028 echo $ECHO_N "(cached) $ECHO_C" >&6
56029 else
56030 if test x$gcc_no_link = xyes; then
56031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56033 { (exit 1); exit 1; }; }
56035 cat >conftest.$ac_ext <<_ACEOF
56036 /* confdefs.h. */
56037 _ACEOF
56038 cat confdefs.h >>conftest.$ac_ext
56039 cat >>conftest.$ac_ext <<_ACEOF
56040 /* end confdefs.h. */
56041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56043 #define $ac_func innocuous_$ac_func
56045 /* System header to define __stub macros and hopefully few prototypes,
56046 which can conflict with char $ac_func (); below.
56047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56048 <limits.h> exists even on freestanding compilers. */
56050 #ifdef __STDC__
56051 # include <limits.h>
56052 #else
56053 # include <assert.h>
56054 #endif
56056 #undef $ac_func
56058 /* Override any gcc2 internal prototype to avoid an error. */
56059 #ifdef __cplusplus
56060 extern "C"
56062 #endif
56063 /* We use char because int might match the return type of a gcc2
56064 builtin and then its argument prototype would still apply. */
56065 char $ac_func ();
56066 /* The GNU C library defines this for functions which it implements
56067 to always fail with ENOSYS. Some functions are actually named
56068 something starting with __ and the normal name is an alias. */
56069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56070 choke me
56071 #else
56072 char (*f) () = $ac_func;
56073 #endif
56074 #ifdef __cplusplus
56076 #endif
56079 main ()
56081 return f != $ac_func;
56083 return 0;
56085 _ACEOF
56086 rm -f conftest.$ac_objext conftest$ac_exeext
56087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56088 (eval $ac_link) 2>conftest.er1
56089 ac_status=$?
56090 grep -v '^ *+' conftest.er1 >conftest.err
56091 rm -f conftest.er1
56092 cat conftest.err >&5
56093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56094 (exit $ac_status); } &&
56095 { ac_try='test -z "$ac_c_werror_flag"
56096 || test ! -s conftest.err'
56097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56098 (eval $ac_try) 2>&5
56099 ac_status=$?
56100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56101 (exit $ac_status); }; } &&
56102 { ac_try='test -s conftest$ac_exeext'
56103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56104 (eval $ac_try) 2>&5
56105 ac_status=$?
56106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56107 (exit $ac_status); }; }; then
56108 eval "$as_ac_var=yes"
56109 else
56110 echo "$as_me: failed program was:" >&5
56111 sed 's/^/| /' conftest.$ac_ext >&5
56113 eval "$as_ac_var=no"
56115 rm -f conftest.err conftest.$ac_objext \
56116 conftest$ac_exeext conftest.$ac_ext
56118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56120 if test `eval echo '${'$as_ac_var'}'` = yes; then
56121 cat >>confdefs.h <<_ACEOF
56122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56123 _ACEOF
56126 done
56128 else
56130 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56131 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56132 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56133 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56134 echo $ECHO_N "(cached) $ECHO_C" >&6
56135 else
56139 ac_ext=cc
56140 ac_cpp='$CXXCPP $CPPFLAGS'
56141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56145 cat >conftest.$ac_ext <<_ACEOF
56146 /* confdefs.h. */
56147 _ACEOF
56148 cat confdefs.h >>conftest.$ac_ext
56149 cat >>conftest.$ac_ext <<_ACEOF
56150 /* end confdefs.h. */
56151 #include <math.h>
56152 #ifdef HAVE_IEEEFP_H
56153 #include <ieeefp.h>
56154 #endif
56157 main ()
56159 _qfpclass(0);
56161 return 0;
56163 _ACEOF
56164 rm -f conftest.$ac_objext
56165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56166 (eval $ac_compile) 2>conftest.er1
56167 ac_status=$?
56168 grep -v '^ *+' conftest.er1 >conftest.err
56169 rm -f conftest.er1
56170 cat conftest.err >&5
56171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56172 (exit $ac_status); } &&
56173 { ac_try='test -z "$ac_cxx_werror_flag"
56174 || test ! -s conftest.err'
56175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56176 (eval $ac_try) 2>&5
56177 ac_status=$?
56178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56179 (exit $ac_status); }; } &&
56180 { ac_try='test -s conftest.$ac_objext'
56181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56182 (eval $ac_try) 2>&5
56183 ac_status=$?
56184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56185 (exit $ac_status); }; }; then
56186 glibcxx_cv_func__qfpclass_use=yes
56187 else
56188 echo "$as_me: failed program was:" >&5
56189 sed 's/^/| /' conftest.$ac_ext >&5
56191 glibcxx_cv_func__qfpclass_use=no
56193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56194 ac_ext=c
56195 ac_cpp='$CPP $CPPFLAGS'
56196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56205 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56207 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56209 for ac_func in _qfpclass
56211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56212 echo "$as_me:$LINENO: checking for $ac_func" >&5
56213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56214 if eval "test \"\${$as_ac_var+set}\" = set"; then
56215 echo $ECHO_N "(cached) $ECHO_C" >&6
56216 else
56217 if test x$gcc_no_link = xyes; then
56218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56220 { (exit 1); exit 1; }; }
56222 cat >conftest.$ac_ext <<_ACEOF
56223 /* confdefs.h. */
56224 _ACEOF
56225 cat confdefs.h >>conftest.$ac_ext
56226 cat >>conftest.$ac_ext <<_ACEOF
56227 /* end confdefs.h. */
56228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56230 #define $ac_func innocuous_$ac_func
56232 /* System header to define __stub macros and hopefully few prototypes,
56233 which can conflict with char $ac_func (); below.
56234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56235 <limits.h> exists even on freestanding compilers. */
56237 #ifdef __STDC__
56238 # include <limits.h>
56239 #else
56240 # include <assert.h>
56241 #endif
56243 #undef $ac_func
56245 /* Override any gcc2 internal prototype to avoid an error. */
56246 #ifdef __cplusplus
56247 extern "C"
56249 #endif
56250 /* We use char because int might match the return type of a gcc2
56251 builtin and then its argument prototype would still apply. */
56252 char $ac_func ();
56253 /* The GNU C library defines this for functions which it implements
56254 to always fail with ENOSYS. Some functions are actually named
56255 something starting with __ and the normal name is an alias. */
56256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56257 choke me
56258 #else
56259 char (*f) () = $ac_func;
56260 #endif
56261 #ifdef __cplusplus
56263 #endif
56266 main ()
56268 return f != $ac_func;
56270 return 0;
56272 _ACEOF
56273 rm -f conftest.$ac_objext conftest$ac_exeext
56274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56275 (eval $ac_link) 2>conftest.er1
56276 ac_status=$?
56277 grep -v '^ *+' conftest.er1 >conftest.err
56278 rm -f conftest.er1
56279 cat conftest.err >&5
56280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56281 (exit $ac_status); } &&
56282 { ac_try='test -z "$ac_c_werror_flag"
56283 || test ! -s conftest.err'
56284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56285 (eval $ac_try) 2>&5
56286 ac_status=$?
56287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56288 (exit $ac_status); }; } &&
56289 { ac_try='test -s conftest$ac_exeext'
56290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56291 (eval $ac_try) 2>&5
56292 ac_status=$?
56293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56294 (exit $ac_status); }; }; then
56295 eval "$as_ac_var=yes"
56296 else
56297 echo "$as_me: failed program was:" >&5
56298 sed 's/^/| /' conftest.$ac_ext >&5
56300 eval "$as_ac_var=no"
56302 rm -f conftest.err conftest.$ac_objext \
56303 conftest$ac_exeext conftest.$ac_ext
56305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56307 if test `eval echo '${'$as_ac_var'}'` = yes; then
56308 cat >>confdefs.h <<_ACEOF
56309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56310 _ACEOF
56313 done
56320 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56321 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56322 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56323 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56324 echo $ECHO_N "(cached) $ECHO_C" >&6
56325 else
56329 ac_ext=cc
56330 ac_cpp='$CXXCPP $CPPFLAGS'
56331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56335 cat >conftest.$ac_ext <<_ACEOF
56336 /* confdefs.h. */
56337 _ACEOF
56338 cat confdefs.h >>conftest.$ac_ext
56339 cat >>conftest.$ac_ext <<_ACEOF
56340 /* end confdefs.h. */
56341 #include <math.h>
56343 main ()
56345 hypot(0, 0);
56347 return 0;
56349 _ACEOF
56350 rm -f conftest.$ac_objext
56351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56352 (eval $ac_compile) 2>conftest.er1
56353 ac_status=$?
56354 grep -v '^ *+' conftest.er1 >conftest.err
56355 rm -f conftest.er1
56356 cat conftest.err >&5
56357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56358 (exit $ac_status); } &&
56359 { ac_try='test -z "$ac_cxx_werror_flag"
56360 || test ! -s conftest.err'
56361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56362 (eval $ac_try) 2>&5
56363 ac_status=$?
56364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56365 (exit $ac_status); }; } &&
56366 { ac_try='test -s conftest.$ac_objext'
56367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56368 (eval $ac_try) 2>&5
56369 ac_status=$?
56370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56371 (exit $ac_status); }; }; then
56372 glibcxx_cv_func_hypot_use=yes
56373 else
56374 echo "$as_me: failed program was:" >&5
56375 sed 's/^/| /' conftest.$ac_ext >&5
56377 glibcxx_cv_func_hypot_use=no
56379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56380 ac_ext=c
56381 ac_cpp='$CPP $CPPFLAGS'
56382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56390 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56391 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56393 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56395 for ac_func in hypot
56397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56398 echo "$as_me:$LINENO: checking for $ac_func" >&5
56399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56400 if eval "test \"\${$as_ac_var+set}\" = set"; then
56401 echo $ECHO_N "(cached) $ECHO_C" >&6
56402 else
56403 if test x$gcc_no_link = xyes; then
56404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56406 { (exit 1); exit 1; }; }
56408 cat >conftest.$ac_ext <<_ACEOF
56409 /* confdefs.h. */
56410 _ACEOF
56411 cat confdefs.h >>conftest.$ac_ext
56412 cat >>conftest.$ac_ext <<_ACEOF
56413 /* end confdefs.h. */
56414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56416 #define $ac_func innocuous_$ac_func
56418 /* System header to define __stub macros and hopefully few prototypes,
56419 which can conflict with char $ac_func (); below.
56420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56421 <limits.h> exists even on freestanding compilers. */
56423 #ifdef __STDC__
56424 # include <limits.h>
56425 #else
56426 # include <assert.h>
56427 #endif
56429 #undef $ac_func
56431 /* Override any gcc2 internal prototype to avoid an error. */
56432 #ifdef __cplusplus
56433 extern "C"
56435 #endif
56436 /* We use char because int might match the return type of a gcc2
56437 builtin and then its argument prototype would still apply. */
56438 char $ac_func ();
56439 /* The GNU C library defines this for functions which it implements
56440 to always fail with ENOSYS. Some functions are actually named
56441 something starting with __ and the normal name is an alias. */
56442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56443 choke me
56444 #else
56445 char (*f) () = $ac_func;
56446 #endif
56447 #ifdef __cplusplus
56449 #endif
56452 main ()
56454 return f != $ac_func;
56456 return 0;
56458 _ACEOF
56459 rm -f conftest.$ac_objext conftest$ac_exeext
56460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56461 (eval $ac_link) 2>conftest.er1
56462 ac_status=$?
56463 grep -v '^ *+' conftest.er1 >conftest.err
56464 rm -f conftest.er1
56465 cat conftest.err >&5
56466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56467 (exit $ac_status); } &&
56468 { ac_try='test -z "$ac_c_werror_flag"
56469 || test ! -s conftest.err'
56470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56471 (eval $ac_try) 2>&5
56472 ac_status=$?
56473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56474 (exit $ac_status); }; } &&
56475 { ac_try='test -s conftest$ac_exeext'
56476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56477 (eval $ac_try) 2>&5
56478 ac_status=$?
56479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56480 (exit $ac_status); }; }; then
56481 eval "$as_ac_var=yes"
56482 else
56483 echo "$as_me: failed program was:" >&5
56484 sed 's/^/| /' conftest.$ac_ext >&5
56486 eval "$as_ac_var=no"
56488 rm -f conftest.err conftest.$ac_objext \
56489 conftest$ac_exeext conftest.$ac_ext
56491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56493 if test `eval echo '${'$as_ac_var'}'` = yes; then
56494 cat >>confdefs.h <<_ACEOF
56495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56496 _ACEOF
56499 done
56501 else
56503 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56504 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56505 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56506 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56507 echo $ECHO_N "(cached) $ECHO_C" >&6
56508 else
56512 ac_ext=cc
56513 ac_cpp='$CXXCPP $CPPFLAGS'
56514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56518 cat >conftest.$ac_ext <<_ACEOF
56519 /* confdefs.h. */
56520 _ACEOF
56521 cat confdefs.h >>conftest.$ac_ext
56522 cat >>conftest.$ac_ext <<_ACEOF
56523 /* end confdefs.h. */
56524 #include <math.h>
56526 main ()
56528 _hypot(0, 0);
56530 return 0;
56532 _ACEOF
56533 rm -f conftest.$ac_objext
56534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56535 (eval $ac_compile) 2>conftest.er1
56536 ac_status=$?
56537 grep -v '^ *+' conftest.er1 >conftest.err
56538 rm -f conftest.er1
56539 cat conftest.err >&5
56540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56541 (exit $ac_status); } &&
56542 { ac_try='test -z "$ac_cxx_werror_flag"
56543 || test ! -s conftest.err'
56544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56545 (eval $ac_try) 2>&5
56546 ac_status=$?
56547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56548 (exit $ac_status); }; } &&
56549 { ac_try='test -s conftest.$ac_objext'
56550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56551 (eval $ac_try) 2>&5
56552 ac_status=$?
56553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56554 (exit $ac_status); }; }; then
56555 glibcxx_cv_func__hypot_use=yes
56556 else
56557 echo "$as_me: failed program was:" >&5
56558 sed 's/^/| /' conftest.$ac_ext >&5
56560 glibcxx_cv_func__hypot_use=no
56562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56563 ac_ext=c
56564 ac_cpp='$CPP $CPPFLAGS'
56565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56574 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56576 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56578 for ac_func in _hypot
56580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56581 echo "$as_me:$LINENO: checking for $ac_func" >&5
56582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56583 if eval "test \"\${$as_ac_var+set}\" = set"; then
56584 echo $ECHO_N "(cached) $ECHO_C" >&6
56585 else
56586 if test x$gcc_no_link = xyes; then
56587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56589 { (exit 1); exit 1; }; }
56591 cat >conftest.$ac_ext <<_ACEOF
56592 /* confdefs.h. */
56593 _ACEOF
56594 cat confdefs.h >>conftest.$ac_ext
56595 cat >>conftest.$ac_ext <<_ACEOF
56596 /* end confdefs.h. */
56597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56599 #define $ac_func innocuous_$ac_func
56601 /* System header to define __stub macros and hopefully few prototypes,
56602 which can conflict with char $ac_func (); below.
56603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56604 <limits.h> exists even on freestanding compilers. */
56606 #ifdef __STDC__
56607 # include <limits.h>
56608 #else
56609 # include <assert.h>
56610 #endif
56612 #undef $ac_func
56614 /* Override any gcc2 internal prototype to avoid an error. */
56615 #ifdef __cplusplus
56616 extern "C"
56618 #endif
56619 /* We use char because int might match the return type of a gcc2
56620 builtin and then its argument prototype would still apply. */
56621 char $ac_func ();
56622 /* The GNU C library defines this for functions which it implements
56623 to always fail with ENOSYS. Some functions are actually named
56624 something starting with __ and the normal name is an alias. */
56625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56626 choke me
56627 #else
56628 char (*f) () = $ac_func;
56629 #endif
56630 #ifdef __cplusplus
56632 #endif
56635 main ()
56637 return f != $ac_func;
56639 return 0;
56641 _ACEOF
56642 rm -f conftest.$ac_objext conftest$ac_exeext
56643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56644 (eval $ac_link) 2>conftest.er1
56645 ac_status=$?
56646 grep -v '^ *+' conftest.er1 >conftest.err
56647 rm -f conftest.er1
56648 cat conftest.err >&5
56649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56650 (exit $ac_status); } &&
56651 { ac_try='test -z "$ac_c_werror_flag"
56652 || test ! -s conftest.err'
56653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56654 (eval $ac_try) 2>&5
56655 ac_status=$?
56656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56657 (exit $ac_status); }; } &&
56658 { ac_try='test -s conftest$ac_exeext'
56659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56660 (eval $ac_try) 2>&5
56661 ac_status=$?
56662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56663 (exit $ac_status); }; }; then
56664 eval "$as_ac_var=yes"
56665 else
56666 echo "$as_me: failed program was:" >&5
56667 sed 's/^/| /' conftest.$ac_ext >&5
56669 eval "$as_ac_var=no"
56671 rm -f conftest.err conftest.$ac_objext \
56672 conftest$ac_exeext conftest.$ac_ext
56674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56676 if test `eval echo '${'$as_ac_var'}'` = yes; then
56677 cat >>confdefs.h <<_ACEOF
56678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56679 _ACEOF
56682 done
56689 echo "$as_me:$LINENO: checking for float trig functions" >&5
56690 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56691 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56692 echo $ECHO_N "(cached) $ECHO_C" >&6
56693 else
56697 ac_ext=cc
56698 ac_cpp='$CXXCPP $CPPFLAGS'
56699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56703 cat >conftest.$ac_ext <<_ACEOF
56704 /* confdefs.h. */
56705 _ACEOF
56706 cat confdefs.h >>conftest.$ac_ext
56707 cat >>conftest.$ac_ext <<_ACEOF
56708 /* end confdefs.h. */
56709 #include <math.h>
56711 main ()
56713 `for x in acosf asinf atanf \
56714 cosf sinf tanf \
56715 coshf sinhf tanhf; do echo "$x (0);"; done`
56717 return 0;
56719 _ACEOF
56720 rm -f conftest.$ac_objext
56721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56722 (eval $ac_compile) 2>conftest.er1
56723 ac_status=$?
56724 grep -v '^ *+' conftest.er1 >conftest.err
56725 rm -f conftest.er1
56726 cat conftest.err >&5
56727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56728 (exit $ac_status); } &&
56729 { ac_try='test -z "$ac_cxx_werror_flag"
56730 || test ! -s conftest.err'
56731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56732 (eval $ac_try) 2>&5
56733 ac_status=$?
56734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735 (exit $ac_status); }; } &&
56736 { ac_try='test -s conftest.$ac_objext'
56737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56738 (eval $ac_try) 2>&5
56739 ac_status=$?
56740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56741 (exit $ac_status); }; }; then
56742 glibcxx_cv_func_float_trig_use=yes
56743 else
56744 echo "$as_me: failed program was:" >&5
56745 sed 's/^/| /' conftest.$ac_ext >&5
56747 glibcxx_cv_func_float_trig_use=no
56749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56750 ac_ext=c
56751 ac_cpp='$CPP $CPPFLAGS'
56752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56759 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56760 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56770 for ac_func in acosf asinf atanf \
56771 cosf sinf tanf \
56772 coshf sinhf tanhf
56774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56775 echo "$as_me:$LINENO: checking for $ac_func" >&5
56776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56777 if eval "test \"\${$as_ac_var+set}\" = set"; then
56778 echo $ECHO_N "(cached) $ECHO_C" >&6
56779 else
56780 if test x$gcc_no_link = xyes; then
56781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56783 { (exit 1); exit 1; }; }
56785 cat >conftest.$ac_ext <<_ACEOF
56786 /* confdefs.h. */
56787 _ACEOF
56788 cat confdefs.h >>conftest.$ac_ext
56789 cat >>conftest.$ac_ext <<_ACEOF
56790 /* end confdefs.h. */
56791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56793 #define $ac_func innocuous_$ac_func
56795 /* System header to define __stub macros and hopefully few prototypes,
56796 which can conflict with char $ac_func (); below.
56797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56798 <limits.h> exists even on freestanding compilers. */
56800 #ifdef __STDC__
56801 # include <limits.h>
56802 #else
56803 # include <assert.h>
56804 #endif
56806 #undef $ac_func
56808 /* Override any gcc2 internal prototype to avoid an error. */
56809 #ifdef __cplusplus
56810 extern "C"
56812 #endif
56813 /* We use char because int might match the return type of a gcc2
56814 builtin and then its argument prototype would still apply. */
56815 char $ac_func ();
56816 /* The GNU C library defines this for functions which it implements
56817 to always fail with ENOSYS. Some functions are actually named
56818 something starting with __ and the normal name is an alias. */
56819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56820 choke me
56821 #else
56822 char (*f) () = $ac_func;
56823 #endif
56824 #ifdef __cplusplus
56826 #endif
56829 main ()
56831 return f != $ac_func;
56833 return 0;
56835 _ACEOF
56836 rm -f conftest.$ac_objext conftest$ac_exeext
56837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56838 (eval $ac_link) 2>conftest.er1
56839 ac_status=$?
56840 grep -v '^ *+' conftest.er1 >conftest.err
56841 rm -f conftest.er1
56842 cat conftest.err >&5
56843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56844 (exit $ac_status); } &&
56845 { ac_try='test -z "$ac_c_werror_flag"
56846 || test ! -s conftest.err'
56847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56848 (eval $ac_try) 2>&5
56849 ac_status=$?
56850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56851 (exit $ac_status); }; } &&
56852 { ac_try='test -s conftest$ac_exeext'
56853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56854 (eval $ac_try) 2>&5
56855 ac_status=$?
56856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56857 (exit $ac_status); }; }; then
56858 eval "$as_ac_var=yes"
56859 else
56860 echo "$as_me: failed program was:" >&5
56861 sed 's/^/| /' conftest.$ac_ext >&5
56863 eval "$as_ac_var=no"
56865 rm -f conftest.err conftest.$ac_objext \
56866 conftest$ac_exeext conftest.$ac_ext
56868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56870 if test `eval echo '${'$as_ac_var'}'` = yes; then
56871 cat >>confdefs.h <<_ACEOF
56872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56873 _ACEOF
56876 done
56881 echo "$as_me:$LINENO: checking for float round functions" >&5
56882 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56883 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56884 echo $ECHO_N "(cached) $ECHO_C" >&6
56885 else
56889 ac_ext=cc
56890 ac_cpp='$CXXCPP $CPPFLAGS'
56891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56895 cat >conftest.$ac_ext <<_ACEOF
56896 /* confdefs.h. */
56897 _ACEOF
56898 cat confdefs.h >>conftest.$ac_ext
56899 cat >>conftest.$ac_ext <<_ACEOF
56900 /* end confdefs.h. */
56901 #include <math.h>
56903 main ()
56905 `for x in ceilf floorf; do echo "$x (0);"; done`
56907 return 0;
56909 _ACEOF
56910 rm -f conftest.$ac_objext
56911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56912 (eval $ac_compile) 2>conftest.er1
56913 ac_status=$?
56914 grep -v '^ *+' conftest.er1 >conftest.err
56915 rm -f conftest.er1
56916 cat conftest.err >&5
56917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56918 (exit $ac_status); } &&
56919 { ac_try='test -z "$ac_cxx_werror_flag"
56920 || test ! -s conftest.err'
56921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56922 (eval $ac_try) 2>&5
56923 ac_status=$?
56924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56925 (exit $ac_status); }; } &&
56926 { ac_try='test -s conftest.$ac_objext'
56927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56928 (eval $ac_try) 2>&5
56929 ac_status=$?
56930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56931 (exit $ac_status); }; }; then
56932 glibcxx_cv_func_float_round_use=yes
56933 else
56934 echo "$as_me: failed program was:" >&5
56935 sed 's/^/| /' conftest.$ac_ext >&5
56937 glibcxx_cv_func_float_round_use=no
56939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56940 ac_ext=c
56941 ac_cpp='$CPP $CPPFLAGS'
56942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56949 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56950 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56953 for ac_func in ceilf floorf
56955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56956 echo "$as_me:$LINENO: checking for $ac_func" >&5
56957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56958 if eval "test \"\${$as_ac_var+set}\" = set"; then
56959 echo $ECHO_N "(cached) $ECHO_C" >&6
56960 else
56961 if test x$gcc_no_link = xyes; then
56962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56964 { (exit 1); exit 1; }; }
56966 cat >conftest.$ac_ext <<_ACEOF
56967 /* confdefs.h. */
56968 _ACEOF
56969 cat confdefs.h >>conftest.$ac_ext
56970 cat >>conftest.$ac_ext <<_ACEOF
56971 /* end confdefs.h. */
56972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56974 #define $ac_func innocuous_$ac_func
56976 /* System header to define __stub macros and hopefully few prototypes,
56977 which can conflict with char $ac_func (); below.
56978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56979 <limits.h> exists even on freestanding compilers. */
56981 #ifdef __STDC__
56982 # include <limits.h>
56983 #else
56984 # include <assert.h>
56985 #endif
56987 #undef $ac_func
56989 /* Override any gcc2 internal prototype to avoid an error. */
56990 #ifdef __cplusplus
56991 extern "C"
56993 #endif
56994 /* We use char because int might match the return type of a gcc2
56995 builtin and then its argument prototype would still apply. */
56996 char $ac_func ();
56997 /* The GNU C library defines this for functions which it implements
56998 to always fail with ENOSYS. Some functions are actually named
56999 something starting with __ and the normal name is an alias. */
57000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57001 choke me
57002 #else
57003 char (*f) () = $ac_func;
57004 #endif
57005 #ifdef __cplusplus
57007 #endif
57010 main ()
57012 return f != $ac_func;
57014 return 0;
57016 _ACEOF
57017 rm -f conftest.$ac_objext conftest$ac_exeext
57018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57019 (eval $ac_link) 2>conftest.er1
57020 ac_status=$?
57021 grep -v '^ *+' conftest.er1 >conftest.err
57022 rm -f conftest.er1
57023 cat conftest.err >&5
57024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57025 (exit $ac_status); } &&
57026 { ac_try='test -z "$ac_c_werror_flag"
57027 || test ! -s conftest.err'
57028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57029 (eval $ac_try) 2>&5
57030 ac_status=$?
57031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57032 (exit $ac_status); }; } &&
57033 { ac_try='test -s conftest$ac_exeext'
57034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57035 (eval $ac_try) 2>&5
57036 ac_status=$?
57037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57038 (exit $ac_status); }; }; then
57039 eval "$as_ac_var=yes"
57040 else
57041 echo "$as_me: failed program was:" >&5
57042 sed 's/^/| /' conftest.$ac_ext >&5
57044 eval "$as_ac_var=no"
57046 rm -f conftest.err conftest.$ac_objext \
57047 conftest$ac_exeext conftest.$ac_ext
57049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57051 if test `eval echo '${'$as_ac_var'}'` = yes; then
57052 cat >>confdefs.h <<_ACEOF
57053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57054 _ACEOF
57057 done
57063 echo "$as_me:$LINENO: checking for expf declaration" >&5
57064 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57065 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57066 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57067 echo $ECHO_N "(cached) $ECHO_C" >&6
57068 else
57072 ac_ext=cc
57073 ac_cpp='$CXXCPP $CPPFLAGS'
57074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57078 cat >conftest.$ac_ext <<_ACEOF
57079 /* confdefs.h. */
57080 _ACEOF
57081 cat confdefs.h >>conftest.$ac_ext
57082 cat >>conftest.$ac_ext <<_ACEOF
57083 /* end confdefs.h. */
57084 #include <math.h>
57085 #ifdef HAVE_IEEEFP_H
57086 #include <ieeefp.h>
57087 #endif
57090 main ()
57092 expf(0);
57094 return 0;
57096 _ACEOF
57097 rm -f conftest.$ac_objext
57098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57099 (eval $ac_compile) 2>conftest.er1
57100 ac_status=$?
57101 grep -v '^ *+' conftest.er1 >conftest.err
57102 rm -f conftest.er1
57103 cat conftest.err >&5
57104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57105 (exit $ac_status); } &&
57106 { ac_try='test -z "$ac_cxx_werror_flag"
57107 || test ! -s conftest.err'
57108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57109 (eval $ac_try) 2>&5
57110 ac_status=$?
57111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57112 (exit $ac_status); }; } &&
57113 { ac_try='test -s conftest.$ac_objext'
57114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57115 (eval $ac_try) 2>&5
57116 ac_status=$?
57117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118 (exit $ac_status); }; }; then
57119 glibcxx_cv_func_expf_use=yes
57120 else
57121 echo "$as_me: failed program was:" >&5
57122 sed 's/^/| /' conftest.$ac_ext >&5
57124 glibcxx_cv_func_expf_use=no
57126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57127 ac_ext=c
57128 ac_cpp='$CPP $CPPFLAGS'
57129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57138 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57140 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57142 for ac_func in expf
57144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57145 echo "$as_me:$LINENO: checking for $ac_func" >&5
57146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57147 if eval "test \"\${$as_ac_var+set}\" = set"; then
57148 echo $ECHO_N "(cached) $ECHO_C" >&6
57149 else
57150 if test x$gcc_no_link = xyes; then
57151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57153 { (exit 1); exit 1; }; }
57155 cat >conftest.$ac_ext <<_ACEOF
57156 /* confdefs.h. */
57157 _ACEOF
57158 cat confdefs.h >>conftest.$ac_ext
57159 cat >>conftest.$ac_ext <<_ACEOF
57160 /* end confdefs.h. */
57161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57163 #define $ac_func innocuous_$ac_func
57165 /* System header to define __stub macros and hopefully few prototypes,
57166 which can conflict with char $ac_func (); below.
57167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57168 <limits.h> exists even on freestanding compilers. */
57170 #ifdef __STDC__
57171 # include <limits.h>
57172 #else
57173 # include <assert.h>
57174 #endif
57176 #undef $ac_func
57178 /* Override any gcc2 internal prototype to avoid an error. */
57179 #ifdef __cplusplus
57180 extern "C"
57182 #endif
57183 /* We use char because int might match the return type of a gcc2
57184 builtin and then its argument prototype would still apply. */
57185 char $ac_func ();
57186 /* The GNU C library defines this for functions which it implements
57187 to always fail with ENOSYS. Some functions are actually named
57188 something starting with __ and the normal name is an alias. */
57189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57190 choke me
57191 #else
57192 char (*f) () = $ac_func;
57193 #endif
57194 #ifdef __cplusplus
57196 #endif
57199 main ()
57201 return f != $ac_func;
57203 return 0;
57205 _ACEOF
57206 rm -f conftest.$ac_objext conftest$ac_exeext
57207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57208 (eval $ac_link) 2>conftest.er1
57209 ac_status=$?
57210 grep -v '^ *+' conftest.er1 >conftest.err
57211 rm -f conftest.er1
57212 cat conftest.err >&5
57213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57214 (exit $ac_status); } &&
57215 { ac_try='test -z "$ac_c_werror_flag"
57216 || test ! -s conftest.err'
57217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57218 (eval $ac_try) 2>&5
57219 ac_status=$?
57220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57221 (exit $ac_status); }; } &&
57222 { ac_try='test -s conftest$ac_exeext'
57223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57224 (eval $ac_try) 2>&5
57225 ac_status=$?
57226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57227 (exit $ac_status); }; }; then
57228 eval "$as_ac_var=yes"
57229 else
57230 echo "$as_me: failed program was:" >&5
57231 sed 's/^/| /' conftest.$ac_ext >&5
57233 eval "$as_ac_var=no"
57235 rm -f conftest.err conftest.$ac_objext \
57236 conftest$ac_exeext conftest.$ac_ext
57238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57240 if test `eval echo '${'$as_ac_var'}'` = yes; then
57241 cat >>confdefs.h <<_ACEOF
57242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57243 _ACEOF
57246 done
57248 else
57250 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57251 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57252 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57253 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57254 echo $ECHO_N "(cached) $ECHO_C" >&6
57255 else
57259 ac_ext=cc
57260 ac_cpp='$CXXCPP $CPPFLAGS'
57261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57265 cat >conftest.$ac_ext <<_ACEOF
57266 /* confdefs.h. */
57267 _ACEOF
57268 cat confdefs.h >>conftest.$ac_ext
57269 cat >>conftest.$ac_ext <<_ACEOF
57270 /* end confdefs.h. */
57271 #include <math.h>
57272 #ifdef HAVE_IEEEFP_H
57273 #include <ieeefp.h>
57274 #endif
57277 main ()
57279 _expf(0);
57281 return 0;
57283 _ACEOF
57284 rm -f conftest.$ac_objext
57285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57286 (eval $ac_compile) 2>conftest.er1
57287 ac_status=$?
57288 grep -v '^ *+' conftest.er1 >conftest.err
57289 rm -f conftest.er1
57290 cat conftest.err >&5
57291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57292 (exit $ac_status); } &&
57293 { ac_try='test -z "$ac_cxx_werror_flag"
57294 || test ! -s conftest.err'
57295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57296 (eval $ac_try) 2>&5
57297 ac_status=$?
57298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57299 (exit $ac_status); }; } &&
57300 { ac_try='test -s conftest.$ac_objext'
57301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57302 (eval $ac_try) 2>&5
57303 ac_status=$?
57304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57305 (exit $ac_status); }; }; then
57306 glibcxx_cv_func__expf_use=yes
57307 else
57308 echo "$as_me: failed program was:" >&5
57309 sed 's/^/| /' conftest.$ac_ext >&5
57311 glibcxx_cv_func__expf_use=no
57313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57314 ac_ext=c
57315 ac_cpp='$CPP $CPPFLAGS'
57316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57325 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57327 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57329 for ac_func in _expf
57331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57332 echo "$as_me:$LINENO: checking for $ac_func" >&5
57333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57334 if eval "test \"\${$as_ac_var+set}\" = set"; then
57335 echo $ECHO_N "(cached) $ECHO_C" >&6
57336 else
57337 if test x$gcc_no_link = xyes; then
57338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57340 { (exit 1); exit 1; }; }
57342 cat >conftest.$ac_ext <<_ACEOF
57343 /* confdefs.h. */
57344 _ACEOF
57345 cat confdefs.h >>conftest.$ac_ext
57346 cat >>conftest.$ac_ext <<_ACEOF
57347 /* end confdefs.h. */
57348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57350 #define $ac_func innocuous_$ac_func
57352 /* System header to define __stub macros and hopefully few prototypes,
57353 which can conflict with char $ac_func (); below.
57354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57355 <limits.h> exists even on freestanding compilers. */
57357 #ifdef __STDC__
57358 # include <limits.h>
57359 #else
57360 # include <assert.h>
57361 #endif
57363 #undef $ac_func
57365 /* Override any gcc2 internal prototype to avoid an error. */
57366 #ifdef __cplusplus
57367 extern "C"
57369 #endif
57370 /* We use char because int might match the return type of a gcc2
57371 builtin and then its argument prototype would still apply. */
57372 char $ac_func ();
57373 /* The GNU C library defines this for functions which it implements
57374 to always fail with ENOSYS. Some functions are actually named
57375 something starting with __ and the normal name is an alias. */
57376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57377 choke me
57378 #else
57379 char (*f) () = $ac_func;
57380 #endif
57381 #ifdef __cplusplus
57383 #endif
57386 main ()
57388 return f != $ac_func;
57390 return 0;
57392 _ACEOF
57393 rm -f conftest.$ac_objext conftest$ac_exeext
57394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57395 (eval $ac_link) 2>conftest.er1
57396 ac_status=$?
57397 grep -v '^ *+' conftest.er1 >conftest.err
57398 rm -f conftest.er1
57399 cat conftest.err >&5
57400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57401 (exit $ac_status); } &&
57402 { ac_try='test -z "$ac_c_werror_flag"
57403 || test ! -s conftest.err'
57404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57405 (eval $ac_try) 2>&5
57406 ac_status=$?
57407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57408 (exit $ac_status); }; } &&
57409 { ac_try='test -s conftest$ac_exeext'
57410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57411 (eval $ac_try) 2>&5
57412 ac_status=$?
57413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57414 (exit $ac_status); }; }; then
57415 eval "$as_ac_var=yes"
57416 else
57417 echo "$as_me: failed program was:" >&5
57418 sed 's/^/| /' conftest.$ac_ext >&5
57420 eval "$as_ac_var=no"
57422 rm -f conftest.err conftest.$ac_objext \
57423 conftest$ac_exeext conftest.$ac_ext
57425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57427 if test `eval echo '${'$as_ac_var'}'` = yes; then
57428 cat >>confdefs.h <<_ACEOF
57429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57430 _ACEOF
57433 done
57440 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57441 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57442 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57443 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57444 echo $ECHO_N "(cached) $ECHO_C" >&6
57445 else
57449 ac_ext=cc
57450 ac_cpp='$CXXCPP $CPPFLAGS'
57451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57455 cat >conftest.$ac_ext <<_ACEOF
57456 /* confdefs.h. */
57457 _ACEOF
57458 cat confdefs.h >>conftest.$ac_ext
57459 cat >>conftest.$ac_ext <<_ACEOF
57460 /* end confdefs.h. */
57461 #include <math.h>
57462 #ifdef HAVE_IEEEFP_H
57463 #include <ieeefp.h>
57464 #endif
57467 main ()
57469 isnanf(0);
57471 return 0;
57473 _ACEOF
57474 rm -f conftest.$ac_objext
57475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57476 (eval $ac_compile) 2>conftest.er1
57477 ac_status=$?
57478 grep -v '^ *+' conftest.er1 >conftest.err
57479 rm -f conftest.er1
57480 cat conftest.err >&5
57481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57482 (exit $ac_status); } &&
57483 { ac_try='test -z "$ac_cxx_werror_flag"
57484 || test ! -s conftest.err'
57485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57486 (eval $ac_try) 2>&5
57487 ac_status=$?
57488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57489 (exit $ac_status); }; } &&
57490 { ac_try='test -s conftest.$ac_objext'
57491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57492 (eval $ac_try) 2>&5
57493 ac_status=$?
57494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57495 (exit $ac_status); }; }; then
57496 glibcxx_cv_func_isnanf_use=yes
57497 else
57498 echo "$as_me: failed program was:" >&5
57499 sed 's/^/| /' conftest.$ac_ext >&5
57501 glibcxx_cv_func_isnanf_use=no
57503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57504 ac_ext=c
57505 ac_cpp='$CPP $CPPFLAGS'
57506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57515 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57517 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57519 for ac_func in isnanf
57521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57522 echo "$as_me:$LINENO: checking for $ac_func" >&5
57523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57524 if eval "test \"\${$as_ac_var+set}\" = set"; then
57525 echo $ECHO_N "(cached) $ECHO_C" >&6
57526 else
57527 if test x$gcc_no_link = xyes; then
57528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57530 { (exit 1); exit 1; }; }
57532 cat >conftest.$ac_ext <<_ACEOF
57533 /* confdefs.h. */
57534 _ACEOF
57535 cat confdefs.h >>conftest.$ac_ext
57536 cat >>conftest.$ac_ext <<_ACEOF
57537 /* end confdefs.h. */
57538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57540 #define $ac_func innocuous_$ac_func
57542 /* System header to define __stub macros and hopefully few prototypes,
57543 which can conflict with char $ac_func (); below.
57544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57545 <limits.h> exists even on freestanding compilers. */
57547 #ifdef __STDC__
57548 # include <limits.h>
57549 #else
57550 # include <assert.h>
57551 #endif
57553 #undef $ac_func
57555 /* Override any gcc2 internal prototype to avoid an error. */
57556 #ifdef __cplusplus
57557 extern "C"
57559 #endif
57560 /* We use char because int might match the return type of a gcc2
57561 builtin and then its argument prototype would still apply. */
57562 char $ac_func ();
57563 /* The GNU C library defines this for functions which it implements
57564 to always fail with ENOSYS. Some functions are actually named
57565 something starting with __ and the normal name is an alias. */
57566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57567 choke me
57568 #else
57569 char (*f) () = $ac_func;
57570 #endif
57571 #ifdef __cplusplus
57573 #endif
57576 main ()
57578 return f != $ac_func;
57580 return 0;
57582 _ACEOF
57583 rm -f conftest.$ac_objext conftest$ac_exeext
57584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57585 (eval $ac_link) 2>conftest.er1
57586 ac_status=$?
57587 grep -v '^ *+' conftest.er1 >conftest.err
57588 rm -f conftest.er1
57589 cat conftest.err >&5
57590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57591 (exit $ac_status); } &&
57592 { ac_try='test -z "$ac_c_werror_flag"
57593 || test ! -s conftest.err'
57594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57595 (eval $ac_try) 2>&5
57596 ac_status=$?
57597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57598 (exit $ac_status); }; } &&
57599 { ac_try='test -s conftest$ac_exeext'
57600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57601 (eval $ac_try) 2>&5
57602 ac_status=$?
57603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57604 (exit $ac_status); }; }; then
57605 eval "$as_ac_var=yes"
57606 else
57607 echo "$as_me: failed program was:" >&5
57608 sed 's/^/| /' conftest.$ac_ext >&5
57610 eval "$as_ac_var=no"
57612 rm -f conftest.err conftest.$ac_objext \
57613 conftest$ac_exeext conftest.$ac_ext
57615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57617 if test `eval echo '${'$as_ac_var'}'` = yes; then
57618 cat >>confdefs.h <<_ACEOF
57619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57620 _ACEOF
57623 done
57625 else
57627 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57628 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57629 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57630 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57631 echo $ECHO_N "(cached) $ECHO_C" >&6
57632 else
57636 ac_ext=cc
57637 ac_cpp='$CXXCPP $CPPFLAGS'
57638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57642 cat >conftest.$ac_ext <<_ACEOF
57643 /* confdefs.h. */
57644 _ACEOF
57645 cat confdefs.h >>conftest.$ac_ext
57646 cat >>conftest.$ac_ext <<_ACEOF
57647 /* end confdefs.h. */
57648 #include <math.h>
57649 #ifdef HAVE_IEEEFP_H
57650 #include <ieeefp.h>
57651 #endif
57654 main ()
57656 _isnanf(0);
57658 return 0;
57660 _ACEOF
57661 rm -f conftest.$ac_objext
57662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57663 (eval $ac_compile) 2>conftest.er1
57664 ac_status=$?
57665 grep -v '^ *+' conftest.er1 >conftest.err
57666 rm -f conftest.er1
57667 cat conftest.err >&5
57668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57669 (exit $ac_status); } &&
57670 { ac_try='test -z "$ac_cxx_werror_flag"
57671 || test ! -s conftest.err'
57672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57673 (eval $ac_try) 2>&5
57674 ac_status=$?
57675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57676 (exit $ac_status); }; } &&
57677 { ac_try='test -s conftest.$ac_objext'
57678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57679 (eval $ac_try) 2>&5
57680 ac_status=$?
57681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57682 (exit $ac_status); }; }; then
57683 glibcxx_cv_func__isnanf_use=yes
57684 else
57685 echo "$as_me: failed program was:" >&5
57686 sed 's/^/| /' conftest.$ac_ext >&5
57688 glibcxx_cv_func__isnanf_use=no
57690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57691 ac_ext=c
57692 ac_cpp='$CPP $CPPFLAGS'
57693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57701 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57702 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57704 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57706 for ac_func in _isnanf
57708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57709 echo "$as_me:$LINENO: checking for $ac_func" >&5
57710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57711 if eval "test \"\${$as_ac_var+set}\" = set"; then
57712 echo $ECHO_N "(cached) $ECHO_C" >&6
57713 else
57714 if test x$gcc_no_link = xyes; then
57715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57717 { (exit 1); exit 1; }; }
57719 cat >conftest.$ac_ext <<_ACEOF
57720 /* confdefs.h. */
57721 _ACEOF
57722 cat confdefs.h >>conftest.$ac_ext
57723 cat >>conftest.$ac_ext <<_ACEOF
57724 /* end confdefs.h. */
57725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57727 #define $ac_func innocuous_$ac_func
57729 /* System header to define __stub macros and hopefully few prototypes,
57730 which can conflict with char $ac_func (); below.
57731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57732 <limits.h> exists even on freestanding compilers. */
57734 #ifdef __STDC__
57735 # include <limits.h>
57736 #else
57737 # include <assert.h>
57738 #endif
57740 #undef $ac_func
57742 /* Override any gcc2 internal prototype to avoid an error. */
57743 #ifdef __cplusplus
57744 extern "C"
57746 #endif
57747 /* We use char because int might match the return type of a gcc2
57748 builtin and then its argument prototype would still apply. */
57749 char $ac_func ();
57750 /* The GNU C library defines this for functions which it implements
57751 to always fail with ENOSYS. Some functions are actually named
57752 something starting with __ and the normal name is an alias. */
57753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57754 choke me
57755 #else
57756 char (*f) () = $ac_func;
57757 #endif
57758 #ifdef __cplusplus
57760 #endif
57763 main ()
57765 return f != $ac_func;
57767 return 0;
57769 _ACEOF
57770 rm -f conftest.$ac_objext conftest$ac_exeext
57771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57772 (eval $ac_link) 2>conftest.er1
57773 ac_status=$?
57774 grep -v '^ *+' conftest.er1 >conftest.err
57775 rm -f conftest.er1
57776 cat conftest.err >&5
57777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57778 (exit $ac_status); } &&
57779 { ac_try='test -z "$ac_c_werror_flag"
57780 || test ! -s conftest.err'
57781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57782 (eval $ac_try) 2>&5
57783 ac_status=$?
57784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57785 (exit $ac_status); }; } &&
57786 { ac_try='test -s conftest$ac_exeext'
57787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57788 (eval $ac_try) 2>&5
57789 ac_status=$?
57790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57791 (exit $ac_status); }; }; then
57792 eval "$as_ac_var=yes"
57793 else
57794 echo "$as_me: failed program was:" >&5
57795 sed 's/^/| /' conftest.$ac_ext >&5
57797 eval "$as_ac_var=no"
57799 rm -f conftest.err conftest.$ac_objext \
57800 conftest$ac_exeext conftest.$ac_ext
57802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57804 if test `eval echo '${'$as_ac_var'}'` = yes; then
57805 cat >>confdefs.h <<_ACEOF
57806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57807 _ACEOF
57810 done
57817 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57818 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57819 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57820 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57821 echo $ECHO_N "(cached) $ECHO_C" >&6
57822 else
57826 ac_ext=cc
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57832 cat >conftest.$ac_ext <<_ACEOF
57833 /* confdefs.h. */
57834 _ACEOF
57835 cat confdefs.h >>conftest.$ac_ext
57836 cat >>conftest.$ac_ext <<_ACEOF
57837 /* end confdefs.h. */
57838 #include <math.h>
57839 #ifdef HAVE_IEEEFP_H
57840 #include <ieeefp.h>
57841 #endif
57844 main ()
57846 isinff(0);
57848 return 0;
57850 _ACEOF
57851 rm -f conftest.$ac_objext
57852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57853 (eval $ac_compile) 2>conftest.er1
57854 ac_status=$?
57855 grep -v '^ *+' conftest.er1 >conftest.err
57856 rm -f conftest.er1
57857 cat conftest.err >&5
57858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57859 (exit $ac_status); } &&
57860 { ac_try='test -z "$ac_cxx_werror_flag"
57861 || test ! -s conftest.err'
57862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57863 (eval $ac_try) 2>&5
57864 ac_status=$?
57865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57866 (exit $ac_status); }; } &&
57867 { ac_try='test -s conftest.$ac_objext'
57868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57869 (eval $ac_try) 2>&5
57870 ac_status=$?
57871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57872 (exit $ac_status); }; }; then
57873 glibcxx_cv_func_isinff_use=yes
57874 else
57875 echo "$as_me: failed program was:" >&5
57876 sed 's/^/| /' conftest.$ac_ext >&5
57878 glibcxx_cv_func_isinff_use=no
57880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57881 ac_ext=c
57882 ac_cpp='$CPP $CPPFLAGS'
57883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57892 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57894 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57896 for ac_func in isinff
57898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57899 echo "$as_me:$LINENO: checking for $ac_func" >&5
57900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57901 if eval "test \"\${$as_ac_var+set}\" = set"; then
57902 echo $ECHO_N "(cached) $ECHO_C" >&6
57903 else
57904 if test x$gcc_no_link = xyes; then
57905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57907 { (exit 1); exit 1; }; }
57909 cat >conftest.$ac_ext <<_ACEOF
57910 /* confdefs.h. */
57911 _ACEOF
57912 cat confdefs.h >>conftest.$ac_ext
57913 cat >>conftest.$ac_ext <<_ACEOF
57914 /* end confdefs.h. */
57915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57917 #define $ac_func innocuous_$ac_func
57919 /* System header to define __stub macros and hopefully few prototypes,
57920 which can conflict with char $ac_func (); below.
57921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57922 <limits.h> exists even on freestanding compilers. */
57924 #ifdef __STDC__
57925 # include <limits.h>
57926 #else
57927 # include <assert.h>
57928 #endif
57930 #undef $ac_func
57932 /* Override any gcc2 internal prototype to avoid an error. */
57933 #ifdef __cplusplus
57934 extern "C"
57936 #endif
57937 /* We use char because int might match the return type of a gcc2
57938 builtin and then its argument prototype would still apply. */
57939 char $ac_func ();
57940 /* The GNU C library defines this for functions which it implements
57941 to always fail with ENOSYS. Some functions are actually named
57942 something starting with __ and the normal name is an alias. */
57943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57944 choke me
57945 #else
57946 char (*f) () = $ac_func;
57947 #endif
57948 #ifdef __cplusplus
57950 #endif
57953 main ()
57955 return f != $ac_func;
57957 return 0;
57959 _ACEOF
57960 rm -f conftest.$ac_objext conftest$ac_exeext
57961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57962 (eval $ac_link) 2>conftest.er1
57963 ac_status=$?
57964 grep -v '^ *+' conftest.er1 >conftest.err
57965 rm -f conftest.er1
57966 cat conftest.err >&5
57967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57968 (exit $ac_status); } &&
57969 { ac_try='test -z "$ac_c_werror_flag"
57970 || test ! -s conftest.err'
57971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57972 (eval $ac_try) 2>&5
57973 ac_status=$?
57974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57975 (exit $ac_status); }; } &&
57976 { ac_try='test -s conftest$ac_exeext'
57977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57978 (eval $ac_try) 2>&5
57979 ac_status=$?
57980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57981 (exit $ac_status); }; }; then
57982 eval "$as_ac_var=yes"
57983 else
57984 echo "$as_me: failed program was:" >&5
57985 sed 's/^/| /' conftest.$ac_ext >&5
57987 eval "$as_ac_var=no"
57989 rm -f conftest.err conftest.$ac_objext \
57990 conftest$ac_exeext conftest.$ac_ext
57992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57994 if test `eval echo '${'$as_ac_var'}'` = yes; then
57995 cat >>confdefs.h <<_ACEOF
57996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57997 _ACEOF
58000 done
58002 else
58004 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58005 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58006 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58007 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58008 echo $ECHO_N "(cached) $ECHO_C" >&6
58009 else
58013 ac_ext=cc
58014 ac_cpp='$CXXCPP $CPPFLAGS'
58015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58019 cat >conftest.$ac_ext <<_ACEOF
58020 /* confdefs.h. */
58021 _ACEOF
58022 cat confdefs.h >>conftest.$ac_ext
58023 cat >>conftest.$ac_ext <<_ACEOF
58024 /* end confdefs.h. */
58025 #include <math.h>
58026 #ifdef HAVE_IEEEFP_H
58027 #include <ieeefp.h>
58028 #endif
58031 main ()
58033 _isinff(0);
58035 return 0;
58037 _ACEOF
58038 rm -f conftest.$ac_objext
58039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58040 (eval $ac_compile) 2>conftest.er1
58041 ac_status=$?
58042 grep -v '^ *+' conftest.er1 >conftest.err
58043 rm -f conftest.er1
58044 cat conftest.err >&5
58045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58046 (exit $ac_status); } &&
58047 { ac_try='test -z "$ac_cxx_werror_flag"
58048 || test ! -s conftest.err'
58049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58050 (eval $ac_try) 2>&5
58051 ac_status=$?
58052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58053 (exit $ac_status); }; } &&
58054 { ac_try='test -s conftest.$ac_objext'
58055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58056 (eval $ac_try) 2>&5
58057 ac_status=$?
58058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58059 (exit $ac_status); }; }; then
58060 glibcxx_cv_func__isinff_use=yes
58061 else
58062 echo "$as_me: failed program was:" >&5
58063 sed 's/^/| /' conftest.$ac_ext >&5
58065 glibcxx_cv_func__isinff_use=no
58067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58068 ac_ext=c
58069 ac_cpp='$CPP $CPPFLAGS'
58070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58079 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58081 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58083 for ac_func in _isinff
58085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58086 echo "$as_me:$LINENO: checking for $ac_func" >&5
58087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58088 if eval "test \"\${$as_ac_var+set}\" = set"; then
58089 echo $ECHO_N "(cached) $ECHO_C" >&6
58090 else
58091 if test x$gcc_no_link = xyes; then
58092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58094 { (exit 1); exit 1; }; }
58096 cat >conftest.$ac_ext <<_ACEOF
58097 /* confdefs.h. */
58098 _ACEOF
58099 cat confdefs.h >>conftest.$ac_ext
58100 cat >>conftest.$ac_ext <<_ACEOF
58101 /* end confdefs.h. */
58102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58104 #define $ac_func innocuous_$ac_func
58106 /* System header to define __stub macros and hopefully few prototypes,
58107 which can conflict with char $ac_func (); below.
58108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58109 <limits.h> exists even on freestanding compilers. */
58111 #ifdef __STDC__
58112 # include <limits.h>
58113 #else
58114 # include <assert.h>
58115 #endif
58117 #undef $ac_func
58119 /* Override any gcc2 internal prototype to avoid an error. */
58120 #ifdef __cplusplus
58121 extern "C"
58123 #endif
58124 /* We use char because int might match the return type of a gcc2
58125 builtin and then its argument prototype would still apply. */
58126 char $ac_func ();
58127 /* The GNU C library defines this for functions which it implements
58128 to always fail with ENOSYS. Some functions are actually named
58129 something starting with __ and the normal name is an alias. */
58130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58131 choke me
58132 #else
58133 char (*f) () = $ac_func;
58134 #endif
58135 #ifdef __cplusplus
58137 #endif
58140 main ()
58142 return f != $ac_func;
58144 return 0;
58146 _ACEOF
58147 rm -f conftest.$ac_objext conftest$ac_exeext
58148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58149 (eval $ac_link) 2>conftest.er1
58150 ac_status=$?
58151 grep -v '^ *+' conftest.er1 >conftest.err
58152 rm -f conftest.er1
58153 cat conftest.err >&5
58154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58155 (exit $ac_status); } &&
58156 { ac_try='test -z "$ac_c_werror_flag"
58157 || test ! -s conftest.err'
58158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58159 (eval $ac_try) 2>&5
58160 ac_status=$?
58161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58162 (exit $ac_status); }; } &&
58163 { ac_try='test -s conftest$ac_exeext'
58164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58165 (eval $ac_try) 2>&5
58166 ac_status=$?
58167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58168 (exit $ac_status); }; }; then
58169 eval "$as_ac_var=yes"
58170 else
58171 echo "$as_me: failed program was:" >&5
58172 sed 's/^/| /' conftest.$ac_ext >&5
58174 eval "$as_ac_var=no"
58176 rm -f conftest.err conftest.$ac_objext \
58177 conftest$ac_exeext conftest.$ac_ext
58179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58181 if test `eval echo '${'$as_ac_var'}'` = yes; then
58182 cat >>confdefs.h <<_ACEOF
58183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58184 _ACEOF
58187 done
58194 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58195 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58196 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58197 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58198 echo $ECHO_N "(cached) $ECHO_C" >&6
58199 else
58203 ac_ext=cc
58204 ac_cpp='$CXXCPP $CPPFLAGS'
58205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58209 cat >conftest.$ac_ext <<_ACEOF
58210 /* confdefs.h. */
58211 _ACEOF
58212 cat confdefs.h >>conftest.$ac_ext
58213 cat >>conftest.$ac_ext <<_ACEOF
58214 /* end confdefs.h. */
58215 #include <math.h>
58217 main ()
58219 atan2f(0, 0);
58221 return 0;
58223 _ACEOF
58224 rm -f conftest.$ac_objext
58225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58226 (eval $ac_compile) 2>conftest.er1
58227 ac_status=$?
58228 grep -v '^ *+' conftest.er1 >conftest.err
58229 rm -f conftest.er1
58230 cat conftest.err >&5
58231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58232 (exit $ac_status); } &&
58233 { ac_try='test -z "$ac_cxx_werror_flag"
58234 || test ! -s conftest.err'
58235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58236 (eval $ac_try) 2>&5
58237 ac_status=$?
58238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58239 (exit $ac_status); }; } &&
58240 { ac_try='test -s conftest.$ac_objext'
58241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58242 (eval $ac_try) 2>&5
58243 ac_status=$?
58244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58245 (exit $ac_status); }; }; then
58246 glibcxx_cv_func_atan2f_use=yes
58247 else
58248 echo "$as_me: failed program was:" >&5
58249 sed 's/^/| /' conftest.$ac_ext >&5
58251 glibcxx_cv_func_atan2f_use=no
58253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58254 ac_ext=c
58255 ac_cpp='$CPP $CPPFLAGS'
58256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58265 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58267 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58269 for ac_func in atan2f
58271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58272 echo "$as_me:$LINENO: checking for $ac_func" >&5
58273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58274 if eval "test \"\${$as_ac_var+set}\" = set"; then
58275 echo $ECHO_N "(cached) $ECHO_C" >&6
58276 else
58277 if test x$gcc_no_link = xyes; then
58278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58280 { (exit 1); exit 1; }; }
58282 cat >conftest.$ac_ext <<_ACEOF
58283 /* confdefs.h. */
58284 _ACEOF
58285 cat confdefs.h >>conftest.$ac_ext
58286 cat >>conftest.$ac_ext <<_ACEOF
58287 /* end confdefs.h. */
58288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58290 #define $ac_func innocuous_$ac_func
58292 /* System header to define __stub macros and hopefully few prototypes,
58293 which can conflict with char $ac_func (); below.
58294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58295 <limits.h> exists even on freestanding compilers. */
58297 #ifdef __STDC__
58298 # include <limits.h>
58299 #else
58300 # include <assert.h>
58301 #endif
58303 #undef $ac_func
58305 /* Override any gcc2 internal prototype to avoid an error. */
58306 #ifdef __cplusplus
58307 extern "C"
58309 #endif
58310 /* We use char because int might match the return type of a gcc2
58311 builtin and then its argument prototype would still apply. */
58312 char $ac_func ();
58313 /* The GNU C library defines this for functions which it implements
58314 to always fail with ENOSYS. Some functions are actually named
58315 something starting with __ and the normal name is an alias. */
58316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58317 choke me
58318 #else
58319 char (*f) () = $ac_func;
58320 #endif
58321 #ifdef __cplusplus
58323 #endif
58326 main ()
58328 return f != $ac_func;
58330 return 0;
58332 _ACEOF
58333 rm -f conftest.$ac_objext conftest$ac_exeext
58334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58335 (eval $ac_link) 2>conftest.er1
58336 ac_status=$?
58337 grep -v '^ *+' conftest.er1 >conftest.err
58338 rm -f conftest.er1
58339 cat conftest.err >&5
58340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58341 (exit $ac_status); } &&
58342 { ac_try='test -z "$ac_c_werror_flag"
58343 || test ! -s conftest.err'
58344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58345 (eval $ac_try) 2>&5
58346 ac_status=$?
58347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58348 (exit $ac_status); }; } &&
58349 { ac_try='test -s conftest$ac_exeext'
58350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58351 (eval $ac_try) 2>&5
58352 ac_status=$?
58353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58354 (exit $ac_status); }; }; then
58355 eval "$as_ac_var=yes"
58356 else
58357 echo "$as_me: failed program was:" >&5
58358 sed 's/^/| /' conftest.$ac_ext >&5
58360 eval "$as_ac_var=no"
58362 rm -f conftest.err conftest.$ac_objext \
58363 conftest$ac_exeext conftest.$ac_ext
58365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58367 if test `eval echo '${'$as_ac_var'}'` = yes; then
58368 cat >>confdefs.h <<_ACEOF
58369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58370 _ACEOF
58373 done
58375 else
58377 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58378 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58379 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58380 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58381 echo $ECHO_N "(cached) $ECHO_C" >&6
58382 else
58386 ac_ext=cc
58387 ac_cpp='$CXXCPP $CPPFLAGS'
58388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58392 cat >conftest.$ac_ext <<_ACEOF
58393 /* confdefs.h. */
58394 _ACEOF
58395 cat confdefs.h >>conftest.$ac_ext
58396 cat >>conftest.$ac_ext <<_ACEOF
58397 /* end confdefs.h. */
58398 #include <math.h>
58400 main ()
58402 _atan2f(0, 0);
58404 return 0;
58406 _ACEOF
58407 rm -f conftest.$ac_objext
58408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58409 (eval $ac_compile) 2>conftest.er1
58410 ac_status=$?
58411 grep -v '^ *+' conftest.er1 >conftest.err
58412 rm -f conftest.er1
58413 cat conftest.err >&5
58414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58415 (exit $ac_status); } &&
58416 { ac_try='test -z "$ac_cxx_werror_flag"
58417 || test ! -s conftest.err'
58418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58419 (eval $ac_try) 2>&5
58420 ac_status=$?
58421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58422 (exit $ac_status); }; } &&
58423 { ac_try='test -s conftest.$ac_objext'
58424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58425 (eval $ac_try) 2>&5
58426 ac_status=$?
58427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58428 (exit $ac_status); }; }; then
58429 glibcxx_cv_func__atan2f_use=yes
58430 else
58431 echo "$as_me: failed program was:" >&5
58432 sed 's/^/| /' conftest.$ac_ext >&5
58434 glibcxx_cv_func__atan2f_use=no
58436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58437 ac_ext=c
58438 ac_cpp='$CPP $CPPFLAGS'
58439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58448 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58450 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58452 for ac_func in _atan2f
58454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58455 echo "$as_me:$LINENO: checking for $ac_func" >&5
58456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58457 if eval "test \"\${$as_ac_var+set}\" = set"; then
58458 echo $ECHO_N "(cached) $ECHO_C" >&6
58459 else
58460 if test x$gcc_no_link = xyes; then
58461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58463 { (exit 1); exit 1; }; }
58465 cat >conftest.$ac_ext <<_ACEOF
58466 /* confdefs.h. */
58467 _ACEOF
58468 cat confdefs.h >>conftest.$ac_ext
58469 cat >>conftest.$ac_ext <<_ACEOF
58470 /* end confdefs.h. */
58471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58473 #define $ac_func innocuous_$ac_func
58475 /* System header to define __stub macros and hopefully few prototypes,
58476 which can conflict with char $ac_func (); below.
58477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58478 <limits.h> exists even on freestanding compilers. */
58480 #ifdef __STDC__
58481 # include <limits.h>
58482 #else
58483 # include <assert.h>
58484 #endif
58486 #undef $ac_func
58488 /* Override any gcc2 internal prototype to avoid an error. */
58489 #ifdef __cplusplus
58490 extern "C"
58492 #endif
58493 /* We use char because int might match the return type of a gcc2
58494 builtin and then its argument prototype would still apply. */
58495 char $ac_func ();
58496 /* The GNU C library defines this for functions which it implements
58497 to always fail with ENOSYS. Some functions are actually named
58498 something starting with __ and the normal name is an alias. */
58499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58500 choke me
58501 #else
58502 char (*f) () = $ac_func;
58503 #endif
58504 #ifdef __cplusplus
58506 #endif
58509 main ()
58511 return f != $ac_func;
58513 return 0;
58515 _ACEOF
58516 rm -f conftest.$ac_objext conftest$ac_exeext
58517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58518 (eval $ac_link) 2>conftest.er1
58519 ac_status=$?
58520 grep -v '^ *+' conftest.er1 >conftest.err
58521 rm -f conftest.er1
58522 cat conftest.err >&5
58523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58524 (exit $ac_status); } &&
58525 { ac_try='test -z "$ac_c_werror_flag"
58526 || test ! -s conftest.err'
58527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58528 (eval $ac_try) 2>&5
58529 ac_status=$?
58530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58531 (exit $ac_status); }; } &&
58532 { ac_try='test -s conftest$ac_exeext'
58533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58534 (eval $ac_try) 2>&5
58535 ac_status=$?
58536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58537 (exit $ac_status); }; }; then
58538 eval "$as_ac_var=yes"
58539 else
58540 echo "$as_me: failed program was:" >&5
58541 sed 's/^/| /' conftest.$ac_ext >&5
58543 eval "$as_ac_var=no"
58545 rm -f conftest.err conftest.$ac_objext \
58546 conftest$ac_exeext conftest.$ac_ext
58548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58550 if test `eval echo '${'$as_ac_var'}'` = yes; then
58551 cat >>confdefs.h <<_ACEOF
58552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58553 _ACEOF
58556 done
58563 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58564 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58565 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58566 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58567 echo $ECHO_N "(cached) $ECHO_C" >&6
58568 else
58572 ac_ext=cc
58573 ac_cpp='$CXXCPP $CPPFLAGS'
58574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58578 cat >conftest.$ac_ext <<_ACEOF
58579 /* confdefs.h. */
58580 _ACEOF
58581 cat confdefs.h >>conftest.$ac_ext
58582 cat >>conftest.$ac_ext <<_ACEOF
58583 /* end confdefs.h. */
58584 #include <math.h>
58585 #ifdef HAVE_IEEEFP_H
58586 #include <ieeefp.h>
58587 #endif
58590 main ()
58592 fabsf(0);
58594 return 0;
58596 _ACEOF
58597 rm -f conftest.$ac_objext
58598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58599 (eval $ac_compile) 2>conftest.er1
58600 ac_status=$?
58601 grep -v '^ *+' conftest.er1 >conftest.err
58602 rm -f conftest.er1
58603 cat conftest.err >&5
58604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58605 (exit $ac_status); } &&
58606 { ac_try='test -z "$ac_cxx_werror_flag"
58607 || test ! -s conftest.err'
58608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58609 (eval $ac_try) 2>&5
58610 ac_status=$?
58611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58612 (exit $ac_status); }; } &&
58613 { ac_try='test -s conftest.$ac_objext'
58614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58615 (eval $ac_try) 2>&5
58616 ac_status=$?
58617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618 (exit $ac_status); }; }; then
58619 glibcxx_cv_func_fabsf_use=yes
58620 else
58621 echo "$as_me: failed program was:" >&5
58622 sed 's/^/| /' conftest.$ac_ext >&5
58624 glibcxx_cv_func_fabsf_use=no
58626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58627 ac_ext=c
58628 ac_cpp='$CPP $CPPFLAGS'
58629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58638 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58640 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58642 for ac_func in fabsf
58644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58645 echo "$as_me:$LINENO: checking for $ac_func" >&5
58646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58647 if eval "test \"\${$as_ac_var+set}\" = set"; then
58648 echo $ECHO_N "(cached) $ECHO_C" >&6
58649 else
58650 if test x$gcc_no_link = xyes; then
58651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58653 { (exit 1); exit 1; }; }
58655 cat >conftest.$ac_ext <<_ACEOF
58656 /* confdefs.h. */
58657 _ACEOF
58658 cat confdefs.h >>conftest.$ac_ext
58659 cat >>conftest.$ac_ext <<_ACEOF
58660 /* end confdefs.h. */
58661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58663 #define $ac_func innocuous_$ac_func
58665 /* System header to define __stub macros and hopefully few prototypes,
58666 which can conflict with char $ac_func (); below.
58667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58668 <limits.h> exists even on freestanding compilers. */
58670 #ifdef __STDC__
58671 # include <limits.h>
58672 #else
58673 # include <assert.h>
58674 #endif
58676 #undef $ac_func
58678 /* Override any gcc2 internal prototype to avoid an error. */
58679 #ifdef __cplusplus
58680 extern "C"
58682 #endif
58683 /* We use char because int might match the return type of a gcc2
58684 builtin and then its argument prototype would still apply. */
58685 char $ac_func ();
58686 /* The GNU C library defines this for functions which it implements
58687 to always fail with ENOSYS. Some functions are actually named
58688 something starting with __ and the normal name is an alias. */
58689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58690 choke me
58691 #else
58692 char (*f) () = $ac_func;
58693 #endif
58694 #ifdef __cplusplus
58696 #endif
58699 main ()
58701 return f != $ac_func;
58703 return 0;
58705 _ACEOF
58706 rm -f conftest.$ac_objext conftest$ac_exeext
58707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58708 (eval $ac_link) 2>conftest.er1
58709 ac_status=$?
58710 grep -v '^ *+' conftest.er1 >conftest.err
58711 rm -f conftest.er1
58712 cat conftest.err >&5
58713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58714 (exit $ac_status); } &&
58715 { ac_try='test -z "$ac_c_werror_flag"
58716 || test ! -s conftest.err'
58717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58718 (eval $ac_try) 2>&5
58719 ac_status=$?
58720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58721 (exit $ac_status); }; } &&
58722 { ac_try='test -s conftest$ac_exeext'
58723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58724 (eval $ac_try) 2>&5
58725 ac_status=$?
58726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727 (exit $ac_status); }; }; then
58728 eval "$as_ac_var=yes"
58729 else
58730 echo "$as_me: failed program was:" >&5
58731 sed 's/^/| /' conftest.$ac_ext >&5
58733 eval "$as_ac_var=no"
58735 rm -f conftest.err conftest.$ac_objext \
58736 conftest$ac_exeext conftest.$ac_ext
58738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58740 if test `eval echo '${'$as_ac_var'}'` = yes; then
58741 cat >>confdefs.h <<_ACEOF
58742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58743 _ACEOF
58746 done
58748 else
58750 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58751 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58752 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58753 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58754 echo $ECHO_N "(cached) $ECHO_C" >&6
58755 else
58759 ac_ext=cc
58760 ac_cpp='$CXXCPP $CPPFLAGS'
58761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58765 cat >conftest.$ac_ext <<_ACEOF
58766 /* confdefs.h. */
58767 _ACEOF
58768 cat confdefs.h >>conftest.$ac_ext
58769 cat >>conftest.$ac_ext <<_ACEOF
58770 /* end confdefs.h. */
58771 #include <math.h>
58772 #ifdef HAVE_IEEEFP_H
58773 #include <ieeefp.h>
58774 #endif
58777 main ()
58779 _fabsf(0);
58781 return 0;
58783 _ACEOF
58784 rm -f conftest.$ac_objext
58785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58786 (eval $ac_compile) 2>conftest.er1
58787 ac_status=$?
58788 grep -v '^ *+' conftest.er1 >conftest.err
58789 rm -f conftest.er1
58790 cat conftest.err >&5
58791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58792 (exit $ac_status); } &&
58793 { ac_try='test -z "$ac_cxx_werror_flag"
58794 || test ! -s conftest.err'
58795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58796 (eval $ac_try) 2>&5
58797 ac_status=$?
58798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58799 (exit $ac_status); }; } &&
58800 { ac_try='test -s conftest.$ac_objext'
58801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58802 (eval $ac_try) 2>&5
58803 ac_status=$?
58804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58805 (exit $ac_status); }; }; then
58806 glibcxx_cv_func__fabsf_use=yes
58807 else
58808 echo "$as_me: failed program was:" >&5
58809 sed 's/^/| /' conftest.$ac_ext >&5
58811 glibcxx_cv_func__fabsf_use=no
58813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58814 ac_ext=c
58815 ac_cpp='$CPP $CPPFLAGS'
58816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58825 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58827 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58829 for ac_func in _fabsf
58831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58832 echo "$as_me:$LINENO: checking for $ac_func" >&5
58833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58834 if eval "test \"\${$as_ac_var+set}\" = set"; then
58835 echo $ECHO_N "(cached) $ECHO_C" >&6
58836 else
58837 if test x$gcc_no_link = xyes; then
58838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58840 { (exit 1); exit 1; }; }
58842 cat >conftest.$ac_ext <<_ACEOF
58843 /* confdefs.h. */
58844 _ACEOF
58845 cat confdefs.h >>conftest.$ac_ext
58846 cat >>conftest.$ac_ext <<_ACEOF
58847 /* end confdefs.h. */
58848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58850 #define $ac_func innocuous_$ac_func
58852 /* System header to define __stub macros and hopefully few prototypes,
58853 which can conflict with char $ac_func (); below.
58854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58855 <limits.h> exists even on freestanding compilers. */
58857 #ifdef __STDC__
58858 # include <limits.h>
58859 #else
58860 # include <assert.h>
58861 #endif
58863 #undef $ac_func
58865 /* Override any gcc2 internal prototype to avoid an error. */
58866 #ifdef __cplusplus
58867 extern "C"
58869 #endif
58870 /* We use char because int might match the return type of a gcc2
58871 builtin and then its argument prototype would still apply. */
58872 char $ac_func ();
58873 /* The GNU C library defines this for functions which it implements
58874 to always fail with ENOSYS. Some functions are actually named
58875 something starting with __ and the normal name is an alias. */
58876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58877 choke me
58878 #else
58879 char (*f) () = $ac_func;
58880 #endif
58881 #ifdef __cplusplus
58883 #endif
58886 main ()
58888 return f != $ac_func;
58890 return 0;
58892 _ACEOF
58893 rm -f conftest.$ac_objext conftest$ac_exeext
58894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58895 (eval $ac_link) 2>conftest.er1
58896 ac_status=$?
58897 grep -v '^ *+' conftest.er1 >conftest.err
58898 rm -f conftest.er1
58899 cat conftest.err >&5
58900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58901 (exit $ac_status); } &&
58902 { ac_try='test -z "$ac_c_werror_flag"
58903 || test ! -s conftest.err'
58904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58905 (eval $ac_try) 2>&5
58906 ac_status=$?
58907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58908 (exit $ac_status); }; } &&
58909 { ac_try='test -s conftest$ac_exeext'
58910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58911 (eval $ac_try) 2>&5
58912 ac_status=$?
58913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914 (exit $ac_status); }; }; then
58915 eval "$as_ac_var=yes"
58916 else
58917 echo "$as_me: failed program was:" >&5
58918 sed 's/^/| /' conftest.$ac_ext >&5
58920 eval "$as_ac_var=no"
58922 rm -f conftest.err conftest.$ac_objext \
58923 conftest$ac_exeext conftest.$ac_ext
58925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58927 if test `eval echo '${'$as_ac_var'}'` = yes; then
58928 cat >>confdefs.h <<_ACEOF
58929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58930 _ACEOF
58933 done
58940 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58941 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58942 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58943 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58944 echo $ECHO_N "(cached) $ECHO_C" >&6
58945 else
58949 ac_ext=cc
58950 ac_cpp='$CXXCPP $CPPFLAGS'
58951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58955 cat >conftest.$ac_ext <<_ACEOF
58956 /* confdefs.h. */
58957 _ACEOF
58958 cat confdefs.h >>conftest.$ac_ext
58959 cat >>conftest.$ac_ext <<_ACEOF
58960 /* end confdefs.h. */
58961 #include <math.h>
58963 main ()
58965 fmodf(0, 0);
58967 return 0;
58969 _ACEOF
58970 rm -f conftest.$ac_objext
58971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58972 (eval $ac_compile) 2>conftest.er1
58973 ac_status=$?
58974 grep -v '^ *+' conftest.er1 >conftest.err
58975 rm -f conftest.er1
58976 cat conftest.err >&5
58977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58978 (exit $ac_status); } &&
58979 { ac_try='test -z "$ac_cxx_werror_flag"
58980 || test ! -s conftest.err'
58981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58982 (eval $ac_try) 2>&5
58983 ac_status=$?
58984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58985 (exit $ac_status); }; } &&
58986 { ac_try='test -s conftest.$ac_objext'
58987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58988 (eval $ac_try) 2>&5
58989 ac_status=$?
58990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58991 (exit $ac_status); }; }; then
58992 glibcxx_cv_func_fmodf_use=yes
58993 else
58994 echo "$as_me: failed program was:" >&5
58995 sed 's/^/| /' conftest.$ac_ext >&5
58997 glibcxx_cv_func_fmodf_use=no
58999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59000 ac_ext=c
59001 ac_cpp='$CPP $CPPFLAGS'
59002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59010 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59011 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59013 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59015 for ac_func in fmodf
59017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59018 echo "$as_me:$LINENO: checking for $ac_func" >&5
59019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59020 if eval "test \"\${$as_ac_var+set}\" = set"; then
59021 echo $ECHO_N "(cached) $ECHO_C" >&6
59022 else
59023 if test x$gcc_no_link = xyes; then
59024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59026 { (exit 1); exit 1; }; }
59028 cat >conftest.$ac_ext <<_ACEOF
59029 /* confdefs.h. */
59030 _ACEOF
59031 cat confdefs.h >>conftest.$ac_ext
59032 cat >>conftest.$ac_ext <<_ACEOF
59033 /* end confdefs.h. */
59034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59036 #define $ac_func innocuous_$ac_func
59038 /* System header to define __stub macros and hopefully few prototypes,
59039 which can conflict with char $ac_func (); below.
59040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59041 <limits.h> exists even on freestanding compilers. */
59043 #ifdef __STDC__
59044 # include <limits.h>
59045 #else
59046 # include <assert.h>
59047 #endif
59049 #undef $ac_func
59051 /* Override any gcc2 internal prototype to avoid an error. */
59052 #ifdef __cplusplus
59053 extern "C"
59055 #endif
59056 /* We use char because int might match the return type of a gcc2
59057 builtin and then its argument prototype would still apply. */
59058 char $ac_func ();
59059 /* The GNU C library defines this for functions which it implements
59060 to always fail with ENOSYS. Some functions are actually named
59061 something starting with __ and the normal name is an alias. */
59062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59063 choke me
59064 #else
59065 char (*f) () = $ac_func;
59066 #endif
59067 #ifdef __cplusplus
59069 #endif
59072 main ()
59074 return f != $ac_func;
59076 return 0;
59078 _ACEOF
59079 rm -f conftest.$ac_objext conftest$ac_exeext
59080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59081 (eval $ac_link) 2>conftest.er1
59082 ac_status=$?
59083 grep -v '^ *+' conftest.er1 >conftest.err
59084 rm -f conftest.er1
59085 cat conftest.err >&5
59086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59087 (exit $ac_status); } &&
59088 { ac_try='test -z "$ac_c_werror_flag"
59089 || test ! -s conftest.err'
59090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59091 (eval $ac_try) 2>&5
59092 ac_status=$?
59093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59094 (exit $ac_status); }; } &&
59095 { ac_try='test -s conftest$ac_exeext'
59096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59097 (eval $ac_try) 2>&5
59098 ac_status=$?
59099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59100 (exit $ac_status); }; }; then
59101 eval "$as_ac_var=yes"
59102 else
59103 echo "$as_me: failed program was:" >&5
59104 sed 's/^/| /' conftest.$ac_ext >&5
59106 eval "$as_ac_var=no"
59108 rm -f conftest.err conftest.$ac_objext \
59109 conftest$ac_exeext conftest.$ac_ext
59111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59113 if test `eval echo '${'$as_ac_var'}'` = yes; then
59114 cat >>confdefs.h <<_ACEOF
59115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59116 _ACEOF
59119 done
59121 else
59123 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59124 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59125 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59126 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59127 echo $ECHO_N "(cached) $ECHO_C" >&6
59128 else
59132 ac_ext=cc
59133 ac_cpp='$CXXCPP $CPPFLAGS'
59134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59138 cat >conftest.$ac_ext <<_ACEOF
59139 /* confdefs.h. */
59140 _ACEOF
59141 cat confdefs.h >>conftest.$ac_ext
59142 cat >>conftest.$ac_ext <<_ACEOF
59143 /* end confdefs.h. */
59144 #include <math.h>
59146 main ()
59148 _fmodf(0, 0);
59150 return 0;
59152 _ACEOF
59153 rm -f conftest.$ac_objext
59154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59155 (eval $ac_compile) 2>conftest.er1
59156 ac_status=$?
59157 grep -v '^ *+' conftest.er1 >conftest.err
59158 rm -f conftest.er1
59159 cat conftest.err >&5
59160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59161 (exit $ac_status); } &&
59162 { ac_try='test -z "$ac_cxx_werror_flag"
59163 || test ! -s conftest.err'
59164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59165 (eval $ac_try) 2>&5
59166 ac_status=$?
59167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59168 (exit $ac_status); }; } &&
59169 { ac_try='test -s conftest.$ac_objext'
59170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59171 (eval $ac_try) 2>&5
59172 ac_status=$?
59173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59174 (exit $ac_status); }; }; then
59175 glibcxx_cv_func__fmodf_use=yes
59176 else
59177 echo "$as_me: failed program was:" >&5
59178 sed 's/^/| /' conftest.$ac_ext >&5
59180 glibcxx_cv_func__fmodf_use=no
59182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59183 ac_ext=c
59184 ac_cpp='$CPP $CPPFLAGS'
59185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59194 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59196 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59198 for ac_func in _fmodf
59200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59201 echo "$as_me:$LINENO: checking for $ac_func" >&5
59202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59203 if eval "test \"\${$as_ac_var+set}\" = set"; then
59204 echo $ECHO_N "(cached) $ECHO_C" >&6
59205 else
59206 if test x$gcc_no_link = xyes; then
59207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59209 { (exit 1); exit 1; }; }
59211 cat >conftest.$ac_ext <<_ACEOF
59212 /* confdefs.h. */
59213 _ACEOF
59214 cat confdefs.h >>conftest.$ac_ext
59215 cat >>conftest.$ac_ext <<_ACEOF
59216 /* end confdefs.h. */
59217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59219 #define $ac_func innocuous_$ac_func
59221 /* System header to define __stub macros and hopefully few prototypes,
59222 which can conflict with char $ac_func (); below.
59223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59224 <limits.h> exists even on freestanding compilers. */
59226 #ifdef __STDC__
59227 # include <limits.h>
59228 #else
59229 # include <assert.h>
59230 #endif
59232 #undef $ac_func
59234 /* Override any gcc2 internal prototype to avoid an error. */
59235 #ifdef __cplusplus
59236 extern "C"
59238 #endif
59239 /* We use char because int might match the return type of a gcc2
59240 builtin and then its argument prototype would still apply. */
59241 char $ac_func ();
59242 /* The GNU C library defines this for functions which it implements
59243 to always fail with ENOSYS. Some functions are actually named
59244 something starting with __ and the normal name is an alias. */
59245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59246 choke me
59247 #else
59248 char (*f) () = $ac_func;
59249 #endif
59250 #ifdef __cplusplus
59252 #endif
59255 main ()
59257 return f != $ac_func;
59259 return 0;
59261 _ACEOF
59262 rm -f conftest.$ac_objext conftest$ac_exeext
59263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59264 (eval $ac_link) 2>conftest.er1
59265 ac_status=$?
59266 grep -v '^ *+' conftest.er1 >conftest.err
59267 rm -f conftest.er1
59268 cat conftest.err >&5
59269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59270 (exit $ac_status); } &&
59271 { ac_try='test -z "$ac_c_werror_flag"
59272 || test ! -s conftest.err'
59273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59274 (eval $ac_try) 2>&5
59275 ac_status=$?
59276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59277 (exit $ac_status); }; } &&
59278 { ac_try='test -s conftest$ac_exeext'
59279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59280 (eval $ac_try) 2>&5
59281 ac_status=$?
59282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59283 (exit $ac_status); }; }; then
59284 eval "$as_ac_var=yes"
59285 else
59286 echo "$as_me: failed program was:" >&5
59287 sed 's/^/| /' conftest.$ac_ext >&5
59289 eval "$as_ac_var=no"
59291 rm -f conftest.err conftest.$ac_objext \
59292 conftest$ac_exeext conftest.$ac_ext
59294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59296 if test `eval echo '${'$as_ac_var'}'` = yes; then
59297 cat >>confdefs.h <<_ACEOF
59298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59299 _ACEOF
59302 done
59309 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59310 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59311 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59312 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59313 echo $ECHO_N "(cached) $ECHO_C" >&6
59314 else
59318 ac_ext=cc
59319 ac_cpp='$CXXCPP $CPPFLAGS'
59320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59324 cat >conftest.$ac_ext <<_ACEOF
59325 /* confdefs.h. */
59326 _ACEOF
59327 cat confdefs.h >>conftest.$ac_ext
59328 cat >>conftest.$ac_ext <<_ACEOF
59329 /* end confdefs.h. */
59330 #include <math.h>
59332 main ()
59334 frexpf(0, 0);
59336 return 0;
59338 _ACEOF
59339 rm -f conftest.$ac_objext
59340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59341 (eval $ac_compile) 2>conftest.er1
59342 ac_status=$?
59343 grep -v '^ *+' conftest.er1 >conftest.err
59344 rm -f conftest.er1
59345 cat conftest.err >&5
59346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59347 (exit $ac_status); } &&
59348 { ac_try='test -z "$ac_cxx_werror_flag"
59349 || test ! -s conftest.err'
59350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59351 (eval $ac_try) 2>&5
59352 ac_status=$?
59353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59354 (exit $ac_status); }; } &&
59355 { ac_try='test -s conftest.$ac_objext'
59356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59357 (eval $ac_try) 2>&5
59358 ac_status=$?
59359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59360 (exit $ac_status); }; }; then
59361 glibcxx_cv_func_frexpf_use=yes
59362 else
59363 echo "$as_me: failed program was:" >&5
59364 sed 's/^/| /' conftest.$ac_ext >&5
59366 glibcxx_cv_func_frexpf_use=no
59368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59369 ac_ext=c
59370 ac_cpp='$CPP $CPPFLAGS'
59371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59379 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59380 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59382 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59384 for ac_func in frexpf
59386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59387 echo "$as_me:$LINENO: checking for $ac_func" >&5
59388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59389 if eval "test \"\${$as_ac_var+set}\" = set"; then
59390 echo $ECHO_N "(cached) $ECHO_C" >&6
59391 else
59392 if test x$gcc_no_link = xyes; then
59393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59395 { (exit 1); exit 1; }; }
59397 cat >conftest.$ac_ext <<_ACEOF
59398 /* confdefs.h. */
59399 _ACEOF
59400 cat confdefs.h >>conftest.$ac_ext
59401 cat >>conftest.$ac_ext <<_ACEOF
59402 /* end confdefs.h. */
59403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59405 #define $ac_func innocuous_$ac_func
59407 /* System header to define __stub macros and hopefully few prototypes,
59408 which can conflict with char $ac_func (); below.
59409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59410 <limits.h> exists even on freestanding compilers. */
59412 #ifdef __STDC__
59413 # include <limits.h>
59414 #else
59415 # include <assert.h>
59416 #endif
59418 #undef $ac_func
59420 /* Override any gcc2 internal prototype to avoid an error. */
59421 #ifdef __cplusplus
59422 extern "C"
59424 #endif
59425 /* We use char because int might match the return type of a gcc2
59426 builtin and then its argument prototype would still apply. */
59427 char $ac_func ();
59428 /* The GNU C library defines this for functions which it implements
59429 to always fail with ENOSYS. Some functions are actually named
59430 something starting with __ and the normal name is an alias. */
59431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59432 choke me
59433 #else
59434 char (*f) () = $ac_func;
59435 #endif
59436 #ifdef __cplusplus
59438 #endif
59441 main ()
59443 return f != $ac_func;
59445 return 0;
59447 _ACEOF
59448 rm -f conftest.$ac_objext conftest$ac_exeext
59449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59450 (eval $ac_link) 2>conftest.er1
59451 ac_status=$?
59452 grep -v '^ *+' conftest.er1 >conftest.err
59453 rm -f conftest.er1
59454 cat conftest.err >&5
59455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59456 (exit $ac_status); } &&
59457 { ac_try='test -z "$ac_c_werror_flag"
59458 || test ! -s conftest.err'
59459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59460 (eval $ac_try) 2>&5
59461 ac_status=$?
59462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59463 (exit $ac_status); }; } &&
59464 { ac_try='test -s conftest$ac_exeext'
59465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59466 (eval $ac_try) 2>&5
59467 ac_status=$?
59468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59469 (exit $ac_status); }; }; then
59470 eval "$as_ac_var=yes"
59471 else
59472 echo "$as_me: failed program was:" >&5
59473 sed 's/^/| /' conftest.$ac_ext >&5
59475 eval "$as_ac_var=no"
59477 rm -f conftest.err conftest.$ac_objext \
59478 conftest$ac_exeext conftest.$ac_ext
59480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59482 if test `eval echo '${'$as_ac_var'}'` = yes; then
59483 cat >>confdefs.h <<_ACEOF
59484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59485 _ACEOF
59488 done
59490 else
59492 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59493 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59494 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59495 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59496 echo $ECHO_N "(cached) $ECHO_C" >&6
59497 else
59501 ac_ext=cc
59502 ac_cpp='$CXXCPP $CPPFLAGS'
59503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59507 cat >conftest.$ac_ext <<_ACEOF
59508 /* confdefs.h. */
59509 _ACEOF
59510 cat confdefs.h >>conftest.$ac_ext
59511 cat >>conftest.$ac_ext <<_ACEOF
59512 /* end confdefs.h. */
59513 #include <math.h>
59515 main ()
59517 _frexpf(0, 0);
59519 return 0;
59521 _ACEOF
59522 rm -f conftest.$ac_objext
59523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59524 (eval $ac_compile) 2>conftest.er1
59525 ac_status=$?
59526 grep -v '^ *+' conftest.er1 >conftest.err
59527 rm -f conftest.er1
59528 cat conftest.err >&5
59529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59530 (exit $ac_status); } &&
59531 { ac_try='test -z "$ac_cxx_werror_flag"
59532 || test ! -s conftest.err'
59533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59534 (eval $ac_try) 2>&5
59535 ac_status=$?
59536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59537 (exit $ac_status); }; } &&
59538 { ac_try='test -s conftest.$ac_objext'
59539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59540 (eval $ac_try) 2>&5
59541 ac_status=$?
59542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59543 (exit $ac_status); }; }; then
59544 glibcxx_cv_func__frexpf_use=yes
59545 else
59546 echo "$as_me: failed program was:" >&5
59547 sed 's/^/| /' conftest.$ac_ext >&5
59549 glibcxx_cv_func__frexpf_use=no
59551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59552 ac_ext=c
59553 ac_cpp='$CPP $CPPFLAGS'
59554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59563 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59565 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59567 for ac_func in _frexpf
59569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59570 echo "$as_me:$LINENO: checking for $ac_func" >&5
59571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59572 if eval "test \"\${$as_ac_var+set}\" = set"; then
59573 echo $ECHO_N "(cached) $ECHO_C" >&6
59574 else
59575 if test x$gcc_no_link = xyes; then
59576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59578 { (exit 1); exit 1; }; }
59580 cat >conftest.$ac_ext <<_ACEOF
59581 /* confdefs.h. */
59582 _ACEOF
59583 cat confdefs.h >>conftest.$ac_ext
59584 cat >>conftest.$ac_ext <<_ACEOF
59585 /* end confdefs.h. */
59586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59588 #define $ac_func innocuous_$ac_func
59590 /* System header to define __stub macros and hopefully few prototypes,
59591 which can conflict with char $ac_func (); below.
59592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59593 <limits.h> exists even on freestanding compilers. */
59595 #ifdef __STDC__
59596 # include <limits.h>
59597 #else
59598 # include <assert.h>
59599 #endif
59601 #undef $ac_func
59603 /* Override any gcc2 internal prototype to avoid an error. */
59604 #ifdef __cplusplus
59605 extern "C"
59607 #endif
59608 /* We use char because int might match the return type of a gcc2
59609 builtin and then its argument prototype would still apply. */
59610 char $ac_func ();
59611 /* The GNU C library defines this for functions which it implements
59612 to always fail with ENOSYS. Some functions are actually named
59613 something starting with __ and the normal name is an alias. */
59614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59615 choke me
59616 #else
59617 char (*f) () = $ac_func;
59618 #endif
59619 #ifdef __cplusplus
59621 #endif
59624 main ()
59626 return f != $ac_func;
59628 return 0;
59630 _ACEOF
59631 rm -f conftest.$ac_objext conftest$ac_exeext
59632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59633 (eval $ac_link) 2>conftest.er1
59634 ac_status=$?
59635 grep -v '^ *+' conftest.er1 >conftest.err
59636 rm -f conftest.er1
59637 cat conftest.err >&5
59638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59639 (exit $ac_status); } &&
59640 { ac_try='test -z "$ac_c_werror_flag"
59641 || test ! -s conftest.err'
59642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59643 (eval $ac_try) 2>&5
59644 ac_status=$?
59645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59646 (exit $ac_status); }; } &&
59647 { ac_try='test -s conftest$ac_exeext'
59648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59649 (eval $ac_try) 2>&5
59650 ac_status=$?
59651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59652 (exit $ac_status); }; }; then
59653 eval "$as_ac_var=yes"
59654 else
59655 echo "$as_me: failed program was:" >&5
59656 sed 's/^/| /' conftest.$ac_ext >&5
59658 eval "$as_ac_var=no"
59660 rm -f conftest.err conftest.$ac_objext \
59661 conftest$ac_exeext conftest.$ac_ext
59663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59665 if test `eval echo '${'$as_ac_var'}'` = yes; then
59666 cat >>confdefs.h <<_ACEOF
59667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59668 _ACEOF
59671 done
59678 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59679 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59680 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59681 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59682 echo $ECHO_N "(cached) $ECHO_C" >&6
59683 else
59687 ac_ext=cc
59688 ac_cpp='$CXXCPP $CPPFLAGS'
59689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59693 cat >conftest.$ac_ext <<_ACEOF
59694 /* confdefs.h. */
59695 _ACEOF
59696 cat confdefs.h >>conftest.$ac_ext
59697 cat >>conftest.$ac_ext <<_ACEOF
59698 /* end confdefs.h. */
59699 #include <math.h>
59701 main ()
59703 hypotf(0, 0);
59705 return 0;
59707 _ACEOF
59708 rm -f conftest.$ac_objext
59709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59710 (eval $ac_compile) 2>conftest.er1
59711 ac_status=$?
59712 grep -v '^ *+' conftest.er1 >conftest.err
59713 rm -f conftest.er1
59714 cat conftest.err >&5
59715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59716 (exit $ac_status); } &&
59717 { ac_try='test -z "$ac_cxx_werror_flag"
59718 || test ! -s conftest.err'
59719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59720 (eval $ac_try) 2>&5
59721 ac_status=$?
59722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59723 (exit $ac_status); }; } &&
59724 { ac_try='test -s conftest.$ac_objext'
59725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59726 (eval $ac_try) 2>&5
59727 ac_status=$?
59728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59729 (exit $ac_status); }; }; then
59730 glibcxx_cv_func_hypotf_use=yes
59731 else
59732 echo "$as_me: failed program was:" >&5
59733 sed 's/^/| /' conftest.$ac_ext >&5
59735 glibcxx_cv_func_hypotf_use=no
59737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59738 ac_ext=c
59739 ac_cpp='$CPP $CPPFLAGS'
59740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59749 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59751 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59753 for ac_func in hypotf
59755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59756 echo "$as_me:$LINENO: checking for $ac_func" >&5
59757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59758 if eval "test \"\${$as_ac_var+set}\" = set"; then
59759 echo $ECHO_N "(cached) $ECHO_C" >&6
59760 else
59761 if test x$gcc_no_link = xyes; then
59762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59764 { (exit 1); exit 1; }; }
59766 cat >conftest.$ac_ext <<_ACEOF
59767 /* confdefs.h. */
59768 _ACEOF
59769 cat confdefs.h >>conftest.$ac_ext
59770 cat >>conftest.$ac_ext <<_ACEOF
59771 /* end confdefs.h. */
59772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59774 #define $ac_func innocuous_$ac_func
59776 /* System header to define __stub macros and hopefully few prototypes,
59777 which can conflict with char $ac_func (); below.
59778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59779 <limits.h> exists even on freestanding compilers. */
59781 #ifdef __STDC__
59782 # include <limits.h>
59783 #else
59784 # include <assert.h>
59785 #endif
59787 #undef $ac_func
59789 /* Override any gcc2 internal prototype to avoid an error. */
59790 #ifdef __cplusplus
59791 extern "C"
59793 #endif
59794 /* We use char because int might match the return type of a gcc2
59795 builtin and then its argument prototype would still apply. */
59796 char $ac_func ();
59797 /* The GNU C library defines this for functions which it implements
59798 to always fail with ENOSYS. Some functions are actually named
59799 something starting with __ and the normal name is an alias. */
59800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59801 choke me
59802 #else
59803 char (*f) () = $ac_func;
59804 #endif
59805 #ifdef __cplusplus
59807 #endif
59810 main ()
59812 return f != $ac_func;
59814 return 0;
59816 _ACEOF
59817 rm -f conftest.$ac_objext conftest$ac_exeext
59818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59819 (eval $ac_link) 2>conftest.er1
59820 ac_status=$?
59821 grep -v '^ *+' conftest.er1 >conftest.err
59822 rm -f conftest.er1
59823 cat conftest.err >&5
59824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59825 (exit $ac_status); } &&
59826 { ac_try='test -z "$ac_c_werror_flag"
59827 || test ! -s conftest.err'
59828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59829 (eval $ac_try) 2>&5
59830 ac_status=$?
59831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59832 (exit $ac_status); }; } &&
59833 { ac_try='test -s conftest$ac_exeext'
59834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59835 (eval $ac_try) 2>&5
59836 ac_status=$?
59837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59838 (exit $ac_status); }; }; then
59839 eval "$as_ac_var=yes"
59840 else
59841 echo "$as_me: failed program was:" >&5
59842 sed 's/^/| /' conftest.$ac_ext >&5
59844 eval "$as_ac_var=no"
59846 rm -f conftest.err conftest.$ac_objext \
59847 conftest$ac_exeext conftest.$ac_ext
59849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59851 if test `eval echo '${'$as_ac_var'}'` = yes; then
59852 cat >>confdefs.h <<_ACEOF
59853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59854 _ACEOF
59857 done
59859 else
59861 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59862 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59863 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59864 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59865 echo $ECHO_N "(cached) $ECHO_C" >&6
59866 else
59870 ac_ext=cc
59871 ac_cpp='$CXXCPP $CPPFLAGS'
59872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59876 cat >conftest.$ac_ext <<_ACEOF
59877 /* confdefs.h. */
59878 _ACEOF
59879 cat confdefs.h >>conftest.$ac_ext
59880 cat >>conftest.$ac_ext <<_ACEOF
59881 /* end confdefs.h. */
59882 #include <math.h>
59884 main ()
59886 _hypotf(0, 0);
59888 return 0;
59890 _ACEOF
59891 rm -f conftest.$ac_objext
59892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59893 (eval $ac_compile) 2>conftest.er1
59894 ac_status=$?
59895 grep -v '^ *+' conftest.er1 >conftest.err
59896 rm -f conftest.er1
59897 cat conftest.err >&5
59898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59899 (exit $ac_status); } &&
59900 { ac_try='test -z "$ac_cxx_werror_flag"
59901 || test ! -s conftest.err'
59902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59903 (eval $ac_try) 2>&5
59904 ac_status=$?
59905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59906 (exit $ac_status); }; } &&
59907 { ac_try='test -s conftest.$ac_objext'
59908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59909 (eval $ac_try) 2>&5
59910 ac_status=$?
59911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59912 (exit $ac_status); }; }; then
59913 glibcxx_cv_func__hypotf_use=yes
59914 else
59915 echo "$as_me: failed program was:" >&5
59916 sed 's/^/| /' conftest.$ac_ext >&5
59918 glibcxx_cv_func__hypotf_use=no
59920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59921 ac_ext=c
59922 ac_cpp='$CPP $CPPFLAGS'
59923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59932 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59934 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59936 for ac_func in _hypotf
59938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59939 echo "$as_me:$LINENO: checking for $ac_func" >&5
59940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59941 if eval "test \"\${$as_ac_var+set}\" = set"; then
59942 echo $ECHO_N "(cached) $ECHO_C" >&6
59943 else
59944 if test x$gcc_no_link = xyes; then
59945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59947 { (exit 1); exit 1; }; }
59949 cat >conftest.$ac_ext <<_ACEOF
59950 /* confdefs.h. */
59951 _ACEOF
59952 cat confdefs.h >>conftest.$ac_ext
59953 cat >>conftest.$ac_ext <<_ACEOF
59954 /* end confdefs.h. */
59955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59957 #define $ac_func innocuous_$ac_func
59959 /* System header to define __stub macros and hopefully few prototypes,
59960 which can conflict with char $ac_func (); below.
59961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59962 <limits.h> exists even on freestanding compilers. */
59964 #ifdef __STDC__
59965 # include <limits.h>
59966 #else
59967 # include <assert.h>
59968 #endif
59970 #undef $ac_func
59972 /* Override any gcc2 internal prototype to avoid an error. */
59973 #ifdef __cplusplus
59974 extern "C"
59976 #endif
59977 /* We use char because int might match the return type of a gcc2
59978 builtin and then its argument prototype would still apply. */
59979 char $ac_func ();
59980 /* The GNU C library defines this for functions which it implements
59981 to always fail with ENOSYS. Some functions are actually named
59982 something starting with __ and the normal name is an alias. */
59983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59984 choke me
59985 #else
59986 char (*f) () = $ac_func;
59987 #endif
59988 #ifdef __cplusplus
59990 #endif
59993 main ()
59995 return f != $ac_func;
59997 return 0;
59999 _ACEOF
60000 rm -f conftest.$ac_objext conftest$ac_exeext
60001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60002 (eval $ac_link) 2>conftest.er1
60003 ac_status=$?
60004 grep -v '^ *+' conftest.er1 >conftest.err
60005 rm -f conftest.er1
60006 cat conftest.err >&5
60007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60008 (exit $ac_status); } &&
60009 { ac_try='test -z "$ac_c_werror_flag"
60010 || test ! -s conftest.err'
60011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60012 (eval $ac_try) 2>&5
60013 ac_status=$?
60014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60015 (exit $ac_status); }; } &&
60016 { ac_try='test -s conftest$ac_exeext'
60017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018 (eval $ac_try) 2>&5
60019 ac_status=$?
60020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021 (exit $ac_status); }; }; then
60022 eval "$as_ac_var=yes"
60023 else
60024 echo "$as_me: failed program was:" >&5
60025 sed 's/^/| /' conftest.$ac_ext >&5
60027 eval "$as_ac_var=no"
60029 rm -f conftest.err conftest.$ac_objext \
60030 conftest$ac_exeext conftest.$ac_ext
60032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60034 if test `eval echo '${'$as_ac_var'}'` = yes; then
60035 cat >>confdefs.h <<_ACEOF
60036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60037 _ACEOF
60040 done
60047 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60048 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60049 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60050 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60051 echo $ECHO_N "(cached) $ECHO_C" >&6
60052 else
60056 ac_ext=cc
60057 ac_cpp='$CXXCPP $CPPFLAGS'
60058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60062 cat >conftest.$ac_ext <<_ACEOF
60063 /* confdefs.h. */
60064 _ACEOF
60065 cat confdefs.h >>conftest.$ac_ext
60066 cat >>conftest.$ac_ext <<_ACEOF
60067 /* end confdefs.h. */
60068 #include <math.h>
60070 main ()
60072 ldexpf(0, 0);
60074 return 0;
60076 _ACEOF
60077 rm -f conftest.$ac_objext
60078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60079 (eval $ac_compile) 2>conftest.er1
60080 ac_status=$?
60081 grep -v '^ *+' conftest.er1 >conftest.err
60082 rm -f conftest.er1
60083 cat conftest.err >&5
60084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60085 (exit $ac_status); } &&
60086 { ac_try='test -z "$ac_cxx_werror_flag"
60087 || test ! -s conftest.err'
60088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60089 (eval $ac_try) 2>&5
60090 ac_status=$?
60091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60092 (exit $ac_status); }; } &&
60093 { ac_try='test -s conftest.$ac_objext'
60094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60095 (eval $ac_try) 2>&5
60096 ac_status=$?
60097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60098 (exit $ac_status); }; }; then
60099 glibcxx_cv_func_ldexpf_use=yes
60100 else
60101 echo "$as_me: failed program was:" >&5
60102 sed 's/^/| /' conftest.$ac_ext >&5
60104 glibcxx_cv_func_ldexpf_use=no
60106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60107 ac_ext=c
60108 ac_cpp='$CPP $CPPFLAGS'
60109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60117 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60118 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60120 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60122 for ac_func in ldexpf
60124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60125 echo "$as_me:$LINENO: checking for $ac_func" >&5
60126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60127 if eval "test \"\${$as_ac_var+set}\" = set"; then
60128 echo $ECHO_N "(cached) $ECHO_C" >&6
60129 else
60130 if test x$gcc_no_link = xyes; then
60131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60133 { (exit 1); exit 1; }; }
60135 cat >conftest.$ac_ext <<_ACEOF
60136 /* confdefs.h. */
60137 _ACEOF
60138 cat confdefs.h >>conftest.$ac_ext
60139 cat >>conftest.$ac_ext <<_ACEOF
60140 /* end confdefs.h. */
60141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60143 #define $ac_func innocuous_$ac_func
60145 /* System header to define __stub macros and hopefully few prototypes,
60146 which can conflict with char $ac_func (); below.
60147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60148 <limits.h> exists even on freestanding compilers. */
60150 #ifdef __STDC__
60151 # include <limits.h>
60152 #else
60153 # include <assert.h>
60154 #endif
60156 #undef $ac_func
60158 /* Override any gcc2 internal prototype to avoid an error. */
60159 #ifdef __cplusplus
60160 extern "C"
60162 #endif
60163 /* We use char because int might match the return type of a gcc2
60164 builtin and then its argument prototype would still apply. */
60165 char $ac_func ();
60166 /* The GNU C library defines this for functions which it implements
60167 to always fail with ENOSYS. Some functions are actually named
60168 something starting with __ and the normal name is an alias. */
60169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60170 choke me
60171 #else
60172 char (*f) () = $ac_func;
60173 #endif
60174 #ifdef __cplusplus
60176 #endif
60179 main ()
60181 return f != $ac_func;
60183 return 0;
60185 _ACEOF
60186 rm -f conftest.$ac_objext conftest$ac_exeext
60187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60188 (eval $ac_link) 2>conftest.er1
60189 ac_status=$?
60190 grep -v '^ *+' conftest.er1 >conftest.err
60191 rm -f conftest.er1
60192 cat conftest.err >&5
60193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60194 (exit $ac_status); } &&
60195 { ac_try='test -z "$ac_c_werror_flag"
60196 || test ! -s conftest.err'
60197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60198 (eval $ac_try) 2>&5
60199 ac_status=$?
60200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60201 (exit $ac_status); }; } &&
60202 { ac_try='test -s conftest$ac_exeext'
60203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60204 (eval $ac_try) 2>&5
60205 ac_status=$?
60206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60207 (exit $ac_status); }; }; then
60208 eval "$as_ac_var=yes"
60209 else
60210 echo "$as_me: failed program was:" >&5
60211 sed 's/^/| /' conftest.$ac_ext >&5
60213 eval "$as_ac_var=no"
60215 rm -f conftest.err conftest.$ac_objext \
60216 conftest$ac_exeext conftest.$ac_ext
60218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60220 if test `eval echo '${'$as_ac_var'}'` = yes; then
60221 cat >>confdefs.h <<_ACEOF
60222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60223 _ACEOF
60226 done
60228 else
60230 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60231 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60232 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60233 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60234 echo $ECHO_N "(cached) $ECHO_C" >&6
60235 else
60239 ac_ext=cc
60240 ac_cpp='$CXXCPP $CPPFLAGS'
60241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60245 cat >conftest.$ac_ext <<_ACEOF
60246 /* confdefs.h. */
60247 _ACEOF
60248 cat confdefs.h >>conftest.$ac_ext
60249 cat >>conftest.$ac_ext <<_ACEOF
60250 /* end confdefs.h. */
60251 #include <math.h>
60253 main ()
60255 _ldexpf(0, 0);
60257 return 0;
60259 _ACEOF
60260 rm -f conftest.$ac_objext
60261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60262 (eval $ac_compile) 2>conftest.er1
60263 ac_status=$?
60264 grep -v '^ *+' conftest.er1 >conftest.err
60265 rm -f conftest.er1
60266 cat conftest.err >&5
60267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60268 (exit $ac_status); } &&
60269 { ac_try='test -z "$ac_cxx_werror_flag"
60270 || test ! -s conftest.err'
60271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60272 (eval $ac_try) 2>&5
60273 ac_status=$?
60274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60275 (exit $ac_status); }; } &&
60276 { ac_try='test -s conftest.$ac_objext'
60277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60278 (eval $ac_try) 2>&5
60279 ac_status=$?
60280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60281 (exit $ac_status); }; }; then
60282 glibcxx_cv_func__ldexpf_use=yes
60283 else
60284 echo "$as_me: failed program was:" >&5
60285 sed 's/^/| /' conftest.$ac_ext >&5
60287 glibcxx_cv_func__ldexpf_use=no
60289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60290 ac_ext=c
60291 ac_cpp='$CPP $CPPFLAGS'
60292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60301 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60303 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60305 for ac_func in _ldexpf
60307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60308 echo "$as_me:$LINENO: checking for $ac_func" >&5
60309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60310 if eval "test \"\${$as_ac_var+set}\" = set"; then
60311 echo $ECHO_N "(cached) $ECHO_C" >&6
60312 else
60313 if test x$gcc_no_link = xyes; then
60314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60316 { (exit 1); exit 1; }; }
60318 cat >conftest.$ac_ext <<_ACEOF
60319 /* confdefs.h. */
60320 _ACEOF
60321 cat confdefs.h >>conftest.$ac_ext
60322 cat >>conftest.$ac_ext <<_ACEOF
60323 /* end confdefs.h. */
60324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60326 #define $ac_func innocuous_$ac_func
60328 /* System header to define __stub macros and hopefully few prototypes,
60329 which can conflict with char $ac_func (); below.
60330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60331 <limits.h> exists even on freestanding compilers. */
60333 #ifdef __STDC__
60334 # include <limits.h>
60335 #else
60336 # include <assert.h>
60337 #endif
60339 #undef $ac_func
60341 /* Override any gcc2 internal prototype to avoid an error. */
60342 #ifdef __cplusplus
60343 extern "C"
60345 #endif
60346 /* We use char because int might match the return type of a gcc2
60347 builtin and then its argument prototype would still apply. */
60348 char $ac_func ();
60349 /* The GNU C library defines this for functions which it implements
60350 to always fail with ENOSYS. Some functions are actually named
60351 something starting with __ and the normal name is an alias. */
60352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60353 choke me
60354 #else
60355 char (*f) () = $ac_func;
60356 #endif
60357 #ifdef __cplusplus
60359 #endif
60362 main ()
60364 return f != $ac_func;
60366 return 0;
60368 _ACEOF
60369 rm -f conftest.$ac_objext conftest$ac_exeext
60370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60371 (eval $ac_link) 2>conftest.er1
60372 ac_status=$?
60373 grep -v '^ *+' conftest.er1 >conftest.err
60374 rm -f conftest.er1
60375 cat conftest.err >&5
60376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60377 (exit $ac_status); } &&
60378 { ac_try='test -z "$ac_c_werror_flag"
60379 || test ! -s conftest.err'
60380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60381 (eval $ac_try) 2>&5
60382 ac_status=$?
60383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60384 (exit $ac_status); }; } &&
60385 { ac_try='test -s conftest$ac_exeext'
60386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60387 (eval $ac_try) 2>&5
60388 ac_status=$?
60389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60390 (exit $ac_status); }; }; then
60391 eval "$as_ac_var=yes"
60392 else
60393 echo "$as_me: failed program was:" >&5
60394 sed 's/^/| /' conftest.$ac_ext >&5
60396 eval "$as_ac_var=no"
60398 rm -f conftest.err conftest.$ac_objext \
60399 conftest$ac_exeext conftest.$ac_ext
60401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60403 if test `eval echo '${'$as_ac_var'}'` = yes; then
60404 cat >>confdefs.h <<_ACEOF
60405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60406 _ACEOF
60409 done
60416 echo "$as_me:$LINENO: checking for logf declaration" >&5
60417 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60418 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60419 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60420 echo $ECHO_N "(cached) $ECHO_C" >&6
60421 else
60425 ac_ext=cc
60426 ac_cpp='$CXXCPP $CPPFLAGS'
60427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60431 cat >conftest.$ac_ext <<_ACEOF
60432 /* confdefs.h. */
60433 _ACEOF
60434 cat confdefs.h >>conftest.$ac_ext
60435 cat >>conftest.$ac_ext <<_ACEOF
60436 /* end confdefs.h. */
60437 #include <math.h>
60438 #ifdef HAVE_IEEEFP_H
60439 #include <ieeefp.h>
60440 #endif
60443 main ()
60445 logf(0);
60447 return 0;
60449 _ACEOF
60450 rm -f conftest.$ac_objext
60451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60452 (eval $ac_compile) 2>conftest.er1
60453 ac_status=$?
60454 grep -v '^ *+' conftest.er1 >conftest.err
60455 rm -f conftest.er1
60456 cat conftest.err >&5
60457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60458 (exit $ac_status); } &&
60459 { ac_try='test -z "$ac_cxx_werror_flag"
60460 || test ! -s conftest.err'
60461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60462 (eval $ac_try) 2>&5
60463 ac_status=$?
60464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60465 (exit $ac_status); }; } &&
60466 { ac_try='test -s conftest.$ac_objext'
60467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60468 (eval $ac_try) 2>&5
60469 ac_status=$?
60470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60471 (exit $ac_status); }; }; then
60472 glibcxx_cv_func_logf_use=yes
60473 else
60474 echo "$as_me: failed program was:" >&5
60475 sed 's/^/| /' conftest.$ac_ext >&5
60477 glibcxx_cv_func_logf_use=no
60479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60480 ac_ext=c
60481 ac_cpp='$CPP $CPPFLAGS'
60482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60491 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60493 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60495 for ac_func in logf
60497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60498 echo "$as_me:$LINENO: checking for $ac_func" >&5
60499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60500 if eval "test \"\${$as_ac_var+set}\" = set"; then
60501 echo $ECHO_N "(cached) $ECHO_C" >&6
60502 else
60503 if test x$gcc_no_link = xyes; then
60504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60506 { (exit 1); exit 1; }; }
60508 cat >conftest.$ac_ext <<_ACEOF
60509 /* confdefs.h. */
60510 _ACEOF
60511 cat confdefs.h >>conftest.$ac_ext
60512 cat >>conftest.$ac_ext <<_ACEOF
60513 /* end confdefs.h. */
60514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60516 #define $ac_func innocuous_$ac_func
60518 /* System header to define __stub macros and hopefully few prototypes,
60519 which can conflict with char $ac_func (); below.
60520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60521 <limits.h> exists even on freestanding compilers. */
60523 #ifdef __STDC__
60524 # include <limits.h>
60525 #else
60526 # include <assert.h>
60527 #endif
60529 #undef $ac_func
60531 /* Override any gcc2 internal prototype to avoid an error. */
60532 #ifdef __cplusplus
60533 extern "C"
60535 #endif
60536 /* We use char because int might match the return type of a gcc2
60537 builtin and then its argument prototype would still apply. */
60538 char $ac_func ();
60539 /* The GNU C library defines this for functions which it implements
60540 to always fail with ENOSYS. Some functions are actually named
60541 something starting with __ and the normal name is an alias. */
60542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60543 choke me
60544 #else
60545 char (*f) () = $ac_func;
60546 #endif
60547 #ifdef __cplusplus
60549 #endif
60552 main ()
60554 return f != $ac_func;
60556 return 0;
60558 _ACEOF
60559 rm -f conftest.$ac_objext conftest$ac_exeext
60560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60561 (eval $ac_link) 2>conftest.er1
60562 ac_status=$?
60563 grep -v '^ *+' conftest.er1 >conftest.err
60564 rm -f conftest.er1
60565 cat conftest.err >&5
60566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60567 (exit $ac_status); } &&
60568 { ac_try='test -z "$ac_c_werror_flag"
60569 || test ! -s conftest.err'
60570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60571 (eval $ac_try) 2>&5
60572 ac_status=$?
60573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60574 (exit $ac_status); }; } &&
60575 { ac_try='test -s conftest$ac_exeext'
60576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60577 (eval $ac_try) 2>&5
60578 ac_status=$?
60579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60580 (exit $ac_status); }; }; then
60581 eval "$as_ac_var=yes"
60582 else
60583 echo "$as_me: failed program was:" >&5
60584 sed 's/^/| /' conftest.$ac_ext >&5
60586 eval "$as_ac_var=no"
60588 rm -f conftest.err conftest.$ac_objext \
60589 conftest$ac_exeext conftest.$ac_ext
60591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60593 if test `eval echo '${'$as_ac_var'}'` = yes; then
60594 cat >>confdefs.h <<_ACEOF
60595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60596 _ACEOF
60599 done
60601 else
60603 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60604 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60605 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60606 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60607 echo $ECHO_N "(cached) $ECHO_C" >&6
60608 else
60612 ac_ext=cc
60613 ac_cpp='$CXXCPP $CPPFLAGS'
60614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60618 cat >conftest.$ac_ext <<_ACEOF
60619 /* confdefs.h. */
60620 _ACEOF
60621 cat confdefs.h >>conftest.$ac_ext
60622 cat >>conftest.$ac_ext <<_ACEOF
60623 /* end confdefs.h. */
60624 #include <math.h>
60625 #ifdef HAVE_IEEEFP_H
60626 #include <ieeefp.h>
60627 #endif
60630 main ()
60632 _logf(0);
60634 return 0;
60636 _ACEOF
60637 rm -f conftest.$ac_objext
60638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60639 (eval $ac_compile) 2>conftest.er1
60640 ac_status=$?
60641 grep -v '^ *+' conftest.er1 >conftest.err
60642 rm -f conftest.er1
60643 cat conftest.err >&5
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); } &&
60646 { ac_try='test -z "$ac_cxx_werror_flag"
60647 || test ! -s conftest.err'
60648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60649 (eval $ac_try) 2>&5
60650 ac_status=$?
60651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60652 (exit $ac_status); }; } &&
60653 { ac_try='test -s conftest.$ac_objext'
60654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60655 (eval $ac_try) 2>&5
60656 ac_status=$?
60657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60658 (exit $ac_status); }; }; then
60659 glibcxx_cv_func__logf_use=yes
60660 else
60661 echo "$as_me: failed program was:" >&5
60662 sed 's/^/| /' conftest.$ac_ext >&5
60664 glibcxx_cv_func__logf_use=no
60666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60667 ac_ext=c
60668 ac_cpp='$CPP $CPPFLAGS'
60669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60678 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60680 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60682 for ac_func in _logf
60684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60685 echo "$as_me:$LINENO: checking for $ac_func" >&5
60686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60687 if eval "test \"\${$as_ac_var+set}\" = set"; then
60688 echo $ECHO_N "(cached) $ECHO_C" >&6
60689 else
60690 if test x$gcc_no_link = xyes; then
60691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60693 { (exit 1); exit 1; }; }
60695 cat >conftest.$ac_ext <<_ACEOF
60696 /* confdefs.h. */
60697 _ACEOF
60698 cat confdefs.h >>conftest.$ac_ext
60699 cat >>conftest.$ac_ext <<_ACEOF
60700 /* end confdefs.h. */
60701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60703 #define $ac_func innocuous_$ac_func
60705 /* System header to define __stub macros and hopefully few prototypes,
60706 which can conflict with char $ac_func (); below.
60707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60708 <limits.h> exists even on freestanding compilers. */
60710 #ifdef __STDC__
60711 # include <limits.h>
60712 #else
60713 # include <assert.h>
60714 #endif
60716 #undef $ac_func
60718 /* Override any gcc2 internal prototype to avoid an error. */
60719 #ifdef __cplusplus
60720 extern "C"
60722 #endif
60723 /* We use char because int might match the return type of a gcc2
60724 builtin and then its argument prototype would still apply. */
60725 char $ac_func ();
60726 /* The GNU C library defines this for functions which it implements
60727 to always fail with ENOSYS. Some functions are actually named
60728 something starting with __ and the normal name is an alias. */
60729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60730 choke me
60731 #else
60732 char (*f) () = $ac_func;
60733 #endif
60734 #ifdef __cplusplus
60736 #endif
60739 main ()
60741 return f != $ac_func;
60743 return 0;
60745 _ACEOF
60746 rm -f conftest.$ac_objext conftest$ac_exeext
60747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60748 (eval $ac_link) 2>conftest.er1
60749 ac_status=$?
60750 grep -v '^ *+' conftest.er1 >conftest.err
60751 rm -f conftest.er1
60752 cat conftest.err >&5
60753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60754 (exit $ac_status); } &&
60755 { ac_try='test -z "$ac_c_werror_flag"
60756 || test ! -s conftest.err'
60757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60758 (eval $ac_try) 2>&5
60759 ac_status=$?
60760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60761 (exit $ac_status); }; } &&
60762 { ac_try='test -s conftest$ac_exeext'
60763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60764 (eval $ac_try) 2>&5
60765 ac_status=$?
60766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60767 (exit $ac_status); }; }; then
60768 eval "$as_ac_var=yes"
60769 else
60770 echo "$as_me: failed program was:" >&5
60771 sed 's/^/| /' conftest.$ac_ext >&5
60773 eval "$as_ac_var=no"
60775 rm -f conftest.err conftest.$ac_objext \
60776 conftest$ac_exeext conftest.$ac_ext
60778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60780 if test `eval echo '${'$as_ac_var'}'` = yes; then
60781 cat >>confdefs.h <<_ACEOF
60782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60783 _ACEOF
60786 done
60793 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60794 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60795 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60796 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60797 echo $ECHO_N "(cached) $ECHO_C" >&6
60798 else
60802 ac_ext=cc
60803 ac_cpp='$CXXCPP $CPPFLAGS'
60804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60808 cat >conftest.$ac_ext <<_ACEOF
60809 /* confdefs.h. */
60810 _ACEOF
60811 cat confdefs.h >>conftest.$ac_ext
60812 cat >>conftest.$ac_ext <<_ACEOF
60813 /* end confdefs.h. */
60814 #include <math.h>
60815 #ifdef HAVE_IEEEFP_H
60816 #include <ieeefp.h>
60817 #endif
60820 main ()
60822 log10f(0);
60824 return 0;
60826 _ACEOF
60827 rm -f conftest.$ac_objext
60828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60829 (eval $ac_compile) 2>conftest.er1
60830 ac_status=$?
60831 grep -v '^ *+' conftest.er1 >conftest.err
60832 rm -f conftest.er1
60833 cat conftest.err >&5
60834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60835 (exit $ac_status); } &&
60836 { ac_try='test -z "$ac_cxx_werror_flag"
60837 || test ! -s conftest.err'
60838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60839 (eval $ac_try) 2>&5
60840 ac_status=$?
60841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60842 (exit $ac_status); }; } &&
60843 { ac_try='test -s conftest.$ac_objext'
60844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60845 (eval $ac_try) 2>&5
60846 ac_status=$?
60847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60848 (exit $ac_status); }; }; then
60849 glibcxx_cv_func_log10f_use=yes
60850 else
60851 echo "$as_me: failed program was:" >&5
60852 sed 's/^/| /' conftest.$ac_ext >&5
60854 glibcxx_cv_func_log10f_use=no
60856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60857 ac_ext=c
60858 ac_cpp='$CPP $CPPFLAGS'
60859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60868 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60870 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60872 for ac_func in log10f
60874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60875 echo "$as_me:$LINENO: checking for $ac_func" >&5
60876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60877 if eval "test \"\${$as_ac_var+set}\" = set"; then
60878 echo $ECHO_N "(cached) $ECHO_C" >&6
60879 else
60880 if test x$gcc_no_link = xyes; then
60881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60883 { (exit 1); exit 1; }; }
60885 cat >conftest.$ac_ext <<_ACEOF
60886 /* confdefs.h. */
60887 _ACEOF
60888 cat confdefs.h >>conftest.$ac_ext
60889 cat >>conftest.$ac_ext <<_ACEOF
60890 /* end confdefs.h. */
60891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60893 #define $ac_func innocuous_$ac_func
60895 /* System header to define __stub macros and hopefully few prototypes,
60896 which can conflict with char $ac_func (); below.
60897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60898 <limits.h> exists even on freestanding compilers. */
60900 #ifdef __STDC__
60901 # include <limits.h>
60902 #else
60903 # include <assert.h>
60904 #endif
60906 #undef $ac_func
60908 /* Override any gcc2 internal prototype to avoid an error. */
60909 #ifdef __cplusplus
60910 extern "C"
60912 #endif
60913 /* We use char because int might match the return type of a gcc2
60914 builtin and then its argument prototype would still apply. */
60915 char $ac_func ();
60916 /* The GNU C library defines this for functions which it implements
60917 to always fail with ENOSYS. Some functions are actually named
60918 something starting with __ and the normal name is an alias. */
60919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60920 choke me
60921 #else
60922 char (*f) () = $ac_func;
60923 #endif
60924 #ifdef __cplusplus
60926 #endif
60929 main ()
60931 return f != $ac_func;
60933 return 0;
60935 _ACEOF
60936 rm -f conftest.$ac_objext conftest$ac_exeext
60937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60938 (eval $ac_link) 2>conftest.er1
60939 ac_status=$?
60940 grep -v '^ *+' conftest.er1 >conftest.err
60941 rm -f conftest.er1
60942 cat conftest.err >&5
60943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60944 (exit $ac_status); } &&
60945 { ac_try='test -z "$ac_c_werror_flag"
60946 || test ! -s conftest.err'
60947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60948 (eval $ac_try) 2>&5
60949 ac_status=$?
60950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60951 (exit $ac_status); }; } &&
60952 { ac_try='test -s conftest$ac_exeext'
60953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60954 (eval $ac_try) 2>&5
60955 ac_status=$?
60956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60957 (exit $ac_status); }; }; then
60958 eval "$as_ac_var=yes"
60959 else
60960 echo "$as_me: failed program was:" >&5
60961 sed 's/^/| /' conftest.$ac_ext >&5
60963 eval "$as_ac_var=no"
60965 rm -f conftest.err conftest.$ac_objext \
60966 conftest$ac_exeext conftest.$ac_ext
60968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60970 if test `eval echo '${'$as_ac_var'}'` = yes; then
60971 cat >>confdefs.h <<_ACEOF
60972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60973 _ACEOF
60976 done
60978 else
60980 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60981 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60982 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60983 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60984 echo $ECHO_N "(cached) $ECHO_C" >&6
60985 else
60989 ac_ext=cc
60990 ac_cpp='$CXXCPP $CPPFLAGS'
60991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60995 cat >conftest.$ac_ext <<_ACEOF
60996 /* confdefs.h. */
60997 _ACEOF
60998 cat confdefs.h >>conftest.$ac_ext
60999 cat >>conftest.$ac_ext <<_ACEOF
61000 /* end confdefs.h. */
61001 #include <math.h>
61002 #ifdef HAVE_IEEEFP_H
61003 #include <ieeefp.h>
61004 #endif
61007 main ()
61009 _log10f(0);
61011 return 0;
61013 _ACEOF
61014 rm -f conftest.$ac_objext
61015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61016 (eval $ac_compile) 2>conftest.er1
61017 ac_status=$?
61018 grep -v '^ *+' conftest.er1 >conftest.err
61019 rm -f conftest.er1
61020 cat conftest.err >&5
61021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61022 (exit $ac_status); } &&
61023 { ac_try='test -z "$ac_cxx_werror_flag"
61024 || test ! -s conftest.err'
61025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61026 (eval $ac_try) 2>&5
61027 ac_status=$?
61028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61029 (exit $ac_status); }; } &&
61030 { ac_try='test -s conftest.$ac_objext'
61031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61032 (eval $ac_try) 2>&5
61033 ac_status=$?
61034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61035 (exit $ac_status); }; }; then
61036 glibcxx_cv_func__log10f_use=yes
61037 else
61038 echo "$as_me: failed program was:" >&5
61039 sed 's/^/| /' conftest.$ac_ext >&5
61041 glibcxx_cv_func__log10f_use=no
61043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61044 ac_ext=c
61045 ac_cpp='$CPP $CPPFLAGS'
61046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61055 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61057 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61059 for ac_func in _log10f
61061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61062 echo "$as_me:$LINENO: checking for $ac_func" >&5
61063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61064 if eval "test \"\${$as_ac_var+set}\" = set"; then
61065 echo $ECHO_N "(cached) $ECHO_C" >&6
61066 else
61067 if test x$gcc_no_link = xyes; then
61068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61070 { (exit 1); exit 1; }; }
61072 cat >conftest.$ac_ext <<_ACEOF
61073 /* confdefs.h. */
61074 _ACEOF
61075 cat confdefs.h >>conftest.$ac_ext
61076 cat >>conftest.$ac_ext <<_ACEOF
61077 /* end confdefs.h. */
61078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61080 #define $ac_func innocuous_$ac_func
61082 /* System header to define __stub macros and hopefully few prototypes,
61083 which can conflict with char $ac_func (); below.
61084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61085 <limits.h> exists even on freestanding compilers. */
61087 #ifdef __STDC__
61088 # include <limits.h>
61089 #else
61090 # include <assert.h>
61091 #endif
61093 #undef $ac_func
61095 /* Override any gcc2 internal prototype to avoid an error. */
61096 #ifdef __cplusplus
61097 extern "C"
61099 #endif
61100 /* We use char because int might match the return type of a gcc2
61101 builtin and then its argument prototype would still apply. */
61102 char $ac_func ();
61103 /* The GNU C library defines this for functions which it implements
61104 to always fail with ENOSYS. Some functions are actually named
61105 something starting with __ and the normal name is an alias. */
61106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61107 choke me
61108 #else
61109 char (*f) () = $ac_func;
61110 #endif
61111 #ifdef __cplusplus
61113 #endif
61116 main ()
61118 return f != $ac_func;
61120 return 0;
61122 _ACEOF
61123 rm -f conftest.$ac_objext conftest$ac_exeext
61124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61125 (eval $ac_link) 2>conftest.er1
61126 ac_status=$?
61127 grep -v '^ *+' conftest.er1 >conftest.err
61128 rm -f conftest.er1
61129 cat conftest.err >&5
61130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61131 (exit $ac_status); } &&
61132 { ac_try='test -z "$ac_c_werror_flag"
61133 || test ! -s conftest.err'
61134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61135 (eval $ac_try) 2>&5
61136 ac_status=$?
61137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61138 (exit $ac_status); }; } &&
61139 { ac_try='test -s conftest$ac_exeext'
61140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61141 (eval $ac_try) 2>&5
61142 ac_status=$?
61143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61144 (exit $ac_status); }; }; then
61145 eval "$as_ac_var=yes"
61146 else
61147 echo "$as_me: failed program was:" >&5
61148 sed 's/^/| /' conftest.$ac_ext >&5
61150 eval "$as_ac_var=no"
61152 rm -f conftest.err conftest.$ac_objext \
61153 conftest$ac_exeext conftest.$ac_ext
61155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61157 if test `eval echo '${'$as_ac_var'}'` = yes; then
61158 cat >>confdefs.h <<_ACEOF
61159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61160 _ACEOF
61163 done
61170 echo "$as_me:$LINENO: checking for modff declaration" >&5
61171 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61172 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61173 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61174 echo $ECHO_N "(cached) $ECHO_C" >&6
61175 else
61179 ac_ext=cc
61180 ac_cpp='$CXXCPP $CPPFLAGS'
61181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61185 cat >conftest.$ac_ext <<_ACEOF
61186 /* confdefs.h. */
61187 _ACEOF
61188 cat confdefs.h >>conftest.$ac_ext
61189 cat >>conftest.$ac_ext <<_ACEOF
61190 /* end confdefs.h. */
61191 #include <math.h>
61193 main ()
61195 modff(0, 0);
61197 return 0;
61199 _ACEOF
61200 rm -f conftest.$ac_objext
61201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61202 (eval $ac_compile) 2>conftest.er1
61203 ac_status=$?
61204 grep -v '^ *+' conftest.er1 >conftest.err
61205 rm -f conftest.er1
61206 cat conftest.err >&5
61207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61208 (exit $ac_status); } &&
61209 { ac_try='test -z "$ac_cxx_werror_flag"
61210 || test ! -s conftest.err'
61211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61212 (eval $ac_try) 2>&5
61213 ac_status=$?
61214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61215 (exit $ac_status); }; } &&
61216 { ac_try='test -s conftest.$ac_objext'
61217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61218 (eval $ac_try) 2>&5
61219 ac_status=$?
61220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61221 (exit $ac_status); }; }; then
61222 glibcxx_cv_func_modff_use=yes
61223 else
61224 echo "$as_me: failed program was:" >&5
61225 sed 's/^/| /' conftest.$ac_ext >&5
61227 glibcxx_cv_func_modff_use=no
61229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61230 ac_ext=c
61231 ac_cpp='$CPP $CPPFLAGS'
61232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61241 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61243 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61245 for ac_func in modff
61247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61248 echo "$as_me:$LINENO: checking for $ac_func" >&5
61249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61250 if eval "test \"\${$as_ac_var+set}\" = set"; then
61251 echo $ECHO_N "(cached) $ECHO_C" >&6
61252 else
61253 if test x$gcc_no_link = xyes; then
61254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61256 { (exit 1); exit 1; }; }
61258 cat >conftest.$ac_ext <<_ACEOF
61259 /* confdefs.h. */
61260 _ACEOF
61261 cat confdefs.h >>conftest.$ac_ext
61262 cat >>conftest.$ac_ext <<_ACEOF
61263 /* end confdefs.h. */
61264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61266 #define $ac_func innocuous_$ac_func
61268 /* System header to define __stub macros and hopefully few prototypes,
61269 which can conflict with char $ac_func (); below.
61270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61271 <limits.h> exists even on freestanding compilers. */
61273 #ifdef __STDC__
61274 # include <limits.h>
61275 #else
61276 # include <assert.h>
61277 #endif
61279 #undef $ac_func
61281 /* Override any gcc2 internal prototype to avoid an error. */
61282 #ifdef __cplusplus
61283 extern "C"
61285 #endif
61286 /* We use char because int might match the return type of a gcc2
61287 builtin and then its argument prototype would still apply. */
61288 char $ac_func ();
61289 /* The GNU C library defines this for functions which it implements
61290 to always fail with ENOSYS. Some functions are actually named
61291 something starting with __ and the normal name is an alias. */
61292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61293 choke me
61294 #else
61295 char (*f) () = $ac_func;
61296 #endif
61297 #ifdef __cplusplus
61299 #endif
61302 main ()
61304 return f != $ac_func;
61306 return 0;
61308 _ACEOF
61309 rm -f conftest.$ac_objext conftest$ac_exeext
61310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61311 (eval $ac_link) 2>conftest.er1
61312 ac_status=$?
61313 grep -v '^ *+' conftest.er1 >conftest.err
61314 rm -f conftest.er1
61315 cat conftest.err >&5
61316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61317 (exit $ac_status); } &&
61318 { ac_try='test -z "$ac_c_werror_flag"
61319 || test ! -s conftest.err'
61320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61321 (eval $ac_try) 2>&5
61322 ac_status=$?
61323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61324 (exit $ac_status); }; } &&
61325 { ac_try='test -s conftest$ac_exeext'
61326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61327 (eval $ac_try) 2>&5
61328 ac_status=$?
61329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61330 (exit $ac_status); }; }; then
61331 eval "$as_ac_var=yes"
61332 else
61333 echo "$as_me: failed program was:" >&5
61334 sed 's/^/| /' conftest.$ac_ext >&5
61336 eval "$as_ac_var=no"
61338 rm -f conftest.err conftest.$ac_objext \
61339 conftest$ac_exeext conftest.$ac_ext
61341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61343 if test `eval echo '${'$as_ac_var'}'` = yes; then
61344 cat >>confdefs.h <<_ACEOF
61345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61346 _ACEOF
61349 done
61351 else
61353 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61354 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61355 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61356 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61357 echo $ECHO_N "(cached) $ECHO_C" >&6
61358 else
61362 ac_ext=cc
61363 ac_cpp='$CXXCPP $CPPFLAGS'
61364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61368 cat >conftest.$ac_ext <<_ACEOF
61369 /* confdefs.h. */
61370 _ACEOF
61371 cat confdefs.h >>conftest.$ac_ext
61372 cat >>conftest.$ac_ext <<_ACEOF
61373 /* end confdefs.h. */
61374 #include <math.h>
61376 main ()
61378 _modff(0, 0);
61380 return 0;
61382 _ACEOF
61383 rm -f conftest.$ac_objext
61384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61385 (eval $ac_compile) 2>conftest.er1
61386 ac_status=$?
61387 grep -v '^ *+' conftest.er1 >conftest.err
61388 rm -f conftest.er1
61389 cat conftest.err >&5
61390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61391 (exit $ac_status); } &&
61392 { ac_try='test -z "$ac_cxx_werror_flag"
61393 || test ! -s conftest.err'
61394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61395 (eval $ac_try) 2>&5
61396 ac_status=$?
61397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61398 (exit $ac_status); }; } &&
61399 { ac_try='test -s conftest.$ac_objext'
61400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61401 (eval $ac_try) 2>&5
61402 ac_status=$?
61403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61404 (exit $ac_status); }; }; then
61405 glibcxx_cv_func__modff_use=yes
61406 else
61407 echo "$as_me: failed program was:" >&5
61408 sed 's/^/| /' conftest.$ac_ext >&5
61410 glibcxx_cv_func__modff_use=no
61412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61413 ac_ext=c
61414 ac_cpp='$CPP $CPPFLAGS'
61415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61424 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61426 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61428 for ac_func in _modff
61430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61431 echo "$as_me:$LINENO: checking for $ac_func" >&5
61432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61433 if eval "test \"\${$as_ac_var+set}\" = set"; then
61434 echo $ECHO_N "(cached) $ECHO_C" >&6
61435 else
61436 if test x$gcc_no_link = xyes; then
61437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61439 { (exit 1); exit 1; }; }
61441 cat >conftest.$ac_ext <<_ACEOF
61442 /* confdefs.h. */
61443 _ACEOF
61444 cat confdefs.h >>conftest.$ac_ext
61445 cat >>conftest.$ac_ext <<_ACEOF
61446 /* end confdefs.h. */
61447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61449 #define $ac_func innocuous_$ac_func
61451 /* System header to define __stub macros and hopefully few prototypes,
61452 which can conflict with char $ac_func (); below.
61453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61454 <limits.h> exists even on freestanding compilers. */
61456 #ifdef __STDC__
61457 # include <limits.h>
61458 #else
61459 # include <assert.h>
61460 #endif
61462 #undef $ac_func
61464 /* Override any gcc2 internal prototype to avoid an error. */
61465 #ifdef __cplusplus
61466 extern "C"
61468 #endif
61469 /* We use char because int might match the return type of a gcc2
61470 builtin and then its argument prototype would still apply. */
61471 char $ac_func ();
61472 /* The GNU C library defines this for functions which it implements
61473 to always fail with ENOSYS. Some functions are actually named
61474 something starting with __ and the normal name is an alias. */
61475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61476 choke me
61477 #else
61478 char (*f) () = $ac_func;
61479 #endif
61480 #ifdef __cplusplus
61482 #endif
61485 main ()
61487 return f != $ac_func;
61489 return 0;
61491 _ACEOF
61492 rm -f conftest.$ac_objext conftest$ac_exeext
61493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61494 (eval $ac_link) 2>conftest.er1
61495 ac_status=$?
61496 grep -v '^ *+' conftest.er1 >conftest.err
61497 rm -f conftest.er1
61498 cat conftest.err >&5
61499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61500 (exit $ac_status); } &&
61501 { ac_try='test -z "$ac_c_werror_flag"
61502 || test ! -s conftest.err'
61503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61504 (eval $ac_try) 2>&5
61505 ac_status=$?
61506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61507 (exit $ac_status); }; } &&
61508 { ac_try='test -s conftest$ac_exeext'
61509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61510 (eval $ac_try) 2>&5
61511 ac_status=$?
61512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61513 (exit $ac_status); }; }; then
61514 eval "$as_ac_var=yes"
61515 else
61516 echo "$as_me: failed program was:" >&5
61517 sed 's/^/| /' conftest.$ac_ext >&5
61519 eval "$as_ac_var=no"
61521 rm -f conftest.err conftest.$ac_objext \
61522 conftest$ac_exeext conftest.$ac_ext
61524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61526 if test `eval echo '${'$as_ac_var'}'` = yes; then
61527 cat >>confdefs.h <<_ACEOF
61528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61529 _ACEOF
61532 done
61539 echo "$as_me:$LINENO: checking for powf declaration" >&5
61540 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61541 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61542 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61543 echo $ECHO_N "(cached) $ECHO_C" >&6
61544 else
61548 ac_ext=cc
61549 ac_cpp='$CXXCPP $CPPFLAGS'
61550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61554 cat >conftest.$ac_ext <<_ACEOF
61555 /* confdefs.h. */
61556 _ACEOF
61557 cat confdefs.h >>conftest.$ac_ext
61558 cat >>conftest.$ac_ext <<_ACEOF
61559 /* end confdefs.h. */
61560 #include <math.h>
61562 main ()
61564 powf(0, 0);
61566 return 0;
61568 _ACEOF
61569 rm -f conftest.$ac_objext
61570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61571 (eval $ac_compile) 2>conftest.er1
61572 ac_status=$?
61573 grep -v '^ *+' conftest.er1 >conftest.err
61574 rm -f conftest.er1
61575 cat conftest.err >&5
61576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61577 (exit $ac_status); } &&
61578 { ac_try='test -z "$ac_cxx_werror_flag"
61579 || test ! -s conftest.err'
61580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61581 (eval $ac_try) 2>&5
61582 ac_status=$?
61583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61584 (exit $ac_status); }; } &&
61585 { ac_try='test -s conftest.$ac_objext'
61586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61587 (eval $ac_try) 2>&5
61588 ac_status=$?
61589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590 (exit $ac_status); }; }; then
61591 glibcxx_cv_func_powf_use=yes
61592 else
61593 echo "$as_me: failed program was:" >&5
61594 sed 's/^/| /' conftest.$ac_ext >&5
61596 glibcxx_cv_func_powf_use=no
61598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61599 ac_ext=c
61600 ac_cpp='$CPP $CPPFLAGS'
61601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61610 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61612 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61614 for ac_func in powf
61616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61617 echo "$as_me:$LINENO: checking for $ac_func" >&5
61618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61619 if eval "test \"\${$as_ac_var+set}\" = set"; then
61620 echo $ECHO_N "(cached) $ECHO_C" >&6
61621 else
61622 if test x$gcc_no_link = xyes; then
61623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61625 { (exit 1); exit 1; }; }
61627 cat >conftest.$ac_ext <<_ACEOF
61628 /* confdefs.h. */
61629 _ACEOF
61630 cat confdefs.h >>conftest.$ac_ext
61631 cat >>conftest.$ac_ext <<_ACEOF
61632 /* end confdefs.h. */
61633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61635 #define $ac_func innocuous_$ac_func
61637 /* System header to define __stub macros and hopefully few prototypes,
61638 which can conflict with char $ac_func (); below.
61639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61640 <limits.h> exists even on freestanding compilers. */
61642 #ifdef __STDC__
61643 # include <limits.h>
61644 #else
61645 # include <assert.h>
61646 #endif
61648 #undef $ac_func
61650 /* Override any gcc2 internal prototype to avoid an error. */
61651 #ifdef __cplusplus
61652 extern "C"
61654 #endif
61655 /* We use char because int might match the return type of a gcc2
61656 builtin and then its argument prototype would still apply. */
61657 char $ac_func ();
61658 /* The GNU C library defines this for functions which it implements
61659 to always fail with ENOSYS. Some functions are actually named
61660 something starting with __ and the normal name is an alias. */
61661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61662 choke me
61663 #else
61664 char (*f) () = $ac_func;
61665 #endif
61666 #ifdef __cplusplus
61668 #endif
61671 main ()
61673 return f != $ac_func;
61675 return 0;
61677 _ACEOF
61678 rm -f conftest.$ac_objext conftest$ac_exeext
61679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61680 (eval $ac_link) 2>conftest.er1
61681 ac_status=$?
61682 grep -v '^ *+' conftest.er1 >conftest.err
61683 rm -f conftest.er1
61684 cat conftest.err >&5
61685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61686 (exit $ac_status); } &&
61687 { ac_try='test -z "$ac_c_werror_flag"
61688 || test ! -s conftest.err'
61689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61690 (eval $ac_try) 2>&5
61691 ac_status=$?
61692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61693 (exit $ac_status); }; } &&
61694 { ac_try='test -s conftest$ac_exeext'
61695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61696 (eval $ac_try) 2>&5
61697 ac_status=$?
61698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61699 (exit $ac_status); }; }; then
61700 eval "$as_ac_var=yes"
61701 else
61702 echo "$as_me: failed program was:" >&5
61703 sed 's/^/| /' conftest.$ac_ext >&5
61705 eval "$as_ac_var=no"
61707 rm -f conftest.err conftest.$ac_objext \
61708 conftest$ac_exeext conftest.$ac_ext
61710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61712 if test `eval echo '${'$as_ac_var'}'` = yes; then
61713 cat >>confdefs.h <<_ACEOF
61714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61715 _ACEOF
61718 done
61720 else
61722 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61723 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61724 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61725 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61726 echo $ECHO_N "(cached) $ECHO_C" >&6
61727 else
61731 ac_ext=cc
61732 ac_cpp='$CXXCPP $CPPFLAGS'
61733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61737 cat >conftest.$ac_ext <<_ACEOF
61738 /* confdefs.h. */
61739 _ACEOF
61740 cat confdefs.h >>conftest.$ac_ext
61741 cat >>conftest.$ac_ext <<_ACEOF
61742 /* end confdefs.h. */
61743 #include <math.h>
61745 main ()
61747 _powf(0, 0);
61749 return 0;
61751 _ACEOF
61752 rm -f conftest.$ac_objext
61753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61754 (eval $ac_compile) 2>conftest.er1
61755 ac_status=$?
61756 grep -v '^ *+' conftest.er1 >conftest.err
61757 rm -f conftest.er1
61758 cat conftest.err >&5
61759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61760 (exit $ac_status); } &&
61761 { ac_try='test -z "$ac_cxx_werror_flag"
61762 || test ! -s conftest.err'
61763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61764 (eval $ac_try) 2>&5
61765 ac_status=$?
61766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61767 (exit $ac_status); }; } &&
61768 { ac_try='test -s conftest.$ac_objext'
61769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61770 (eval $ac_try) 2>&5
61771 ac_status=$?
61772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61773 (exit $ac_status); }; }; then
61774 glibcxx_cv_func__powf_use=yes
61775 else
61776 echo "$as_me: failed program was:" >&5
61777 sed 's/^/| /' conftest.$ac_ext >&5
61779 glibcxx_cv_func__powf_use=no
61781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61782 ac_ext=c
61783 ac_cpp='$CPP $CPPFLAGS'
61784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61793 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61795 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61797 for ac_func in _powf
61799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61800 echo "$as_me:$LINENO: checking for $ac_func" >&5
61801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61802 if eval "test \"\${$as_ac_var+set}\" = set"; then
61803 echo $ECHO_N "(cached) $ECHO_C" >&6
61804 else
61805 if test x$gcc_no_link = xyes; then
61806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61808 { (exit 1); exit 1; }; }
61810 cat >conftest.$ac_ext <<_ACEOF
61811 /* confdefs.h. */
61812 _ACEOF
61813 cat confdefs.h >>conftest.$ac_ext
61814 cat >>conftest.$ac_ext <<_ACEOF
61815 /* end confdefs.h. */
61816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61818 #define $ac_func innocuous_$ac_func
61820 /* System header to define __stub macros and hopefully few prototypes,
61821 which can conflict with char $ac_func (); below.
61822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61823 <limits.h> exists even on freestanding compilers. */
61825 #ifdef __STDC__
61826 # include <limits.h>
61827 #else
61828 # include <assert.h>
61829 #endif
61831 #undef $ac_func
61833 /* Override any gcc2 internal prototype to avoid an error. */
61834 #ifdef __cplusplus
61835 extern "C"
61837 #endif
61838 /* We use char because int might match the return type of a gcc2
61839 builtin and then its argument prototype would still apply. */
61840 char $ac_func ();
61841 /* The GNU C library defines this for functions which it implements
61842 to always fail with ENOSYS. Some functions are actually named
61843 something starting with __ and the normal name is an alias. */
61844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61845 choke me
61846 #else
61847 char (*f) () = $ac_func;
61848 #endif
61849 #ifdef __cplusplus
61851 #endif
61854 main ()
61856 return f != $ac_func;
61858 return 0;
61860 _ACEOF
61861 rm -f conftest.$ac_objext conftest$ac_exeext
61862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61863 (eval $ac_link) 2>conftest.er1
61864 ac_status=$?
61865 grep -v '^ *+' conftest.er1 >conftest.err
61866 rm -f conftest.er1
61867 cat conftest.err >&5
61868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61869 (exit $ac_status); } &&
61870 { ac_try='test -z "$ac_c_werror_flag"
61871 || test ! -s conftest.err'
61872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61873 (eval $ac_try) 2>&5
61874 ac_status=$?
61875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61876 (exit $ac_status); }; } &&
61877 { ac_try='test -s conftest$ac_exeext'
61878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61879 (eval $ac_try) 2>&5
61880 ac_status=$?
61881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61882 (exit $ac_status); }; }; then
61883 eval "$as_ac_var=yes"
61884 else
61885 echo "$as_me: failed program was:" >&5
61886 sed 's/^/| /' conftest.$ac_ext >&5
61888 eval "$as_ac_var=no"
61890 rm -f conftest.err conftest.$ac_objext \
61891 conftest$ac_exeext conftest.$ac_ext
61893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61895 if test `eval echo '${'$as_ac_var'}'` = yes; then
61896 cat >>confdefs.h <<_ACEOF
61897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61898 _ACEOF
61901 done
61908 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61909 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61910 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61911 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61912 echo $ECHO_N "(cached) $ECHO_C" >&6
61913 else
61917 ac_ext=cc
61918 ac_cpp='$CXXCPP $CPPFLAGS'
61919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61923 cat >conftest.$ac_ext <<_ACEOF
61924 /* confdefs.h. */
61925 _ACEOF
61926 cat confdefs.h >>conftest.$ac_ext
61927 cat >>conftest.$ac_ext <<_ACEOF
61928 /* end confdefs.h. */
61929 #include <math.h>
61930 #ifdef HAVE_IEEEFP_H
61931 #include <ieeefp.h>
61932 #endif
61935 main ()
61937 sqrtf(0);
61939 return 0;
61941 _ACEOF
61942 rm -f conftest.$ac_objext
61943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61944 (eval $ac_compile) 2>conftest.er1
61945 ac_status=$?
61946 grep -v '^ *+' conftest.er1 >conftest.err
61947 rm -f conftest.er1
61948 cat conftest.err >&5
61949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61950 (exit $ac_status); } &&
61951 { ac_try='test -z "$ac_cxx_werror_flag"
61952 || test ! -s conftest.err'
61953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61954 (eval $ac_try) 2>&5
61955 ac_status=$?
61956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61957 (exit $ac_status); }; } &&
61958 { ac_try='test -s conftest.$ac_objext'
61959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61960 (eval $ac_try) 2>&5
61961 ac_status=$?
61962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61963 (exit $ac_status); }; }; then
61964 glibcxx_cv_func_sqrtf_use=yes
61965 else
61966 echo "$as_me: failed program was:" >&5
61967 sed 's/^/| /' conftest.$ac_ext >&5
61969 glibcxx_cv_func_sqrtf_use=no
61971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61972 ac_ext=c
61973 ac_cpp='$CPP $CPPFLAGS'
61974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
61983 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
61985 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61987 for ac_func in sqrtf
61989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61990 echo "$as_me:$LINENO: checking for $ac_func" >&5
61991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61992 if eval "test \"\${$as_ac_var+set}\" = set"; then
61993 echo $ECHO_N "(cached) $ECHO_C" >&6
61994 else
61995 if test x$gcc_no_link = xyes; then
61996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61998 { (exit 1); exit 1; }; }
62000 cat >conftest.$ac_ext <<_ACEOF
62001 /* confdefs.h. */
62002 _ACEOF
62003 cat confdefs.h >>conftest.$ac_ext
62004 cat >>conftest.$ac_ext <<_ACEOF
62005 /* end confdefs.h. */
62006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62008 #define $ac_func innocuous_$ac_func
62010 /* System header to define __stub macros and hopefully few prototypes,
62011 which can conflict with char $ac_func (); below.
62012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62013 <limits.h> exists even on freestanding compilers. */
62015 #ifdef __STDC__
62016 # include <limits.h>
62017 #else
62018 # include <assert.h>
62019 #endif
62021 #undef $ac_func
62023 /* Override any gcc2 internal prototype to avoid an error. */
62024 #ifdef __cplusplus
62025 extern "C"
62027 #endif
62028 /* We use char because int might match the return type of a gcc2
62029 builtin and then its argument prototype would still apply. */
62030 char $ac_func ();
62031 /* The GNU C library defines this for functions which it implements
62032 to always fail with ENOSYS. Some functions are actually named
62033 something starting with __ and the normal name is an alias. */
62034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62035 choke me
62036 #else
62037 char (*f) () = $ac_func;
62038 #endif
62039 #ifdef __cplusplus
62041 #endif
62044 main ()
62046 return f != $ac_func;
62048 return 0;
62050 _ACEOF
62051 rm -f conftest.$ac_objext conftest$ac_exeext
62052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62053 (eval $ac_link) 2>conftest.er1
62054 ac_status=$?
62055 grep -v '^ *+' conftest.er1 >conftest.err
62056 rm -f conftest.er1
62057 cat conftest.err >&5
62058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62059 (exit $ac_status); } &&
62060 { ac_try='test -z "$ac_c_werror_flag"
62061 || test ! -s conftest.err'
62062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62063 (eval $ac_try) 2>&5
62064 ac_status=$?
62065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62066 (exit $ac_status); }; } &&
62067 { ac_try='test -s conftest$ac_exeext'
62068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62069 (eval $ac_try) 2>&5
62070 ac_status=$?
62071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62072 (exit $ac_status); }; }; then
62073 eval "$as_ac_var=yes"
62074 else
62075 echo "$as_me: failed program was:" >&5
62076 sed 's/^/| /' conftest.$ac_ext >&5
62078 eval "$as_ac_var=no"
62080 rm -f conftest.err conftest.$ac_objext \
62081 conftest$ac_exeext conftest.$ac_ext
62083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62085 if test `eval echo '${'$as_ac_var'}'` = yes; then
62086 cat >>confdefs.h <<_ACEOF
62087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62088 _ACEOF
62091 done
62093 else
62095 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62096 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62097 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62098 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62099 echo $ECHO_N "(cached) $ECHO_C" >&6
62100 else
62104 ac_ext=cc
62105 ac_cpp='$CXXCPP $CPPFLAGS'
62106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62110 cat >conftest.$ac_ext <<_ACEOF
62111 /* confdefs.h. */
62112 _ACEOF
62113 cat confdefs.h >>conftest.$ac_ext
62114 cat >>conftest.$ac_ext <<_ACEOF
62115 /* end confdefs.h. */
62116 #include <math.h>
62117 #ifdef HAVE_IEEEFP_H
62118 #include <ieeefp.h>
62119 #endif
62122 main ()
62124 _sqrtf(0);
62126 return 0;
62128 _ACEOF
62129 rm -f conftest.$ac_objext
62130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62131 (eval $ac_compile) 2>conftest.er1
62132 ac_status=$?
62133 grep -v '^ *+' conftest.er1 >conftest.err
62134 rm -f conftest.er1
62135 cat conftest.err >&5
62136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62137 (exit $ac_status); } &&
62138 { ac_try='test -z "$ac_cxx_werror_flag"
62139 || test ! -s conftest.err'
62140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62141 (eval $ac_try) 2>&5
62142 ac_status=$?
62143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62144 (exit $ac_status); }; } &&
62145 { ac_try='test -s conftest.$ac_objext'
62146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62147 (eval $ac_try) 2>&5
62148 ac_status=$?
62149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62150 (exit $ac_status); }; }; then
62151 glibcxx_cv_func__sqrtf_use=yes
62152 else
62153 echo "$as_me: failed program was:" >&5
62154 sed 's/^/| /' conftest.$ac_ext >&5
62156 glibcxx_cv_func__sqrtf_use=no
62158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62159 ac_ext=c
62160 ac_cpp='$CPP $CPPFLAGS'
62161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62170 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62172 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62174 for ac_func in _sqrtf
62176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62177 echo "$as_me:$LINENO: checking for $ac_func" >&5
62178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62179 if eval "test \"\${$as_ac_var+set}\" = set"; then
62180 echo $ECHO_N "(cached) $ECHO_C" >&6
62181 else
62182 if test x$gcc_no_link = xyes; then
62183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62185 { (exit 1); exit 1; }; }
62187 cat >conftest.$ac_ext <<_ACEOF
62188 /* confdefs.h. */
62189 _ACEOF
62190 cat confdefs.h >>conftest.$ac_ext
62191 cat >>conftest.$ac_ext <<_ACEOF
62192 /* end confdefs.h. */
62193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62195 #define $ac_func innocuous_$ac_func
62197 /* System header to define __stub macros and hopefully few prototypes,
62198 which can conflict with char $ac_func (); below.
62199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62200 <limits.h> exists even on freestanding compilers. */
62202 #ifdef __STDC__
62203 # include <limits.h>
62204 #else
62205 # include <assert.h>
62206 #endif
62208 #undef $ac_func
62210 /* Override any gcc2 internal prototype to avoid an error. */
62211 #ifdef __cplusplus
62212 extern "C"
62214 #endif
62215 /* We use char because int might match the return type of a gcc2
62216 builtin and then its argument prototype would still apply. */
62217 char $ac_func ();
62218 /* The GNU C library defines this for functions which it implements
62219 to always fail with ENOSYS. Some functions are actually named
62220 something starting with __ and the normal name is an alias. */
62221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62222 choke me
62223 #else
62224 char (*f) () = $ac_func;
62225 #endif
62226 #ifdef __cplusplus
62228 #endif
62231 main ()
62233 return f != $ac_func;
62235 return 0;
62237 _ACEOF
62238 rm -f conftest.$ac_objext conftest$ac_exeext
62239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62240 (eval $ac_link) 2>conftest.er1
62241 ac_status=$?
62242 grep -v '^ *+' conftest.er1 >conftest.err
62243 rm -f conftest.er1
62244 cat conftest.err >&5
62245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62246 (exit $ac_status); } &&
62247 { ac_try='test -z "$ac_c_werror_flag"
62248 || test ! -s conftest.err'
62249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62250 (eval $ac_try) 2>&5
62251 ac_status=$?
62252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62253 (exit $ac_status); }; } &&
62254 { ac_try='test -s conftest$ac_exeext'
62255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62256 (eval $ac_try) 2>&5
62257 ac_status=$?
62258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62259 (exit $ac_status); }; }; then
62260 eval "$as_ac_var=yes"
62261 else
62262 echo "$as_me: failed program was:" >&5
62263 sed 's/^/| /' conftest.$ac_ext >&5
62265 eval "$as_ac_var=no"
62267 rm -f conftest.err conftest.$ac_objext \
62268 conftest$ac_exeext conftest.$ac_ext
62270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62272 if test `eval echo '${'$as_ac_var'}'` = yes; then
62273 cat >>confdefs.h <<_ACEOF
62274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62275 _ACEOF
62278 done
62285 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62286 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62287 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62288 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62289 echo $ECHO_N "(cached) $ECHO_C" >&6
62290 else
62294 ac_ext=cc
62295 ac_cpp='$CXXCPP $CPPFLAGS'
62296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62300 cat >conftest.$ac_ext <<_ACEOF
62301 /* confdefs.h. */
62302 _ACEOF
62303 cat confdefs.h >>conftest.$ac_ext
62304 cat >>conftest.$ac_ext <<_ACEOF
62305 /* end confdefs.h. */
62306 #include <math.h>
62308 main ()
62310 sincosf(0, 0, 0);
62312 return 0;
62314 _ACEOF
62315 rm -f conftest.$ac_objext
62316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62317 (eval $ac_compile) 2>conftest.er1
62318 ac_status=$?
62319 grep -v '^ *+' conftest.er1 >conftest.err
62320 rm -f conftest.er1
62321 cat conftest.err >&5
62322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62323 (exit $ac_status); } &&
62324 { ac_try='test -z "$ac_cxx_werror_flag"
62325 || test ! -s conftest.err'
62326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62327 (eval $ac_try) 2>&5
62328 ac_status=$?
62329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62330 (exit $ac_status); }; } &&
62331 { ac_try='test -s conftest.$ac_objext'
62332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62333 (eval $ac_try) 2>&5
62334 ac_status=$?
62335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62336 (exit $ac_status); }; }; then
62337 glibcxx_cv_func_sincosf_use=yes
62338 else
62339 echo "$as_me: failed program was:" >&5
62340 sed 's/^/| /' conftest.$ac_ext >&5
62342 glibcxx_cv_func_sincosf_use=no
62344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62345 ac_ext=c
62346 ac_cpp='$CPP $CPPFLAGS'
62347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62356 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62358 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62360 for ac_func in sincosf
62362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62363 echo "$as_me:$LINENO: checking for $ac_func" >&5
62364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62365 if eval "test \"\${$as_ac_var+set}\" = set"; then
62366 echo $ECHO_N "(cached) $ECHO_C" >&6
62367 else
62368 if test x$gcc_no_link = xyes; then
62369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62371 { (exit 1); exit 1; }; }
62373 cat >conftest.$ac_ext <<_ACEOF
62374 /* confdefs.h. */
62375 _ACEOF
62376 cat confdefs.h >>conftest.$ac_ext
62377 cat >>conftest.$ac_ext <<_ACEOF
62378 /* end confdefs.h. */
62379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62381 #define $ac_func innocuous_$ac_func
62383 /* System header to define __stub macros and hopefully few prototypes,
62384 which can conflict with char $ac_func (); below.
62385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62386 <limits.h> exists even on freestanding compilers. */
62388 #ifdef __STDC__
62389 # include <limits.h>
62390 #else
62391 # include <assert.h>
62392 #endif
62394 #undef $ac_func
62396 /* Override any gcc2 internal prototype to avoid an error. */
62397 #ifdef __cplusplus
62398 extern "C"
62400 #endif
62401 /* We use char because int might match the return type of a gcc2
62402 builtin and then its argument prototype would still apply. */
62403 char $ac_func ();
62404 /* The GNU C library defines this for functions which it implements
62405 to always fail with ENOSYS. Some functions are actually named
62406 something starting with __ and the normal name is an alias. */
62407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62408 choke me
62409 #else
62410 char (*f) () = $ac_func;
62411 #endif
62412 #ifdef __cplusplus
62414 #endif
62417 main ()
62419 return f != $ac_func;
62421 return 0;
62423 _ACEOF
62424 rm -f conftest.$ac_objext conftest$ac_exeext
62425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62426 (eval $ac_link) 2>conftest.er1
62427 ac_status=$?
62428 grep -v '^ *+' conftest.er1 >conftest.err
62429 rm -f conftest.er1
62430 cat conftest.err >&5
62431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62432 (exit $ac_status); } &&
62433 { ac_try='test -z "$ac_c_werror_flag"
62434 || test ! -s conftest.err'
62435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62436 (eval $ac_try) 2>&5
62437 ac_status=$?
62438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62439 (exit $ac_status); }; } &&
62440 { ac_try='test -s conftest$ac_exeext'
62441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62442 (eval $ac_try) 2>&5
62443 ac_status=$?
62444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62445 (exit $ac_status); }; }; then
62446 eval "$as_ac_var=yes"
62447 else
62448 echo "$as_me: failed program was:" >&5
62449 sed 's/^/| /' conftest.$ac_ext >&5
62451 eval "$as_ac_var=no"
62453 rm -f conftest.err conftest.$ac_objext \
62454 conftest$ac_exeext conftest.$ac_ext
62456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62458 if test `eval echo '${'$as_ac_var'}'` = yes; then
62459 cat >>confdefs.h <<_ACEOF
62460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62461 _ACEOF
62464 done
62466 else
62468 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62469 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62470 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62471 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62472 echo $ECHO_N "(cached) $ECHO_C" >&6
62473 else
62477 ac_ext=cc
62478 ac_cpp='$CXXCPP $CPPFLAGS'
62479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62483 cat >conftest.$ac_ext <<_ACEOF
62484 /* confdefs.h. */
62485 _ACEOF
62486 cat confdefs.h >>conftest.$ac_ext
62487 cat >>conftest.$ac_ext <<_ACEOF
62488 /* end confdefs.h. */
62489 #include <math.h>
62491 main ()
62493 _sincosf(0, 0, 0);
62495 return 0;
62497 _ACEOF
62498 rm -f conftest.$ac_objext
62499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62500 (eval $ac_compile) 2>conftest.er1
62501 ac_status=$?
62502 grep -v '^ *+' conftest.er1 >conftest.err
62503 rm -f conftest.er1
62504 cat conftest.err >&5
62505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62506 (exit $ac_status); } &&
62507 { ac_try='test -z "$ac_cxx_werror_flag"
62508 || test ! -s conftest.err'
62509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62510 (eval $ac_try) 2>&5
62511 ac_status=$?
62512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62513 (exit $ac_status); }; } &&
62514 { ac_try='test -s conftest.$ac_objext'
62515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62516 (eval $ac_try) 2>&5
62517 ac_status=$?
62518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62519 (exit $ac_status); }; }; then
62520 glibcxx_cv_func__sincosf_use=yes
62521 else
62522 echo "$as_me: failed program was:" >&5
62523 sed 's/^/| /' conftest.$ac_ext >&5
62525 glibcxx_cv_func__sincosf_use=no
62527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62528 ac_ext=c
62529 ac_cpp='$CPP $CPPFLAGS'
62530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62539 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62541 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62543 for ac_func in _sincosf
62545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62546 echo "$as_me:$LINENO: checking for $ac_func" >&5
62547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62548 if eval "test \"\${$as_ac_var+set}\" = set"; then
62549 echo $ECHO_N "(cached) $ECHO_C" >&6
62550 else
62551 if test x$gcc_no_link = xyes; then
62552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62554 { (exit 1); exit 1; }; }
62556 cat >conftest.$ac_ext <<_ACEOF
62557 /* confdefs.h. */
62558 _ACEOF
62559 cat confdefs.h >>conftest.$ac_ext
62560 cat >>conftest.$ac_ext <<_ACEOF
62561 /* end confdefs.h. */
62562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62564 #define $ac_func innocuous_$ac_func
62566 /* System header to define __stub macros and hopefully few prototypes,
62567 which can conflict with char $ac_func (); below.
62568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62569 <limits.h> exists even on freestanding compilers. */
62571 #ifdef __STDC__
62572 # include <limits.h>
62573 #else
62574 # include <assert.h>
62575 #endif
62577 #undef $ac_func
62579 /* Override any gcc2 internal prototype to avoid an error. */
62580 #ifdef __cplusplus
62581 extern "C"
62583 #endif
62584 /* We use char because int might match the return type of a gcc2
62585 builtin and then its argument prototype would still apply. */
62586 char $ac_func ();
62587 /* The GNU C library defines this for functions which it implements
62588 to always fail with ENOSYS. Some functions are actually named
62589 something starting with __ and the normal name is an alias. */
62590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62591 choke me
62592 #else
62593 char (*f) () = $ac_func;
62594 #endif
62595 #ifdef __cplusplus
62597 #endif
62600 main ()
62602 return f != $ac_func;
62604 return 0;
62606 _ACEOF
62607 rm -f conftest.$ac_objext conftest$ac_exeext
62608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62609 (eval $ac_link) 2>conftest.er1
62610 ac_status=$?
62611 grep -v '^ *+' conftest.er1 >conftest.err
62612 rm -f conftest.er1
62613 cat conftest.err >&5
62614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62615 (exit $ac_status); } &&
62616 { ac_try='test -z "$ac_c_werror_flag"
62617 || test ! -s conftest.err'
62618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62619 (eval $ac_try) 2>&5
62620 ac_status=$?
62621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62622 (exit $ac_status); }; } &&
62623 { ac_try='test -s conftest$ac_exeext'
62624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62625 (eval $ac_try) 2>&5
62626 ac_status=$?
62627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62628 (exit $ac_status); }; }; then
62629 eval "$as_ac_var=yes"
62630 else
62631 echo "$as_me: failed program was:" >&5
62632 sed 's/^/| /' conftest.$ac_ext >&5
62634 eval "$as_ac_var=no"
62636 rm -f conftest.err conftest.$ac_objext \
62637 conftest$ac_exeext conftest.$ac_ext
62639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62641 if test `eval echo '${'$as_ac_var'}'` = yes; then
62642 cat >>confdefs.h <<_ACEOF
62643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62644 _ACEOF
62647 done
62654 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62655 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62656 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62657 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62658 echo $ECHO_N "(cached) $ECHO_C" >&6
62659 else
62663 ac_ext=cc
62664 ac_cpp='$CXXCPP $CPPFLAGS'
62665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62669 cat >conftest.$ac_ext <<_ACEOF
62670 /* confdefs.h. */
62671 _ACEOF
62672 cat confdefs.h >>conftest.$ac_ext
62673 cat >>conftest.$ac_ext <<_ACEOF
62674 /* end confdefs.h. */
62675 #include <math.h>
62676 #ifdef HAVE_IEEEFP_H
62677 #include <ieeefp.h>
62678 #endif
62681 main ()
62683 finitef(0);
62685 return 0;
62687 _ACEOF
62688 rm -f conftest.$ac_objext
62689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62690 (eval $ac_compile) 2>conftest.er1
62691 ac_status=$?
62692 grep -v '^ *+' conftest.er1 >conftest.err
62693 rm -f conftest.er1
62694 cat conftest.err >&5
62695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62696 (exit $ac_status); } &&
62697 { ac_try='test -z "$ac_cxx_werror_flag"
62698 || test ! -s conftest.err'
62699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62700 (eval $ac_try) 2>&5
62701 ac_status=$?
62702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62703 (exit $ac_status); }; } &&
62704 { ac_try='test -s conftest.$ac_objext'
62705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62706 (eval $ac_try) 2>&5
62707 ac_status=$?
62708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62709 (exit $ac_status); }; }; then
62710 glibcxx_cv_func_finitef_use=yes
62711 else
62712 echo "$as_me: failed program was:" >&5
62713 sed 's/^/| /' conftest.$ac_ext >&5
62715 glibcxx_cv_func_finitef_use=no
62717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62718 ac_ext=c
62719 ac_cpp='$CPP $CPPFLAGS'
62720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62729 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62731 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62733 for ac_func in finitef
62735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62736 echo "$as_me:$LINENO: checking for $ac_func" >&5
62737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62738 if eval "test \"\${$as_ac_var+set}\" = set"; then
62739 echo $ECHO_N "(cached) $ECHO_C" >&6
62740 else
62741 if test x$gcc_no_link = xyes; then
62742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62744 { (exit 1); exit 1; }; }
62746 cat >conftest.$ac_ext <<_ACEOF
62747 /* confdefs.h. */
62748 _ACEOF
62749 cat confdefs.h >>conftest.$ac_ext
62750 cat >>conftest.$ac_ext <<_ACEOF
62751 /* end confdefs.h. */
62752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62754 #define $ac_func innocuous_$ac_func
62756 /* System header to define __stub macros and hopefully few prototypes,
62757 which can conflict with char $ac_func (); below.
62758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62759 <limits.h> exists even on freestanding compilers. */
62761 #ifdef __STDC__
62762 # include <limits.h>
62763 #else
62764 # include <assert.h>
62765 #endif
62767 #undef $ac_func
62769 /* Override any gcc2 internal prototype to avoid an error. */
62770 #ifdef __cplusplus
62771 extern "C"
62773 #endif
62774 /* We use char because int might match the return type of a gcc2
62775 builtin and then its argument prototype would still apply. */
62776 char $ac_func ();
62777 /* The GNU C library defines this for functions which it implements
62778 to always fail with ENOSYS. Some functions are actually named
62779 something starting with __ and the normal name is an alias. */
62780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62781 choke me
62782 #else
62783 char (*f) () = $ac_func;
62784 #endif
62785 #ifdef __cplusplus
62787 #endif
62790 main ()
62792 return f != $ac_func;
62794 return 0;
62796 _ACEOF
62797 rm -f conftest.$ac_objext conftest$ac_exeext
62798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62799 (eval $ac_link) 2>conftest.er1
62800 ac_status=$?
62801 grep -v '^ *+' conftest.er1 >conftest.err
62802 rm -f conftest.er1
62803 cat conftest.err >&5
62804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62805 (exit $ac_status); } &&
62806 { ac_try='test -z "$ac_c_werror_flag"
62807 || test ! -s conftest.err'
62808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62809 (eval $ac_try) 2>&5
62810 ac_status=$?
62811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62812 (exit $ac_status); }; } &&
62813 { ac_try='test -s conftest$ac_exeext'
62814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62815 (eval $ac_try) 2>&5
62816 ac_status=$?
62817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62818 (exit $ac_status); }; }; then
62819 eval "$as_ac_var=yes"
62820 else
62821 echo "$as_me: failed program was:" >&5
62822 sed 's/^/| /' conftest.$ac_ext >&5
62824 eval "$as_ac_var=no"
62826 rm -f conftest.err conftest.$ac_objext \
62827 conftest$ac_exeext conftest.$ac_ext
62829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62831 if test `eval echo '${'$as_ac_var'}'` = yes; then
62832 cat >>confdefs.h <<_ACEOF
62833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62834 _ACEOF
62837 done
62839 else
62841 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62842 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62843 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62844 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62845 echo $ECHO_N "(cached) $ECHO_C" >&6
62846 else
62850 ac_ext=cc
62851 ac_cpp='$CXXCPP $CPPFLAGS'
62852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62856 cat >conftest.$ac_ext <<_ACEOF
62857 /* confdefs.h. */
62858 _ACEOF
62859 cat confdefs.h >>conftest.$ac_ext
62860 cat >>conftest.$ac_ext <<_ACEOF
62861 /* end confdefs.h. */
62862 #include <math.h>
62863 #ifdef HAVE_IEEEFP_H
62864 #include <ieeefp.h>
62865 #endif
62868 main ()
62870 _finitef(0);
62872 return 0;
62874 _ACEOF
62875 rm -f conftest.$ac_objext
62876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62877 (eval $ac_compile) 2>conftest.er1
62878 ac_status=$?
62879 grep -v '^ *+' conftest.er1 >conftest.err
62880 rm -f conftest.er1
62881 cat conftest.err >&5
62882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62883 (exit $ac_status); } &&
62884 { ac_try='test -z "$ac_cxx_werror_flag"
62885 || test ! -s conftest.err'
62886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62887 (eval $ac_try) 2>&5
62888 ac_status=$?
62889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62890 (exit $ac_status); }; } &&
62891 { ac_try='test -s conftest.$ac_objext'
62892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62893 (eval $ac_try) 2>&5
62894 ac_status=$?
62895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62896 (exit $ac_status); }; }; then
62897 glibcxx_cv_func__finitef_use=yes
62898 else
62899 echo "$as_me: failed program was:" >&5
62900 sed 's/^/| /' conftest.$ac_ext >&5
62902 glibcxx_cv_func__finitef_use=no
62904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62905 ac_ext=c
62906 ac_cpp='$CPP $CPPFLAGS'
62907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62916 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62918 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62920 for ac_func in _finitef
62922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62923 echo "$as_me:$LINENO: checking for $ac_func" >&5
62924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62925 if eval "test \"\${$as_ac_var+set}\" = set"; then
62926 echo $ECHO_N "(cached) $ECHO_C" >&6
62927 else
62928 if test x$gcc_no_link = xyes; then
62929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62931 { (exit 1); exit 1; }; }
62933 cat >conftest.$ac_ext <<_ACEOF
62934 /* confdefs.h. */
62935 _ACEOF
62936 cat confdefs.h >>conftest.$ac_ext
62937 cat >>conftest.$ac_ext <<_ACEOF
62938 /* end confdefs.h. */
62939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62941 #define $ac_func innocuous_$ac_func
62943 /* System header to define __stub macros and hopefully few prototypes,
62944 which can conflict with char $ac_func (); below.
62945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62946 <limits.h> exists even on freestanding compilers. */
62948 #ifdef __STDC__
62949 # include <limits.h>
62950 #else
62951 # include <assert.h>
62952 #endif
62954 #undef $ac_func
62956 /* Override any gcc2 internal prototype to avoid an error. */
62957 #ifdef __cplusplus
62958 extern "C"
62960 #endif
62961 /* We use char because int might match the return type of a gcc2
62962 builtin and then its argument prototype would still apply. */
62963 char $ac_func ();
62964 /* The GNU C library defines this for functions which it implements
62965 to always fail with ENOSYS. Some functions are actually named
62966 something starting with __ and the normal name is an alias. */
62967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62968 choke me
62969 #else
62970 char (*f) () = $ac_func;
62971 #endif
62972 #ifdef __cplusplus
62974 #endif
62977 main ()
62979 return f != $ac_func;
62981 return 0;
62983 _ACEOF
62984 rm -f conftest.$ac_objext conftest$ac_exeext
62985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62986 (eval $ac_link) 2>conftest.er1
62987 ac_status=$?
62988 grep -v '^ *+' conftest.er1 >conftest.err
62989 rm -f conftest.er1
62990 cat conftest.err >&5
62991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62992 (exit $ac_status); } &&
62993 { ac_try='test -z "$ac_c_werror_flag"
62994 || test ! -s conftest.err'
62995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62996 (eval $ac_try) 2>&5
62997 ac_status=$?
62998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62999 (exit $ac_status); }; } &&
63000 { ac_try='test -s conftest$ac_exeext'
63001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63002 (eval $ac_try) 2>&5
63003 ac_status=$?
63004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63005 (exit $ac_status); }; }; then
63006 eval "$as_ac_var=yes"
63007 else
63008 echo "$as_me: failed program was:" >&5
63009 sed 's/^/| /' conftest.$ac_ext >&5
63011 eval "$as_ac_var=no"
63013 rm -f conftest.err conftest.$ac_objext \
63014 conftest$ac_exeext conftest.$ac_ext
63016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63018 if test `eval echo '${'$as_ac_var'}'` = yes; then
63019 cat >>confdefs.h <<_ACEOF
63020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63021 _ACEOF
63024 done
63031 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63032 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63033 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63034 echo $ECHO_N "(cached) $ECHO_C" >&6
63035 else
63039 ac_ext=cc
63040 ac_cpp='$CXXCPP $CPPFLAGS'
63041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63045 cat >conftest.$ac_ext <<_ACEOF
63046 /* confdefs.h. */
63047 _ACEOF
63048 cat confdefs.h >>conftest.$ac_ext
63049 cat >>conftest.$ac_ext <<_ACEOF
63050 /* end confdefs.h. */
63051 #include <math.h>
63053 main ()
63055 `for x in acosl asinl atanl \
63056 cosl sinl tanl \
63057 coshl sinhl tanhl; do echo "$x (0);"; done`
63059 return 0;
63061 _ACEOF
63062 rm -f conftest.$ac_objext
63063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63064 (eval $ac_compile) 2>conftest.er1
63065 ac_status=$?
63066 grep -v '^ *+' conftest.er1 >conftest.err
63067 rm -f conftest.er1
63068 cat conftest.err >&5
63069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63070 (exit $ac_status); } &&
63071 { ac_try='test -z "$ac_cxx_werror_flag"
63072 || test ! -s conftest.err'
63073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63074 (eval $ac_try) 2>&5
63075 ac_status=$?
63076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63077 (exit $ac_status); }; } &&
63078 { ac_try='test -s conftest.$ac_objext'
63079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63080 (eval $ac_try) 2>&5
63081 ac_status=$?
63082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63083 (exit $ac_status); }; }; then
63084 glibcxx_cv_func_long_double_trig_use=yes
63085 else
63086 echo "$as_me: failed program was:" >&5
63087 sed 's/^/| /' conftest.$ac_ext >&5
63089 glibcxx_cv_func_long_double_trig_use=no
63091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63092 ac_ext=c
63093 ac_cpp='$CPP $CPPFLAGS'
63094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63101 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63102 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63112 for ac_func in acosl asinl atanl \
63113 cosl sinl tanl \
63114 coshl sinhl tanhl
63116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63117 echo "$as_me:$LINENO: checking for $ac_func" >&5
63118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63119 if eval "test \"\${$as_ac_var+set}\" = set"; then
63120 echo $ECHO_N "(cached) $ECHO_C" >&6
63121 else
63122 if test x$gcc_no_link = xyes; then
63123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63125 { (exit 1); exit 1; }; }
63127 cat >conftest.$ac_ext <<_ACEOF
63128 /* confdefs.h. */
63129 _ACEOF
63130 cat confdefs.h >>conftest.$ac_ext
63131 cat >>conftest.$ac_ext <<_ACEOF
63132 /* end confdefs.h. */
63133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63135 #define $ac_func innocuous_$ac_func
63137 /* System header to define __stub macros and hopefully few prototypes,
63138 which can conflict with char $ac_func (); below.
63139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63140 <limits.h> exists even on freestanding compilers. */
63142 #ifdef __STDC__
63143 # include <limits.h>
63144 #else
63145 # include <assert.h>
63146 #endif
63148 #undef $ac_func
63150 /* Override any gcc2 internal prototype to avoid an error. */
63151 #ifdef __cplusplus
63152 extern "C"
63154 #endif
63155 /* We use char because int might match the return type of a gcc2
63156 builtin and then its argument prototype would still apply. */
63157 char $ac_func ();
63158 /* The GNU C library defines this for functions which it implements
63159 to always fail with ENOSYS. Some functions are actually named
63160 something starting with __ and the normal name is an alias. */
63161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63162 choke me
63163 #else
63164 char (*f) () = $ac_func;
63165 #endif
63166 #ifdef __cplusplus
63168 #endif
63171 main ()
63173 return f != $ac_func;
63175 return 0;
63177 _ACEOF
63178 rm -f conftest.$ac_objext conftest$ac_exeext
63179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63180 (eval $ac_link) 2>conftest.er1
63181 ac_status=$?
63182 grep -v '^ *+' conftest.er1 >conftest.err
63183 rm -f conftest.er1
63184 cat conftest.err >&5
63185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63186 (exit $ac_status); } &&
63187 { ac_try='test -z "$ac_c_werror_flag"
63188 || test ! -s conftest.err'
63189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63190 (eval $ac_try) 2>&5
63191 ac_status=$?
63192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63193 (exit $ac_status); }; } &&
63194 { ac_try='test -s conftest$ac_exeext'
63195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63196 (eval $ac_try) 2>&5
63197 ac_status=$?
63198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63199 (exit $ac_status); }; }; then
63200 eval "$as_ac_var=yes"
63201 else
63202 echo "$as_me: failed program was:" >&5
63203 sed 's/^/| /' conftest.$ac_ext >&5
63205 eval "$as_ac_var=no"
63207 rm -f conftest.err conftest.$ac_objext \
63208 conftest$ac_exeext conftest.$ac_ext
63210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63212 if test `eval echo '${'$as_ac_var'}'` = yes; then
63213 cat >>confdefs.h <<_ACEOF
63214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63215 _ACEOF
63218 done
63223 echo "$as_me:$LINENO: checking for long double round functions" >&5
63224 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63225 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63226 echo $ECHO_N "(cached) $ECHO_C" >&6
63227 else
63231 ac_ext=cc
63232 ac_cpp='$CXXCPP $CPPFLAGS'
63233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63237 cat >conftest.$ac_ext <<_ACEOF
63238 /* confdefs.h. */
63239 _ACEOF
63240 cat confdefs.h >>conftest.$ac_ext
63241 cat >>conftest.$ac_ext <<_ACEOF
63242 /* end confdefs.h. */
63243 #include <math.h>
63245 main ()
63247 `for x in ceill floorl; do echo "$x (0);"; done`
63249 return 0;
63251 _ACEOF
63252 rm -f conftest.$ac_objext
63253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63254 (eval $ac_compile) 2>conftest.er1
63255 ac_status=$?
63256 grep -v '^ *+' conftest.er1 >conftest.err
63257 rm -f conftest.er1
63258 cat conftest.err >&5
63259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63260 (exit $ac_status); } &&
63261 { ac_try='test -z "$ac_cxx_werror_flag"
63262 || test ! -s conftest.err'
63263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63264 (eval $ac_try) 2>&5
63265 ac_status=$?
63266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63267 (exit $ac_status); }; } &&
63268 { ac_try='test -s conftest.$ac_objext'
63269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63270 (eval $ac_try) 2>&5
63271 ac_status=$?
63272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63273 (exit $ac_status); }; }; then
63274 glibcxx_cv_func_long_double_round_use=yes
63275 else
63276 echo "$as_me: failed program was:" >&5
63277 sed 's/^/| /' conftest.$ac_ext >&5
63279 glibcxx_cv_func_long_double_round_use=no
63281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63282 ac_ext=c
63283 ac_cpp='$CPP $CPPFLAGS'
63284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63291 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63292 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63295 for ac_func in ceill floorl
63297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63298 echo "$as_me:$LINENO: checking for $ac_func" >&5
63299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63300 if eval "test \"\${$as_ac_var+set}\" = set"; then
63301 echo $ECHO_N "(cached) $ECHO_C" >&6
63302 else
63303 if test x$gcc_no_link = xyes; then
63304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63306 { (exit 1); exit 1; }; }
63308 cat >conftest.$ac_ext <<_ACEOF
63309 /* confdefs.h. */
63310 _ACEOF
63311 cat confdefs.h >>conftest.$ac_ext
63312 cat >>conftest.$ac_ext <<_ACEOF
63313 /* end confdefs.h. */
63314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63316 #define $ac_func innocuous_$ac_func
63318 /* System header to define __stub macros and hopefully few prototypes,
63319 which can conflict with char $ac_func (); below.
63320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63321 <limits.h> exists even on freestanding compilers. */
63323 #ifdef __STDC__
63324 # include <limits.h>
63325 #else
63326 # include <assert.h>
63327 #endif
63329 #undef $ac_func
63331 /* Override any gcc2 internal prototype to avoid an error. */
63332 #ifdef __cplusplus
63333 extern "C"
63335 #endif
63336 /* We use char because int might match the return type of a gcc2
63337 builtin and then its argument prototype would still apply. */
63338 char $ac_func ();
63339 /* The GNU C library defines this for functions which it implements
63340 to always fail with ENOSYS. Some functions are actually named
63341 something starting with __ and the normal name is an alias. */
63342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63343 choke me
63344 #else
63345 char (*f) () = $ac_func;
63346 #endif
63347 #ifdef __cplusplus
63349 #endif
63352 main ()
63354 return f != $ac_func;
63356 return 0;
63358 _ACEOF
63359 rm -f conftest.$ac_objext conftest$ac_exeext
63360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63361 (eval $ac_link) 2>conftest.er1
63362 ac_status=$?
63363 grep -v '^ *+' conftest.er1 >conftest.err
63364 rm -f conftest.er1
63365 cat conftest.err >&5
63366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63367 (exit $ac_status); } &&
63368 { ac_try='test -z "$ac_c_werror_flag"
63369 || test ! -s conftest.err'
63370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63371 (eval $ac_try) 2>&5
63372 ac_status=$?
63373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63374 (exit $ac_status); }; } &&
63375 { ac_try='test -s conftest$ac_exeext'
63376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63377 (eval $ac_try) 2>&5
63378 ac_status=$?
63379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63380 (exit $ac_status); }; }; then
63381 eval "$as_ac_var=yes"
63382 else
63383 echo "$as_me: failed program was:" >&5
63384 sed 's/^/| /' conftest.$ac_ext >&5
63386 eval "$as_ac_var=no"
63388 rm -f conftest.err conftest.$ac_objext \
63389 conftest$ac_exeext conftest.$ac_ext
63391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63393 if test `eval echo '${'$as_ac_var'}'` = yes; then
63394 cat >>confdefs.h <<_ACEOF
63395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63396 _ACEOF
63399 done
63405 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63406 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63407 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63408 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63409 echo $ECHO_N "(cached) $ECHO_C" >&6
63410 else
63414 ac_ext=cc
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63420 cat >conftest.$ac_ext <<_ACEOF
63421 /* confdefs.h. */
63422 _ACEOF
63423 cat confdefs.h >>conftest.$ac_ext
63424 cat >>conftest.$ac_ext <<_ACEOF
63425 /* end confdefs.h. */
63426 #include <math.h>
63427 #ifdef HAVE_IEEEFP_H
63428 #include <ieeefp.h>
63429 #endif
63432 main ()
63434 isnanl(0);
63436 return 0;
63438 _ACEOF
63439 rm -f conftest.$ac_objext
63440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63441 (eval $ac_compile) 2>conftest.er1
63442 ac_status=$?
63443 grep -v '^ *+' conftest.er1 >conftest.err
63444 rm -f conftest.er1
63445 cat conftest.err >&5
63446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63447 (exit $ac_status); } &&
63448 { ac_try='test -z "$ac_cxx_werror_flag"
63449 || test ! -s conftest.err'
63450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63451 (eval $ac_try) 2>&5
63452 ac_status=$?
63453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454 (exit $ac_status); }; } &&
63455 { ac_try='test -s conftest.$ac_objext'
63456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63457 (eval $ac_try) 2>&5
63458 ac_status=$?
63459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63460 (exit $ac_status); }; }; then
63461 glibcxx_cv_func_isnanl_use=yes
63462 else
63463 echo "$as_me: failed program was:" >&5
63464 sed 's/^/| /' conftest.$ac_ext >&5
63466 glibcxx_cv_func_isnanl_use=no
63468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63469 ac_ext=c
63470 ac_cpp='$CPP $CPPFLAGS'
63471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63480 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63482 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63484 for ac_func in isnanl
63486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63487 echo "$as_me:$LINENO: checking for $ac_func" >&5
63488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63489 if eval "test \"\${$as_ac_var+set}\" = set"; then
63490 echo $ECHO_N "(cached) $ECHO_C" >&6
63491 else
63492 if test x$gcc_no_link = xyes; then
63493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63495 { (exit 1); exit 1; }; }
63497 cat >conftest.$ac_ext <<_ACEOF
63498 /* confdefs.h. */
63499 _ACEOF
63500 cat confdefs.h >>conftest.$ac_ext
63501 cat >>conftest.$ac_ext <<_ACEOF
63502 /* end confdefs.h. */
63503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63505 #define $ac_func innocuous_$ac_func
63507 /* System header to define __stub macros and hopefully few prototypes,
63508 which can conflict with char $ac_func (); below.
63509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63510 <limits.h> exists even on freestanding compilers. */
63512 #ifdef __STDC__
63513 # include <limits.h>
63514 #else
63515 # include <assert.h>
63516 #endif
63518 #undef $ac_func
63520 /* Override any gcc2 internal prototype to avoid an error. */
63521 #ifdef __cplusplus
63522 extern "C"
63524 #endif
63525 /* We use char because int might match the return type of a gcc2
63526 builtin and then its argument prototype would still apply. */
63527 char $ac_func ();
63528 /* The GNU C library defines this for functions which it implements
63529 to always fail with ENOSYS. Some functions are actually named
63530 something starting with __ and the normal name is an alias. */
63531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63532 choke me
63533 #else
63534 char (*f) () = $ac_func;
63535 #endif
63536 #ifdef __cplusplus
63538 #endif
63541 main ()
63543 return f != $ac_func;
63545 return 0;
63547 _ACEOF
63548 rm -f conftest.$ac_objext conftest$ac_exeext
63549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63550 (eval $ac_link) 2>conftest.er1
63551 ac_status=$?
63552 grep -v '^ *+' conftest.er1 >conftest.err
63553 rm -f conftest.er1
63554 cat conftest.err >&5
63555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63556 (exit $ac_status); } &&
63557 { ac_try='test -z "$ac_c_werror_flag"
63558 || test ! -s conftest.err'
63559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63560 (eval $ac_try) 2>&5
63561 ac_status=$?
63562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63563 (exit $ac_status); }; } &&
63564 { ac_try='test -s conftest$ac_exeext'
63565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63566 (eval $ac_try) 2>&5
63567 ac_status=$?
63568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63569 (exit $ac_status); }; }; then
63570 eval "$as_ac_var=yes"
63571 else
63572 echo "$as_me: failed program was:" >&5
63573 sed 's/^/| /' conftest.$ac_ext >&5
63575 eval "$as_ac_var=no"
63577 rm -f conftest.err conftest.$ac_objext \
63578 conftest$ac_exeext conftest.$ac_ext
63580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63582 if test `eval echo '${'$as_ac_var'}'` = yes; then
63583 cat >>confdefs.h <<_ACEOF
63584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63585 _ACEOF
63588 done
63590 else
63592 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63593 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63594 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63595 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63596 echo $ECHO_N "(cached) $ECHO_C" >&6
63597 else
63601 ac_ext=cc
63602 ac_cpp='$CXXCPP $CPPFLAGS'
63603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63607 cat >conftest.$ac_ext <<_ACEOF
63608 /* confdefs.h. */
63609 _ACEOF
63610 cat confdefs.h >>conftest.$ac_ext
63611 cat >>conftest.$ac_ext <<_ACEOF
63612 /* end confdefs.h. */
63613 #include <math.h>
63614 #ifdef HAVE_IEEEFP_H
63615 #include <ieeefp.h>
63616 #endif
63619 main ()
63621 _isnanl(0);
63623 return 0;
63625 _ACEOF
63626 rm -f conftest.$ac_objext
63627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63628 (eval $ac_compile) 2>conftest.er1
63629 ac_status=$?
63630 grep -v '^ *+' conftest.er1 >conftest.err
63631 rm -f conftest.er1
63632 cat conftest.err >&5
63633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63634 (exit $ac_status); } &&
63635 { ac_try='test -z "$ac_cxx_werror_flag"
63636 || test ! -s conftest.err'
63637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63638 (eval $ac_try) 2>&5
63639 ac_status=$?
63640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63641 (exit $ac_status); }; } &&
63642 { ac_try='test -s conftest.$ac_objext'
63643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63644 (eval $ac_try) 2>&5
63645 ac_status=$?
63646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63647 (exit $ac_status); }; }; then
63648 glibcxx_cv_func__isnanl_use=yes
63649 else
63650 echo "$as_me: failed program was:" >&5
63651 sed 's/^/| /' conftest.$ac_ext >&5
63653 glibcxx_cv_func__isnanl_use=no
63655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63656 ac_ext=c
63657 ac_cpp='$CPP $CPPFLAGS'
63658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63667 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63669 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63671 for ac_func in _isnanl
63673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63674 echo "$as_me:$LINENO: checking for $ac_func" >&5
63675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63676 if eval "test \"\${$as_ac_var+set}\" = set"; then
63677 echo $ECHO_N "(cached) $ECHO_C" >&6
63678 else
63679 if test x$gcc_no_link = xyes; then
63680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63682 { (exit 1); exit 1; }; }
63684 cat >conftest.$ac_ext <<_ACEOF
63685 /* confdefs.h. */
63686 _ACEOF
63687 cat confdefs.h >>conftest.$ac_ext
63688 cat >>conftest.$ac_ext <<_ACEOF
63689 /* end confdefs.h. */
63690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63692 #define $ac_func innocuous_$ac_func
63694 /* System header to define __stub macros and hopefully few prototypes,
63695 which can conflict with char $ac_func (); below.
63696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63697 <limits.h> exists even on freestanding compilers. */
63699 #ifdef __STDC__
63700 # include <limits.h>
63701 #else
63702 # include <assert.h>
63703 #endif
63705 #undef $ac_func
63707 /* Override any gcc2 internal prototype to avoid an error. */
63708 #ifdef __cplusplus
63709 extern "C"
63711 #endif
63712 /* We use char because int might match the return type of a gcc2
63713 builtin and then its argument prototype would still apply. */
63714 char $ac_func ();
63715 /* The GNU C library defines this for functions which it implements
63716 to always fail with ENOSYS. Some functions are actually named
63717 something starting with __ and the normal name is an alias. */
63718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63719 choke me
63720 #else
63721 char (*f) () = $ac_func;
63722 #endif
63723 #ifdef __cplusplus
63725 #endif
63728 main ()
63730 return f != $ac_func;
63732 return 0;
63734 _ACEOF
63735 rm -f conftest.$ac_objext conftest$ac_exeext
63736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63737 (eval $ac_link) 2>conftest.er1
63738 ac_status=$?
63739 grep -v '^ *+' conftest.er1 >conftest.err
63740 rm -f conftest.er1
63741 cat conftest.err >&5
63742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63743 (exit $ac_status); } &&
63744 { ac_try='test -z "$ac_c_werror_flag"
63745 || test ! -s conftest.err'
63746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63747 (eval $ac_try) 2>&5
63748 ac_status=$?
63749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63750 (exit $ac_status); }; } &&
63751 { ac_try='test -s conftest$ac_exeext'
63752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63753 (eval $ac_try) 2>&5
63754 ac_status=$?
63755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63756 (exit $ac_status); }; }; then
63757 eval "$as_ac_var=yes"
63758 else
63759 echo "$as_me: failed program was:" >&5
63760 sed 's/^/| /' conftest.$ac_ext >&5
63762 eval "$as_ac_var=no"
63764 rm -f conftest.err conftest.$ac_objext \
63765 conftest$ac_exeext conftest.$ac_ext
63767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63769 if test `eval echo '${'$as_ac_var'}'` = yes; then
63770 cat >>confdefs.h <<_ACEOF
63771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63772 _ACEOF
63775 done
63782 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63783 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63784 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63785 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63786 echo $ECHO_N "(cached) $ECHO_C" >&6
63787 else
63791 ac_ext=cc
63792 ac_cpp='$CXXCPP $CPPFLAGS'
63793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63797 cat >conftest.$ac_ext <<_ACEOF
63798 /* confdefs.h. */
63799 _ACEOF
63800 cat confdefs.h >>conftest.$ac_ext
63801 cat >>conftest.$ac_ext <<_ACEOF
63802 /* end confdefs.h. */
63803 #include <math.h>
63804 #ifdef HAVE_IEEEFP_H
63805 #include <ieeefp.h>
63806 #endif
63809 main ()
63811 isinfl(0);
63813 return 0;
63815 _ACEOF
63816 rm -f conftest.$ac_objext
63817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63818 (eval $ac_compile) 2>conftest.er1
63819 ac_status=$?
63820 grep -v '^ *+' conftest.er1 >conftest.err
63821 rm -f conftest.er1
63822 cat conftest.err >&5
63823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63824 (exit $ac_status); } &&
63825 { ac_try='test -z "$ac_cxx_werror_flag"
63826 || test ! -s conftest.err'
63827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63828 (eval $ac_try) 2>&5
63829 ac_status=$?
63830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63831 (exit $ac_status); }; } &&
63832 { ac_try='test -s conftest.$ac_objext'
63833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63834 (eval $ac_try) 2>&5
63835 ac_status=$?
63836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63837 (exit $ac_status); }; }; then
63838 glibcxx_cv_func_isinfl_use=yes
63839 else
63840 echo "$as_me: failed program was:" >&5
63841 sed 's/^/| /' conftest.$ac_ext >&5
63843 glibcxx_cv_func_isinfl_use=no
63845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63846 ac_ext=c
63847 ac_cpp='$CPP $CPPFLAGS'
63848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63857 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63859 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63861 for ac_func in isinfl
63863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63864 echo "$as_me:$LINENO: checking for $ac_func" >&5
63865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63866 if eval "test \"\${$as_ac_var+set}\" = set"; then
63867 echo $ECHO_N "(cached) $ECHO_C" >&6
63868 else
63869 if test x$gcc_no_link = xyes; then
63870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63872 { (exit 1); exit 1; }; }
63874 cat >conftest.$ac_ext <<_ACEOF
63875 /* confdefs.h. */
63876 _ACEOF
63877 cat confdefs.h >>conftest.$ac_ext
63878 cat >>conftest.$ac_ext <<_ACEOF
63879 /* end confdefs.h. */
63880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63882 #define $ac_func innocuous_$ac_func
63884 /* System header to define __stub macros and hopefully few prototypes,
63885 which can conflict with char $ac_func (); below.
63886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63887 <limits.h> exists even on freestanding compilers. */
63889 #ifdef __STDC__
63890 # include <limits.h>
63891 #else
63892 # include <assert.h>
63893 #endif
63895 #undef $ac_func
63897 /* Override any gcc2 internal prototype to avoid an error. */
63898 #ifdef __cplusplus
63899 extern "C"
63901 #endif
63902 /* We use char because int might match the return type of a gcc2
63903 builtin and then its argument prototype would still apply. */
63904 char $ac_func ();
63905 /* The GNU C library defines this for functions which it implements
63906 to always fail with ENOSYS. Some functions are actually named
63907 something starting with __ and the normal name is an alias. */
63908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63909 choke me
63910 #else
63911 char (*f) () = $ac_func;
63912 #endif
63913 #ifdef __cplusplus
63915 #endif
63918 main ()
63920 return f != $ac_func;
63922 return 0;
63924 _ACEOF
63925 rm -f conftest.$ac_objext conftest$ac_exeext
63926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63927 (eval $ac_link) 2>conftest.er1
63928 ac_status=$?
63929 grep -v '^ *+' conftest.er1 >conftest.err
63930 rm -f conftest.er1
63931 cat conftest.err >&5
63932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63933 (exit $ac_status); } &&
63934 { ac_try='test -z "$ac_c_werror_flag"
63935 || test ! -s conftest.err'
63936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63937 (eval $ac_try) 2>&5
63938 ac_status=$?
63939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63940 (exit $ac_status); }; } &&
63941 { ac_try='test -s conftest$ac_exeext'
63942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63943 (eval $ac_try) 2>&5
63944 ac_status=$?
63945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63946 (exit $ac_status); }; }; then
63947 eval "$as_ac_var=yes"
63948 else
63949 echo "$as_me: failed program was:" >&5
63950 sed 's/^/| /' conftest.$ac_ext >&5
63952 eval "$as_ac_var=no"
63954 rm -f conftest.err conftest.$ac_objext \
63955 conftest$ac_exeext conftest.$ac_ext
63957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63959 if test `eval echo '${'$as_ac_var'}'` = yes; then
63960 cat >>confdefs.h <<_ACEOF
63961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63962 _ACEOF
63965 done
63967 else
63969 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63970 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63971 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63972 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63973 echo $ECHO_N "(cached) $ECHO_C" >&6
63974 else
63978 ac_ext=cc
63979 ac_cpp='$CXXCPP $CPPFLAGS'
63980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63984 cat >conftest.$ac_ext <<_ACEOF
63985 /* confdefs.h. */
63986 _ACEOF
63987 cat confdefs.h >>conftest.$ac_ext
63988 cat >>conftest.$ac_ext <<_ACEOF
63989 /* end confdefs.h. */
63990 #include <math.h>
63991 #ifdef HAVE_IEEEFP_H
63992 #include <ieeefp.h>
63993 #endif
63996 main ()
63998 _isinfl(0);
64000 return 0;
64002 _ACEOF
64003 rm -f conftest.$ac_objext
64004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64005 (eval $ac_compile) 2>conftest.er1
64006 ac_status=$?
64007 grep -v '^ *+' conftest.er1 >conftest.err
64008 rm -f conftest.er1
64009 cat conftest.err >&5
64010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64011 (exit $ac_status); } &&
64012 { ac_try='test -z "$ac_cxx_werror_flag"
64013 || test ! -s conftest.err'
64014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64015 (eval $ac_try) 2>&5
64016 ac_status=$?
64017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64018 (exit $ac_status); }; } &&
64019 { ac_try='test -s conftest.$ac_objext'
64020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64021 (eval $ac_try) 2>&5
64022 ac_status=$?
64023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64024 (exit $ac_status); }; }; then
64025 glibcxx_cv_func__isinfl_use=yes
64026 else
64027 echo "$as_me: failed program was:" >&5
64028 sed 's/^/| /' conftest.$ac_ext >&5
64030 glibcxx_cv_func__isinfl_use=no
64032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64033 ac_ext=c
64034 ac_cpp='$CPP $CPPFLAGS'
64035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64044 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64046 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64048 for ac_func in _isinfl
64050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64051 echo "$as_me:$LINENO: checking for $ac_func" >&5
64052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64053 if eval "test \"\${$as_ac_var+set}\" = set"; then
64054 echo $ECHO_N "(cached) $ECHO_C" >&6
64055 else
64056 if test x$gcc_no_link = xyes; then
64057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64059 { (exit 1); exit 1; }; }
64061 cat >conftest.$ac_ext <<_ACEOF
64062 /* confdefs.h. */
64063 _ACEOF
64064 cat confdefs.h >>conftest.$ac_ext
64065 cat >>conftest.$ac_ext <<_ACEOF
64066 /* end confdefs.h. */
64067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64069 #define $ac_func innocuous_$ac_func
64071 /* System header to define __stub macros and hopefully few prototypes,
64072 which can conflict with char $ac_func (); below.
64073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64074 <limits.h> exists even on freestanding compilers. */
64076 #ifdef __STDC__
64077 # include <limits.h>
64078 #else
64079 # include <assert.h>
64080 #endif
64082 #undef $ac_func
64084 /* Override any gcc2 internal prototype to avoid an error. */
64085 #ifdef __cplusplus
64086 extern "C"
64088 #endif
64089 /* We use char because int might match the return type of a gcc2
64090 builtin and then its argument prototype would still apply. */
64091 char $ac_func ();
64092 /* The GNU C library defines this for functions which it implements
64093 to always fail with ENOSYS. Some functions are actually named
64094 something starting with __ and the normal name is an alias. */
64095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64096 choke me
64097 #else
64098 char (*f) () = $ac_func;
64099 #endif
64100 #ifdef __cplusplus
64102 #endif
64105 main ()
64107 return f != $ac_func;
64109 return 0;
64111 _ACEOF
64112 rm -f conftest.$ac_objext conftest$ac_exeext
64113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64114 (eval $ac_link) 2>conftest.er1
64115 ac_status=$?
64116 grep -v '^ *+' conftest.er1 >conftest.err
64117 rm -f conftest.er1
64118 cat conftest.err >&5
64119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64120 (exit $ac_status); } &&
64121 { ac_try='test -z "$ac_c_werror_flag"
64122 || test ! -s conftest.err'
64123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64124 (eval $ac_try) 2>&5
64125 ac_status=$?
64126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64127 (exit $ac_status); }; } &&
64128 { ac_try='test -s conftest$ac_exeext'
64129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64130 (eval $ac_try) 2>&5
64131 ac_status=$?
64132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64133 (exit $ac_status); }; }; then
64134 eval "$as_ac_var=yes"
64135 else
64136 echo "$as_me: failed program was:" >&5
64137 sed 's/^/| /' conftest.$ac_ext >&5
64139 eval "$as_ac_var=no"
64141 rm -f conftest.err conftest.$ac_objext \
64142 conftest$ac_exeext conftest.$ac_ext
64144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64146 if test `eval echo '${'$as_ac_var'}'` = yes; then
64147 cat >>confdefs.h <<_ACEOF
64148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64149 _ACEOF
64152 done
64159 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64160 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64161 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64162 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64163 echo $ECHO_N "(cached) $ECHO_C" >&6
64164 else
64168 ac_ext=cc
64169 ac_cpp='$CXXCPP $CPPFLAGS'
64170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64174 cat >conftest.$ac_ext <<_ACEOF
64175 /* confdefs.h. */
64176 _ACEOF
64177 cat confdefs.h >>conftest.$ac_ext
64178 cat >>conftest.$ac_ext <<_ACEOF
64179 /* end confdefs.h. */
64180 #include <math.h>
64182 main ()
64184 copysignl(0, 0);
64186 return 0;
64188 _ACEOF
64189 rm -f conftest.$ac_objext
64190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64191 (eval $ac_compile) 2>conftest.er1
64192 ac_status=$?
64193 grep -v '^ *+' conftest.er1 >conftest.err
64194 rm -f conftest.er1
64195 cat conftest.err >&5
64196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64197 (exit $ac_status); } &&
64198 { ac_try='test -z "$ac_cxx_werror_flag"
64199 || test ! -s conftest.err'
64200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64201 (eval $ac_try) 2>&5
64202 ac_status=$?
64203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64204 (exit $ac_status); }; } &&
64205 { ac_try='test -s conftest.$ac_objext'
64206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207 (eval $ac_try) 2>&5
64208 ac_status=$?
64209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210 (exit $ac_status); }; }; then
64211 glibcxx_cv_func_copysignl_use=yes
64212 else
64213 echo "$as_me: failed program was:" >&5
64214 sed 's/^/| /' conftest.$ac_ext >&5
64216 glibcxx_cv_func_copysignl_use=no
64218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64219 ac_ext=c
64220 ac_cpp='$CPP $CPPFLAGS'
64221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64230 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64232 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64234 for ac_func in copysignl
64236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64237 echo "$as_me:$LINENO: checking for $ac_func" >&5
64238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64239 if eval "test \"\${$as_ac_var+set}\" = set"; then
64240 echo $ECHO_N "(cached) $ECHO_C" >&6
64241 else
64242 if test x$gcc_no_link = xyes; then
64243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64245 { (exit 1); exit 1; }; }
64247 cat >conftest.$ac_ext <<_ACEOF
64248 /* confdefs.h. */
64249 _ACEOF
64250 cat confdefs.h >>conftest.$ac_ext
64251 cat >>conftest.$ac_ext <<_ACEOF
64252 /* end confdefs.h. */
64253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64255 #define $ac_func innocuous_$ac_func
64257 /* System header to define __stub macros and hopefully few prototypes,
64258 which can conflict with char $ac_func (); below.
64259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64260 <limits.h> exists even on freestanding compilers. */
64262 #ifdef __STDC__
64263 # include <limits.h>
64264 #else
64265 # include <assert.h>
64266 #endif
64268 #undef $ac_func
64270 /* Override any gcc2 internal prototype to avoid an error. */
64271 #ifdef __cplusplus
64272 extern "C"
64274 #endif
64275 /* We use char because int might match the return type of a gcc2
64276 builtin and then its argument prototype would still apply. */
64277 char $ac_func ();
64278 /* The GNU C library defines this for functions which it implements
64279 to always fail with ENOSYS. Some functions are actually named
64280 something starting with __ and the normal name is an alias. */
64281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64282 choke me
64283 #else
64284 char (*f) () = $ac_func;
64285 #endif
64286 #ifdef __cplusplus
64288 #endif
64291 main ()
64293 return f != $ac_func;
64295 return 0;
64297 _ACEOF
64298 rm -f conftest.$ac_objext conftest$ac_exeext
64299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64300 (eval $ac_link) 2>conftest.er1
64301 ac_status=$?
64302 grep -v '^ *+' conftest.er1 >conftest.err
64303 rm -f conftest.er1
64304 cat conftest.err >&5
64305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64306 (exit $ac_status); } &&
64307 { ac_try='test -z "$ac_c_werror_flag"
64308 || test ! -s conftest.err'
64309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64310 (eval $ac_try) 2>&5
64311 ac_status=$?
64312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64313 (exit $ac_status); }; } &&
64314 { ac_try='test -s conftest$ac_exeext'
64315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64316 (eval $ac_try) 2>&5
64317 ac_status=$?
64318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64319 (exit $ac_status); }; }; then
64320 eval "$as_ac_var=yes"
64321 else
64322 echo "$as_me: failed program was:" >&5
64323 sed 's/^/| /' conftest.$ac_ext >&5
64325 eval "$as_ac_var=no"
64327 rm -f conftest.err conftest.$ac_objext \
64328 conftest$ac_exeext conftest.$ac_ext
64330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64332 if test `eval echo '${'$as_ac_var'}'` = yes; then
64333 cat >>confdefs.h <<_ACEOF
64334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64335 _ACEOF
64338 done
64340 else
64342 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64343 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64344 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64345 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64346 echo $ECHO_N "(cached) $ECHO_C" >&6
64347 else
64351 ac_ext=cc
64352 ac_cpp='$CXXCPP $CPPFLAGS'
64353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64357 cat >conftest.$ac_ext <<_ACEOF
64358 /* confdefs.h. */
64359 _ACEOF
64360 cat confdefs.h >>conftest.$ac_ext
64361 cat >>conftest.$ac_ext <<_ACEOF
64362 /* end confdefs.h. */
64363 #include <math.h>
64365 main ()
64367 _copysignl(0, 0);
64369 return 0;
64371 _ACEOF
64372 rm -f conftest.$ac_objext
64373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64374 (eval $ac_compile) 2>conftest.er1
64375 ac_status=$?
64376 grep -v '^ *+' conftest.er1 >conftest.err
64377 rm -f conftest.er1
64378 cat conftest.err >&5
64379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64380 (exit $ac_status); } &&
64381 { ac_try='test -z "$ac_cxx_werror_flag"
64382 || test ! -s conftest.err'
64383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64384 (eval $ac_try) 2>&5
64385 ac_status=$?
64386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64387 (exit $ac_status); }; } &&
64388 { ac_try='test -s conftest.$ac_objext'
64389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64390 (eval $ac_try) 2>&5
64391 ac_status=$?
64392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64393 (exit $ac_status); }; }; then
64394 glibcxx_cv_func__copysignl_use=yes
64395 else
64396 echo "$as_me: failed program was:" >&5
64397 sed 's/^/| /' conftest.$ac_ext >&5
64399 glibcxx_cv_func__copysignl_use=no
64401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64402 ac_ext=c
64403 ac_cpp='$CPP $CPPFLAGS'
64404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64413 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64415 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64417 for ac_func in _copysignl
64419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64420 echo "$as_me:$LINENO: checking for $ac_func" >&5
64421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64422 if eval "test \"\${$as_ac_var+set}\" = set"; then
64423 echo $ECHO_N "(cached) $ECHO_C" >&6
64424 else
64425 if test x$gcc_no_link = xyes; then
64426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64428 { (exit 1); exit 1; }; }
64430 cat >conftest.$ac_ext <<_ACEOF
64431 /* confdefs.h. */
64432 _ACEOF
64433 cat confdefs.h >>conftest.$ac_ext
64434 cat >>conftest.$ac_ext <<_ACEOF
64435 /* end confdefs.h. */
64436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64438 #define $ac_func innocuous_$ac_func
64440 /* System header to define __stub macros and hopefully few prototypes,
64441 which can conflict with char $ac_func (); below.
64442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64443 <limits.h> exists even on freestanding compilers. */
64445 #ifdef __STDC__
64446 # include <limits.h>
64447 #else
64448 # include <assert.h>
64449 #endif
64451 #undef $ac_func
64453 /* Override any gcc2 internal prototype to avoid an error. */
64454 #ifdef __cplusplus
64455 extern "C"
64457 #endif
64458 /* We use char because int might match the return type of a gcc2
64459 builtin and then its argument prototype would still apply. */
64460 char $ac_func ();
64461 /* The GNU C library defines this for functions which it implements
64462 to always fail with ENOSYS. Some functions are actually named
64463 something starting with __ and the normal name is an alias. */
64464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64465 choke me
64466 #else
64467 char (*f) () = $ac_func;
64468 #endif
64469 #ifdef __cplusplus
64471 #endif
64474 main ()
64476 return f != $ac_func;
64478 return 0;
64480 _ACEOF
64481 rm -f conftest.$ac_objext conftest$ac_exeext
64482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64483 (eval $ac_link) 2>conftest.er1
64484 ac_status=$?
64485 grep -v '^ *+' conftest.er1 >conftest.err
64486 rm -f conftest.er1
64487 cat conftest.err >&5
64488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64489 (exit $ac_status); } &&
64490 { ac_try='test -z "$ac_c_werror_flag"
64491 || test ! -s conftest.err'
64492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64493 (eval $ac_try) 2>&5
64494 ac_status=$?
64495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64496 (exit $ac_status); }; } &&
64497 { ac_try='test -s conftest$ac_exeext'
64498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64499 (eval $ac_try) 2>&5
64500 ac_status=$?
64501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64502 (exit $ac_status); }; }; then
64503 eval "$as_ac_var=yes"
64504 else
64505 echo "$as_me: failed program was:" >&5
64506 sed 's/^/| /' conftest.$ac_ext >&5
64508 eval "$as_ac_var=no"
64510 rm -f conftest.err conftest.$ac_objext \
64511 conftest$ac_exeext conftest.$ac_ext
64513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64515 if test `eval echo '${'$as_ac_var'}'` = yes; then
64516 cat >>confdefs.h <<_ACEOF
64517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64518 _ACEOF
64521 done
64528 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64529 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64530 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64531 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64532 echo $ECHO_N "(cached) $ECHO_C" >&6
64533 else
64537 ac_ext=cc
64538 ac_cpp='$CXXCPP $CPPFLAGS'
64539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64543 cat >conftest.$ac_ext <<_ACEOF
64544 /* confdefs.h. */
64545 _ACEOF
64546 cat confdefs.h >>conftest.$ac_ext
64547 cat >>conftest.$ac_ext <<_ACEOF
64548 /* end confdefs.h. */
64549 #include <math.h>
64551 main ()
64553 atan2l(0, 0);
64555 return 0;
64557 _ACEOF
64558 rm -f conftest.$ac_objext
64559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64560 (eval $ac_compile) 2>conftest.er1
64561 ac_status=$?
64562 grep -v '^ *+' conftest.er1 >conftest.err
64563 rm -f conftest.er1
64564 cat conftest.err >&5
64565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64566 (exit $ac_status); } &&
64567 { ac_try='test -z "$ac_cxx_werror_flag"
64568 || test ! -s conftest.err'
64569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64570 (eval $ac_try) 2>&5
64571 ac_status=$?
64572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64573 (exit $ac_status); }; } &&
64574 { ac_try='test -s conftest.$ac_objext'
64575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64576 (eval $ac_try) 2>&5
64577 ac_status=$?
64578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64579 (exit $ac_status); }; }; then
64580 glibcxx_cv_func_atan2l_use=yes
64581 else
64582 echo "$as_me: failed program was:" >&5
64583 sed 's/^/| /' conftest.$ac_ext >&5
64585 glibcxx_cv_func_atan2l_use=no
64587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64588 ac_ext=c
64589 ac_cpp='$CPP $CPPFLAGS'
64590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64599 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64601 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64603 for ac_func in atan2l
64605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64606 echo "$as_me:$LINENO: checking for $ac_func" >&5
64607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64608 if eval "test \"\${$as_ac_var+set}\" = set"; then
64609 echo $ECHO_N "(cached) $ECHO_C" >&6
64610 else
64611 if test x$gcc_no_link = xyes; then
64612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64614 { (exit 1); exit 1; }; }
64616 cat >conftest.$ac_ext <<_ACEOF
64617 /* confdefs.h. */
64618 _ACEOF
64619 cat confdefs.h >>conftest.$ac_ext
64620 cat >>conftest.$ac_ext <<_ACEOF
64621 /* end confdefs.h. */
64622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64624 #define $ac_func innocuous_$ac_func
64626 /* System header to define __stub macros and hopefully few prototypes,
64627 which can conflict with char $ac_func (); below.
64628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64629 <limits.h> exists even on freestanding compilers. */
64631 #ifdef __STDC__
64632 # include <limits.h>
64633 #else
64634 # include <assert.h>
64635 #endif
64637 #undef $ac_func
64639 /* Override any gcc2 internal prototype to avoid an error. */
64640 #ifdef __cplusplus
64641 extern "C"
64643 #endif
64644 /* We use char because int might match the return type of a gcc2
64645 builtin and then its argument prototype would still apply. */
64646 char $ac_func ();
64647 /* The GNU C library defines this for functions which it implements
64648 to always fail with ENOSYS. Some functions are actually named
64649 something starting with __ and the normal name is an alias. */
64650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64651 choke me
64652 #else
64653 char (*f) () = $ac_func;
64654 #endif
64655 #ifdef __cplusplus
64657 #endif
64660 main ()
64662 return f != $ac_func;
64664 return 0;
64666 _ACEOF
64667 rm -f conftest.$ac_objext conftest$ac_exeext
64668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64669 (eval $ac_link) 2>conftest.er1
64670 ac_status=$?
64671 grep -v '^ *+' conftest.er1 >conftest.err
64672 rm -f conftest.er1
64673 cat conftest.err >&5
64674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64675 (exit $ac_status); } &&
64676 { ac_try='test -z "$ac_c_werror_flag"
64677 || test ! -s conftest.err'
64678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64679 (eval $ac_try) 2>&5
64680 ac_status=$?
64681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64682 (exit $ac_status); }; } &&
64683 { ac_try='test -s conftest$ac_exeext'
64684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64685 (eval $ac_try) 2>&5
64686 ac_status=$?
64687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64688 (exit $ac_status); }; }; then
64689 eval "$as_ac_var=yes"
64690 else
64691 echo "$as_me: failed program was:" >&5
64692 sed 's/^/| /' conftest.$ac_ext >&5
64694 eval "$as_ac_var=no"
64696 rm -f conftest.err conftest.$ac_objext \
64697 conftest$ac_exeext conftest.$ac_ext
64699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64701 if test `eval echo '${'$as_ac_var'}'` = yes; then
64702 cat >>confdefs.h <<_ACEOF
64703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64704 _ACEOF
64707 done
64709 else
64711 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64712 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64713 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64714 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64715 echo $ECHO_N "(cached) $ECHO_C" >&6
64716 else
64720 ac_ext=cc
64721 ac_cpp='$CXXCPP $CPPFLAGS'
64722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64726 cat >conftest.$ac_ext <<_ACEOF
64727 /* confdefs.h. */
64728 _ACEOF
64729 cat confdefs.h >>conftest.$ac_ext
64730 cat >>conftest.$ac_ext <<_ACEOF
64731 /* end confdefs.h. */
64732 #include <math.h>
64734 main ()
64736 _atan2l(0, 0);
64738 return 0;
64740 _ACEOF
64741 rm -f conftest.$ac_objext
64742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64743 (eval $ac_compile) 2>conftest.er1
64744 ac_status=$?
64745 grep -v '^ *+' conftest.er1 >conftest.err
64746 rm -f conftest.er1
64747 cat conftest.err >&5
64748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64749 (exit $ac_status); } &&
64750 { ac_try='test -z "$ac_cxx_werror_flag"
64751 || test ! -s conftest.err'
64752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64753 (eval $ac_try) 2>&5
64754 ac_status=$?
64755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64756 (exit $ac_status); }; } &&
64757 { ac_try='test -s conftest.$ac_objext'
64758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64759 (eval $ac_try) 2>&5
64760 ac_status=$?
64761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64762 (exit $ac_status); }; }; then
64763 glibcxx_cv_func__atan2l_use=yes
64764 else
64765 echo "$as_me: failed program was:" >&5
64766 sed 's/^/| /' conftest.$ac_ext >&5
64768 glibcxx_cv_func__atan2l_use=no
64770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64771 ac_ext=c
64772 ac_cpp='$CPP $CPPFLAGS'
64773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64782 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64784 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64786 for ac_func in _atan2l
64788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64789 echo "$as_me:$LINENO: checking for $ac_func" >&5
64790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64791 if eval "test \"\${$as_ac_var+set}\" = set"; then
64792 echo $ECHO_N "(cached) $ECHO_C" >&6
64793 else
64794 if test x$gcc_no_link = xyes; then
64795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64797 { (exit 1); exit 1; }; }
64799 cat >conftest.$ac_ext <<_ACEOF
64800 /* confdefs.h. */
64801 _ACEOF
64802 cat confdefs.h >>conftest.$ac_ext
64803 cat >>conftest.$ac_ext <<_ACEOF
64804 /* end confdefs.h. */
64805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64807 #define $ac_func innocuous_$ac_func
64809 /* System header to define __stub macros and hopefully few prototypes,
64810 which can conflict with char $ac_func (); below.
64811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64812 <limits.h> exists even on freestanding compilers. */
64814 #ifdef __STDC__
64815 # include <limits.h>
64816 #else
64817 # include <assert.h>
64818 #endif
64820 #undef $ac_func
64822 /* Override any gcc2 internal prototype to avoid an error. */
64823 #ifdef __cplusplus
64824 extern "C"
64826 #endif
64827 /* We use char because int might match the return type of a gcc2
64828 builtin and then its argument prototype would still apply. */
64829 char $ac_func ();
64830 /* The GNU C library defines this for functions which it implements
64831 to always fail with ENOSYS. Some functions are actually named
64832 something starting with __ and the normal name is an alias. */
64833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64834 choke me
64835 #else
64836 char (*f) () = $ac_func;
64837 #endif
64838 #ifdef __cplusplus
64840 #endif
64843 main ()
64845 return f != $ac_func;
64847 return 0;
64849 _ACEOF
64850 rm -f conftest.$ac_objext conftest$ac_exeext
64851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64852 (eval $ac_link) 2>conftest.er1
64853 ac_status=$?
64854 grep -v '^ *+' conftest.er1 >conftest.err
64855 rm -f conftest.er1
64856 cat conftest.err >&5
64857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64858 (exit $ac_status); } &&
64859 { ac_try='test -z "$ac_c_werror_flag"
64860 || test ! -s conftest.err'
64861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64862 (eval $ac_try) 2>&5
64863 ac_status=$?
64864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64865 (exit $ac_status); }; } &&
64866 { ac_try='test -s conftest$ac_exeext'
64867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64868 (eval $ac_try) 2>&5
64869 ac_status=$?
64870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871 (exit $ac_status); }; }; then
64872 eval "$as_ac_var=yes"
64873 else
64874 echo "$as_me: failed program was:" >&5
64875 sed 's/^/| /' conftest.$ac_ext >&5
64877 eval "$as_ac_var=no"
64879 rm -f conftest.err conftest.$ac_objext \
64880 conftest$ac_exeext conftest.$ac_ext
64882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64884 if test `eval echo '${'$as_ac_var'}'` = yes; then
64885 cat >>confdefs.h <<_ACEOF
64886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64887 _ACEOF
64890 done
64897 echo "$as_me:$LINENO: checking for expl declaration" >&5
64898 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64899 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64900 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64901 echo $ECHO_N "(cached) $ECHO_C" >&6
64902 else
64906 ac_ext=cc
64907 ac_cpp='$CXXCPP $CPPFLAGS'
64908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64912 cat >conftest.$ac_ext <<_ACEOF
64913 /* confdefs.h. */
64914 _ACEOF
64915 cat confdefs.h >>conftest.$ac_ext
64916 cat >>conftest.$ac_ext <<_ACEOF
64917 /* end confdefs.h. */
64918 #include <math.h>
64919 #ifdef HAVE_IEEEFP_H
64920 #include <ieeefp.h>
64921 #endif
64924 main ()
64926 expl(0);
64928 return 0;
64930 _ACEOF
64931 rm -f conftest.$ac_objext
64932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64933 (eval $ac_compile) 2>conftest.er1
64934 ac_status=$?
64935 grep -v '^ *+' conftest.er1 >conftest.err
64936 rm -f conftest.er1
64937 cat conftest.err >&5
64938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64939 (exit $ac_status); } &&
64940 { ac_try='test -z "$ac_cxx_werror_flag"
64941 || test ! -s conftest.err'
64942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64943 (eval $ac_try) 2>&5
64944 ac_status=$?
64945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64946 (exit $ac_status); }; } &&
64947 { ac_try='test -s conftest.$ac_objext'
64948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64949 (eval $ac_try) 2>&5
64950 ac_status=$?
64951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64952 (exit $ac_status); }; }; then
64953 glibcxx_cv_func_expl_use=yes
64954 else
64955 echo "$as_me: failed program was:" >&5
64956 sed 's/^/| /' conftest.$ac_ext >&5
64958 glibcxx_cv_func_expl_use=no
64960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64961 ac_ext=c
64962 ac_cpp='$CPP $CPPFLAGS'
64963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64972 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
64974 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64976 for ac_func in expl
64978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64979 echo "$as_me:$LINENO: checking for $ac_func" >&5
64980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64981 if eval "test \"\${$as_ac_var+set}\" = set"; then
64982 echo $ECHO_N "(cached) $ECHO_C" >&6
64983 else
64984 if test x$gcc_no_link = xyes; then
64985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64987 { (exit 1); exit 1; }; }
64989 cat >conftest.$ac_ext <<_ACEOF
64990 /* confdefs.h. */
64991 _ACEOF
64992 cat confdefs.h >>conftest.$ac_ext
64993 cat >>conftest.$ac_ext <<_ACEOF
64994 /* end confdefs.h. */
64995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64997 #define $ac_func innocuous_$ac_func
64999 /* System header to define __stub macros and hopefully few prototypes,
65000 which can conflict with char $ac_func (); below.
65001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65002 <limits.h> exists even on freestanding compilers. */
65004 #ifdef __STDC__
65005 # include <limits.h>
65006 #else
65007 # include <assert.h>
65008 #endif
65010 #undef $ac_func
65012 /* Override any gcc2 internal prototype to avoid an error. */
65013 #ifdef __cplusplus
65014 extern "C"
65016 #endif
65017 /* We use char because int might match the return type of a gcc2
65018 builtin and then its argument prototype would still apply. */
65019 char $ac_func ();
65020 /* The GNU C library defines this for functions which it implements
65021 to always fail with ENOSYS. Some functions are actually named
65022 something starting with __ and the normal name is an alias. */
65023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65024 choke me
65025 #else
65026 char (*f) () = $ac_func;
65027 #endif
65028 #ifdef __cplusplus
65030 #endif
65033 main ()
65035 return f != $ac_func;
65037 return 0;
65039 _ACEOF
65040 rm -f conftest.$ac_objext conftest$ac_exeext
65041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65042 (eval $ac_link) 2>conftest.er1
65043 ac_status=$?
65044 grep -v '^ *+' conftest.er1 >conftest.err
65045 rm -f conftest.er1
65046 cat conftest.err >&5
65047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65048 (exit $ac_status); } &&
65049 { ac_try='test -z "$ac_c_werror_flag"
65050 || test ! -s conftest.err'
65051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65052 (eval $ac_try) 2>&5
65053 ac_status=$?
65054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65055 (exit $ac_status); }; } &&
65056 { ac_try='test -s conftest$ac_exeext'
65057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65058 (eval $ac_try) 2>&5
65059 ac_status=$?
65060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65061 (exit $ac_status); }; }; then
65062 eval "$as_ac_var=yes"
65063 else
65064 echo "$as_me: failed program was:" >&5
65065 sed 's/^/| /' conftest.$ac_ext >&5
65067 eval "$as_ac_var=no"
65069 rm -f conftest.err conftest.$ac_objext \
65070 conftest$ac_exeext conftest.$ac_ext
65072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65074 if test `eval echo '${'$as_ac_var'}'` = yes; then
65075 cat >>confdefs.h <<_ACEOF
65076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65077 _ACEOF
65080 done
65082 else
65084 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65085 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65086 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65087 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65088 echo $ECHO_N "(cached) $ECHO_C" >&6
65089 else
65093 ac_ext=cc
65094 ac_cpp='$CXXCPP $CPPFLAGS'
65095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65099 cat >conftest.$ac_ext <<_ACEOF
65100 /* confdefs.h. */
65101 _ACEOF
65102 cat confdefs.h >>conftest.$ac_ext
65103 cat >>conftest.$ac_ext <<_ACEOF
65104 /* end confdefs.h. */
65105 #include <math.h>
65106 #ifdef HAVE_IEEEFP_H
65107 #include <ieeefp.h>
65108 #endif
65111 main ()
65113 _expl(0);
65115 return 0;
65117 _ACEOF
65118 rm -f conftest.$ac_objext
65119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65120 (eval $ac_compile) 2>conftest.er1
65121 ac_status=$?
65122 grep -v '^ *+' conftest.er1 >conftest.err
65123 rm -f conftest.er1
65124 cat conftest.err >&5
65125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65126 (exit $ac_status); } &&
65127 { ac_try='test -z "$ac_cxx_werror_flag"
65128 || test ! -s conftest.err'
65129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65130 (eval $ac_try) 2>&5
65131 ac_status=$?
65132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65133 (exit $ac_status); }; } &&
65134 { ac_try='test -s conftest.$ac_objext'
65135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65136 (eval $ac_try) 2>&5
65137 ac_status=$?
65138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65139 (exit $ac_status); }; }; then
65140 glibcxx_cv_func__expl_use=yes
65141 else
65142 echo "$as_me: failed program was:" >&5
65143 sed 's/^/| /' conftest.$ac_ext >&5
65145 glibcxx_cv_func__expl_use=no
65147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65148 ac_ext=c
65149 ac_cpp='$CPP $CPPFLAGS'
65150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65159 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65161 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65163 for ac_func in _expl
65165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65166 echo "$as_me:$LINENO: checking for $ac_func" >&5
65167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65168 if eval "test \"\${$as_ac_var+set}\" = set"; then
65169 echo $ECHO_N "(cached) $ECHO_C" >&6
65170 else
65171 if test x$gcc_no_link = xyes; then
65172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65174 { (exit 1); exit 1; }; }
65176 cat >conftest.$ac_ext <<_ACEOF
65177 /* confdefs.h. */
65178 _ACEOF
65179 cat confdefs.h >>conftest.$ac_ext
65180 cat >>conftest.$ac_ext <<_ACEOF
65181 /* end confdefs.h. */
65182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65184 #define $ac_func innocuous_$ac_func
65186 /* System header to define __stub macros and hopefully few prototypes,
65187 which can conflict with char $ac_func (); below.
65188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65189 <limits.h> exists even on freestanding compilers. */
65191 #ifdef __STDC__
65192 # include <limits.h>
65193 #else
65194 # include <assert.h>
65195 #endif
65197 #undef $ac_func
65199 /* Override any gcc2 internal prototype to avoid an error. */
65200 #ifdef __cplusplus
65201 extern "C"
65203 #endif
65204 /* We use char because int might match the return type of a gcc2
65205 builtin and then its argument prototype would still apply. */
65206 char $ac_func ();
65207 /* The GNU C library defines this for functions which it implements
65208 to always fail with ENOSYS. Some functions are actually named
65209 something starting with __ and the normal name is an alias. */
65210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65211 choke me
65212 #else
65213 char (*f) () = $ac_func;
65214 #endif
65215 #ifdef __cplusplus
65217 #endif
65220 main ()
65222 return f != $ac_func;
65224 return 0;
65226 _ACEOF
65227 rm -f conftest.$ac_objext conftest$ac_exeext
65228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65229 (eval $ac_link) 2>conftest.er1
65230 ac_status=$?
65231 grep -v '^ *+' conftest.er1 >conftest.err
65232 rm -f conftest.er1
65233 cat conftest.err >&5
65234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65235 (exit $ac_status); } &&
65236 { ac_try='test -z "$ac_c_werror_flag"
65237 || test ! -s conftest.err'
65238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65239 (eval $ac_try) 2>&5
65240 ac_status=$?
65241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65242 (exit $ac_status); }; } &&
65243 { ac_try='test -s conftest$ac_exeext'
65244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65245 (eval $ac_try) 2>&5
65246 ac_status=$?
65247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65248 (exit $ac_status); }; }; then
65249 eval "$as_ac_var=yes"
65250 else
65251 echo "$as_me: failed program was:" >&5
65252 sed 's/^/| /' conftest.$ac_ext >&5
65254 eval "$as_ac_var=no"
65256 rm -f conftest.err conftest.$ac_objext \
65257 conftest$ac_exeext conftest.$ac_ext
65259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65261 if test `eval echo '${'$as_ac_var'}'` = yes; then
65262 cat >>confdefs.h <<_ACEOF
65263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65264 _ACEOF
65267 done
65274 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65275 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65276 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65277 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65278 echo $ECHO_N "(cached) $ECHO_C" >&6
65279 else
65283 ac_ext=cc
65284 ac_cpp='$CXXCPP $CPPFLAGS'
65285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65289 cat >conftest.$ac_ext <<_ACEOF
65290 /* confdefs.h. */
65291 _ACEOF
65292 cat confdefs.h >>conftest.$ac_ext
65293 cat >>conftest.$ac_ext <<_ACEOF
65294 /* end confdefs.h. */
65295 #include <math.h>
65296 #ifdef HAVE_IEEEFP_H
65297 #include <ieeefp.h>
65298 #endif
65301 main ()
65303 fabsl(0);
65305 return 0;
65307 _ACEOF
65308 rm -f conftest.$ac_objext
65309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65310 (eval $ac_compile) 2>conftest.er1
65311 ac_status=$?
65312 grep -v '^ *+' conftest.er1 >conftest.err
65313 rm -f conftest.er1
65314 cat conftest.err >&5
65315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65316 (exit $ac_status); } &&
65317 { ac_try='test -z "$ac_cxx_werror_flag"
65318 || test ! -s conftest.err'
65319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65320 (eval $ac_try) 2>&5
65321 ac_status=$?
65322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65323 (exit $ac_status); }; } &&
65324 { ac_try='test -s conftest.$ac_objext'
65325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65326 (eval $ac_try) 2>&5
65327 ac_status=$?
65328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65329 (exit $ac_status); }; }; then
65330 glibcxx_cv_func_fabsl_use=yes
65331 else
65332 echo "$as_me: failed program was:" >&5
65333 sed 's/^/| /' conftest.$ac_ext >&5
65335 glibcxx_cv_func_fabsl_use=no
65337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65338 ac_ext=c
65339 ac_cpp='$CPP $CPPFLAGS'
65340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65349 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65351 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65353 for ac_func in fabsl
65355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65356 echo "$as_me:$LINENO: checking for $ac_func" >&5
65357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65358 if eval "test \"\${$as_ac_var+set}\" = set"; then
65359 echo $ECHO_N "(cached) $ECHO_C" >&6
65360 else
65361 if test x$gcc_no_link = xyes; then
65362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65364 { (exit 1); exit 1; }; }
65366 cat >conftest.$ac_ext <<_ACEOF
65367 /* confdefs.h. */
65368 _ACEOF
65369 cat confdefs.h >>conftest.$ac_ext
65370 cat >>conftest.$ac_ext <<_ACEOF
65371 /* end confdefs.h. */
65372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65374 #define $ac_func innocuous_$ac_func
65376 /* System header to define __stub macros and hopefully few prototypes,
65377 which can conflict with char $ac_func (); below.
65378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65379 <limits.h> exists even on freestanding compilers. */
65381 #ifdef __STDC__
65382 # include <limits.h>
65383 #else
65384 # include <assert.h>
65385 #endif
65387 #undef $ac_func
65389 /* Override any gcc2 internal prototype to avoid an error. */
65390 #ifdef __cplusplus
65391 extern "C"
65393 #endif
65394 /* We use char because int might match the return type of a gcc2
65395 builtin and then its argument prototype would still apply. */
65396 char $ac_func ();
65397 /* The GNU C library defines this for functions which it implements
65398 to always fail with ENOSYS. Some functions are actually named
65399 something starting with __ and the normal name is an alias. */
65400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65401 choke me
65402 #else
65403 char (*f) () = $ac_func;
65404 #endif
65405 #ifdef __cplusplus
65407 #endif
65410 main ()
65412 return f != $ac_func;
65414 return 0;
65416 _ACEOF
65417 rm -f conftest.$ac_objext conftest$ac_exeext
65418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65419 (eval $ac_link) 2>conftest.er1
65420 ac_status=$?
65421 grep -v '^ *+' conftest.er1 >conftest.err
65422 rm -f conftest.er1
65423 cat conftest.err >&5
65424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65425 (exit $ac_status); } &&
65426 { ac_try='test -z "$ac_c_werror_flag"
65427 || test ! -s conftest.err'
65428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65429 (eval $ac_try) 2>&5
65430 ac_status=$?
65431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65432 (exit $ac_status); }; } &&
65433 { ac_try='test -s conftest$ac_exeext'
65434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65435 (eval $ac_try) 2>&5
65436 ac_status=$?
65437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65438 (exit $ac_status); }; }; then
65439 eval "$as_ac_var=yes"
65440 else
65441 echo "$as_me: failed program was:" >&5
65442 sed 's/^/| /' conftest.$ac_ext >&5
65444 eval "$as_ac_var=no"
65446 rm -f conftest.err conftest.$ac_objext \
65447 conftest$ac_exeext conftest.$ac_ext
65449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65451 if test `eval echo '${'$as_ac_var'}'` = yes; then
65452 cat >>confdefs.h <<_ACEOF
65453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65454 _ACEOF
65457 done
65459 else
65461 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65462 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65463 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65464 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65465 echo $ECHO_N "(cached) $ECHO_C" >&6
65466 else
65470 ac_ext=cc
65471 ac_cpp='$CXXCPP $CPPFLAGS'
65472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65476 cat >conftest.$ac_ext <<_ACEOF
65477 /* confdefs.h. */
65478 _ACEOF
65479 cat confdefs.h >>conftest.$ac_ext
65480 cat >>conftest.$ac_ext <<_ACEOF
65481 /* end confdefs.h. */
65482 #include <math.h>
65483 #ifdef HAVE_IEEEFP_H
65484 #include <ieeefp.h>
65485 #endif
65488 main ()
65490 _fabsl(0);
65492 return 0;
65494 _ACEOF
65495 rm -f conftest.$ac_objext
65496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65497 (eval $ac_compile) 2>conftest.er1
65498 ac_status=$?
65499 grep -v '^ *+' conftest.er1 >conftest.err
65500 rm -f conftest.er1
65501 cat conftest.err >&5
65502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65503 (exit $ac_status); } &&
65504 { ac_try='test -z "$ac_cxx_werror_flag"
65505 || test ! -s conftest.err'
65506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65507 (eval $ac_try) 2>&5
65508 ac_status=$?
65509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65510 (exit $ac_status); }; } &&
65511 { ac_try='test -s conftest.$ac_objext'
65512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65513 (eval $ac_try) 2>&5
65514 ac_status=$?
65515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65516 (exit $ac_status); }; }; then
65517 glibcxx_cv_func__fabsl_use=yes
65518 else
65519 echo "$as_me: failed program was:" >&5
65520 sed 's/^/| /' conftest.$ac_ext >&5
65522 glibcxx_cv_func__fabsl_use=no
65524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65536 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65538 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65540 for ac_func in _fabsl
65542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65543 echo "$as_me:$LINENO: checking for $ac_func" >&5
65544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65545 if eval "test \"\${$as_ac_var+set}\" = set"; then
65546 echo $ECHO_N "(cached) $ECHO_C" >&6
65547 else
65548 if test x$gcc_no_link = xyes; then
65549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65551 { (exit 1); exit 1; }; }
65553 cat >conftest.$ac_ext <<_ACEOF
65554 /* confdefs.h. */
65555 _ACEOF
65556 cat confdefs.h >>conftest.$ac_ext
65557 cat >>conftest.$ac_ext <<_ACEOF
65558 /* end confdefs.h. */
65559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65561 #define $ac_func innocuous_$ac_func
65563 /* System header to define __stub macros and hopefully few prototypes,
65564 which can conflict with char $ac_func (); below.
65565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65566 <limits.h> exists even on freestanding compilers. */
65568 #ifdef __STDC__
65569 # include <limits.h>
65570 #else
65571 # include <assert.h>
65572 #endif
65574 #undef $ac_func
65576 /* Override any gcc2 internal prototype to avoid an error. */
65577 #ifdef __cplusplus
65578 extern "C"
65580 #endif
65581 /* We use char because int might match the return type of a gcc2
65582 builtin and then its argument prototype would still apply. */
65583 char $ac_func ();
65584 /* The GNU C library defines this for functions which it implements
65585 to always fail with ENOSYS. Some functions are actually named
65586 something starting with __ and the normal name is an alias. */
65587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65588 choke me
65589 #else
65590 char (*f) () = $ac_func;
65591 #endif
65592 #ifdef __cplusplus
65594 #endif
65597 main ()
65599 return f != $ac_func;
65601 return 0;
65603 _ACEOF
65604 rm -f conftest.$ac_objext conftest$ac_exeext
65605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65606 (eval $ac_link) 2>conftest.er1
65607 ac_status=$?
65608 grep -v '^ *+' conftest.er1 >conftest.err
65609 rm -f conftest.er1
65610 cat conftest.err >&5
65611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65612 (exit $ac_status); } &&
65613 { ac_try='test -z "$ac_c_werror_flag"
65614 || test ! -s conftest.err'
65615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65616 (eval $ac_try) 2>&5
65617 ac_status=$?
65618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65619 (exit $ac_status); }; } &&
65620 { ac_try='test -s conftest$ac_exeext'
65621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65622 (eval $ac_try) 2>&5
65623 ac_status=$?
65624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65625 (exit $ac_status); }; }; then
65626 eval "$as_ac_var=yes"
65627 else
65628 echo "$as_me: failed program was:" >&5
65629 sed 's/^/| /' conftest.$ac_ext >&5
65631 eval "$as_ac_var=no"
65633 rm -f conftest.err conftest.$ac_objext \
65634 conftest$ac_exeext conftest.$ac_ext
65636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65638 if test `eval echo '${'$as_ac_var'}'` = yes; then
65639 cat >>confdefs.h <<_ACEOF
65640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65641 _ACEOF
65644 done
65651 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65652 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65653 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65654 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65655 echo $ECHO_N "(cached) $ECHO_C" >&6
65656 else
65660 ac_ext=cc
65661 ac_cpp='$CXXCPP $CPPFLAGS'
65662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65666 cat >conftest.$ac_ext <<_ACEOF
65667 /* confdefs.h. */
65668 _ACEOF
65669 cat confdefs.h >>conftest.$ac_ext
65670 cat >>conftest.$ac_ext <<_ACEOF
65671 /* end confdefs.h. */
65672 #include <math.h>
65674 main ()
65676 fmodl(0, 0);
65678 return 0;
65680 _ACEOF
65681 rm -f conftest.$ac_objext
65682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65683 (eval $ac_compile) 2>conftest.er1
65684 ac_status=$?
65685 grep -v '^ *+' conftest.er1 >conftest.err
65686 rm -f conftest.er1
65687 cat conftest.err >&5
65688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65689 (exit $ac_status); } &&
65690 { ac_try='test -z "$ac_cxx_werror_flag"
65691 || test ! -s conftest.err'
65692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65693 (eval $ac_try) 2>&5
65694 ac_status=$?
65695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65696 (exit $ac_status); }; } &&
65697 { ac_try='test -s conftest.$ac_objext'
65698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65699 (eval $ac_try) 2>&5
65700 ac_status=$?
65701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65702 (exit $ac_status); }; }; then
65703 glibcxx_cv_func_fmodl_use=yes
65704 else
65705 echo "$as_me: failed program was:" >&5
65706 sed 's/^/| /' conftest.$ac_ext >&5
65708 glibcxx_cv_func_fmodl_use=no
65710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65711 ac_ext=c
65712 ac_cpp='$CPP $CPPFLAGS'
65713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65722 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65724 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65726 for ac_func in fmodl
65728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65729 echo "$as_me:$LINENO: checking for $ac_func" >&5
65730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65731 if eval "test \"\${$as_ac_var+set}\" = set"; then
65732 echo $ECHO_N "(cached) $ECHO_C" >&6
65733 else
65734 if test x$gcc_no_link = xyes; then
65735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65737 { (exit 1); exit 1; }; }
65739 cat >conftest.$ac_ext <<_ACEOF
65740 /* confdefs.h. */
65741 _ACEOF
65742 cat confdefs.h >>conftest.$ac_ext
65743 cat >>conftest.$ac_ext <<_ACEOF
65744 /* end confdefs.h. */
65745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65747 #define $ac_func innocuous_$ac_func
65749 /* System header to define __stub macros and hopefully few prototypes,
65750 which can conflict with char $ac_func (); below.
65751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65752 <limits.h> exists even on freestanding compilers. */
65754 #ifdef __STDC__
65755 # include <limits.h>
65756 #else
65757 # include <assert.h>
65758 #endif
65760 #undef $ac_func
65762 /* Override any gcc2 internal prototype to avoid an error. */
65763 #ifdef __cplusplus
65764 extern "C"
65766 #endif
65767 /* We use char because int might match the return type of a gcc2
65768 builtin and then its argument prototype would still apply. */
65769 char $ac_func ();
65770 /* The GNU C library defines this for functions which it implements
65771 to always fail with ENOSYS. Some functions are actually named
65772 something starting with __ and the normal name is an alias. */
65773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65774 choke me
65775 #else
65776 char (*f) () = $ac_func;
65777 #endif
65778 #ifdef __cplusplus
65780 #endif
65783 main ()
65785 return f != $ac_func;
65787 return 0;
65789 _ACEOF
65790 rm -f conftest.$ac_objext conftest$ac_exeext
65791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65792 (eval $ac_link) 2>conftest.er1
65793 ac_status=$?
65794 grep -v '^ *+' conftest.er1 >conftest.err
65795 rm -f conftest.er1
65796 cat conftest.err >&5
65797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65798 (exit $ac_status); } &&
65799 { ac_try='test -z "$ac_c_werror_flag"
65800 || test ! -s conftest.err'
65801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65802 (eval $ac_try) 2>&5
65803 ac_status=$?
65804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65805 (exit $ac_status); }; } &&
65806 { ac_try='test -s conftest$ac_exeext'
65807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65808 (eval $ac_try) 2>&5
65809 ac_status=$?
65810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65811 (exit $ac_status); }; }; then
65812 eval "$as_ac_var=yes"
65813 else
65814 echo "$as_me: failed program was:" >&5
65815 sed 's/^/| /' conftest.$ac_ext >&5
65817 eval "$as_ac_var=no"
65819 rm -f conftest.err conftest.$ac_objext \
65820 conftest$ac_exeext conftest.$ac_ext
65822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65824 if test `eval echo '${'$as_ac_var'}'` = yes; then
65825 cat >>confdefs.h <<_ACEOF
65826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65827 _ACEOF
65830 done
65832 else
65834 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65835 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65836 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65837 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65838 echo $ECHO_N "(cached) $ECHO_C" >&6
65839 else
65843 ac_ext=cc
65844 ac_cpp='$CXXCPP $CPPFLAGS'
65845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65849 cat >conftest.$ac_ext <<_ACEOF
65850 /* confdefs.h. */
65851 _ACEOF
65852 cat confdefs.h >>conftest.$ac_ext
65853 cat >>conftest.$ac_ext <<_ACEOF
65854 /* end confdefs.h. */
65855 #include <math.h>
65857 main ()
65859 _fmodl(0, 0);
65861 return 0;
65863 _ACEOF
65864 rm -f conftest.$ac_objext
65865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65866 (eval $ac_compile) 2>conftest.er1
65867 ac_status=$?
65868 grep -v '^ *+' conftest.er1 >conftest.err
65869 rm -f conftest.er1
65870 cat conftest.err >&5
65871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65872 (exit $ac_status); } &&
65873 { ac_try='test -z "$ac_cxx_werror_flag"
65874 || test ! -s conftest.err'
65875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65876 (eval $ac_try) 2>&5
65877 ac_status=$?
65878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65879 (exit $ac_status); }; } &&
65880 { ac_try='test -s conftest.$ac_objext'
65881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65882 (eval $ac_try) 2>&5
65883 ac_status=$?
65884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65885 (exit $ac_status); }; }; then
65886 glibcxx_cv_func__fmodl_use=yes
65887 else
65888 echo "$as_me: failed program was:" >&5
65889 sed 's/^/| /' conftest.$ac_ext >&5
65891 glibcxx_cv_func__fmodl_use=no
65893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65894 ac_ext=c
65895 ac_cpp='$CPP $CPPFLAGS'
65896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65905 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65907 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65909 for ac_func in _fmodl
65911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65912 echo "$as_me:$LINENO: checking for $ac_func" >&5
65913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65914 if eval "test \"\${$as_ac_var+set}\" = set"; then
65915 echo $ECHO_N "(cached) $ECHO_C" >&6
65916 else
65917 if test x$gcc_no_link = xyes; then
65918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65920 { (exit 1); exit 1; }; }
65922 cat >conftest.$ac_ext <<_ACEOF
65923 /* confdefs.h. */
65924 _ACEOF
65925 cat confdefs.h >>conftest.$ac_ext
65926 cat >>conftest.$ac_ext <<_ACEOF
65927 /* end confdefs.h. */
65928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65930 #define $ac_func innocuous_$ac_func
65932 /* System header to define __stub macros and hopefully few prototypes,
65933 which can conflict with char $ac_func (); below.
65934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65935 <limits.h> exists even on freestanding compilers. */
65937 #ifdef __STDC__
65938 # include <limits.h>
65939 #else
65940 # include <assert.h>
65941 #endif
65943 #undef $ac_func
65945 /* Override any gcc2 internal prototype to avoid an error. */
65946 #ifdef __cplusplus
65947 extern "C"
65949 #endif
65950 /* We use char because int might match the return type of a gcc2
65951 builtin and then its argument prototype would still apply. */
65952 char $ac_func ();
65953 /* The GNU C library defines this for functions which it implements
65954 to always fail with ENOSYS. Some functions are actually named
65955 something starting with __ and the normal name is an alias. */
65956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65957 choke me
65958 #else
65959 char (*f) () = $ac_func;
65960 #endif
65961 #ifdef __cplusplus
65963 #endif
65966 main ()
65968 return f != $ac_func;
65970 return 0;
65972 _ACEOF
65973 rm -f conftest.$ac_objext conftest$ac_exeext
65974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65975 (eval $ac_link) 2>conftest.er1
65976 ac_status=$?
65977 grep -v '^ *+' conftest.er1 >conftest.err
65978 rm -f conftest.er1
65979 cat conftest.err >&5
65980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65981 (exit $ac_status); } &&
65982 { ac_try='test -z "$ac_c_werror_flag"
65983 || test ! -s conftest.err'
65984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65985 (eval $ac_try) 2>&5
65986 ac_status=$?
65987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988 (exit $ac_status); }; } &&
65989 { ac_try='test -s conftest$ac_exeext'
65990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65991 (eval $ac_try) 2>&5
65992 ac_status=$?
65993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65994 (exit $ac_status); }; }; then
65995 eval "$as_ac_var=yes"
65996 else
65997 echo "$as_me: failed program was:" >&5
65998 sed 's/^/| /' conftest.$ac_ext >&5
66000 eval "$as_ac_var=no"
66002 rm -f conftest.err conftest.$ac_objext \
66003 conftest$ac_exeext conftest.$ac_ext
66005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66007 if test `eval echo '${'$as_ac_var'}'` = yes; then
66008 cat >>confdefs.h <<_ACEOF
66009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66010 _ACEOF
66013 done
66020 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66021 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66022 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66023 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66024 echo $ECHO_N "(cached) $ECHO_C" >&6
66025 else
66029 ac_ext=cc
66030 ac_cpp='$CXXCPP $CPPFLAGS'
66031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66035 cat >conftest.$ac_ext <<_ACEOF
66036 /* confdefs.h. */
66037 _ACEOF
66038 cat confdefs.h >>conftest.$ac_ext
66039 cat >>conftest.$ac_ext <<_ACEOF
66040 /* end confdefs.h. */
66041 #include <math.h>
66043 main ()
66045 frexpl(0, 0);
66047 return 0;
66049 _ACEOF
66050 rm -f conftest.$ac_objext
66051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66052 (eval $ac_compile) 2>conftest.er1
66053 ac_status=$?
66054 grep -v '^ *+' conftest.er1 >conftest.err
66055 rm -f conftest.er1
66056 cat conftest.err >&5
66057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66058 (exit $ac_status); } &&
66059 { ac_try='test -z "$ac_cxx_werror_flag"
66060 || test ! -s conftest.err'
66061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66062 (eval $ac_try) 2>&5
66063 ac_status=$?
66064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66065 (exit $ac_status); }; } &&
66066 { ac_try='test -s conftest.$ac_objext'
66067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66068 (eval $ac_try) 2>&5
66069 ac_status=$?
66070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66071 (exit $ac_status); }; }; then
66072 glibcxx_cv_func_frexpl_use=yes
66073 else
66074 echo "$as_me: failed program was:" >&5
66075 sed 's/^/| /' conftest.$ac_ext >&5
66077 glibcxx_cv_func_frexpl_use=no
66079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66080 ac_ext=c
66081 ac_cpp='$CPP $CPPFLAGS'
66082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66091 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66093 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66095 for ac_func in frexpl
66097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66098 echo "$as_me:$LINENO: checking for $ac_func" >&5
66099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66100 if eval "test \"\${$as_ac_var+set}\" = set"; then
66101 echo $ECHO_N "(cached) $ECHO_C" >&6
66102 else
66103 if test x$gcc_no_link = xyes; then
66104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66106 { (exit 1); exit 1; }; }
66108 cat >conftest.$ac_ext <<_ACEOF
66109 /* confdefs.h. */
66110 _ACEOF
66111 cat confdefs.h >>conftest.$ac_ext
66112 cat >>conftest.$ac_ext <<_ACEOF
66113 /* end confdefs.h. */
66114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66116 #define $ac_func innocuous_$ac_func
66118 /* System header to define __stub macros and hopefully few prototypes,
66119 which can conflict with char $ac_func (); below.
66120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66121 <limits.h> exists even on freestanding compilers. */
66123 #ifdef __STDC__
66124 # include <limits.h>
66125 #else
66126 # include <assert.h>
66127 #endif
66129 #undef $ac_func
66131 /* Override any gcc2 internal prototype to avoid an error. */
66132 #ifdef __cplusplus
66133 extern "C"
66135 #endif
66136 /* We use char because int might match the return type of a gcc2
66137 builtin and then its argument prototype would still apply. */
66138 char $ac_func ();
66139 /* The GNU C library defines this for functions which it implements
66140 to always fail with ENOSYS. Some functions are actually named
66141 something starting with __ and the normal name is an alias. */
66142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66143 choke me
66144 #else
66145 char (*f) () = $ac_func;
66146 #endif
66147 #ifdef __cplusplus
66149 #endif
66152 main ()
66154 return f != $ac_func;
66156 return 0;
66158 _ACEOF
66159 rm -f conftest.$ac_objext conftest$ac_exeext
66160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66161 (eval $ac_link) 2>conftest.er1
66162 ac_status=$?
66163 grep -v '^ *+' conftest.er1 >conftest.err
66164 rm -f conftest.er1
66165 cat conftest.err >&5
66166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66167 (exit $ac_status); } &&
66168 { ac_try='test -z "$ac_c_werror_flag"
66169 || test ! -s conftest.err'
66170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66171 (eval $ac_try) 2>&5
66172 ac_status=$?
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); }; } &&
66175 { ac_try='test -s conftest$ac_exeext'
66176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66177 (eval $ac_try) 2>&5
66178 ac_status=$?
66179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66180 (exit $ac_status); }; }; then
66181 eval "$as_ac_var=yes"
66182 else
66183 echo "$as_me: failed program was:" >&5
66184 sed 's/^/| /' conftest.$ac_ext >&5
66186 eval "$as_ac_var=no"
66188 rm -f conftest.err conftest.$ac_objext \
66189 conftest$ac_exeext conftest.$ac_ext
66191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66193 if test `eval echo '${'$as_ac_var'}'` = yes; then
66194 cat >>confdefs.h <<_ACEOF
66195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66196 _ACEOF
66199 done
66201 else
66203 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66204 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66205 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66206 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66207 echo $ECHO_N "(cached) $ECHO_C" >&6
66208 else
66212 ac_ext=cc
66213 ac_cpp='$CXXCPP $CPPFLAGS'
66214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66218 cat >conftest.$ac_ext <<_ACEOF
66219 /* confdefs.h. */
66220 _ACEOF
66221 cat confdefs.h >>conftest.$ac_ext
66222 cat >>conftest.$ac_ext <<_ACEOF
66223 /* end confdefs.h. */
66224 #include <math.h>
66226 main ()
66228 _frexpl(0, 0);
66230 return 0;
66232 _ACEOF
66233 rm -f conftest.$ac_objext
66234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66235 (eval $ac_compile) 2>conftest.er1
66236 ac_status=$?
66237 grep -v '^ *+' conftest.er1 >conftest.err
66238 rm -f conftest.er1
66239 cat conftest.err >&5
66240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66241 (exit $ac_status); } &&
66242 { ac_try='test -z "$ac_cxx_werror_flag"
66243 || test ! -s conftest.err'
66244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66245 (eval $ac_try) 2>&5
66246 ac_status=$?
66247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66248 (exit $ac_status); }; } &&
66249 { ac_try='test -s conftest.$ac_objext'
66250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66251 (eval $ac_try) 2>&5
66252 ac_status=$?
66253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66254 (exit $ac_status); }; }; then
66255 glibcxx_cv_func__frexpl_use=yes
66256 else
66257 echo "$as_me: failed program was:" >&5
66258 sed 's/^/| /' conftest.$ac_ext >&5
66260 glibcxx_cv_func__frexpl_use=no
66262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66263 ac_ext=c
66264 ac_cpp='$CPP $CPPFLAGS'
66265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66273 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66274 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66276 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66278 for ac_func in _frexpl
66280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66281 echo "$as_me:$LINENO: checking for $ac_func" >&5
66282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66283 if eval "test \"\${$as_ac_var+set}\" = set"; then
66284 echo $ECHO_N "(cached) $ECHO_C" >&6
66285 else
66286 if test x$gcc_no_link = xyes; then
66287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66289 { (exit 1); exit 1; }; }
66291 cat >conftest.$ac_ext <<_ACEOF
66292 /* confdefs.h. */
66293 _ACEOF
66294 cat confdefs.h >>conftest.$ac_ext
66295 cat >>conftest.$ac_ext <<_ACEOF
66296 /* end confdefs.h. */
66297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66299 #define $ac_func innocuous_$ac_func
66301 /* System header to define __stub macros and hopefully few prototypes,
66302 which can conflict with char $ac_func (); below.
66303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66304 <limits.h> exists even on freestanding compilers. */
66306 #ifdef __STDC__
66307 # include <limits.h>
66308 #else
66309 # include <assert.h>
66310 #endif
66312 #undef $ac_func
66314 /* Override any gcc2 internal prototype to avoid an error. */
66315 #ifdef __cplusplus
66316 extern "C"
66318 #endif
66319 /* We use char because int might match the return type of a gcc2
66320 builtin and then its argument prototype would still apply. */
66321 char $ac_func ();
66322 /* The GNU C library defines this for functions which it implements
66323 to always fail with ENOSYS. Some functions are actually named
66324 something starting with __ and the normal name is an alias. */
66325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66326 choke me
66327 #else
66328 char (*f) () = $ac_func;
66329 #endif
66330 #ifdef __cplusplus
66332 #endif
66335 main ()
66337 return f != $ac_func;
66339 return 0;
66341 _ACEOF
66342 rm -f conftest.$ac_objext conftest$ac_exeext
66343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66344 (eval $ac_link) 2>conftest.er1
66345 ac_status=$?
66346 grep -v '^ *+' conftest.er1 >conftest.err
66347 rm -f conftest.er1
66348 cat conftest.err >&5
66349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66350 (exit $ac_status); } &&
66351 { ac_try='test -z "$ac_c_werror_flag"
66352 || test ! -s conftest.err'
66353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66354 (eval $ac_try) 2>&5
66355 ac_status=$?
66356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66357 (exit $ac_status); }; } &&
66358 { ac_try='test -s conftest$ac_exeext'
66359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66360 (eval $ac_try) 2>&5
66361 ac_status=$?
66362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66363 (exit $ac_status); }; }; then
66364 eval "$as_ac_var=yes"
66365 else
66366 echo "$as_me: failed program was:" >&5
66367 sed 's/^/| /' conftest.$ac_ext >&5
66369 eval "$as_ac_var=no"
66371 rm -f conftest.err conftest.$ac_objext \
66372 conftest$ac_exeext conftest.$ac_ext
66374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66376 if test `eval echo '${'$as_ac_var'}'` = yes; then
66377 cat >>confdefs.h <<_ACEOF
66378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66379 _ACEOF
66382 done
66389 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66390 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66391 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66392 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66393 echo $ECHO_N "(cached) $ECHO_C" >&6
66394 else
66398 ac_ext=cc
66399 ac_cpp='$CXXCPP $CPPFLAGS'
66400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66404 cat >conftest.$ac_ext <<_ACEOF
66405 /* confdefs.h. */
66406 _ACEOF
66407 cat confdefs.h >>conftest.$ac_ext
66408 cat >>conftest.$ac_ext <<_ACEOF
66409 /* end confdefs.h. */
66410 #include <math.h>
66412 main ()
66414 hypotl(0, 0);
66416 return 0;
66418 _ACEOF
66419 rm -f conftest.$ac_objext
66420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66421 (eval $ac_compile) 2>conftest.er1
66422 ac_status=$?
66423 grep -v '^ *+' conftest.er1 >conftest.err
66424 rm -f conftest.er1
66425 cat conftest.err >&5
66426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66427 (exit $ac_status); } &&
66428 { ac_try='test -z "$ac_cxx_werror_flag"
66429 || test ! -s conftest.err'
66430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66431 (eval $ac_try) 2>&5
66432 ac_status=$?
66433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66434 (exit $ac_status); }; } &&
66435 { ac_try='test -s conftest.$ac_objext'
66436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66437 (eval $ac_try) 2>&5
66438 ac_status=$?
66439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66440 (exit $ac_status); }; }; then
66441 glibcxx_cv_func_hypotl_use=yes
66442 else
66443 echo "$as_me: failed program was:" >&5
66444 sed 's/^/| /' conftest.$ac_ext >&5
66446 glibcxx_cv_func_hypotl_use=no
66448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66449 ac_ext=c
66450 ac_cpp='$CPP $CPPFLAGS'
66451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66460 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66462 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66464 for ac_func in hypotl
66466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66467 echo "$as_me:$LINENO: checking for $ac_func" >&5
66468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66469 if eval "test \"\${$as_ac_var+set}\" = set"; then
66470 echo $ECHO_N "(cached) $ECHO_C" >&6
66471 else
66472 if test x$gcc_no_link = xyes; then
66473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66475 { (exit 1); exit 1; }; }
66477 cat >conftest.$ac_ext <<_ACEOF
66478 /* confdefs.h. */
66479 _ACEOF
66480 cat confdefs.h >>conftest.$ac_ext
66481 cat >>conftest.$ac_ext <<_ACEOF
66482 /* end confdefs.h. */
66483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66485 #define $ac_func innocuous_$ac_func
66487 /* System header to define __stub macros and hopefully few prototypes,
66488 which can conflict with char $ac_func (); below.
66489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66490 <limits.h> exists even on freestanding compilers. */
66492 #ifdef __STDC__
66493 # include <limits.h>
66494 #else
66495 # include <assert.h>
66496 #endif
66498 #undef $ac_func
66500 /* Override any gcc2 internal prototype to avoid an error. */
66501 #ifdef __cplusplus
66502 extern "C"
66504 #endif
66505 /* We use char because int might match the return type of a gcc2
66506 builtin and then its argument prototype would still apply. */
66507 char $ac_func ();
66508 /* The GNU C library defines this for functions which it implements
66509 to always fail with ENOSYS. Some functions are actually named
66510 something starting with __ and the normal name is an alias. */
66511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66512 choke me
66513 #else
66514 char (*f) () = $ac_func;
66515 #endif
66516 #ifdef __cplusplus
66518 #endif
66521 main ()
66523 return f != $ac_func;
66525 return 0;
66527 _ACEOF
66528 rm -f conftest.$ac_objext conftest$ac_exeext
66529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66530 (eval $ac_link) 2>conftest.er1
66531 ac_status=$?
66532 grep -v '^ *+' conftest.er1 >conftest.err
66533 rm -f conftest.er1
66534 cat conftest.err >&5
66535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66536 (exit $ac_status); } &&
66537 { ac_try='test -z "$ac_c_werror_flag"
66538 || test ! -s conftest.err'
66539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66540 (eval $ac_try) 2>&5
66541 ac_status=$?
66542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66543 (exit $ac_status); }; } &&
66544 { ac_try='test -s conftest$ac_exeext'
66545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66546 (eval $ac_try) 2>&5
66547 ac_status=$?
66548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66549 (exit $ac_status); }; }; then
66550 eval "$as_ac_var=yes"
66551 else
66552 echo "$as_me: failed program was:" >&5
66553 sed 's/^/| /' conftest.$ac_ext >&5
66555 eval "$as_ac_var=no"
66557 rm -f conftest.err conftest.$ac_objext \
66558 conftest$ac_exeext conftest.$ac_ext
66560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66562 if test `eval echo '${'$as_ac_var'}'` = yes; then
66563 cat >>confdefs.h <<_ACEOF
66564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66565 _ACEOF
66568 done
66570 else
66572 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66573 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66574 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66575 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66576 echo $ECHO_N "(cached) $ECHO_C" >&6
66577 else
66581 ac_ext=cc
66582 ac_cpp='$CXXCPP $CPPFLAGS'
66583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66587 cat >conftest.$ac_ext <<_ACEOF
66588 /* confdefs.h. */
66589 _ACEOF
66590 cat confdefs.h >>conftest.$ac_ext
66591 cat >>conftest.$ac_ext <<_ACEOF
66592 /* end confdefs.h. */
66593 #include <math.h>
66595 main ()
66597 _hypotl(0, 0);
66599 return 0;
66601 _ACEOF
66602 rm -f conftest.$ac_objext
66603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66604 (eval $ac_compile) 2>conftest.er1
66605 ac_status=$?
66606 grep -v '^ *+' conftest.er1 >conftest.err
66607 rm -f conftest.er1
66608 cat conftest.err >&5
66609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66610 (exit $ac_status); } &&
66611 { ac_try='test -z "$ac_cxx_werror_flag"
66612 || test ! -s conftest.err'
66613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66614 (eval $ac_try) 2>&5
66615 ac_status=$?
66616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66617 (exit $ac_status); }; } &&
66618 { ac_try='test -s conftest.$ac_objext'
66619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66620 (eval $ac_try) 2>&5
66621 ac_status=$?
66622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66623 (exit $ac_status); }; }; then
66624 glibcxx_cv_func__hypotl_use=yes
66625 else
66626 echo "$as_me: failed program was:" >&5
66627 sed 's/^/| /' conftest.$ac_ext >&5
66629 glibcxx_cv_func__hypotl_use=no
66631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66632 ac_ext=c
66633 ac_cpp='$CPP $CPPFLAGS'
66634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66643 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66645 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66647 for ac_func in _hypotl
66649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66650 echo "$as_me:$LINENO: checking for $ac_func" >&5
66651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66652 if eval "test \"\${$as_ac_var+set}\" = set"; then
66653 echo $ECHO_N "(cached) $ECHO_C" >&6
66654 else
66655 if test x$gcc_no_link = xyes; then
66656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66658 { (exit 1); exit 1; }; }
66660 cat >conftest.$ac_ext <<_ACEOF
66661 /* confdefs.h. */
66662 _ACEOF
66663 cat confdefs.h >>conftest.$ac_ext
66664 cat >>conftest.$ac_ext <<_ACEOF
66665 /* end confdefs.h. */
66666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66668 #define $ac_func innocuous_$ac_func
66670 /* System header to define __stub macros and hopefully few prototypes,
66671 which can conflict with char $ac_func (); below.
66672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66673 <limits.h> exists even on freestanding compilers. */
66675 #ifdef __STDC__
66676 # include <limits.h>
66677 #else
66678 # include <assert.h>
66679 #endif
66681 #undef $ac_func
66683 /* Override any gcc2 internal prototype to avoid an error. */
66684 #ifdef __cplusplus
66685 extern "C"
66687 #endif
66688 /* We use char because int might match the return type of a gcc2
66689 builtin and then its argument prototype would still apply. */
66690 char $ac_func ();
66691 /* The GNU C library defines this for functions which it implements
66692 to always fail with ENOSYS. Some functions are actually named
66693 something starting with __ and the normal name is an alias. */
66694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66695 choke me
66696 #else
66697 char (*f) () = $ac_func;
66698 #endif
66699 #ifdef __cplusplus
66701 #endif
66704 main ()
66706 return f != $ac_func;
66708 return 0;
66710 _ACEOF
66711 rm -f conftest.$ac_objext conftest$ac_exeext
66712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66713 (eval $ac_link) 2>conftest.er1
66714 ac_status=$?
66715 grep -v '^ *+' conftest.er1 >conftest.err
66716 rm -f conftest.er1
66717 cat conftest.err >&5
66718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66719 (exit $ac_status); } &&
66720 { ac_try='test -z "$ac_c_werror_flag"
66721 || test ! -s conftest.err'
66722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66723 (eval $ac_try) 2>&5
66724 ac_status=$?
66725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66726 (exit $ac_status); }; } &&
66727 { ac_try='test -s conftest$ac_exeext'
66728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66729 (eval $ac_try) 2>&5
66730 ac_status=$?
66731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66732 (exit $ac_status); }; }; then
66733 eval "$as_ac_var=yes"
66734 else
66735 echo "$as_me: failed program was:" >&5
66736 sed 's/^/| /' conftest.$ac_ext >&5
66738 eval "$as_ac_var=no"
66740 rm -f conftest.err conftest.$ac_objext \
66741 conftest$ac_exeext conftest.$ac_ext
66743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66745 if test `eval echo '${'$as_ac_var'}'` = yes; then
66746 cat >>confdefs.h <<_ACEOF
66747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66748 _ACEOF
66751 done
66758 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66759 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66760 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66761 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66762 echo $ECHO_N "(cached) $ECHO_C" >&6
66763 else
66767 ac_ext=cc
66768 ac_cpp='$CXXCPP $CPPFLAGS'
66769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66773 cat >conftest.$ac_ext <<_ACEOF
66774 /* confdefs.h. */
66775 _ACEOF
66776 cat confdefs.h >>conftest.$ac_ext
66777 cat >>conftest.$ac_ext <<_ACEOF
66778 /* end confdefs.h. */
66779 #include <math.h>
66781 main ()
66783 ldexpl(0, 0);
66785 return 0;
66787 _ACEOF
66788 rm -f conftest.$ac_objext
66789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66790 (eval $ac_compile) 2>conftest.er1
66791 ac_status=$?
66792 grep -v '^ *+' conftest.er1 >conftest.err
66793 rm -f conftest.er1
66794 cat conftest.err >&5
66795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66796 (exit $ac_status); } &&
66797 { ac_try='test -z "$ac_cxx_werror_flag"
66798 || test ! -s conftest.err'
66799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66800 (eval $ac_try) 2>&5
66801 ac_status=$?
66802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66803 (exit $ac_status); }; } &&
66804 { ac_try='test -s conftest.$ac_objext'
66805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66806 (eval $ac_try) 2>&5
66807 ac_status=$?
66808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66809 (exit $ac_status); }; }; then
66810 glibcxx_cv_func_ldexpl_use=yes
66811 else
66812 echo "$as_me: failed program was:" >&5
66813 sed 's/^/| /' conftest.$ac_ext >&5
66815 glibcxx_cv_func_ldexpl_use=no
66817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66818 ac_ext=c
66819 ac_cpp='$CPP $CPPFLAGS'
66820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66829 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66831 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66833 for ac_func in ldexpl
66835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66836 echo "$as_me:$LINENO: checking for $ac_func" >&5
66837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66838 if eval "test \"\${$as_ac_var+set}\" = set"; then
66839 echo $ECHO_N "(cached) $ECHO_C" >&6
66840 else
66841 if test x$gcc_no_link = xyes; then
66842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66844 { (exit 1); exit 1; }; }
66846 cat >conftest.$ac_ext <<_ACEOF
66847 /* confdefs.h. */
66848 _ACEOF
66849 cat confdefs.h >>conftest.$ac_ext
66850 cat >>conftest.$ac_ext <<_ACEOF
66851 /* end confdefs.h. */
66852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66854 #define $ac_func innocuous_$ac_func
66856 /* System header to define __stub macros and hopefully few prototypes,
66857 which can conflict with char $ac_func (); below.
66858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66859 <limits.h> exists even on freestanding compilers. */
66861 #ifdef __STDC__
66862 # include <limits.h>
66863 #else
66864 # include <assert.h>
66865 #endif
66867 #undef $ac_func
66869 /* Override any gcc2 internal prototype to avoid an error. */
66870 #ifdef __cplusplus
66871 extern "C"
66873 #endif
66874 /* We use char because int might match the return type of a gcc2
66875 builtin and then its argument prototype would still apply. */
66876 char $ac_func ();
66877 /* The GNU C library defines this for functions which it implements
66878 to always fail with ENOSYS. Some functions are actually named
66879 something starting with __ and the normal name is an alias. */
66880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66881 choke me
66882 #else
66883 char (*f) () = $ac_func;
66884 #endif
66885 #ifdef __cplusplus
66887 #endif
66890 main ()
66892 return f != $ac_func;
66894 return 0;
66896 _ACEOF
66897 rm -f conftest.$ac_objext conftest$ac_exeext
66898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66899 (eval $ac_link) 2>conftest.er1
66900 ac_status=$?
66901 grep -v '^ *+' conftest.er1 >conftest.err
66902 rm -f conftest.er1
66903 cat conftest.err >&5
66904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66905 (exit $ac_status); } &&
66906 { ac_try='test -z "$ac_c_werror_flag"
66907 || test ! -s conftest.err'
66908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66909 (eval $ac_try) 2>&5
66910 ac_status=$?
66911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66912 (exit $ac_status); }; } &&
66913 { ac_try='test -s conftest$ac_exeext'
66914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66915 (eval $ac_try) 2>&5
66916 ac_status=$?
66917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66918 (exit $ac_status); }; }; then
66919 eval "$as_ac_var=yes"
66920 else
66921 echo "$as_me: failed program was:" >&5
66922 sed 's/^/| /' conftest.$ac_ext >&5
66924 eval "$as_ac_var=no"
66926 rm -f conftest.err conftest.$ac_objext \
66927 conftest$ac_exeext conftest.$ac_ext
66929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66931 if test `eval echo '${'$as_ac_var'}'` = yes; then
66932 cat >>confdefs.h <<_ACEOF
66933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66934 _ACEOF
66937 done
66939 else
66941 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66942 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66943 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66944 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66945 echo $ECHO_N "(cached) $ECHO_C" >&6
66946 else
66950 ac_ext=cc
66951 ac_cpp='$CXXCPP $CPPFLAGS'
66952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66956 cat >conftest.$ac_ext <<_ACEOF
66957 /* confdefs.h. */
66958 _ACEOF
66959 cat confdefs.h >>conftest.$ac_ext
66960 cat >>conftest.$ac_ext <<_ACEOF
66961 /* end confdefs.h. */
66962 #include <math.h>
66964 main ()
66966 _ldexpl(0, 0);
66968 return 0;
66970 _ACEOF
66971 rm -f conftest.$ac_objext
66972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66973 (eval $ac_compile) 2>conftest.er1
66974 ac_status=$?
66975 grep -v '^ *+' conftest.er1 >conftest.err
66976 rm -f conftest.er1
66977 cat conftest.err >&5
66978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66979 (exit $ac_status); } &&
66980 { ac_try='test -z "$ac_cxx_werror_flag"
66981 || test ! -s conftest.err'
66982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66983 (eval $ac_try) 2>&5
66984 ac_status=$?
66985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66986 (exit $ac_status); }; } &&
66987 { ac_try='test -s conftest.$ac_objext'
66988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66989 (eval $ac_try) 2>&5
66990 ac_status=$?
66991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66992 (exit $ac_status); }; }; then
66993 glibcxx_cv_func__ldexpl_use=yes
66994 else
66995 echo "$as_me: failed program was:" >&5
66996 sed 's/^/| /' conftest.$ac_ext >&5
66998 glibcxx_cv_func__ldexpl_use=no
67000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67001 ac_ext=c
67002 ac_cpp='$CPP $CPPFLAGS'
67003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67012 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67014 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67016 for ac_func in _ldexpl
67018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67019 echo "$as_me:$LINENO: checking for $ac_func" >&5
67020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67021 if eval "test \"\${$as_ac_var+set}\" = set"; then
67022 echo $ECHO_N "(cached) $ECHO_C" >&6
67023 else
67024 if test x$gcc_no_link = xyes; then
67025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67027 { (exit 1); exit 1; }; }
67029 cat >conftest.$ac_ext <<_ACEOF
67030 /* confdefs.h. */
67031 _ACEOF
67032 cat confdefs.h >>conftest.$ac_ext
67033 cat >>conftest.$ac_ext <<_ACEOF
67034 /* end confdefs.h. */
67035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67037 #define $ac_func innocuous_$ac_func
67039 /* System header to define __stub macros and hopefully few prototypes,
67040 which can conflict with char $ac_func (); below.
67041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67042 <limits.h> exists even on freestanding compilers. */
67044 #ifdef __STDC__
67045 # include <limits.h>
67046 #else
67047 # include <assert.h>
67048 #endif
67050 #undef $ac_func
67052 /* Override any gcc2 internal prototype to avoid an error. */
67053 #ifdef __cplusplus
67054 extern "C"
67056 #endif
67057 /* We use char because int might match the return type of a gcc2
67058 builtin and then its argument prototype would still apply. */
67059 char $ac_func ();
67060 /* The GNU C library defines this for functions which it implements
67061 to always fail with ENOSYS. Some functions are actually named
67062 something starting with __ and the normal name is an alias. */
67063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67064 choke me
67065 #else
67066 char (*f) () = $ac_func;
67067 #endif
67068 #ifdef __cplusplus
67070 #endif
67073 main ()
67075 return f != $ac_func;
67077 return 0;
67079 _ACEOF
67080 rm -f conftest.$ac_objext conftest$ac_exeext
67081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67082 (eval $ac_link) 2>conftest.er1
67083 ac_status=$?
67084 grep -v '^ *+' conftest.er1 >conftest.err
67085 rm -f conftest.er1
67086 cat conftest.err >&5
67087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67088 (exit $ac_status); } &&
67089 { ac_try='test -z "$ac_c_werror_flag"
67090 || test ! -s conftest.err'
67091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67092 (eval $ac_try) 2>&5
67093 ac_status=$?
67094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67095 (exit $ac_status); }; } &&
67096 { ac_try='test -s conftest$ac_exeext'
67097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67098 (eval $ac_try) 2>&5
67099 ac_status=$?
67100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67101 (exit $ac_status); }; }; then
67102 eval "$as_ac_var=yes"
67103 else
67104 echo "$as_me: failed program was:" >&5
67105 sed 's/^/| /' conftest.$ac_ext >&5
67107 eval "$as_ac_var=no"
67109 rm -f conftest.err conftest.$ac_objext \
67110 conftest$ac_exeext conftest.$ac_ext
67112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67114 if test `eval echo '${'$as_ac_var'}'` = yes; then
67115 cat >>confdefs.h <<_ACEOF
67116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67117 _ACEOF
67120 done
67127 echo "$as_me:$LINENO: checking for logl declaration" >&5
67128 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67129 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67130 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67131 echo $ECHO_N "(cached) $ECHO_C" >&6
67132 else
67136 ac_ext=cc
67137 ac_cpp='$CXXCPP $CPPFLAGS'
67138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67142 cat >conftest.$ac_ext <<_ACEOF
67143 /* confdefs.h. */
67144 _ACEOF
67145 cat confdefs.h >>conftest.$ac_ext
67146 cat >>conftest.$ac_ext <<_ACEOF
67147 /* end confdefs.h. */
67148 #include <math.h>
67149 #ifdef HAVE_IEEEFP_H
67150 #include <ieeefp.h>
67151 #endif
67154 main ()
67156 logl(0);
67158 return 0;
67160 _ACEOF
67161 rm -f conftest.$ac_objext
67162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67163 (eval $ac_compile) 2>conftest.er1
67164 ac_status=$?
67165 grep -v '^ *+' conftest.er1 >conftest.err
67166 rm -f conftest.er1
67167 cat conftest.err >&5
67168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67169 (exit $ac_status); } &&
67170 { ac_try='test -z "$ac_cxx_werror_flag"
67171 || test ! -s conftest.err'
67172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67173 (eval $ac_try) 2>&5
67174 ac_status=$?
67175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67176 (exit $ac_status); }; } &&
67177 { ac_try='test -s conftest.$ac_objext'
67178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67179 (eval $ac_try) 2>&5
67180 ac_status=$?
67181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67182 (exit $ac_status); }; }; then
67183 glibcxx_cv_func_logl_use=yes
67184 else
67185 echo "$as_me: failed program was:" >&5
67186 sed 's/^/| /' conftest.$ac_ext >&5
67188 glibcxx_cv_func_logl_use=no
67190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67191 ac_ext=c
67192 ac_cpp='$CPP $CPPFLAGS'
67193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67202 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67204 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67206 for ac_func in logl
67208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67209 echo "$as_me:$LINENO: checking for $ac_func" >&5
67210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67211 if eval "test \"\${$as_ac_var+set}\" = set"; then
67212 echo $ECHO_N "(cached) $ECHO_C" >&6
67213 else
67214 if test x$gcc_no_link = xyes; then
67215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67217 { (exit 1); exit 1; }; }
67219 cat >conftest.$ac_ext <<_ACEOF
67220 /* confdefs.h. */
67221 _ACEOF
67222 cat confdefs.h >>conftest.$ac_ext
67223 cat >>conftest.$ac_ext <<_ACEOF
67224 /* end confdefs.h. */
67225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67227 #define $ac_func innocuous_$ac_func
67229 /* System header to define __stub macros and hopefully few prototypes,
67230 which can conflict with char $ac_func (); below.
67231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67232 <limits.h> exists even on freestanding compilers. */
67234 #ifdef __STDC__
67235 # include <limits.h>
67236 #else
67237 # include <assert.h>
67238 #endif
67240 #undef $ac_func
67242 /* Override any gcc2 internal prototype to avoid an error. */
67243 #ifdef __cplusplus
67244 extern "C"
67246 #endif
67247 /* We use char because int might match the return type of a gcc2
67248 builtin and then its argument prototype would still apply. */
67249 char $ac_func ();
67250 /* The GNU C library defines this for functions which it implements
67251 to always fail with ENOSYS. Some functions are actually named
67252 something starting with __ and the normal name is an alias. */
67253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67254 choke me
67255 #else
67256 char (*f) () = $ac_func;
67257 #endif
67258 #ifdef __cplusplus
67260 #endif
67263 main ()
67265 return f != $ac_func;
67267 return 0;
67269 _ACEOF
67270 rm -f conftest.$ac_objext conftest$ac_exeext
67271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67272 (eval $ac_link) 2>conftest.er1
67273 ac_status=$?
67274 grep -v '^ *+' conftest.er1 >conftest.err
67275 rm -f conftest.er1
67276 cat conftest.err >&5
67277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67278 (exit $ac_status); } &&
67279 { ac_try='test -z "$ac_c_werror_flag"
67280 || test ! -s conftest.err'
67281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67282 (eval $ac_try) 2>&5
67283 ac_status=$?
67284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67285 (exit $ac_status); }; } &&
67286 { ac_try='test -s conftest$ac_exeext'
67287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67288 (eval $ac_try) 2>&5
67289 ac_status=$?
67290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67291 (exit $ac_status); }; }; then
67292 eval "$as_ac_var=yes"
67293 else
67294 echo "$as_me: failed program was:" >&5
67295 sed 's/^/| /' conftest.$ac_ext >&5
67297 eval "$as_ac_var=no"
67299 rm -f conftest.err conftest.$ac_objext \
67300 conftest$ac_exeext conftest.$ac_ext
67302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67304 if test `eval echo '${'$as_ac_var'}'` = yes; then
67305 cat >>confdefs.h <<_ACEOF
67306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67307 _ACEOF
67310 done
67312 else
67314 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67315 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67316 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67317 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67318 echo $ECHO_N "(cached) $ECHO_C" >&6
67319 else
67323 ac_ext=cc
67324 ac_cpp='$CXXCPP $CPPFLAGS'
67325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67329 cat >conftest.$ac_ext <<_ACEOF
67330 /* confdefs.h. */
67331 _ACEOF
67332 cat confdefs.h >>conftest.$ac_ext
67333 cat >>conftest.$ac_ext <<_ACEOF
67334 /* end confdefs.h. */
67335 #include <math.h>
67336 #ifdef HAVE_IEEEFP_H
67337 #include <ieeefp.h>
67338 #endif
67341 main ()
67343 _logl(0);
67345 return 0;
67347 _ACEOF
67348 rm -f conftest.$ac_objext
67349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67350 (eval $ac_compile) 2>conftest.er1
67351 ac_status=$?
67352 grep -v '^ *+' conftest.er1 >conftest.err
67353 rm -f conftest.er1
67354 cat conftest.err >&5
67355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67356 (exit $ac_status); } &&
67357 { ac_try='test -z "$ac_cxx_werror_flag"
67358 || test ! -s conftest.err'
67359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67360 (eval $ac_try) 2>&5
67361 ac_status=$?
67362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67363 (exit $ac_status); }; } &&
67364 { ac_try='test -s conftest.$ac_objext'
67365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67366 (eval $ac_try) 2>&5
67367 ac_status=$?
67368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67369 (exit $ac_status); }; }; then
67370 glibcxx_cv_func__logl_use=yes
67371 else
67372 echo "$as_me: failed program was:" >&5
67373 sed 's/^/| /' conftest.$ac_ext >&5
67375 glibcxx_cv_func__logl_use=no
67377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67378 ac_ext=c
67379 ac_cpp='$CPP $CPPFLAGS'
67380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67389 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67391 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67393 for ac_func in _logl
67395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67396 echo "$as_me:$LINENO: checking for $ac_func" >&5
67397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67398 if eval "test \"\${$as_ac_var+set}\" = set"; then
67399 echo $ECHO_N "(cached) $ECHO_C" >&6
67400 else
67401 if test x$gcc_no_link = xyes; then
67402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67404 { (exit 1); exit 1; }; }
67406 cat >conftest.$ac_ext <<_ACEOF
67407 /* confdefs.h. */
67408 _ACEOF
67409 cat confdefs.h >>conftest.$ac_ext
67410 cat >>conftest.$ac_ext <<_ACEOF
67411 /* end confdefs.h. */
67412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67414 #define $ac_func innocuous_$ac_func
67416 /* System header to define __stub macros and hopefully few prototypes,
67417 which can conflict with char $ac_func (); below.
67418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67419 <limits.h> exists even on freestanding compilers. */
67421 #ifdef __STDC__
67422 # include <limits.h>
67423 #else
67424 # include <assert.h>
67425 #endif
67427 #undef $ac_func
67429 /* Override any gcc2 internal prototype to avoid an error. */
67430 #ifdef __cplusplus
67431 extern "C"
67433 #endif
67434 /* We use char because int might match the return type of a gcc2
67435 builtin and then its argument prototype would still apply. */
67436 char $ac_func ();
67437 /* The GNU C library defines this for functions which it implements
67438 to always fail with ENOSYS. Some functions are actually named
67439 something starting with __ and the normal name is an alias. */
67440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67441 choke me
67442 #else
67443 char (*f) () = $ac_func;
67444 #endif
67445 #ifdef __cplusplus
67447 #endif
67450 main ()
67452 return f != $ac_func;
67454 return 0;
67456 _ACEOF
67457 rm -f conftest.$ac_objext conftest$ac_exeext
67458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67459 (eval $ac_link) 2>conftest.er1
67460 ac_status=$?
67461 grep -v '^ *+' conftest.er1 >conftest.err
67462 rm -f conftest.er1
67463 cat conftest.err >&5
67464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67465 (exit $ac_status); } &&
67466 { ac_try='test -z "$ac_c_werror_flag"
67467 || test ! -s conftest.err'
67468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67469 (eval $ac_try) 2>&5
67470 ac_status=$?
67471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67472 (exit $ac_status); }; } &&
67473 { ac_try='test -s conftest$ac_exeext'
67474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67475 (eval $ac_try) 2>&5
67476 ac_status=$?
67477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67478 (exit $ac_status); }; }; then
67479 eval "$as_ac_var=yes"
67480 else
67481 echo "$as_me: failed program was:" >&5
67482 sed 's/^/| /' conftest.$ac_ext >&5
67484 eval "$as_ac_var=no"
67486 rm -f conftest.err conftest.$ac_objext \
67487 conftest$ac_exeext conftest.$ac_ext
67489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67491 if test `eval echo '${'$as_ac_var'}'` = yes; then
67492 cat >>confdefs.h <<_ACEOF
67493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67494 _ACEOF
67497 done
67504 echo "$as_me:$LINENO: checking for log10l declaration" >&5
67505 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67506 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67507 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67508 echo $ECHO_N "(cached) $ECHO_C" >&6
67509 else
67513 ac_ext=cc
67514 ac_cpp='$CXXCPP $CPPFLAGS'
67515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67519 cat >conftest.$ac_ext <<_ACEOF
67520 /* confdefs.h. */
67521 _ACEOF
67522 cat confdefs.h >>conftest.$ac_ext
67523 cat >>conftest.$ac_ext <<_ACEOF
67524 /* end confdefs.h. */
67525 #include <math.h>
67526 #ifdef HAVE_IEEEFP_H
67527 #include <ieeefp.h>
67528 #endif
67531 main ()
67533 log10l(0);
67535 return 0;
67537 _ACEOF
67538 rm -f conftest.$ac_objext
67539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67540 (eval $ac_compile) 2>conftest.er1
67541 ac_status=$?
67542 grep -v '^ *+' conftest.er1 >conftest.err
67543 rm -f conftest.er1
67544 cat conftest.err >&5
67545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67546 (exit $ac_status); } &&
67547 { ac_try='test -z "$ac_cxx_werror_flag"
67548 || test ! -s conftest.err'
67549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67550 (eval $ac_try) 2>&5
67551 ac_status=$?
67552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67553 (exit $ac_status); }; } &&
67554 { ac_try='test -s conftest.$ac_objext'
67555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67556 (eval $ac_try) 2>&5
67557 ac_status=$?
67558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67559 (exit $ac_status); }; }; then
67560 glibcxx_cv_func_log10l_use=yes
67561 else
67562 echo "$as_me: failed program was:" >&5
67563 sed 's/^/| /' conftest.$ac_ext >&5
67565 glibcxx_cv_func_log10l_use=no
67567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67568 ac_ext=c
67569 ac_cpp='$CPP $CPPFLAGS'
67570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67579 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67581 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67583 for ac_func in log10l
67585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67586 echo "$as_me:$LINENO: checking for $ac_func" >&5
67587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67588 if eval "test \"\${$as_ac_var+set}\" = set"; then
67589 echo $ECHO_N "(cached) $ECHO_C" >&6
67590 else
67591 if test x$gcc_no_link = xyes; then
67592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67594 { (exit 1); exit 1; }; }
67596 cat >conftest.$ac_ext <<_ACEOF
67597 /* confdefs.h. */
67598 _ACEOF
67599 cat confdefs.h >>conftest.$ac_ext
67600 cat >>conftest.$ac_ext <<_ACEOF
67601 /* end confdefs.h. */
67602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67604 #define $ac_func innocuous_$ac_func
67606 /* System header to define __stub macros and hopefully few prototypes,
67607 which can conflict with char $ac_func (); below.
67608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67609 <limits.h> exists even on freestanding compilers. */
67611 #ifdef __STDC__
67612 # include <limits.h>
67613 #else
67614 # include <assert.h>
67615 #endif
67617 #undef $ac_func
67619 /* Override any gcc2 internal prototype to avoid an error. */
67620 #ifdef __cplusplus
67621 extern "C"
67623 #endif
67624 /* We use char because int might match the return type of a gcc2
67625 builtin and then its argument prototype would still apply. */
67626 char $ac_func ();
67627 /* The GNU C library defines this for functions which it implements
67628 to always fail with ENOSYS. Some functions are actually named
67629 something starting with __ and the normal name is an alias. */
67630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67631 choke me
67632 #else
67633 char (*f) () = $ac_func;
67634 #endif
67635 #ifdef __cplusplus
67637 #endif
67640 main ()
67642 return f != $ac_func;
67644 return 0;
67646 _ACEOF
67647 rm -f conftest.$ac_objext conftest$ac_exeext
67648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67649 (eval $ac_link) 2>conftest.er1
67650 ac_status=$?
67651 grep -v '^ *+' conftest.er1 >conftest.err
67652 rm -f conftest.er1
67653 cat conftest.err >&5
67654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67655 (exit $ac_status); } &&
67656 { ac_try='test -z "$ac_c_werror_flag"
67657 || test ! -s conftest.err'
67658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67659 (eval $ac_try) 2>&5
67660 ac_status=$?
67661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67662 (exit $ac_status); }; } &&
67663 { ac_try='test -s conftest$ac_exeext'
67664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67665 (eval $ac_try) 2>&5
67666 ac_status=$?
67667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67668 (exit $ac_status); }; }; then
67669 eval "$as_ac_var=yes"
67670 else
67671 echo "$as_me: failed program was:" >&5
67672 sed 's/^/| /' conftest.$ac_ext >&5
67674 eval "$as_ac_var=no"
67676 rm -f conftest.err conftest.$ac_objext \
67677 conftest$ac_exeext conftest.$ac_ext
67679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67681 if test `eval echo '${'$as_ac_var'}'` = yes; then
67682 cat >>confdefs.h <<_ACEOF
67683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67684 _ACEOF
67687 done
67689 else
67691 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67692 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67693 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67694 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67695 echo $ECHO_N "(cached) $ECHO_C" >&6
67696 else
67700 ac_ext=cc
67701 ac_cpp='$CXXCPP $CPPFLAGS'
67702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67706 cat >conftest.$ac_ext <<_ACEOF
67707 /* confdefs.h. */
67708 _ACEOF
67709 cat confdefs.h >>conftest.$ac_ext
67710 cat >>conftest.$ac_ext <<_ACEOF
67711 /* end confdefs.h. */
67712 #include <math.h>
67713 #ifdef HAVE_IEEEFP_H
67714 #include <ieeefp.h>
67715 #endif
67718 main ()
67720 _log10l(0);
67722 return 0;
67724 _ACEOF
67725 rm -f conftest.$ac_objext
67726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67727 (eval $ac_compile) 2>conftest.er1
67728 ac_status=$?
67729 grep -v '^ *+' conftest.er1 >conftest.err
67730 rm -f conftest.er1
67731 cat conftest.err >&5
67732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67733 (exit $ac_status); } &&
67734 { ac_try='test -z "$ac_cxx_werror_flag"
67735 || test ! -s conftest.err'
67736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67737 (eval $ac_try) 2>&5
67738 ac_status=$?
67739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67740 (exit $ac_status); }; } &&
67741 { ac_try='test -s conftest.$ac_objext'
67742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67743 (eval $ac_try) 2>&5
67744 ac_status=$?
67745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67746 (exit $ac_status); }; }; then
67747 glibcxx_cv_func__log10l_use=yes
67748 else
67749 echo "$as_me: failed program was:" >&5
67750 sed 's/^/| /' conftest.$ac_ext >&5
67752 glibcxx_cv_func__log10l_use=no
67754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67755 ac_ext=c
67756 ac_cpp='$CPP $CPPFLAGS'
67757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67766 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67768 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67770 for ac_func in _log10l
67772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67773 echo "$as_me:$LINENO: checking for $ac_func" >&5
67774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67775 if eval "test \"\${$as_ac_var+set}\" = set"; then
67776 echo $ECHO_N "(cached) $ECHO_C" >&6
67777 else
67778 if test x$gcc_no_link = xyes; then
67779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67781 { (exit 1); exit 1; }; }
67783 cat >conftest.$ac_ext <<_ACEOF
67784 /* confdefs.h. */
67785 _ACEOF
67786 cat confdefs.h >>conftest.$ac_ext
67787 cat >>conftest.$ac_ext <<_ACEOF
67788 /* end confdefs.h. */
67789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67791 #define $ac_func innocuous_$ac_func
67793 /* System header to define __stub macros and hopefully few prototypes,
67794 which can conflict with char $ac_func (); below.
67795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67796 <limits.h> exists even on freestanding compilers. */
67798 #ifdef __STDC__
67799 # include <limits.h>
67800 #else
67801 # include <assert.h>
67802 #endif
67804 #undef $ac_func
67806 /* Override any gcc2 internal prototype to avoid an error. */
67807 #ifdef __cplusplus
67808 extern "C"
67810 #endif
67811 /* We use char because int might match the return type of a gcc2
67812 builtin and then its argument prototype would still apply. */
67813 char $ac_func ();
67814 /* The GNU C library defines this for functions which it implements
67815 to always fail with ENOSYS. Some functions are actually named
67816 something starting with __ and the normal name is an alias. */
67817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67818 choke me
67819 #else
67820 char (*f) () = $ac_func;
67821 #endif
67822 #ifdef __cplusplus
67824 #endif
67827 main ()
67829 return f != $ac_func;
67831 return 0;
67833 _ACEOF
67834 rm -f conftest.$ac_objext conftest$ac_exeext
67835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67836 (eval $ac_link) 2>conftest.er1
67837 ac_status=$?
67838 grep -v '^ *+' conftest.er1 >conftest.err
67839 rm -f conftest.er1
67840 cat conftest.err >&5
67841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67842 (exit $ac_status); } &&
67843 { ac_try='test -z "$ac_c_werror_flag"
67844 || test ! -s conftest.err'
67845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67846 (eval $ac_try) 2>&5
67847 ac_status=$?
67848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67849 (exit $ac_status); }; } &&
67850 { ac_try='test -s conftest$ac_exeext'
67851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67852 (eval $ac_try) 2>&5
67853 ac_status=$?
67854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67855 (exit $ac_status); }; }; then
67856 eval "$as_ac_var=yes"
67857 else
67858 echo "$as_me: failed program was:" >&5
67859 sed 's/^/| /' conftest.$ac_ext >&5
67861 eval "$as_ac_var=no"
67863 rm -f conftest.err conftest.$ac_objext \
67864 conftest$ac_exeext conftest.$ac_ext
67866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67868 if test `eval echo '${'$as_ac_var'}'` = yes; then
67869 cat >>confdefs.h <<_ACEOF
67870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67871 _ACEOF
67874 done
67881 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67882 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67883 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67884 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67885 echo $ECHO_N "(cached) $ECHO_C" >&6
67886 else
67890 ac_ext=cc
67891 ac_cpp='$CXXCPP $CPPFLAGS'
67892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67896 cat >conftest.$ac_ext <<_ACEOF
67897 /* confdefs.h. */
67898 _ACEOF
67899 cat confdefs.h >>conftest.$ac_ext
67900 cat >>conftest.$ac_ext <<_ACEOF
67901 /* end confdefs.h. */
67902 #include <math.h>
67904 main ()
67906 modfl(0, 0);
67908 return 0;
67910 _ACEOF
67911 rm -f conftest.$ac_objext
67912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67913 (eval $ac_compile) 2>conftest.er1
67914 ac_status=$?
67915 grep -v '^ *+' conftest.er1 >conftest.err
67916 rm -f conftest.er1
67917 cat conftest.err >&5
67918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67919 (exit $ac_status); } &&
67920 { ac_try='test -z "$ac_cxx_werror_flag"
67921 || test ! -s conftest.err'
67922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67923 (eval $ac_try) 2>&5
67924 ac_status=$?
67925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67926 (exit $ac_status); }; } &&
67927 { ac_try='test -s conftest.$ac_objext'
67928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67929 (eval $ac_try) 2>&5
67930 ac_status=$?
67931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67932 (exit $ac_status); }; }; then
67933 glibcxx_cv_func_modfl_use=yes
67934 else
67935 echo "$as_me: failed program was:" >&5
67936 sed 's/^/| /' conftest.$ac_ext >&5
67938 glibcxx_cv_func_modfl_use=no
67940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67941 ac_ext=c
67942 ac_cpp='$CPP $CPPFLAGS'
67943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67952 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67954 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67956 for ac_func in modfl
67958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67959 echo "$as_me:$LINENO: checking for $ac_func" >&5
67960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67961 if eval "test \"\${$as_ac_var+set}\" = set"; then
67962 echo $ECHO_N "(cached) $ECHO_C" >&6
67963 else
67964 if test x$gcc_no_link = xyes; then
67965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67967 { (exit 1); exit 1; }; }
67969 cat >conftest.$ac_ext <<_ACEOF
67970 /* confdefs.h. */
67971 _ACEOF
67972 cat confdefs.h >>conftest.$ac_ext
67973 cat >>conftest.$ac_ext <<_ACEOF
67974 /* end confdefs.h. */
67975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67977 #define $ac_func innocuous_$ac_func
67979 /* System header to define __stub macros and hopefully few prototypes,
67980 which can conflict with char $ac_func (); below.
67981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67982 <limits.h> exists even on freestanding compilers. */
67984 #ifdef __STDC__
67985 # include <limits.h>
67986 #else
67987 # include <assert.h>
67988 #endif
67990 #undef $ac_func
67992 /* Override any gcc2 internal prototype to avoid an error. */
67993 #ifdef __cplusplus
67994 extern "C"
67996 #endif
67997 /* We use char because int might match the return type of a gcc2
67998 builtin and then its argument prototype would still apply. */
67999 char $ac_func ();
68000 /* The GNU C library defines this for functions which it implements
68001 to always fail with ENOSYS. Some functions are actually named
68002 something starting with __ and the normal name is an alias. */
68003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68004 choke me
68005 #else
68006 char (*f) () = $ac_func;
68007 #endif
68008 #ifdef __cplusplus
68010 #endif
68013 main ()
68015 return f != $ac_func;
68017 return 0;
68019 _ACEOF
68020 rm -f conftest.$ac_objext conftest$ac_exeext
68021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68022 (eval $ac_link) 2>conftest.er1
68023 ac_status=$?
68024 grep -v '^ *+' conftest.er1 >conftest.err
68025 rm -f conftest.er1
68026 cat conftest.err >&5
68027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68028 (exit $ac_status); } &&
68029 { ac_try='test -z "$ac_c_werror_flag"
68030 || test ! -s conftest.err'
68031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68032 (eval $ac_try) 2>&5
68033 ac_status=$?
68034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68035 (exit $ac_status); }; } &&
68036 { ac_try='test -s conftest$ac_exeext'
68037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68038 (eval $ac_try) 2>&5
68039 ac_status=$?
68040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68041 (exit $ac_status); }; }; then
68042 eval "$as_ac_var=yes"
68043 else
68044 echo "$as_me: failed program was:" >&5
68045 sed 's/^/| /' conftest.$ac_ext >&5
68047 eval "$as_ac_var=no"
68049 rm -f conftest.err conftest.$ac_objext \
68050 conftest$ac_exeext conftest.$ac_ext
68052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68054 if test `eval echo '${'$as_ac_var'}'` = yes; then
68055 cat >>confdefs.h <<_ACEOF
68056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68057 _ACEOF
68060 done
68062 else
68064 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68065 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68066 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68067 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68068 echo $ECHO_N "(cached) $ECHO_C" >&6
68069 else
68073 ac_ext=cc
68074 ac_cpp='$CXXCPP $CPPFLAGS'
68075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68079 cat >conftest.$ac_ext <<_ACEOF
68080 /* confdefs.h. */
68081 _ACEOF
68082 cat confdefs.h >>conftest.$ac_ext
68083 cat >>conftest.$ac_ext <<_ACEOF
68084 /* end confdefs.h. */
68085 #include <math.h>
68087 main ()
68089 _modfl(0, 0);
68091 return 0;
68093 _ACEOF
68094 rm -f conftest.$ac_objext
68095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68096 (eval $ac_compile) 2>conftest.er1
68097 ac_status=$?
68098 grep -v '^ *+' conftest.er1 >conftest.err
68099 rm -f conftest.er1
68100 cat conftest.err >&5
68101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68102 (exit $ac_status); } &&
68103 { ac_try='test -z "$ac_cxx_werror_flag"
68104 || test ! -s conftest.err'
68105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68106 (eval $ac_try) 2>&5
68107 ac_status=$?
68108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68109 (exit $ac_status); }; } &&
68110 { ac_try='test -s conftest.$ac_objext'
68111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68112 (eval $ac_try) 2>&5
68113 ac_status=$?
68114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68115 (exit $ac_status); }; }; then
68116 glibcxx_cv_func__modfl_use=yes
68117 else
68118 echo "$as_me: failed program was:" >&5
68119 sed 's/^/| /' conftest.$ac_ext >&5
68121 glibcxx_cv_func__modfl_use=no
68123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68124 ac_ext=c
68125 ac_cpp='$CPP $CPPFLAGS'
68126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68135 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68137 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68139 for ac_func in _modfl
68141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68142 echo "$as_me:$LINENO: checking for $ac_func" >&5
68143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68144 if eval "test \"\${$as_ac_var+set}\" = set"; then
68145 echo $ECHO_N "(cached) $ECHO_C" >&6
68146 else
68147 if test x$gcc_no_link = xyes; then
68148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68150 { (exit 1); exit 1; }; }
68152 cat >conftest.$ac_ext <<_ACEOF
68153 /* confdefs.h. */
68154 _ACEOF
68155 cat confdefs.h >>conftest.$ac_ext
68156 cat >>conftest.$ac_ext <<_ACEOF
68157 /* end confdefs.h. */
68158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68160 #define $ac_func innocuous_$ac_func
68162 /* System header to define __stub macros and hopefully few prototypes,
68163 which can conflict with char $ac_func (); below.
68164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68165 <limits.h> exists even on freestanding compilers. */
68167 #ifdef __STDC__
68168 # include <limits.h>
68169 #else
68170 # include <assert.h>
68171 #endif
68173 #undef $ac_func
68175 /* Override any gcc2 internal prototype to avoid an error. */
68176 #ifdef __cplusplus
68177 extern "C"
68179 #endif
68180 /* We use char because int might match the return type of a gcc2
68181 builtin and then its argument prototype would still apply. */
68182 char $ac_func ();
68183 /* The GNU C library defines this for functions which it implements
68184 to always fail with ENOSYS. Some functions are actually named
68185 something starting with __ and the normal name is an alias. */
68186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68187 choke me
68188 #else
68189 char (*f) () = $ac_func;
68190 #endif
68191 #ifdef __cplusplus
68193 #endif
68196 main ()
68198 return f != $ac_func;
68200 return 0;
68202 _ACEOF
68203 rm -f conftest.$ac_objext conftest$ac_exeext
68204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68205 (eval $ac_link) 2>conftest.er1
68206 ac_status=$?
68207 grep -v '^ *+' conftest.er1 >conftest.err
68208 rm -f conftest.er1
68209 cat conftest.err >&5
68210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211 (exit $ac_status); } &&
68212 { ac_try='test -z "$ac_c_werror_flag"
68213 || test ! -s conftest.err'
68214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68215 (eval $ac_try) 2>&5
68216 ac_status=$?
68217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68218 (exit $ac_status); }; } &&
68219 { ac_try='test -s conftest$ac_exeext'
68220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68221 (eval $ac_try) 2>&5
68222 ac_status=$?
68223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68224 (exit $ac_status); }; }; then
68225 eval "$as_ac_var=yes"
68226 else
68227 echo "$as_me: failed program was:" >&5
68228 sed 's/^/| /' conftest.$ac_ext >&5
68230 eval "$as_ac_var=no"
68232 rm -f conftest.err conftest.$ac_objext \
68233 conftest$ac_exeext conftest.$ac_ext
68235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68237 if test `eval echo '${'$as_ac_var'}'` = yes; then
68238 cat >>confdefs.h <<_ACEOF
68239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68240 _ACEOF
68243 done
68250 echo "$as_me:$LINENO: checking for powl declaration" >&5
68251 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68252 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68253 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68254 echo $ECHO_N "(cached) $ECHO_C" >&6
68255 else
68259 ac_ext=cc
68260 ac_cpp='$CXXCPP $CPPFLAGS'
68261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68265 cat >conftest.$ac_ext <<_ACEOF
68266 /* confdefs.h. */
68267 _ACEOF
68268 cat confdefs.h >>conftest.$ac_ext
68269 cat >>conftest.$ac_ext <<_ACEOF
68270 /* end confdefs.h. */
68271 #include <math.h>
68273 main ()
68275 powl(0, 0);
68277 return 0;
68279 _ACEOF
68280 rm -f conftest.$ac_objext
68281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68282 (eval $ac_compile) 2>conftest.er1
68283 ac_status=$?
68284 grep -v '^ *+' conftest.er1 >conftest.err
68285 rm -f conftest.er1
68286 cat conftest.err >&5
68287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68288 (exit $ac_status); } &&
68289 { ac_try='test -z "$ac_cxx_werror_flag"
68290 || test ! -s conftest.err'
68291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68292 (eval $ac_try) 2>&5
68293 ac_status=$?
68294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68295 (exit $ac_status); }; } &&
68296 { ac_try='test -s conftest.$ac_objext'
68297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68298 (eval $ac_try) 2>&5
68299 ac_status=$?
68300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68301 (exit $ac_status); }; }; then
68302 glibcxx_cv_func_powl_use=yes
68303 else
68304 echo "$as_me: failed program was:" >&5
68305 sed 's/^/| /' conftest.$ac_ext >&5
68307 glibcxx_cv_func_powl_use=no
68309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68310 ac_ext=c
68311 ac_cpp='$CPP $CPPFLAGS'
68312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68321 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68323 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68325 for ac_func in powl
68327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68328 echo "$as_me:$LINENO: checking for $ac_func" >&5
68329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68330 if eval "test \"\${$as_ac_var+set}\" = set"; then
68331 echo $ECHO_N "(cached) $ECHO_C" >&6
68332 else
68333 if test x$gcc_no_link = xyes; then
68334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68336 { (exit 1); exit 1; }; }
68338 cat >conftest.$ac_ext <<_ACEOF
68339 /* confdefs.h. */
68340 _ACEOF
68341 cat confdefs.h >>conftest.$ac_ext
68342 cat >>conftest.$ac_ext <<_ACEOF
68343 /* end confdefs.h. */
68344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68346 #define $ac_func innocuous_$ac_func
68348 /* System header to define __stub macros and hopefully few prototypes,
68349 which can conflict with char $ac_func (); below.
68350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68351 <limits.h> exists even on freestanding compilers. */
68353 #ifdef __STDC__
68354 # include <limits.h>
68355 #else
68356 # include <assert.h>
68357 #endif
68359 #undef $ac_func
68361 /* Override any gcc2 internal prototype to avoid an error. */
68362 #ifdef __cplusplus
68363 extern "C"
68365 #endif
68366 /* We use char because int might match the return type of a gcc2
68367 builtin and then its argument prototype would still apply. */
68368 char $ac_func ();
68369 /* The GNU C library defines this for functions which it implements
68370 to always fail with ENOSYS. Some functions are actually named
68371 something starting with __ and the normal name is an alias. */
68372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68373 choke me
68374 #else
68375 char (*f) () = $ac_func;
68376 #endif
68377 #ifdef __cplusplus
68379 #endif
68382 main ()
68384 return f != $ac_func;
68386 return 0;
68388 _ACEOF
68389 rm -f conftest.$ac_objext conftest$ac_exeext
68390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68391 (eval $ac_link) 2>conftest.er1
68392 ac_status=$?
68393 grep -v '^ *+' conftest.er1 >conftest.err
68394 rm -f conftest.er1
68395 cat conftest.err >&5
68396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68397 (exit $ac_status); } &&
68398 { ac_try='test -z "$ac_c_werror_flag"
68399 || test ! -s conftest.err'
68400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68401 (eval $ac_try) 2>&5
68402 ac_status=$?
68403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68404 (exit $ac_status); }; } &&
68405 { ac_try='test -s conftest$ac_exeext'
68406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68407 (eval $ac_try) 2>&5
68408 ac_status=$?
68409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68410 (exit $ac_status); }; }; then
68411 eval "$as_ac_var=yes"
68412 else
68413 echo "$as_me: failed program was:" >&5
68414 sed 's/^/| /' conftest.$ac_ext >&5
68416 eval "$as_ac_var=no"
68418 rm -f conftest.err conftest.$ac_objext \
68419 conftest$ac_exeext conftest.$ac_ext
68421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68423 if test `eval echo '${'$as_ac_var'}'` = yes; then
68424 cat >>confdefs.h <<_ACEOF
68425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68426 _ACEOF
68429 done
68431 else
68433 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68434 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68435 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68436 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68437 echo $ECHO_N "(cached) $ECHO_C" >&6
68438 else
68442 ac_ext=cc
68443 ac_cpp='$CXXCPP $CPPFLAGS'
68444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68448 cat >conftest.$ac_ext <<_ACEOF
68449 /* confdefs.h. */
68450 _ACEOF
68451 cat confdefs.h >>conftest.$ac_ext
68452 cat >>conftest.$ac_ext <<_ACEOF
68453 /* end confdefs.h. */
68454 #include <math.h>
68456 main ()
68458 _powl(0, 0);
68460 return 0;
68462 _ACEOF
68463 rm -f conftest.$ac_objext
68464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68465 (eval $ac_compile) 2>conftest.er1
68466 ac_status=$?
68467 grep -v '^ *+' conftest.er1 >conftest.err
68468 rm -f conftest.er1
68469 cat conftest.err >&5
68470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68471 (exit $ac_status); } &&
68472 { ac_try='test -z "$ac_cxx_werror_flag"
68473 || test ! -s conftest.err'
68474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68475 (eval $ac_try) 2>&5
68476 ac_status=$?
68477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68478 (exit $ac_status); }; } &&
68479 { ac_try='test -s conftest.$ac_objext'
68480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68481 (eval $ac_try) 2>&5
68482 ac_status=$?
68483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68484 (exit $ac_status); }; }; then
68485 glibcxx_cv_func__powl_use=yes
68486 else
68487 echo "$as_me: failed program was:" >&5
68488 sed 's/^/| /' conftest.$ac_ext >&5
68490 glibcxx_cv_func__powl_use=no
68492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68493 ac_ext=c
68494 ac_cpp='$CPP $CPPFLAGS'
68495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68503 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68504 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68506 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68508 for ac_func in _powl
68510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68511 echo "$as_me:$LINENO: checking for $ac_func" >&5
68512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68513 if eval "test \"\${$as_ac_var+set}\" = set"; then
68514 echo $ECHO_N "(cached) $ECHO_C" >&6
68515 else
68516 if test x$gcc_no_link = xyes; then
68517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68519 { (exit 1); exit 1; }; }
68521 cat >conftest.$ac_ext <<_ACEOF
68522 /* confdefs.h. */
68523 _ACEOF
68524 cat confdefs.h >>conftest.$ac_ext
68525 cat >>conftest.$ac_ext <<_ACEOF
68526 /* end confdefs.h. */
68527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68529 #define $ac_func innocuous_$ac_func
68531 /* System header to define __stub macros and hopefully few prototypes,
68532 which can conflict with char $ac_func (); below.
68533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68534 <limits.h> exists even on freestanding compilers. */
68536 #ifdef __STDC__
68537 # include <limits.h>
68538 #else
68539 # include <assert.h>
68540 #endif
68542 #undef $ac_func
68544 /* Override any gcc2 internal prototype to avoid an error. */
68545 #ifdef __cplusplus
68546 extern "C"
68548 #endif
68549 /* We use char because int might match the return type of a gcc2
68550 builtin and then its argument prototype would still apply. */
68551 char $ac_func ();
68552 /* The GNU C library defines this for functions which it implements
68553 to always fail with ENOSYS. Some functions are actually named
68554 something starting with __ and the normal name is an alias. */
68555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68556 choke me
68557 #else
68558 char (*f) () = $ac_func;
68559 #endif
68560 #ifdef __cplusplus
68562 #endif
68565 main ()
68567 return f != $ac_func;
68569 return 0;
68571 _ACEOF
68572 rm -f conftest.$ac_objext conftest$ac_exeext
68573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68574 (eval $ac_link) 2>conftest.er1
68575 ac_status=$?
68576 grep -v '^ *+' conftest.er1 >conftest.err
68577 rm -f conftest.er1
68578 cat conftest.err >&5
68579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68580 (exit $ac_status); } &&
68581 { ac_try='test -z "$ac_c_werror_flag"
68582 || test ! -s conftest.err'
68583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68584 (eval $ac_try) 2>&5
68585 ac_status=$?
68586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68587 (exit $ac_status); }; } &&
68588 { ac_try='test -s conftest$ac_exeext'
68589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68590 (eval $ac_try) 2>&5
68591 ac_status=$?
68592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68593 (exit $ac_status); }; }; then
68594 eval "$as_ac_var=yes"
68595 else
68596 echo "$as_me: failed program was:" >&5
68597 sed 's/^/| /' conftest.$ac_ext >&5
68599 eval "$as_ac_var=no"
68601 rm -f conftest.err conftest.$ac_objext \
68602 conftest$ac_exeext conftest.$ac_ext
68604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68606 if test `eval echo '${'$as_ac_var'}'` = yes; then
68607 cat >>confdefs.h <<_ACEOF
68608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68609 _ACEOF
68612 done
68619 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68620 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68621 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68622 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68623 echo $ECHO_N "(cached) $ECHO_C" >&6
68624 else
68628 ac_ext=cc
68629 ac_cpp='$CXXCPP $CPPFLAGS'
68630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68634 cat >conftest.$ac_ext <<_ACEOF
68635 /* confdefs.h. */
68636 _ACEOF
68637 cat confdefs.h >>conftest.$ac_ext
68638 cat >>conftest.$ac_ext <<_ACEOF
68639 /* end confdefs.h. */
68640 #include <math.h>
68641 #ifdef HAVE_IEEEFP_H
68642 #include <ieeefp.h>
68643 #endif
68646 main ()
68648 sqrtl(0);
68650 return 0;
68652 _ACEOF
68653 rm -f conftest.$ac_objext
68654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68655 (eval $ac_compile) 2>conftest.er1
68656 ac_status=$?
68657 grep -v '^ *+' conftest.er1 >conftest.err
68658 rm -f conftest.er1
68659 cat conftest.err >&5
68660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68661 (exit $ac_status); } &&
68662 { ac_try='test -z "$ac_cxx_werror_flag"
68663 || test ! -s conftest.err'
68664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68665 (eval $ac_try) 2>&5
68666 ac_status=$?
68667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68668 (exit $ac_status); }; } &&
68669 { ac_try='test -s conftest.$ac_objext'
68670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68671 (eval $ac_try) 2>&5
68672 ac_status=$?
68673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68674 (exit $ac_status); }; }; then
68675 glibcxx_cv_func_sqrtl_use=yes
68676 else
68677 echo "$as_me: failed program was:" >&5
68678 sed 's/^/| /' conftest.$ac_ext >&5
68680 glibcxx_cv_func_sqrtl_use=no
68682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68683 ac_ext=c
68684 ac_cpp='$CPP $CPPFLAGS'
68685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68694 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68696 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68698 for ac_func in sqrtl
68700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68701 echo "$as_me:$LINENO: checking for $ac_func" >&5
68702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68703 if eval "test \"\${$as_ac_var+set}\" = set"; then
68704 echo $ECHO_N "(cached) $ECHO_C" >&6
68705 else
68706 if test x$gcc_no_link = xyes; then
68707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68709 { (exit 1); exit 1; }; }
68711 cat >conftest.$ac_ext <<_ACEOF
68712 /* confdefs.h. */
68713 _ACEOF
68714 cat confdefs.h >>conftest.$ac_ext
68715 cat >>conftest.$ac_ext <<_ACEOF
68716 /* end confdefs.h. */
68717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68719 #define $ac_func innocuous_$ac_func
68721 /* System header to define __stub macros and hopefully few prototypes,
68722 which can conflict with char $ac_func (); below.
68723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68724 <limits.h> exists even on freestanding compilers. */
68726 #ifdef __STDC__
68727 # include <limits.h>
68728 #else
68729 # include <assert.h>
68730 #endif
68732 #undef $ac_func
68734 /* Override any gcc2 internal prototype to avoid an error. */
68735 #ifdef __cplusplus
68736 extern "C"
68738 #endif
68739 /* We use char because int might match the return type of a gcc2
68740 builtin and then its argument prototype would still apply. */
68741 char $ac_func ();
68742 /* The GNU C library defines this for functions which it implements
68743 to always fail with ENOSYS. Some functions are actually named
68744 something starting with __ and the normal name is an alias. */
68745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68746 choke me
68747 #else
68748 char (*f) () = $ac_func;
68749 #endif
68750 #ifdef __cplusplus
68752 #endif
68755 main ()
68757 return f != $ac_func;
68759 return 0;
68761 _ACEOF
68762 rm -f conftest.$ac_objext conftest$ac_exeext
68763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68764 (eval $ac_link) 2>conftest.er1
68765 ac_status=$?
68766 grep -v '^ *+' conftest.er1 >conftest.err
68767 rm -f conftest.er1
68768 cat conftest.err >&5
68769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68770 (exit $ac_status); } &&
68771 { ac_try='test -z "$ac_c_werror_flag"
68772 || test ! -s conftest.err'
68773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68774 (eval $ac_try) 2>&5
68775 ac_status=$?
68776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68777 (exit $ac_status); }; } &&
68778 { ac_try='test -s conftest$ac_exeext'
68779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68780 (eval $ac_try) 2>&5
68781 ac_status=$?
68782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68783 (exit $ac_status); }; }; then
68784 eval "$as_ac_var=yes"
68785 else
68786 echo "$as_me: failed program was:" >&5
68787 sed 's/^/| /' conftest.$ac_ext >&5
68789 eval "$as_ac_var=no"
68791 rm -f conftest.err conftest.$ac_objext \
68792 conftest$ac_exeext conftest.$ac_ext
68794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68796 if test `eval echo '${'$as_ac_var'}'` = yes; then
68797 cat >>confdefs.h <<_ACEOF
68798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68799 _ACEOF
68802 done
68804 else
68806 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68807 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68808 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68809 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68810 echo $ECHO_N "(cached) $ECHO_C" >&6
68811 else
68815 ac_ext=cc
68816 ac_cpp='$CXXCPP $CPPFLAGS'
68817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68821 cat >conftest.$ac_ext <<_ACEOF
68822 /* confdefs.h. */
68823 _ACEOF
68824 cat confdefs.h >>conftest.$ac_ext
68825 cat >>conftest.$ac_ext <<_ACEOF
68826 /* end confdefs.h. */
68827 #include <math.h>
68828 #ifdef HAVE_IEEEFP_H
68829 #include <ieeefp.h>
68830 #endif
68833 main ()
68835 _sqrtl(0);
68837 return 0;
68839 _ACEOF
68840 rm -f conftest.$ac_objext
68841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68842 (eval $ac_compile) 2>conftest.er1
68843 ac_status=$?
68844 grep -v '^ *+' conftest.er1 >conftest.err
68845 rm -f conftest.er1
68846 cat conftest.err >&5
68847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68848 (exit $ac_status); } &&
68849 { ac_try='test -z "$ac_cxx_werror_flag"
68850 || test ! -s conftest.err'
68851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68852 (eval $ac_try) 2>&5
68853 ac_status=$?
68854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68855 (exit $ac_status); }; } &&
68856 { ac_try='test -s conftest.$ac_objext'
68857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68858 (eval $ac_try) 2>&5
68859 ac_status=$?
68860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68861 (exit $ac_status); }; }; then
68862 glibcxx_cv_func__sqrtl_use=yes
68863 else
68864 echo "$as_me: failed program was:" >&5
68865 sed 's/^/| /' conftest.$ac_ext >&5
68867 glibcxx_cv_func__sqrtl_use=no
68869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68870 ac_ext=c
68871 ac_cpp='$CPP $CPPFLAGS'
68872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68881 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68883 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68885 for ac_func in _sqrtl
68887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68888 echo "$as_me:$LINENO: checking for $ac_func" >&5
68889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68890 if eval "test \"\${$as_ac_var+set}\" = set"; then
68891 echo $ECHO_N "(cached) $ECHO_C" >&6
68892 else
68893 if test x$gcc_no_link = xyes; then
68894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68896 { (exit 1); exit 1; }; }
68898 cat >conftest.$ac_ext <<_ACEOF
68899 /* confdefs.h. */
68900 _ACEOF
68901 cat confdefs.h >>conftest.$ac_ext
68902 cat >>conftest.$ac_ext <<_ACEOF
68903 /* end confdefs.h. */
68904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68906 #define $ac_func innocuous_$ac_func
68908 /* System header to define __stub macros and hopefully few prototypes,
68909 which can conflict with char $ac_func (); below.
68910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68911 <limits.h> exists even on freestanding compilers. */
68913 #ifdef __STDC__
68914 # include <limits.h>
68915 #else
68916 # include <assert.h>
68917 #endif
68919 #undef $ac_func
68921 /* Override any gcc2 internal prototype to avoid an error. */
68922 #ifdef __cplusplus
68923 extern "C"
68925 #endif
68926 /* We use char because int might match the return type of a gcc2
68927 builtin and then its argument prototype would still apply. */
68928 char $ac_func ();
68929 /* The GNU C library defines this for functions which it implements
68930 to always fail with ENOSYS. Some functions are actually named
68931 something starting with __ and the normal name is an alias. */
68932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68933 choke me
68934 #else
68935 char (*f) () = $ac_func;
68936 #endif
68937 #ifdef __cplusplus
68939 #endif
68942 main ()
68944 return f != $ac_func;
68946 return 0;
68948 _ACEOF
68949 rm -f conftest.$ac_objext conftest$ac_exeext
68950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68951 (eval $ac_link) 2>conftest.er1
68952 ac_status=$?
68953 grep -v '^ *+' conftest.er1 >conftest.err
68954 rm -f conftest.er1
68955 cat conftest.err >&5
68956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68957 (exit $ac_status); } &&
68958 { ac_try='test -z "$ac_c_werror_flag"
68959 || test ! -s conftest.err'
68960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68961 (eval $ac_try) 2>&5
68962 ac_status=$?
68963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68964 (exit $ac_status); }; } &&
68965 { ac_try='test -s conftest$ac_exeext'
68966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68967 (eval $ac_try) 2>&5
68968 ac_status=$?
68969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68970 (exit $ac_status); }; }; then
68971 eval "$as_ac_var=yes"
68972 else
68973 echo "$as_me: failed program was:" >&5
68974 sed 's/^/| /' conftest.$ac_ext >&5
68976 eval "$as_ac_var=no"
68978 rm -f conftest.err conftest.$ac_objext \
68979 conftest$ac_exeext conftest.$ac_ext
68981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68983 if test `eval echo '${'$as_ac_var'}'` = yes; then
68984 cat >>confdefs.h <<_ACEOF
68985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68986 _ACEOF
68989 done
68996 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
68997 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
68998 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68999 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69000 echo $ECHO_N "(cached) $ECHO_C" >&6
69001 else
69005 ac_ext=cc
69006 ac_cpp='$CXXCPP $CPPFLAGS'
69007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69011 cat >conftest.$ac_ext <<_ACEOF
69012 /* confdefs.h. */
69013 _ACEOF
69014 cat confdefs.h >>conftest.$ac_ext
69015 cat >>conftest.$ac_ext <<_ACEOF
69016 /* end confdefs.h. */
69017 #include <math.h>
69019 main ()
69021 sincosl(0, 0, 0);
69023 return 0;
69025 _ACEOF
69026 rm -f conftest.$ac_objext
69027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69028 (eval $ac_compile) 2>conftest.er1
69029 ac_status=$?
69030 grep -v '^ *+' conftest.er1 >conftest.err
69031 rm -f conftest.er1
69032 cat conftest.err >&5
69033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69034 (exit $ac_status); } &&
69035 { ac_try='test -z "$ac_cxx_werror_flag"
69036 || test ! -s conftest.err'
69037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69038 (eval $ac_try) 2>&5
69039 ac_status=$?
69040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69041 (exit $ac_status); }; } &&
69042 { ac_try='test -s conftest.$ac_objext'
69043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69044 (eval $ac_try) 2>&5
69045 ac_status=$?
69046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69047 (exit $ac_status); }; }; then
69048 glibcxx_cv_func_sincosl_use=yes
69049 else
69050 echo "$as_me: failed program was:" >&5
69051 sed 's/^/| /' conftest.$ac_ext >&5
69053 glibcxx_cv_func_sincosl_use=no
69055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69056 ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69067 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69069 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69071 for ac_func in sincosl
69073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69074 echo "$as_me:$LINENO: checking for $ac_func" >&5
69075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69076 if eval "test \"\${$as_ac_var+set}\" = set"; then
69077 echo $ECHO_N "(cached) $ECHO_C" >&6
69078 else
69079 if test x$gcc_no_link = xyes; then
69080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69082 { (exit 1); exit 1; }; }
69084 cat >conftest.$ac_ext <<_ACEOF
69085 /* confdefs.h. */
69086 _ACEOF
69087 cat confdefs.h >>conftest.$ac_ext
69088 cat >>conftest.$ac_ext <<_ACEOF
69089 /* end confdefs.h. */
69090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69092 #define $ac_func innocuous_$ac_func
69094 /* System header to define __stub macros and hopefully few prototypes,
69095 which can conflict with char $ac_func (); below.
69096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69097 <limits.h> exists even on freestanding compilers. */
69099 #ifdef __STDC__
69100 # include <limits.h>
69101 #else
69102 # include <assert.h>
69103 #endif
69105 #undef $ac_func
69107 /* Override any gcc2 internal prototype to avoid an error. */
69108 #ifdef __cplusplus
69109 extern "C"
69111 #endif
69112 /* We use char because int might match the return type of a gcc2
69113 builtin and then its argument prototype would still apply. */
69114 char $ac_func ();
69115 /* The GNU C library defines this for functions which it implements
69116 to always fail with ENOSYS. Some functions are actually named
69117 something starting with __ and the normal name is an alias. */
69118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69119 choke me
69120 #else
69121 char (*f) () = $ac_func;
69122 #endif
69123 #ifdef __cplusplus
69125 #endif
69128 main ()
69130 return f != $ac_func;
69132 return 0;
69134 _ACEOF
69135 rm -f conftest.$ac_objext conftest$ac_exeext
69136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69137 (eval $ac_link) 2>conftest.er1
69138 ac_status=$?
69139 grep -v '^ *+' conftest.er1 >conftest.err
69140 rm -f conftest.er1
69141 cat conftest.err >&5
69142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69143 (exit $ac_status); } &&
69144 { ac_try='test -z "$ac_c_werror_flag"
69145 || test ! -s conftest.err'
69146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69147 (eval $ac_try) 2>&5
69148 ac_status=$?
69149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69150 (exit $ac_status); }; } &&
69151 { ac_try='test -s conftest$ac_exeext'
69152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69153 (eval $ac_try) 2>&5
69154 ac_status=$?
69155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69156 (exit $ac_status); }; }; then
69157 eval "$as_ac_var=yes"
69158 else
69159 echo "$as_me: failed program was:" >&5
69160 sed 's/^/| /' conftest.$ac_ext >&5
69162 eval "$as_ac_var=no"
69164 rm -f conftest.err conftest.$ac_objext \
69165 conftest$ac_exeext conftest.$ac_ext
69167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69169 if test `eval echo '${'$as_ac_var'}'` = yes; then
69170 cat >>confdefs.h <<_ACEOF
69171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69172 _ACEOF
69175 done
69177 else
69179 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69180 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69181 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69182 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69183 echo $ECHO_N "(cached) $ECHO_C" >&6
69184 else
69188 ac_ext=cc
69189 ac_cpp='$CXXCPP $CPPFLAGS'
69190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69194 cat >conftest.$ac_ext <<_ACEOF
69195 /* confdefs.h. */
69196 _ACEOF
69197 cat confdefs.h >>conftest.$ac_ext
69198 cat >>conftest.$ac_ext <<_ACEOF
69199 /* end confdefs.h. */
69200 #include <math.h>
69202 main ()
69204 _sincosl(0, 0, 0);
69206 return 0;
69208 _ACEOF
69209 rm -f conftest.$ac_objext
69210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69211 (eval $ac_compile) 2>conftest.er1
69212 ac_status=$?
69213 grep -v '^ *+' conftest.er1 >conftest.err
69214 rm -f conftest.er1
69215 cat conftest.err >&5
69216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69217 (exit $ac_status); } &&
69218 { ac_try='test -z "$ac_cxx_werror_flag"
69219 || test ! -s conftest.err'
69220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69221 (eval $ac_try) 2>&5
69222 ac_status=$?
69223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69224 (exit $ac_status); }; } &&
69225 { ac_try='test -s conftest.$ac_objext'
69226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69227 (eval $ac_try) 2>&5
69228 ac_status=$?
69229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69230 (exit $ac_status); }; }; then
69231 glibcxx_cv_func__sincosl_use=yes
69232 else
69233 echo "$as_me: failed program was:" >&5
69234 sed 's/^/| /' conftest.$ac_ext >&5
69236 glibcxx_cv_func__sincosl_use=no
69238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69239 ac_ext=c
69240 ac_cpp='$CPP $CPPFLAGS'
69241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69250 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69252 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69254 for ac_func in _sincosl
69256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69257 echo "$as_me:$LINENO: checking for $ac_func" >&5
69258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69259 if eval "test \"\${$as_ac_var+set}\" = set"; then
69260 echo $ECHO_N "(cached) $ECHO_C" >&6
69261 else
69262 if test x$gcc_no_link = xyes; then
69263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69265 { (exit 1); exit 1; }; }
69267 cat >conftest.$ac_ext <<_ACEOF
69268 /* confdefs.h. */
69269 _ACEOF
69270 cat confdefs.h >>conftest.$ac_ext
69271 cat >>conftest.$ac_ext <<_ACEOF
69272 /* end confdefs.h. */
69273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69275 #define $ac_func innocuous_$ac_func
69277 /* System header to define __stub macros and hopefully few prototypes,
69278 which can conflict with char $ac_func (); below.
69279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69280 <limits.h> exists even on freestanding compilers. */
69282 #ifdef __STDC__
69283 # include <limits.h>
69284 #else
69285 # include <assert.h>
69286 #endif
69288 #undef $ac_func
69290 /* Override any gcc2 internal prototype to avoid an error. */
69291 #ifdef __cplusplus
69292 extern "C"
69294 #endif
69295 /* We use char because int might match the return type of a gcc2
69296 builtin and then its argument prototype would still apply. */
69297 char $ac_func ();
69298 /* The GNU C library defines this for functions which it implements
69299 to always fail with ENOSYS. Some functions are actually named
69300 something starting with __ and the normal name is an alias. */
69301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69302 choke me
69303 #else
69304 char (*f) () = $ac_func;
69305 #endif
69306 #ifdef __cplusplus
69308 #endif
69311 main ()
69313 return f != $ac_func;
69315 return 0;
69317 _ACEOF
69318 rm -f conftest.$ac_objext conftest$ac_exeext
69319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69320 (eval $ac_link) 2>conftest.er1
69321 ac_status=$?
69322 grep -v '^ *+' conftest.er1 >conftest.err
69323 rm -f conftest.er1
69324 cat conftest.err >&5
69325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69326 (exit $ac_status); } &&
69327 { ac_try='test -z "$ac_c_werror_flag"
69328 || test ! -s conftest.err'
69329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69330 (eval $ac_try) 2>&5
69331 ac_status=$?
69332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69333 (exit $ac_status); }; } &&
69334 { ac_try='test -s conftest$ac_exeext'
69335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69336 (eval $ac_try) 2>&5
69337 ac_status=$?
69338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69339 (exit $ac_status); }; }; then
69340 eval "$as_ac_var=yes"
69341 else
69342 echo "$as_me: failed program was:" >&5
69343 sed 's/^/| /' conftest.$ac_ext >&5
69345 eval "$as_ac_var=no"
69347 rm -f conftest.err conftest.$ac_objext \
69348 conftest$ac_exeext conftest.$ac_ext
69350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69352 if test `eval echo '${'$as_ac_var'}'` = yes; then
69353 cat >>confdefs.h <<_ACEOF
69354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69355 _ACEOF
69358 done
69365 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69366 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69367 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69368 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69369 echo $ECHO_N "(cached) $ECHO_C" >&6
69370 else
69374 ac_ext=cc
69375 ac_cpp='$CXXCPP $CPPFLAGS'
69376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69380 cat >conftest.$ac_ext <<_ACEOF
69381 /* confdefs.h. */
69382 _ACEOF
69383 cat confdefs.h >>conftest.$ac_ext
69384 cat >>conftest.$ac_ext <<_ACEOF
69385 /* end confdefs.h. */
69386 #include <math.h>
69387 #ifdef HAVE_IEEEFP_H
69388 #include <ieeefp.h>
69389 #endif
69392 main ()
69394 finitel(0);
69396 return 0;
69398 _ACEOF
69399 rm -f conftest.$ac_objext
69400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69401 (eval $ac_compile) 2>conftest.er1
69402 ac_status=$?
69403 grep -v '^ *+' conftest.er1 >conftest.err
69404 rm -f conftest.er1
69405 cat conftest.err >&5
69406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69407 (exit $ac_status); } &&
69408 { ac_try='test -z "$ac_cxx_werror_flag"
69409 || test ! -s conftest.err'
69410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69411 (eval $ac_try) 2>&5
69412 ac_status=$?
69413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69414 (exit $ac_status); }; } &&
69415 { ac_try='test -s conftest.$ac_objext'
69416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69417 (eval $ac_try) 2>&5
69418 ac_status=$?
69419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69420 (exit $ac_status); }; }; then
69421 glibcxx_cv_func_finitel_use=yes
69422 else
69423 echo "$as_me: failed program was:" >&5
69424 sed 's/^/| /' conftest.$ac_ext >&5
69426 glibcxx_cv_func_finitel_use=no
69428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69429 ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69440 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69442 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69444 for ac_func in finitel
69446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69447 echo "$as_me:$LINENO: checking for $ac_func" >&5
69448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69449 if eval "test \"\${$as_ac_var+set}\" = set"; then
69450 echo $ECHO_N "(cached) $ECHO_C" >&6
69451 else
69452 if test x$gcc_no_link = xyes; then
69453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69455 { (exit 1); exit 1; }; }
69457 cat >conftest.$ac_ext <<_ACEOF
69458 /* confdefs.h. */
69459 _ACEOF
69460 cat confdefs.h >>conftest.$ac_ext
69461 cat >>conftest.$ac_ext <<_ACEOF
69462 /* end confdefs.h. */
69463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69465 #define $ac_func innocuous_$ac_func
69467 /* System header to define __stub macros and hopefully few prototypes,
69468 which can conflict with char $ac_func (); below.
69469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69470 <limits.h> exists even on freestanding compilers. */
69472 #ifdef __STDC__
69473 # include <limits.h>
69474 #else
69475 # include <assert.h>
69476 #endif
69478 #undef $ac_func
69480 /* Override any gcc2 internal prototype to avoid an error. */
69481 #ifdef __cplusplus
69482 extern "C"
69484 #endif
69485 /* We use char because int might match the return type of a gcc2
69486 builtin and then its argument prototype would still apply. */
69487 char $ac_func ();
69488 /* The GNU C library defines this for functions which it implements
69489 to always fail with ENOSYS. Some functions are actually named
69490 something starting with __ and the normal name is an alias. */
69491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69492 choke me
69493 #else
69494 char (*f) () = $ac_func;
69495 #endif
69496 #ifdef __cplusplus
69498 #endif
69501 main ()
69503 return f != $ac_func;
69505 return 0;
69507 _ACEOF
69508 rm -f conftest.$ac_objext conftest$ac_exeext
69509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69510 (eval $ac_link) 2>conftest.er1
69511 ac_status=$?
69512 grep -v '^ *+' conftest.er1 >conftest.err
69513 rm -f conftest.er1
69514 cat conftest.err >&5
69515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69516 (exit $ac_status); } &&
69517 { ac_try='test -z "$ac_c_werror_flag"
69518 || test ! -s conftest.err'
69519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69520 (eval $ac_try) 2>&5
69521 ac_status=$?
69522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523 (exit $ac_status); }; } &&
69524 { ac_try='test -s conftest$ac_exeext'
69525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69526 (eval $ac_try) 2>&5
69527 ac_status=$?
69528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69529 (exit $ac_status); }; }; then
69530 eval "$as_ac_var=yes"
69531 else
69532 echo "$as_me: failed program was:" >&5
69533 sed 's/^/| /' conftest.$ac_ext >&5
69535 eval "$as_ac_var=no"
69537 rm -f conftest.err conftest.$ac_objext \
69538 conftest$ac_exeext conftest.$ac_ext
69540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69542 if test `eval echo '${'$as_ac_var'}'` = yes; then
69543 cat >>confdefs.h <<_ACEOF
69544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69545 _ACEOF
69548 done
69550 else
69552 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69553 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69554 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69555 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69556 echo $ECHO_N "(cached) $ECHO_C" >&6
69557 else
69561 ac_ext=cc
69562 ac_cpp='$CXXCPP $CPPFLAGS'
69563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69567 cat >conftest.$ac_ext <<_ACEOF
69568 /* confdefs.h. */
69569 _ACEOF
69570 cat confdefs.h >>conftest.$ac_ext
69571 cat >>conftest.$ac_ext <<_ACEOF
69572 /* end confdefs.h. */
69573 #include <math.h>
69574 #ifdef HAVE_IEEEFP_H
69575 #include <ieeefp.h>
69576 #endif
69579 main ()
69581 _finitel(0);
69583 return 0;
69585 _ACEOF
69586 rm -f conftest.$ac_objext
69587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69588 (eval $ac_compile) 2>conftest.er1
69589 ac_status=$?
69590 grep -v '^ *+' conftest.er1 >conftest.err
69591 rm -f conftest.er1
69592 cat conftest.err >&5
69593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69594 (exit $ac_status); } &&
69595 { ac_try='test -z "$ac_cxx_werror_flag"
69596 || test ! -s conftest.err'
69597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69598 (eval $ac_try) 2>&5
69599 ac_status=$?
69600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69601 (exit $ac_status); }; } &&
69602 { ac_try='test -s conftest.$ac_objext'
69603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69604 (eval $ac_try) 2>&5
69605 ac_status=$?
69606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69607 (exit $ac_status); }; }; then
69608 glibcxx_cv_func__finitel_use=yes
69609 else
69610 echo "$as_me: failed program was:" >&5
69611 sed 's/^/| /' conftest.$ac_ext >&5
69613 glibcxx_cv_func__finitel_use=no
69615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69616 ac_ext=c
69617 ac_cpp='$CPP $CPPFLAGS'
69618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69627 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69629 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69631 for ac_func in _finitel
69633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69634 echo "$as_me:$LINENO: checking for $ac_func" >&5
69635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69636 if eval "test \"\${$as_ac_var+set}\" = set"; then
69637 echo $ECHO_N "(cached) $ECHO_C" >&6
69638 else
69639 if test x$gcc_no_link = xyes; then
69640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69642 { (exit 1); exit 1; }; }
69644 cat >conftest.$ac_ext <<_ACEOF
69645 /* confdefs.h. */
69646 _ACEOF
69647 cat confdefs.h >>conftest.$ac_ext
69648 cat >>conftest.$ac_ext <<_ACEOF
69649 /* end confdefs.h. */
69650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69652 #define $ac_func innocuous_$ac_func
69654 /* System header to define __stub macros and hopefully few prototypes,
69655 which can conflict with char $ac_func (); below.
69656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69657 <limits.h> exists even on freestanding compilers. */
69659 #ifdef __STDC__
69660 # include <limits.h>
69661 #else
69662 # include <assert.h>
69663 #endif
69665 #undef $ac_func
69667 /* Override any gcc2 internal prototype to avoid an error. */
69668 #ifdef __cplusplus
69669 extern "C"
69671 #endif
69672 /* We use char because int might match the return type of a gcc2
69673 builtin and then its argument prototype would still apply. */
69674 char $ac_func ();
69675 /* The GNU C library defines this for functions which it implements
69676 to always fail with ENOSYS. Some functions are actually named
69677 something starting with __ and the normal name is an alias. */
69678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69679 choke me
69680 #else
69681 char (*f) () = $ac_func;
69682 #endif
69683 #ifdef __cplusplus
69685 #endif
69688 main ()
69690 return f != $ac_func;
69692 return 0;
69694 _ACEOF
69695 rm -f conftest.$ac_objext conftest$ac_exeext
69696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69697 (eval $ac_link) 2>conftest.er1
69698 ac_status=$?
69699 grep -v '^ *+' conftest.er1 >conftest.err
69700 rm -f conftest.er1
69701 cat conftest.err >&5
69702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69703 (exit $ac_status); } &&
69704 { ac_try='test -z "$ac_c_werror_flag"
69705 || test ! -s conftest.err'
69706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69707 (eval $ac_try) 2>&5
69708 ac_status=$?
69709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69710 (exit $ac_status); }; } &&
69711 { ac_try='test -s conftest$ac_exeext'
69712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69713 (eval $ac_try) 2>&5
69714 ac_status=$?
69715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69716 (exit $ac_status); }; }; then
69717 eval "$as_ac_var=yes"
69718 else
69719 echo "$as_me: failed program was:" >&5
69720 sed 's/^/| /' conftest.$ac_ext >&5
69722 eval "$as_ac_var=no"
69724 rm -f conftest.err conftest.$ac_objext \
69725 conftest$ac_exeext conftest.$ac_ext
69727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69729 if test `eval echo '${'$as_ac_var'}'` = yes; then
69730 cat >>confdefs.h <<_ACEOF
69731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69732 _ACEOF
69735 done
69743 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69744 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69745 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69746 echo $ECHO_N "(cached) $ECHO_C" >&6
69747 else
69751 ac_ext=cc
69752 ac_cpp='$CXXCPP $CPPFLAGS'
69753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69757 cat >conftest.$ac_ext <<_ACEOF
69758 /* confdefs.h. */
69759 _ACEOF
69760 cat confdefs.h >>conftest.$ac_ext
69761 cat >>conftest.$ac_ext <<_ACEOF
69762 /* end confdefs.h. */
69763 #include <math.h>
69765 main ()
69767 `for x in _acosf _asinf _atanf \
69768 _cosf _sinf _tanf \
69769 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69771 return 0;
69773 _ACEOF
69774 rm -f conftest.$ac_objext
69775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69776 (eval $ac_compile) 2>conftest.er1
69777 ac_status=$?
69778 grep -v '^ *+' conftest.er1 >conftest.err
69779 rm -f conftest.er1
69780 cat conftest.err >&5
69781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69782 (exit $ac_status); } &&
69783 { ac_try='test -z "$ac_cxx_werror_flag"
69784 || test ! -s conftest.err'
69785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69786 (eval $ac_try) 2>&5
69787 ac_status=$?
69788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69789 (exit $ac_status); }; } &&
69790 { ac_try='test -s conftest.$ac_objext'
69791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69792 (eval $ac_try) 2>&5
69793 ac_status=$?
69794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69795 (exit $ac_status); }; }; then
69796 glibcxx_cv_func__float_trig_use=yes
69797 else
69798 echo "$as_me: failed program was:" >&5
69799 sed 's/^/| /' conftest.$ac_ext >&5
69801 glibcxx_cv_func__float_trig_use=no
69803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69804 ac_ext=c
69805 ac_cpp='$CPP $CPPFLAGS'
69806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69813 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69814 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69824 for ac_func in _acosf _asinf _atanf \
69825 _cosf _sinf _tanf \
69826 _coshf _sinhf _tanhf
69828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69829 echo "$as_me:$LINENO: checking for $ac_func" >&5
69830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69831 if eval "test \"\${$as_ac_var+set}\" = set"; then
69832 echo $ECHO_N "(cached) $ECHO_C" >&6
69833 else
69834 if test x$gcc_no_link = xyes; then
69835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69837 { (exit 1); exit 1; }; }
69839 cat >conftest.$ac_ext <<_ACEOF
69840 /* confdefs.h. */
69841 _ACEOF
69842 cat confdefs.h >>conftest.$ac_ext
69843 cat >>conftest.$ac_ext <<_ACEOF
69844 /* end confdefs.h. */
69845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69847 #define $ac_func innocuous_$ac_func
69849 /* System header to define __stub macros and hopefully few prototypes,
69850 which can conflict with char $ac_func (); below.
69851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69852 <limits.h> exists even on freestanding compilers. */
69854 #ifdef __STDC__
69855 # include <limits.h>
69856 #else
69857 # include <assert.h>
69858 #endif
69860 #undef $ac_func
69862 /* Override any gcc2 internal prototype to avoid an error. */
69863 #ifdef __cplusplus
69864 extern "C"
69866 #endif
69867 /* We use char because int might match the return type of a gcc2
69868 builtin and then its argument prototype would still apply. */
69869 char $ac_func ();
69870 /* The GNU C library defines this for functions which it implements
69871 to always fail with ENOSYS. Some functions are actually named
69872 something starting with __ and the normal name is an alias. */
69873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69874 choke me
69875 #else
69876 char (*f) () = $ac_func;
69877 #endif
69878 #ifdef __cplusplus
69880 #endif
69883 main ()
69885 return f != $ac_func;
69887 return 0;
69889 _ACEOF
69890 rm -f conftest.$ac_objext conftest$ac_exeext
69891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69892 (eval $ac_link) 2>conftest.er1
69893 ac_status=$?
69894 grep -v '^ *+' conftest.er1 >conftest.err
69895 rm -f conftest.er1
69896 cat conftest.err >&5
69897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69898 (exit $ac_status); } &&
69899 { ac_try='test -z "$ac_c_werror_flag"
69900 || test ! -s conftest.err'
69901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69902 (eval $ac_try) 2>&5
69903 ac_status=$?
69904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69905 (exit $ac_status); }; } &&
69906 { ac_try='test -s conftest$ac_exeext'
69907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69908 (eval $ac_try) 2>&5
69909 ac_status=$?
69910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69911 (exit $ac_status); }; }; then
69912 eval "$as_ac_var=yes"
69913 else
69914 echo "$as_me: failed program was:" >&5
69915 sed 's/^/| /' conftest.$ac_ext >&5
69917 eval "$as_ac_var=no"
69919 rm -f conftest.err conftest.$ac_objext \
69920 conftest$ac_exeext conftest.$ac_ext
69922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69924 if test `eval echo '${'$as_ac_var'}'` = yes; then
69925 cat >>confdefs.h <<_ACEOF
69926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69927 _ACEOF
69930 done
69935 echo "$as_me:$LINENO: checking for _float round functions" >&5
69936 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69937 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69938 echo $ECHO_N "(cached) $ECHO_C" >&6
69939 else
69943 ac_ext=cc
69944 ac_cpp='$CXXCPP $CPPFLAGS'
69945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69949 cat >conftest.$ac_ext <<_ACEOF
69950 /* confdefs.h. */
69951 _ACEOF
69952 cat confdefs.h >>conftest.$ac_ext
69953 cat >>conftest.$ac_ext <<_ACEOF
69954 /* end confdefs.h. */
69955 #include <math.h>
69957 main ()
69959 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69961 return 0;
69963 _ACEOF
69964 rm -f conftest.$ac_objext
69965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69966 (eval $ac_compile) 2>conftest.er1
69967 ac_status=$?
69968 grep -v '^ *+' conftest.er1 >conftest.err
69969 rm -f conftest.er1
69970 cat conftest.err >&5
69971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69972 (exit $ac_status); } &&
69973 { ac_try='test -z "$ac_cxx_werror_flag"
69974 || test ! -s conftest.err'
69975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69976 (eval $ac_try) 2>&5
69977 ac_status=$?
69978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69979 (exit $ac_status); }; } &&
69980 { ac_try='test -s conftest.$ac_objext'
69981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69982 (eval $ac_try) 2>&5
69983 ac_status=$?
69984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69985 (exit $ac_status); }; }; then
69986 glibcxx_cv_func__float_round_use=yes
69987 else
69988 echo "$as_me: failed program was:" >&5
69989 sed 's/^/| /' conftest.$ac_ext >&5
69991 glibcxx_cv_func__float_round_use=no
69993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69994 ac_ext=c
69995 ac_cpp='$CPP $CPPFLAGS'
69996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70003 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70004 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70007 for ac_func in _ceilf _floorf
70009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70010 echo "$as_me:$LINENO: checking for $ac_func" >&5
70011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70012 if eval "test \"\${$as_ac_var+set}\" = set"; then
70013 echo $ECHO_N "(cached) $ECHO_C" >&6
70014 else
70015 if test x$gcc_no_link = xyes; then
70016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70018 { (exit 1); exit 1; }; }
70020 cat >conftest.$ac_ext <<_ACEOF
70021 /* confdefs.h. */
70022 _ACEOF
70023 cat confdefs.h >>conftest.$ac_ext
70024 cat >>conftest.$ac_ext <<_ACEOF
70025 /* end confdefs.h. */
70026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70028 #define $ac_func innocuous_$ac_func
70030 /* System header to define __stub macros and hopefully few prototypes,
70031 which can conflict with char $ac_func (); below.
70032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70033 <limits.h> exists even on freestanding compilers. */
70035 #ifdef __STDC__
70036 # include <limits.h>
70037 #else
70038 # include <assert.h>
70039 #endif
70041 #undef $ac_func
70043 /* Override any gcc2 internal prototype to avoid an error. */
70044 #ifdef __cplusplus
70045 extern "C"
70047 #endif
70048 /* We use char because int might match the return type of a gcc2
70049 builtin and then its argument prototype would still apply. */
70050 char $ac_func ();
70051 /* The GNU C library defines this for functions which it implements
70052 to always fail with ENOSYS. Some functions are actually named
70053 something starting with __ and the normal name is an alias. */
70054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70055 choke me
70056 #else
70057 char (*f) () = $ac_func;
70058 #endif
70059 #ifdef __cplusplus
70061 #endif
70064 main ()
70066 return f != $ac_func;
70068 return 0;
70070 _ACEOF
70071 rm -f conftest.$ac_objext conftest$ac_exeext
70072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70073 (eval $ac_link) 2>conftest.er1
70074 ac_status=$?
70075 grep -v '^ *+' conftest.er1 >conftest.err
70076 rm -f conftest.er1
70077 cat conftest.err >&5
70078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70079 (exit $ac_status); } &&
70080 { ac_try='test -z "$ac_c_werror_flag"
70081 || test ! -s conftest.err'
70082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70083 (eval $ac_try) 2>&5
70084 ac_status=$?
70085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70086 (exit $ac_status); }; } &&
70087 { ac_try='test -s conftest$ac_exeext'
70088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70089 (eval $ac_try) 2>&5
70090 ac_status=$?
70091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70092 (exit $ac_status); }; }; then
70093 eval "$as_ac_var=yes"
70094 else
70095 echo "$as_me: failed program was:" >&5
70096 sed 's/^/| /' conftest.$ac_ext >&5
70098 eval "$as_ac_var=no"
70100 rm -f conftest.err conftest.$ac_objext \
70101 conftest$ac_exeext conftest.$ac_ext
70103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70105 if test `eval echo '${'$as_ac_var'}'` = yes; then
70106 cat >>confdefs.h <<_ACEOF
70107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70108 _ACEOF
70111 done
70117 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70118 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70119 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70120 echo $ECHO_N "(cached) $ECHO_C" >&6
70121 else
70125 ac_ext=cc
70126 ac_cpp='$CXXCPP $CPPFLAGS'
70127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70131 cat >conftest.$ac_ext <<_ACEOF
70132 /* confdefs.h. */
70133 _ACEOF
70134 cat confdefs.h >>conftest.$ac_ext
70135 cat >>conftest.$ac_ext <<_ACEOF
70136 /* end confdefs.h. */
70137 #include <math.h>
70139 main ()
70141 `for x in _acosl _asinl _atanl \
70142 _cosl _sinl _tanl \
70143 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70145 return 0;
70147 _ACEOF
70148 rm -f conftest.$ac_objext
70149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70150 (eval $ac_compile) 2>conftest.er1
70151 ac_status=$?
70152 grep -v '^ *+' conftest.er1 >conftest.err
70153 rm -f conftest.er1
70154 cat conftest.err >&5
70155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70156 (exit $ac_status); } &&
70157 { ac_try='test -z "$ac_cxx_werror_flag"
70158 || test ! -s conftest.err'
70159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70160 (eval $ac_try) 2>&5
70161 ac_status=$?
70162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70163 (exit $ac_status); }; } &&
70164 { ac_try='test -s conftest.$ac_objext'
70165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70166 (eval $ac_try) 2>&5
70167 ac_status=$?
70168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70169 (exit $ac_status); }; }; then
70170 glibcxx_cv_func__long_double_trig_use=yes
70171 else
70172 echo "$as_me: failed program was:" >&5
70173 sed 's/^/| /' conftest.$ac_ext >&5
70175 glibcxx_cv_func__long_double_trig_use=no
70177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70178 ac_ext=c
70179 ac_cpp='$CPP $CPPFLAGS'
70180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70187 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70188 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70198 for ac_func in _acosl _asinl _atanl \
70199 _cosl _sinl _tanl \
70200 _coshl _sinhl _tanhl
70202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70203 echo "$as_me:$LINENO: checking for $ac_func" >&5
70204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70205 if eval "test \"\${$as_ac_var+set}\" = set"; then
70206 echo $ECHO_N "(cached) $ECHO_C" >&6
70207 else
70208 if test x$gcc_no_link = xyes; then
70209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70211 { (exit 1); exit 1; }; }
70213 cat >conftest.$ac_ext <<_ACEOF
70214 /* confdefs.h. */
70215 _ACEOF
70216 cat confdefs.h >>conftest.$ac_ext
70217 cat >>conftest.$ac_ext <<_ACEOF
70218 /* end confdefs.h. */
70219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70221 #define $ac_func innocuous_$ac_func
70223 /* System header to define __stub macros and hopefully few prototypes,
70224 which can conflict with char $ac_func (); below.
70225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70226 <limits.h> exists even on freestanding compilers. */
70228 #ifdef __STDC__
70229 # include <limits.h>
70230 #else
70231 # include <assert.h>
70232 #endif
70234 #undef $ac_func
70236 /* Override any gcc2 internal prototype to avoid an error. */
70237 #ifdef __cplusplus
70238 extern "C"
70240 #endif
70241 /* We use char because int might match the return type of a gcc2
70242 builtin and then its argument prototype would still apply. */
70243 char $ac_func ();
70244 /* The GNU C library defines this for functions which it implements
70245 to always fail with ENOSYS. Some functions are actually named
70246 something starting with __ and the normal name is an alias. */
70247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70248 choke me
70249 #else
70250 char (*f) () = $ac_func;
70251 #endif
70252 #ifdef __cplusplus
70254 #endif
70257 main ()
70259 return f != $ac_func;
70261 return 0;
70263 _ACEOF
70264 rm -f conftest.$ac_objext conftest$ac_exeext
70265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70266 (eval $ac_link) 2>conftest.er1
70267 ac_status=$?
70268 grep -v '^ *+' conftest.er1 >conftest.err
70269 rm -f conftest.er1
70270 cat conftest.err >&5
70271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70272 (exit $ac_status); } &&
70273 { ac_try='test -z "$ac_c_werror_flag"
70274 || test ! -s conftest.err'
70275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70276 (eval $ac_try) 2>&5
70277 ac_status=$?
70278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70279 (exit $ac_status); }; } &&
70280 { ac_try='test -s conftest$ac_exeext'
70281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70282 (eval $ac_try) 2>&5
70283 ac_status=$?
70284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70285 (exit $ac_status); }; }; then
70286 eval "$as_ac_var=yes"
70287 else
70288 echo "$as_me: failed program was:" >&5
70289 sed 's/^/| /' conftest.$ac_ext >&5
70291 eval "$as_ac_var=no"
70293 rm -f conftest.err conftest.$ac_objext \
70294 conftest$ac_exeext conftest.$ac_ext
70296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70298 if test `eval echo '${'$as_ac_var'}'` = yes; then
70299 cat >>confdefs.h <<_ACEOF
70300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70301 _ACEOF
70304 done
70309 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70310 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70311 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70312 echo $ECHO_N "(cached) $ECHO_C" >&6
70313 else
70317 ac_ext=cc
70318 ac_cpp='$CXXCPP $CPPFLAGS'
70319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70323 cat >conftest.$ac_ext <<_ACEOF
70324 /* confdefs.h. */
70325 _ACEOF
70326 cat confdefs.h >>conftest.$ac_ext
70327 cat >>conftest.$ac_ext <<_ACEOF
70328 /* end confdefs.h. */
70329 #include <math.h>
70331 main ()
70333 `for x in _ceill _floorl; do echo "$x (0);"; done`
70335 return 0;
70337 _ACEOF
70338 rm -f conftest.$ac_objext
70339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70340 (eval $ac_compile) 2>conftest.er1
70341 ac_status=$?
70342 grep -v '^ *+' conftest.er1 >conftest.err
70343 rm -f conftest.er1
70344 cat conftest.err >&5
70345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70346 (exit $ac_status); } &&
70347 { ac_try='test -z "$ac_cxx_werror_flag"
70348 || test ! -s conftest.err'
70349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70350 (eval $ac_try) 2>&5
70351 ac_status=$?
70352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70353 (exit $ac_status); }; } &&
70354 { ac_try='test -s conftest.$ac_objext'
70355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70356 (eval $ac_try) 2>&5
70357 ac_status=$?
70358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70359 (exit $ac_status); }; }; then
70360 glibcxx_cv_func__long_double_round_use=yes
70361 else
70362 echo "$as_me: failed program was:" >&5
70363 sed 's/^/| /' conftest.$ac_ext >&5
70365 glibcxx_cv_func__long_double_round_use=no
70367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70368 ac_ext=c
70369 ac_cpp='$CPP $CPPFLAGS'
70370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70377 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70378 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70381 for ac_func in _ceill _floorl
70383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70384 echo "$as_me:$LINENO: checking for $ac_func" >&5
70385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70386 if eval "test \"\${$as_ac_var+set}\" = set"; then
70387 echo $ECHO_N "(cached) $ECHO_C" >&6
70388 else
70389 if test x$gcc_no_link = xyes; then
70390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70392 { (exit 1); exit 1; }; }
70394 cat >conftest.$ac_ext <<_ACEOF
70395 /* confdefs.h. */
70396 _ACEOF
70397 cat confdefs.h >>conftest.$ac_ext
70398 cat >>conftest.$ac_ext <<_ACEOF
70399 /* end confdefs.h. */
70400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70402 #define $ac_func innocuous_$ac_func
70404 /* System header to define __stub macros and hopefully few prototypes,
70405 which can conflict with char $ac_func (); below.
70406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70407 <limits.h> exists even on freestanding compilers. */
70409 #ifdef __STDC__
70410 # include <limits.h>
70411 #else
70412 # include <assert.h>
70413 #endif
70415 #undef $ac_func
70417 /* Override any gcc2 internal prototype to avoid an error. */
70418 #ifdef __cplusplus
70419 extern "C"
70421 #endif
70422 /* We use char because int might match the return type of a gcc2
70423 builtin and then its argument prototype would still apply. */
70424 char $ac_func ();
70425 /* The GNU C library defines this for functions which it implements
70426 to always fail with ENOSYS. Some functions are actually named
70427 something starting with __ and the normal name is an alias. */
70428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70429 choke me
70430 #else
70431 char (*f) () = $ac_func;
70432 #endif
70433 #ifdef __cplusplus
70435 #endif
70438 main ()
70440 return f != $ac_func;
70442 return 0;
70444 _ACEOF
70445 rm -f conftest.$ac_objext conftest$ac_exeext
70446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70447 (eval $ac_link) 2>conftest.er1
70448 ac_status=$?
70449 grep -v '^ *+' conftest.er1 >conftest.err
70450 rm -f conftest.er1
70451 cat conftest.err >&5
70452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70453 (exit $ac_status); } &&
70454 { ac_try='test -z "$ac_c_werror_flag"
70455 || test ! -s conftest.err'
70456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70457 (eval $ac_try) 2>&5
70458 ac_status=$?
70459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70460 (exit $ac_status); }; } &&
70461 { ac_try='test -s conftest$ac_exeext'
70462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70463 (eval $ac_try) 2>&5
70464 ac_status=$?
70465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70466 (exit $ac_status); }; }; then
70467 eval "$as_ac_var=yes"
70468 else
70469 echo "$as_me: failed program was:" >&5
70470 sed 's/^/| /' conftest.$ac_ext >&5
70472 eval "$as_ac_var=no"
70474 rm -f conftest.err conftest.$ac_objext \
70475 conftest$ac_exeext conftest.$ac_ext
70477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70479 if test `eval echo '${'$as_ac_var'}'` = yes; then
70480 cat >>confdefs.h <<_ACEOF
70481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70482 _ACEOF
70485 done
70490 LIBS="$ac_save_LIBS"
70491 CXXFLAGS="$ac_save_CXXFLAGS"
70495 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70496 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70497 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70498 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70499 echo $ECHO_N "(cached) $ECHO_C" >&6
70500 else
70504 ac_ext=cc
70505 ac_cpp='$CXXCPP $CPPFLAGS'
70506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70510 cat >conftest.$ac_ext <<_ACEOF
70511 /* confdefs.h. */
70512 _ACEOF
70513 cat confdefs.h >>conftest.$ac_ext
70514 cat >>conftest.$ac_ext <<_ACEOF
70515 /* end confdefs.h. */
70516 #include <math.h>
70518 main ()
70520 __builtin_abs(0);
70522 return 0;
70524 _ACEOF
70525 rm -f conftest.$ac_objext
70526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70527 (eval $ac_compile) 2>conftest.er1
70528 ac_status=$?
70529 grep -v '^ *+' conftest.er1 >conftest.err
70530 rm -f conftest.er1
70531 cat conftest.err >&5
70532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70533 (exit $ac_status); } &&
70534 { ac_try='test -z "$ac_cxx_werror_flag"
70535 || test ! -s conftest.err'
70536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70537 (eval $ac_try) 2>&5
70538 ac_status=$?
70539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70540 (exit $ac_status); }; } &&
70541 { ac_try='test -s conftest.$ac_objext'
70542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70543 (eval $ac_try) 2>&5
70544 ac_status=$?
70545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70546 (exit $ac_status); }; }; then
70547 glibcxx_cv_func___builtin_abs_use=yes
70548 else
70549 echo "$as_me: failed program was:" >&5
70550 sed 's/^/| /' conftest.$ac_ext >&5
70552 glibcxx_cv_func___builtin_abs_use=no
70554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70555 ac_ext=c
70556 ac_cpp='$CPP $CPPFLAGS'
70557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70565 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70566 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70567 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70568 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70569 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70570 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70571 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70572 echo $ECHO_N "(cached) $ECHO_C" >&6
70573 else
70575 if test x$gcc_no_link = xyes; then
70576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70578 { (exit 1); exit 1; }; }
70580 cat >conftest.$ac_ext <<_ACEOF
70581 /* confdefs.h. */
70582 _ACEOF
70583 cat confdefs.h >>conftest.$ac_ext
70584 cat >>conftest.$ac_ext <<_ACEOF
70585 /* end confdefs.h. */
70586 #include <math.h>
70588 main ()
70590 __builtin_abs(0);
70592 return 0;
70594 _ACEOF
70595 rm -f conftest.$ac_objext conftest$ac_exeext
70596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70597 (eval $ac_link) 2>conftest.er1
70598 ac_status=$?
70599 grep -v '^ *+' conftest.er1 >conftest.err
70600 rm -f conftest.er1
70601 cat conftest.err >&5
70602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70603 (exit $ac_status); } &&
70604 { ac_try='test -z "$ac_c_werror_flag"
70605 || test ! -s conftest.err'
70606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70607 (eval $ac_try) 2>&5
70608 ac_status=$?
70609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70610 (exit $ac_status); }; } &&
70611 { ac_try='test -s conftest$ac_exeext'
70612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70613 (eval $ac_try) 2>&5
70614 ac_status=$?
70615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70616 (exit $ac_status); }; }; then
70617 glibcxx_cv_func___builtin_abs_link=yes
70618 else
70619 echo "$as_me: failed program was:" >&5
70620 sed 's/^/| /' conftest.$ac_ext >&5
70622 glibcxx_cv_func___builtin_abs_link=no
70624 rm -f conftest.err conftest.$ac_objext \
70625 conftest$ac_exeext conftest.$ac_ext
70630 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70631 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70632 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70633 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70635 cat >>confdefs.h <<_ACEOF
70636 #define ${ac_tr_func} 1
70637 _ACEOF
70643 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70644 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70645 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70646 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70647 echo $ECHO_N "(cached) $ECHO_C" >&6
70648 else
70652 ac_ext=cc
70653 ac_cpp='$CXXCPP $CPPFLAGS'
70654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70658 cat >conftest.$ac_ext <<_ACEOF
70659 /* confdefs.h. */
70660 _ACEOF
70661 cat confdefs.h >>conftest.$ac_ext
70662 cat >>conftest.$ac_ext <<_ACEOF
70663 /* end confdefs.h. */
70664 #include <math.h>
70666 main ()
70668 __builtin_fabsf(0);
70670 return 0;
70672 _ACEOF
70673 rm -f conftest.$ac_objext
70674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70675 (eval $ac_compile) 2>conftest.er1
70676 ac_status=$?
70677 grep -v '^ *+' conftest.er1 >conftest.err
70678 rm -f conftest.er1
70679 cat conftest.err >&5
70680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70681 (exit $ac_status); } &&
70682 { ac_try='test -z "$ac_cxx_werror_flag"
70683 || test ! -s conftest.err'
70684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70685 (eval $ac_try) 2>&5
70686 ac_status=$?
70687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688 (exit $ac_status); }; } &&
70689 { ac_try='test -s conftest.$ac_objext'
70690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70691 (eval $ac_try) 2>&5
70692 ac_status=$?
70693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70694 (exit $ac_status); }; }; then
70695 glibcxx_cv_func___builtin_fabsf_use=yes
70696 else
70697 echo "$as_me: failed program was:" >&5
70698 sed 's/^/| /' conftest.$ac_ext >&5
70700 glibcxx_cv_func___builtin_fabsf_use=no
70702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70703 ac_ext=c
70704 ac_cpp='$CPP $CPPFLAGS'
70705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70713 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70714 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70715 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70716 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70717 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70718 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70719 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70720 echo $ECHO_N "(cached) $ECHO_C" >&6
70721 else
70723 if test x$gcc_no_link = xyes; then
70724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70726 { (exit 1); exit 1; }; }
70728 cat >conftest.$ac_ext <<_ACEOF
70729 /* confdefs.h. */
70730 _ACEOF
70731 cat confdefs.h >>conftest.$ac_ext
70732 cat >>conftest.$ac_ext <<_ACEOF
70733 /* end confdefs.h. */
70734 #include <math.h>
70736 main ()
70738 __builtin_fabsf(0);
70740 return 0;
70742 _ACEOF
70743 rm -f conftest.$ac_objext conftest$ac_exeext
70744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70745 (eval $ac_link) 2>conftest.er1
70746 ac_status=$?
70747 grep -v '^ *+' conftest.er1 >conftest.err
70748 rm -f conftest.er1
70749 cat conftest.err >&5
70750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70751 (exit $ac_status); } &&
70752 { ac_try='test -z "$ac_c_werror_flag"
70753 || test ! -s conftest.err'
70754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70755 (eval $ac_try) 2>&5
70756 ac_status=$?
70757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70758 (exit $ac_status); }; } &&
70759 { ac_try='test -s conftest$ac_exeext'
70760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70761 (eval $ac_try) 2>&5
70762 ac_status=$?
70763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70764 (exit $ac_status); }; }; then
70765 glibcxx_cv_func___builtin_fabsf_link=yes
70766 else
70767 echo "$as_me: failed program was:" >&5
70768 sed 's/^/| /' conftest.$ac_ext >&5
70770 glibcxx_cv_func___builtin_fabsf_link=no
70772 rm -f conftest.err conftest.$ac_objext \
70773 conftest$ac_exeext conftest.$ac_ext
70778 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70779 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70780 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70781 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70783 cat >>confdefs.h <<_ACEOF
70784 #define ${ac_tr_func} 1
70785 _ACEOF
70791 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70792 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70793 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70794 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70795 echo $ECHO_N "(cached) $ECHO_C" >&6
70796 else
70800 ac_ext=cc
70801 ac_cpp='$CXXCPP $CPPFLAGS'
70802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70806 cat >conftest.$ac_ext <<_ACEOF
70807 /* confdefs.h. */
70808 _ACEOF
70809 cat confdefs.h >>conftest.$ac_ext
70810 cat >>conftest.$ac_ext <<_ACEOF
70811 /* end confdefs.h. */
70812 #include <math.h>
70814 main ()
70816 __builtin_fabs(0);
70818 return 0;
70820 _ACEOF
70821 rm -f conftest.$ac_objext
70822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70823 (eval $ac_compile) 2>conftest.er1
70824 ac_status=$?
70825 grep -v '^ *+' conftest.er1 >conftest.err
70826 rm -f conftest.er1
70827 cat conftest.err >&5
70828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70829 (exit $ac_status); } &&
70830 { ac_try='test -z "$ac_cxx_werror_flag"
70831 || test ! -s conftest.err'
70832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70833 (eval $ac_try) 2>&5
70834 ac_status=$?
70835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70836 (exit $ac_status); }; } &&
70837 { ac_try='test -s conftest.$ac_objext'
70838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70839 (eval $ac_try) 2>&5
70840 ac_status=$?
70841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70842 (exit $ac_status); }; }; then
70843 glibcxx_cv_func___builtin_fabs_use=yes
70844 else
70845 echo "$as_me: failed program was:" >&5
70846 sed 's/^/| /' conftest.$ac_ext >&5
70848 glibcxx_cv_func___builtin_fabs_use=no
70850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70851 ac_ext=c
70852 ac_cpp='$CPP $CPPFLAGS'
70853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70861 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70862 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70863 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70864 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70865 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70866 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70867 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70868 echo $ECHO_N "(cached) $ECHO_C" >&6
70869 else
70871 if test x$gcc_no_link = xyes; then
70872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70874 { (exit 1); exit 1; }; }
70876 cat >conftest.$ac_ext <<_ACEOF
70877 /* confdefs.h. */
70878 _ACEOF
70879 cat confdefs.h >>conftest.$ac_ext
70880 cat >>conftest.$ac_ext <<_ACEOF
70881 /* end confdefs.h. */
70882 #include <math.h>
70884 main ()
70886 __builtin_fabs(0);
70888 return 0;
70890 _ACEOF
70891 rm -f conftest.$ac_objext conftest$ac_exeext
70892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70893 (eval $ac_link) 2>conftest.er1
70894 ac_status=$?
70895 grep -v '^ *+' conftest.er1 >conftest.err
70896 rm -f conftest.er1
70897 cat conftest.err >&5
70898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70899 (exit $ac_status); } &&
70900 { ac_try='test -z "$ac_c_werror_flag"
70901 || test ! -s conftest.err'
70902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70903 (eval $ac_try) 2>&5
70904 ac_status=$?
70905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70906 (exit $ac_status); }; } &&
70907 { ac_try='test -s conftest$ac_exeext'
70908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70909 (eval $ac_try) 2>&5
70910 ac_status=$?
70911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70912 (exit $ac_status); }; }; then
70913 glibcxx_cv_func___builtin_fabs_link=yes
70914 else
70915 echo "$as_me: failed program was:" >&5
70916 sed 's/^/| /' conftest.$ac_ext >&5
70918 glibcxx_cv_func___builtin_fabs_link=no
70920 rm -f conftest.err conftest.$ac_objext \
70921 conftest$ac_exeext conftest.$ac_ext
70926 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70927 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70928 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70929 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70931 cat >>confdefs.h <<_ACEOF
70932 #define ${ac_tr_func} 1
70933 _ACEOF
70939 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70940 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70941 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70942 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70943 echo $ECHO_N "(cached) $ECHO_C" >&6
70944 else
70948 ac_ext=cc
70949 ac_cpp='$CXXCPP $CPPFLAGS'
70950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70954 cat >conftest.$ac_ext <<_ACEOF
70955 /* confdefs.h. */
70956 _ACEOF
70957 cat confdefs.h >>conftest.$ac_ext
70958 cat >>conftest.$ac_ext <<_ACEOF
70959 /* end confdefs.h. */
70960 #include <math.h>
70962 main ()
70964 __builtin_fabsl(0);
70966 return 0;
70968 _ACEOF
70969 rm -f conftest.$ac_objext
70970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70971 (eval $ac_compile) 2>conftest.er1
70972 ac_status=$?
70973 grep -v '^ *+' conftest.er1 >conftest.err
70974 rm -f conftest.er1
70975 cat conftest.err >&5
70976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70977 (exit $ac_status); } &&
70978 { ac_try='test -z "$ac_cxx_werror_flag"
70979 || test ! -s conftest.err'
70980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70981 (eval $ac_try) 2>&5
70982 ac_status=$?
70983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70984 (exit $ac_status); }; } &&
70985 { ac_try='test -s conftest.$ac_objext'
70986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70987 (eval $ac_try) 2>&5
70988 ac_status=$?
70989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70990 (exit $ac_status); }; }; then
70991 glibcxx_cv_func___builtin_fabsl_use=yes
70992 else
70993 echo "$as_me: failed program was:" >&5
70994 sed 's/^/| /' conftest.$ac_ext >&5
70996 glibcxx_cv_func___builtin_fabsl_use=no
70998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70999 ac_ext=c
71000 ac_cpp='$CPP $CPPFLAGS'
71001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71009 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71010 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71011 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71012 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71013 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71014 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71015 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71016 echo $ECHO_N "(cached) $ECHO_C" >&6
71017 else
71019 if test x$gcc_no_link = xyes; then
71020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71022 { (exit 1); exit 1; }; }
71024 cat >conftest.$ac_ext <<_ACEOF
71025 /* confdefs.h. */
71026 _ACEOF
71027 cat confdefs.h >>conftest.$ac_ext
71028 cat >>conftest.$ac_ext <<_ACEOF
71029 /* end confdefs.h. */
71030 #include <math.h>
71032 main ()
71034 __builtin_fabsl(0);
71036 return 0;
71038 _ACEOF
71039 rm -f conftest.$ac_objext conftest$ac_exeext
71040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71041 (eval $ac_link) 2>conftest.er1
71042 ac_status=$?
71043 grep -v '^ *+' conftest.er1 >conftest.err
71044 rm -f conftest.er1
71045 cat conftest.err >&5
71046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71047 (exit $ac_status); } &&
71048 { ac_try='test -z "$ac_c_werror_flag"
71049 || test ! -s conftest.err'
71050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71051 (eval $ac_try) 2>&5
71052 ac_status=$?
71053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71054 (exit $ac_status); }; } &&
71055 { ac_try='test -s conftest$ac_exeext'
71056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71057 (eval $ac_try) 2>&5
71058 ac_status=$?
71059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71060 (exit $ac_status); }; }; then
71061 glibcxx_cv_func___builtin_fabsl_link=yes
71062 else
71063 echo "$as_me: failed program was:" >&5
71064 sed 's/^/| /' conftest.$ac_ext >&5
71066 glibcxx_cv_func___builtin_fabsl_link=no
71068 rm -f conftest.err conftest.$ac_objext \
71069 conftest$ac_exeext conftest.$ac_ext
71074 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71075 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71076 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71077 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71079 cat >>confdefs.h <<_ACEOF
71080 #define ${ac_tr_func} 1
71081 _ACEOF
71087 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71088 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71089 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71090 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71091 echo $ECHO_N "(cached) $ECHO_C" >&6
71092 else
71096 ac_ext=cc
71097 ac_cpp='$CXXCPP $CPPFLAGS'
71098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71102 cat >conftest.$ac_ext <<_ACEOF
71103 /* confdefs.h. */
71104 _ACEOF
71105 cat confdefs.h >>conftest.$ac_ext
71106 cat >>conftest.$ac_ext <<_ACEOF
71107 /* end confdefs.h. */
71108 #include <math.h>
71110 main ()
71112 __builtin_labs(0);
71114 return 0;
71116 _ACEOF
71117 rm -f conftest.$ac_objext
71118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71119 (eval $ac_compile) 2>conftest.er1
71120 ac_status=$?
71121 grep -v '^ *+' conftest.er1 >conftest.err
71122 rm -f conftest.er1
71123 cat conftest.err >&5
71124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71125 (exit $ac_status); } &&
71126 { ac_try='test -z "$ac_cxx_werror_flag"
71127 || test ! -s conftest.err'
71128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71129 (eval $ac_try) 2>&5
71130 ac_status=$?
71131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71132 (exit $ac_status); }; } &&
71133 { ac_try='test -s conftest.$ac_objext'
71134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71135 (eval $ac_try) 2>&5
71136 ac_status=$?
71137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71138 (exit $ac_status); }; }; then
71139 glibcxx_cv_func___builtin_labs_use=yes
71140 else
71141 echo "$as_me: failed program was:" >&5
71142 sed 's/^/| /' conftest.$ac_ext >&5
71144 glibcxx_cv_func___builtin_labs_use=no
71146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71147 ac_ext=c
71148 ac_cpp='$CPP $CPPFLAGS'
71149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71158 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71159 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71160 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71161 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71162 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71163 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71164 echo $ECHO_N "(cached) $ECHO_C" >&6
71165 else
71167 if test x$gcc_no_link = xyes; then
71168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71170 { (exit 1); exit 1; }; }
71172 cat >conftest.$ac_ext <<_ACEOF
71173 /* confdefs.h. */
71174 _ACEOF
71175 cat confdefs.h >>conftest.$ac_ext
71176 cat >>conftest.$ac_ext <<_ACEOF
71177 /* end confdefs.h. */
71178 #include <math.h>
71180 main ()
71182 __builtin_labs(0);
71184 return 0;
71186 _ACEOF
71187 rm -f conftest.$ac_objext conftest$ac_exeext
71188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71189 (eval $ac_link) 2>conftest.er1
71190 ac_status=$?
71191 grep -v '^ *+' conftest.er1 >conftest.err
71192 rm -f conftest.er1
71193 cat conftest.err >&5
71194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71195 (exit $ac_status); } &&
71196 { ac_try='test -z "$ac_c_werror_flag"
71197 || test ! -s conftest.err'
71198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71199 (eval $ac_try) 2>&5
71200 ac_status=$?
71201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71202 (exit $ac_status); }; } &&
71203 { ac_try='test -s conftest$ac_exeext'
71204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71205 (eval $ac_try) 2>&5
71206 ac_status=$?
71207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71208 (exit $ac_status); }; }; then
71209 glibcxx_cv_func___builtin_labs_link=yes
71210 else
71211 echo "$as_me: failed program was:" >&5
71212 sed 's/^/| /' conftest.$ac_ext >&5
71214 glibcxx_cv_func___builtin_labs_link=no
71216 rm -f conftest.err conftest.$ac_objext \
71217 conftest$ac_exeext conftest.$ac_ext
71222 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71223 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71224 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71225 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71227 cat >>confdefs.h <<_ACEOF
71228 #define ${ac_tr_func} 1
71229 _ACEOF
71236 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71237 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71238 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71239 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71240 echo $ECHO_N "(cached) $ECHO_C" >&6
71241 else
71245 ac_ext=cc
71246 ac_cpp='$CXXCPP $CPPFLAGS'
71247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71251 cat >conftest.$ac_ext <<_ACEOF
71252 /* confdefs.h. */
71253 _ACEOF
71254 cat confdefs.h >>conftest.$ac_ext
71255 cat >>conftest.$ac_ext <<_ACEOF
71256 /* end confdefs.h. */
71257 #include <math.h>
71259 main ()
71261 __builtin_sqrtf(0);
71263 return 0;
71265 _ACEOF
71266 rm -f conftest.$ac_objext
71267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71268 (eval $ac_compile) 2>conftest.er1
71269 ac_status=$?
71270 grep -v '^ *+' conftest.er1 >conftest.err
71271 rm -f conftest.er1
71272 cat conftest.err >&5
71273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71274 (exit $ac_status); } &&
71275 { ac_try='test -z "$ac_cxx_werror_flag"
71276 || test ! -s conftest.err'
71277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71278 (eval $ac_try) 2>&5
71279 ac_status=$?
71280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71281 (exit $ac_status); }; } &&
71282 { ac_try='test -s conftest.$ac_objext'
71283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71284 (eval $ac_try) 2>&5
71285 ac_status=$?
71286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71287 (exit $ac_status); }; }; then
71288 glibcxx_cv_func___builtin_sqrtf_use=yes
71289 else
71290 echo "$as_me: failed program was:" >&5
71291 sed 's/^/| /' conftest.$ac_ext >&5
71293 glibcxx_cv_func___builtin_sqrtf_use=no
71295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71296 ac_ext=c
71297 ac_cpp='$CPP $CPPFLAGS'
71298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71307 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71308 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71309 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71310 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71311 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71312 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71313 echo $ECHO_N "(cached) $ECHO_C" >&6
71314 else
71316 if test x$gcc_no_link = xyes; then
71317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71319 { (exit 1); exit 1; }; }
71321 cat >conftest.$ac_ext <<_ACEOF
71322 /* confdefs.h. */
71323 _ACEOF
71324 cat confdefs.h >>conftest.$ac_ext
71325 cat >>conftest.$ac_ext <<_ACEOF
71326 /* end confdefs.h. */
71327 #include <math.h>
71329 main ()
71331 __builtin_sqrtf(0);
71333 return 0;
71335 _ACEOF
71336 rm -f conftest.$ac_objext conftest$ac_exeext
71337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71338 (eval $ac_link) 2>conftest.er1
71339 ac_status=$?
71340 grep -v '^ *+' conftest.er1 >conftest.err
71341 rm -f conftest.er1
71342 cat conftest.err >&5
71343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71344 (exit $ac_status); } &&
71345 { ac_try='test -z "$ac_c_werror_flag"
71346 || test ! -s conftest.err'
71347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71348 (eval $ac_try) 2>&5
71349 ac_status=$?
71350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71351 (exit $ac_status); }; } &&
71352 { ac_try='test -s conftest$ac_exeext'
71353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71354 (eval $ac_try) 2>&5
71355 ac_status=$?
71356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71357 (exit $ac_status); }; }; then
71358 glibcxx_cv_func___builtin_sqrtf_link=yes
71359 else
71360 echo "$as_me: failed program was:" >&5
71361 sed 's/^/| /' conftest.$ac_ext >&5
71363 glibcxx_cv_func___builtin_sqrtf_link=no
71365 rm -f conftest.err conftest.$ac_objext \
71366 conftest$ac_exeext conftest.$ac_ext
71371 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71372 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71373 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71374 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71376 cat >>confdefs.h <<_ACEOF
71377 #define ${ac_tr_func} 1
71378 _ACEOF
71384 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71385 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71386 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71387 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71388 echo $ECHO_N "(cached) $ECHO_C" >&6
71389 else
71393 ac_ext=cc
71394 ac_cpp='$CXXCPP $CPPFLAGS'
71395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71399 cat >conftest.$ac_ext <<_ACEOF
71400 /* confdefs.h. */
71401 _ACEOF
71402 cat confdefs.h >>conftest.$ac_ext
71403 cat >>conftest.$ac_ext <<_ACEOF
71404 /* end confdefs.h. */
71405 #include <math.h>
71407 main ()
71409 __builtin_sqrt(0);
71411 return 0;
71413 _ACEOF
71414 rm -f conftest.$ac_objext
71415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71416 (eval $ac_compile) 2>conftest.er1
71417 ac_status=$?
71418 grep -v '^ *+' conftest.er1 >conftest.err
71419 rm -f conftest.er1
71420 cat conftest.err >&5
71421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71422 (exit $ac_status); } &&
71423 { ac_try='test -z "$ac_cxx_werror_flag"
71424 || test ! -s conftest.err'
71425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71426 (eval $ac_try) 2>&5
71427 ac_status=$?
71428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71429 (exit $ac_status); }; } &&
71430 { ac_try='test -s conftest.$ac_objext'
71431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71432 (eval $ac_try) 2>&5
71433 ac_status=$?
71434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71435 (exit $ac_status); }; }; then
71436 glibcxx_cv_func___builtin_sqrt_use=yes
71437 else
71438 echo "$as_me: failed program was:" >&5
71439 sed 's/^/| /' conftest.$ac_ext >&5
71441 glibcxx_cv_func___builtin_sqrt_use=no
71443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71444 ac_ext=c
71445 ac_cpp='$CPP $CPPFLAGS'
71446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71455 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71456 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71457 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71458 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71459 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71460 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71461 echo $ECHO_N "(cached) $ECHO_C" >&6
71462 else
71464 if test x$gcc_no_link = xyes; then
71465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71467 { (exit 1); exit 1; }; }
71469 cat >conftest.$ac_ext <<_ACEOF
71470 /* confdefs.h. */
71471 _ACEOF
71472 cat confdefs.h >>conftest.$ac_ext
71473 cat >>conftest.$ac_ext <<_ACEOF
71474 /* end confdefs.h. */
71475 #include <math.h>
71477 main ()
71479 __builtin_sqrt(0);
71481 return 0;
71483 _ACEOF
71484 rm -f conftest.$ac_objext conftest$ac_exeext
71485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71486 (eval $ac_link) 2>conftest.er1
71487 ac_status=$?
71488 grep -v '^ *+' conftest.er1 >conftest.err
71489 rm -f conftest.er1
71490 cat conftest.err >&5
71491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71492 (exit $ac_status); } &&
71493 { ac_try='test -z "$ac_c_werror_flag"
71494 || test ! -s conftest.err'
71495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71496 (eval $ac_try) 2>&5
71497 ac_status=$?
71498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71499 (exit $ac_status); }; } &&
71500 { ac_try='test -s conftest$ac_exeext'
71501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71502 (eval $ac_try) 2>&5
71503 ac_status=$?
71504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71505 (exit $ac_status); }; }; then
71506 glibcxx_cv_func___builtin_sqrt_link=yes
71507 else
71508 echo "$as_me: failed program was:" >&5
71509 sed 's/^/| /' conftest.$ac_ext >&5
71511 glibcxx_cv_func___builtin_sqrt_link=no
71513 rm -f conftest.err conftest.$ac_objext \
71514 conftest$ac_exeext conftest.$ac_ext
71519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71520 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71521 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71522 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71524 cat >>confdefs.h <<_ACEOF
71525 #define ${ac_tr_func} 1
71526 _ACEOF
71532 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71533 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71534 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71535 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71536 echo $ECHO_N "(cached) $ECHO_C" >&6
71537 else
71541 ac_ext=cc
71542 ac_cpp='$CXXCPP $CPPFLAGS'
71543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71547 cat >conftest.$ac_ext <<_ACEOF
71548 /* confdefs.h. */
71549 _ACEOF
71550 cat confdefs.h >>conftest.$ac_ext
71551 cat >>conftest.$ac_ext <<_ACEOF
71552 /* end confdefs.h. */
71553 #include <math.h>
71555 main ()
71557 __builtin_sqrtl(0);
71559 return 0;
71561 _ACEOF
71562 rm -f conftest.$ac_objext
71563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71564 (eval $ac_compile) 2>conftest.er1
71565 ac_status=$?
71566 grep -v '^ *+' conftest.er1 >conftest.err
71567 rm -f conftest.er1
71568 cat conftest.err >&5
71569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71570 (exit $ac_status); } &&
71571 { ac_try='test -z "$ac_cxx_werror_flag"
71572 || test ! -s conftest.err'
71573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71574 (eval $ac_try) 2>&5
71575 ac_status=$?
71576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71577 (exit $ac_status); }; } &&
71578 { ac_try='test -s conftest.$ac_objext'
71579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71580 (eval $ac_try) 2>&5
71581 ac_status=$?
71582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71583 (exit $ac_status); }; }; then
71584 glibcxx_cv_func___builtin_sqrtl_use=yes
71585 else
71586 echo "$as_me: failed program was:" >&5
71587 sed 's/^/| /' conftest.$ac_ext >&5
71589 glibcxx_cv_func___builtin_sqrtl_use=no
71591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71592 ac_ext=c
71593 ac_cpp='$CPP $CPPFLAGS'
71594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71603 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71604 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71605 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71606 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71607 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71608 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71609 echo $ECHO_N "(cached) $ECHO_C" >&6
71610 else
71612 if test x$gcc_no_link = xyes; then
71613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71615 { (exit 1); exit 1; }; }
71617 cat >conftest.$ac_ext <<_ACEOF
71618 /* confdefs.h. */
71619 _ACEOF
71620 cat confdefs.h >>conftest.$ac_ext
71621 cat >>conftest.$ac_ext <<_ACEOF
71622 /* end confdefs.h. */
71623 #include <math.h>
71625 main ()
71627 __builtin_sqrtl(0);
71629 return 0;
71631 _ACEOF
71632 rm -f conftest.$ac_objext conftest$ac_exeext
71633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71634 (eval $ac_link) 2>conftest.er1
71635 ac_status=$?
71636 grep -v '^ *+' conftest.er1 >conftest.err
71637 rm -f conftest.er1
71638 cat conftest.err >&5
71639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71640 (exit $ac_status); } &&
71641 { ac_try='test -z "$ac_c_werror_flag"
71642 || test ! -s conftest.err'
71643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71644 (eval $ac_try) 2>&5
71645 ac_status=$?
71646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71647 (exit $ac_status); }; } &&
71648 { ac_try='test -s conftest$ac_exeext'
71649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71650 (eval $ac_try) 2>&5
71651 ac_status=$?
71652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71653 (exit $ac_status); }; }; then
71654 glibcxx_cv_func___builtin_sqrtl_link=yes
71655 else
71656 echo "$as_me: failed program was:" >&5
71657 sed 's/^/| /' conftest.$ac_ext >&5
71659 glibcxx_cv_func___builtin_sqrtl_link=no
71661 rm -f conftest.err conftest.$ac_objext \
71662 conftest$ac_exeext conftest.$ac_ext
71667 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71668 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71669 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71670 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71672 cat >>confdefs.h <<_ACEOF
71673 #define ${ac_tr_func} 1
71674 _ACEOF
71681 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71682 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71683 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71684 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71685 echo $ECHO_N "(cached) $ECHO_C" >&6
71686 else
71690 ac_ext=cc
71691 ac_cpp='$CXXCPP $CPPFLAGS'
71692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71696 cat >conftest.$ac_ext <<_ACEOF
71697 /* confdefs.h. */
71698 _ACEOF
71699 cat confdefs.h >>conftest.$ac_ext
71700 cat >>conftest.$ac_ext <<_ACEOF
71701 /* end confdefs.h. */
71702 #include <math.h>
71704 main ()
71706 __builtin_sinf(0);
71708 return 0;
71710 _ACEOF
71711 rm -f conftest.$ac_objext
71712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71713 (eval $ac_compile) 2>conftest.er1
71714 ac_status=$?
71715 grep -v '^ *+' conftest.er1 >conftest.err
71716 rm -f conftest.er1
71717 cat conftest.err >&5
71718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71719 (exit $ac_status); } &&
71720 { ac_try='test -z "$ac_cxx_werror_flag"
71721 || test ! -s conftest.err'
71722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71723 (eval $ac_try) 2>&5
71724 ac_status=$?
71725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71726 (exit $ac_status); }; } &&
71727 { ac_try='test -s conftest.$ac_objext'
71728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71729 (eval $ac_try) 2>&5
71730 ac_status=$?
71731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71732 (exit $ac_status); }; }; then
71733 glibcxx_cv_func___builtin_sinf_use=yes
71734 else
71735 echo "$as_me: failed program was:" >&5
71736 sed 's/^/| /' conftest.$ac_ext >&5
71738 glibcxx_cv_func___builtin_sinf_use=no
71740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71741 ac_ext=c
71742 ac_cpp='$CPP $CPPFLAGS'
71743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71752 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71753 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71754 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71755 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71756 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71757 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71758 echo $ECHO_N "(cached) $ECHO_C" >&6
71759 else
71761 if test x$gcc_no_link = xyes; then
71762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71764 { (exit 1); exit 1; }; }
71766 cat >conftest.$ac_ext <<_ACEOF
71767 /* confdefs.h. */
71768 _ACEOF
71769 cat confdefs.h >>conftest.$ac_ext
71770 cat >>conftest.$ac_ext <<_ACEOF
71771 /* end confdefs.h. */
71772 #include <math.h>
71774 main ()
71776 __builtin_sinf(0);
71778 return 0;
71780 _ACEOF
71781 rm -f conftest.$ac_objext conftest$ac_exeext
71782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71783 (eval $ac_link) 2>conftest.er1
71784 ac_status=$?
71785 grep -v '^ *+' conftest.er1 >conftest.err
71786 rm -f conftest.er1
71787 cat conftest.err >&5
71788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71789 (exit $ac_status); } &&
71790 { ac_try='test -z "$ac_c_werror_flag"
71791 || test ! -s conftest.err'
71792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71793 (eval $ac_try) 2>&5
71794 ac_status=$?
71795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71796 (exit $ac_status); }; } &&
71797 { ac_try='test -s conftest$ac_exeext'
71798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71799 (eval $ac_try) 2>&5
71800 ac_status=$?
71801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71802 (exit $ac_status); }; }; then
71803 glibcxx_cv_func___builtin_sinf_link=yes
71804 else
71805 echo "$as_me: failed program was:" >&5
71806 sed 's/^/| /' conftest.$ac_ext >&5
71808 glibcxx_cv_func___builtin_sinf_link=no
71810 rm -f conftest.err conftest.$ac_objext \
71811 conftest$ac_exeext conftest.$ac_ext
71816 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71817 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71818 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71819 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71821 cat >>confdefs.h <<_ACEOF
71822 #define ${ac_tr_func} 1
71823 _ACEOF
71829 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71830 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71831 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71832 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71833 echo $ECHO_N "(cached) $ECHO_C" >&6
71834 else
71838 ac_ext=cc
71839 ac_cpp='$CXXCPP $CPPFLAGS'
71840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71844 cat >conftest.$ac_ext <<_ACEOF
71845 /* confdefs.h. */
71846 _ACEOF
71847 cat confdefs.h >>conftest.$ac_ext
71848 cat >>conftest.$ac_ext <<_ACEOF
71849 /* end confdefs.h. */
71850 #include <math.h>
71852 main ()
71854 __builtin_sin(0);
71856 return 0;
71858 _ACEOF
71859 rm -f conftest.$ac_objext
71860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71861 (eval $ac_compile) 2>conftest.er1
71862 ac_status=$?
71863 grep -v '^ *+' conftest.er1 >conftest.err
71864 rm -f conftest.er1
71865 cat conftest.err >&5
71866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71867 (exit $ac_status); } &&
71868 { ac_try='test -z "$ac_cxx_werror_flag"
71869 || test ! -s conftest.err'
71870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71871 (eval $ac_try) 2>&5
71872 ac_status=$?
71873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71874 (exit $ac_status); }; } &&
71875 { ac_try='test -s conftest.$ac_objext'
71876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71877 (eval $ac_try) 2>&5
71878 ac_status=$?
71879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71880 (exit $ac_status); }; }; then
71881 glibcxx_cv_func___builtin_sin_use=yes
71882 else
71883 echo "$as_me: failed program was:" >&5
71884 sed 's/^/| /' conftest.$ac_ext >&5
71886 glibcxx_cv_func___builtin_sin_use=no
71888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71889 ac_ext=c
71890 ac_cpp='$CPP $CPPFLAGS'
71891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71899 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71900 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71901 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71902 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71903 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71904 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71905 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71906 echo $ECHO_N "(cached) $ECHO_C" >&6
71907 else
71909 if test x$gcc_no_link = xyes; then
71910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71912 { (exit 1); exit 1; }; }
71914 cat >conftest.$ac_ext <<_ACEOF
71915 /* confdefs.h. */
71916 _ACEOF
71917 cat confdefs.h >>conftest.$ac_ext
71918 cat >>conftest.$ac_ext <<_ACEOF
71919 /* end confdefs.h. */
71920 #include <math.h>
71922 main ()
71924 __builtin_sin(0);
71926 return 0;
71928 _ACEOF
71929 rm -f conftest.$ac_objext conftest$ac_exeext
71930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71931 (eval $ac_link) 2>conftest.er1
71932 ac_status=$?
71933 grep -v '^ *+' conftest.er1 >conftest.err
71934 rm -f conftest.er1
71935 cat conftest.err >&5
71936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71937 (exit $ac_status); } &&
71938 { ac_try='test -z "$ac_c_werror_flag"
71939 || test ! -s conftest.err'
71940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71941 (eval $ac_try) 2>&5
71942 ac_status=$?
71943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71944 (exit $ac_status); }; } &&
71945 { ac_try='test -s conftest$ac_exeext'
71946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71947 (eval $ac_try) 2>&5
71948 ac_status=$?
71949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71950 (exit $ac_status); }; }; then
71951 glibcxx_cv_func___builtin_sin_link=yes
71952 else
71953 echo "$as_me: failed program was:" >&5
71954 sed 's/^/| /' conftest.$ac_ext >&5
71956 glibcxx_cv_func___builtin_sin_link=no
71958 rm -f conftest.err conftest.$ac_objext \
71959 conftest$ac_exeext conftest.$ac_ext
71964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71965 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71966 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71967 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71969 cat >>confdefs.h <<_ACEOF
71970 #define ${ac_tr_func} 1
71971 _ACEOF
71977 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71978 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71979 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71980 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71981 echo $ECHO_N "(cached) $ECHO_C" >&6
71982 else
71986 ac_ext=cc
71987 ac_cpp='$CXXCPP $CPPFLAGS'
71988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71992 cat >conftest.$ac_ext <<_ACEOF
71993 /* confdefs.h. */
71994 _ACEOF
71995 cat confdefs.h >>conftest.$ac_ext
71996 cat >>conftest.$ac_ext <<_ACEOF
71997 /* end confdefs.h. */
71998 #include <math.h>
72000 main ()
72002 __builtin_sinl(0);
72004 return 0;
72006 _ACEOF
72007 rm -f conftest.$ac_objext
72008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72009 (eval $ac_compile) 2>conftest.er1
72010 ac_status=$?
72011 grep -v '^ *+' conftest.er1 >conftest.err
72012 rm -f conftest.er1
72013 cat conftest.err >&5
72014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72015 (exit $ac_status); } &&
72016 { ac_try='test -z "$ac_cxx_werror_flag"
72017 || test ! -s conftest.err'
72018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72019 (eval $ac_try) 2>&5
72020 ac_status=$?
72021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72022 (exit $ac_status); }; } &&
72023 { ac_try='test -s conftest.$ac_objext'
72024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72025 (eval $ac_try) 2>&5
72026 ac_status=$?
72027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72028 (exit $ac_status); }; }; then
72029 glibcxx_cv_func___builtin_sinl_use=yes
72030 else
72031 echo "$as_me: failed program was:" >&5
72032 sed 's/^/| /' conftest.$ac_ext >&5
72034 glibcxx_cv_func___builtin_sinl_use=no
72036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72037 ac_ext=c
72038 ac_cpp='$CPP $CPPFLAGS'
72039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72047 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72048 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72049 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72050 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72051 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72052 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72053 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72054 echo $ECHO_N "(cached) $ECHO_C" >&6
72055 else
72057 if test x$gcc_no_link = xyes; then
72058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72060 { (exit 1); exit 1; }; }
72062 cat >conftest.$ac_ext <<_ACEOF
72063 /* confdefs.h. */
72064 _ACEOF
72065 cat confdefs.h >>conftest.$ac_ext
72066 cat >>conftest.$ac_ext <<_ACEOF
72067 /* end confdefs.h. */
72068 #include <math.h>
72070 main ()
72072 __builtin_sinl(0);
72074 return 0;
72076 _ACEOF
72077 rm -f conftest.$ac_objext conftest$ac_exeext
72078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72079 (eval $ac_link) 2>conftest.er1
72080 ac_status=$?
72081 grep -v '^ *+' conftest.er1 >conftest.err
72082 rm -f conftest.er1
72083 cat conftest.err >&5
72084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72085 (exit $ac_status); } &&
72086 { ac_try='test -z "$ac_c_werror_flag"
72087 || test ! -s conftest.err'
72088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72089 (eval $ac_try) 2>&5
72090 ac_status=$?
72091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72092 (exit $ac_status); }; } &&
72093 { ac_try='test -s conftest$ac_exeext'
72094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72095 (eval $ac_try) 2>&5
72096 ac_status=$?
72097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72098 (exit $ac_status); }; }; then
72099 glibcxx_cv_func___builtin_sinl_link=yes
72100 else
72101 echo "$as_me: failed program was:" >&5
72102 sed 's/^/| /' conftest.$ac_ext >&5
72104 glibcxx_cv_func___builtin_sinl_link=no
72106 rm -f conftest.err conftest.$ac_objext \
72107 conftest$ac_exeext conftest.$ac_ext
72112 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72113 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72114 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72115 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72117 cat >>confdefs.h <<_ACEOF
72118 #define ${ac_tr_func} 1
72119 _ACEOF
72126 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72127 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72128 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72129 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72130 echo $ECHO_N "(cached) $ECHO_C" >&6
72131 else
72135 ac_ext=cc
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141 cat >conftest.$ac_ext <<_ACEOF
72142 /* confdefs.h. */
72143 _ACEOF
72144 cat confdefs.h >>conftest.$ac_ext
72145 cat >>conftest.$ac_ext <<_ACEOF
72146 /* end confdefs.h. */
72147 #include <math.h>
72149 main ()
72151 __builtin_cosf(0);
72153 return 0;
72155 _ACEOF
72156 rm -f conftest.$ac_objext
72157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72158 (eval $ac_compile) 2>conftest.er1
72159 ac_status=$?
72160 grep -v '^ *+' conftest.er1 >conftest.err
72161 rm -f conftest.er1
72162 cat conftest.err >&5
72163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72164 (exit $ac_status); } &&
72165 { ac_try='test -z "$ac_cxx_werror_flag"
72166 || test ! -s conftest.err'
72167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72168 (eval $ac_try) 2>&5
72169 ac_status=$?
72170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72171 (exit $ac_status); }; } &&
72172 { ac_try='test -s conftest.$ac_objext'
72173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72174 (eval $ac_try) 2>&5
72175 ac_status=$?
72176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72177 (exit $ac_status); }; }; then
72178 glibcxx_cv_func___builtin_cosf_use=yes
72179 else
72180 echo "$as_me: failed program was:" >&5
72181 sed 's/^/| /' conftest.$ac_ext >&5
72183 glibcxx_cv_func___builtin_cosf_use=no
72185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72186 ac_ext=c
72187 ac_cpp='$CPP $CPPFLAGS'
72188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72196 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72197 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72198 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72199 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72200 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72201 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72202 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72203 echo $ECHO_N "(cached) $ECHO_C" >&6
72204 else
72206 if test x$gcc_no_link = xyes; then
72207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72209 { (exit 1); exit 1; }; }
72211 cat >conftest.$ac_ext <<_ACEOF
72212 /* confdefs.h. */
72213 _ACEOF
72214 cat confdefs.h >>conftest.$ac_ext
72215 cat >>conftest.$ac_ext <<_ACEOF
72216 /* end confdefs.h. */
72217 #include <math.h>
72219 main ()
72221 __builtin_cosf(0);
72223 return 0;
72225 _ACEOF
72226 rm -f conftest.$ac_objext conftest$ac_exeext
72227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72228 (eval $ac_link) 2>conftest.er1
72229 ac_status=$?
72230 grep -v '^ *+' conftest.er1 >conftest.err
72231 rm -f conftest.er1
72232 cat conftest.err >&5
72233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72234 (exit $ac_status); } &&
72235 { ac_try='test -z "$ac_c_werror_flag"
72236 || test ! -s conftest.err'
72237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72238 (eval $ac_try) 2>&5
72239 ac_status=$?
72240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72241 (exit $ac_status); }; } &&
72242 { ac_try='test -s conftest$ac_exeext'
72243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72244 (eval $ac_try) 2>&5
72245 ac_status=$?
72246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72247 (exit $ac_status); }; }; then
72248 glibcxx_cv_func___builtin_cosf_link=yes
72249 else
72250 echo "$as_me: failed program was:" >&5
72251 sed 's/^/| /' conftest.$ac_ext >&5
72253 glibcxx_cv_func___builtin_cosf_link=no
72255 rm -f conftest.err conftest.$ac_objext \
72256 conftest$ac_exeext conftest.$ac_ext
72261 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72262 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72263 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72264 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72266 cat >>confdefs.h <<_ACEOF
72267 #define ${ac_tr_func} 1
72268 _ACEOF
72274 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72275 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72276 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72277 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72278 echo $ECHO_N "(cached) $ECHO_C" >&6
72279 else
72283 ac_ext=cc
72284 ac_cpp='$CXXCPP $CPPFLAGS'
72285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72289 cat >conftest.$ac_ext <<_ACEOF
72290 /* confdefs.h. */
72291 _ACEOF
72292 cat confdefs.h >>conftest.$ac_ext
72293 cat >>conftest.$ac_ext <<_ACEOF
72294 /* end confdefs.h. */
72295 #include <math.h>
72297 main ()
72299 __builtin_cos(0);
72301 return 0;
72303 _ACEOF
72304 rm -f conftest.$ac_objext
72305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72306 (eval $ac_compile) 2>conftest.er1
72307 ac_status=$?
72308 grep -v '^ *+' conftest.er1 >conftest.err
72309 rm -f conftest.er1
72310 cat conftest.err >&5
72311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72312 (exit $ac_status); } &&
72313 { ac_try='test -z "$ac_cxx_werror_flag"
72314 || test ! -s conftest.err'
72315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72316 (eval $ac_try) 2>&5
72317 ac_status=$?
72318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72319 (exit $ac_status); }; } &&
72320 { ac_try='test -s conftest.$ac_objext'
72321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72322 (eval $ac_try) 2>&5
72323 ac_status=$?
72324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72325 (exit $ac_status); }; }; then
72326 glibcxx_cv_func___builtin_cos_use=yes
72327 else
72328 echo "$as_me: failed program was:" >&5
72329 sed 's/^/| /' conftest.$ac_ext >&5
72331 glibcxx_cv_func___builtin_cos_use=no
72333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72334 ac_ext=c
72335 ac_cpp='$CPP $CPPFLAGS'
72336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72344 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72345 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72346 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72347 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72348 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72349 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72350 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72351 echo $ECHO_N "(cached) $ECHO_C" >&6
72352 else
72354 if test x$gcc_no_link = xyes; then
72355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72357 { (exit 1); exit 1; }; }
72359 cat >conftest.$ac_ext <<_ACEOF
72360 /* confdefs.h. */
72361 _ACEOF
72362 cat confdefs.h >>conftest.$ac_ext
72363 cat >>conftest.$ac_ext <<_ACEOF
72364 /* end confdefs.h. */
72365 #include <math.h>
72367 main ()
72369 __builtin_cos(0);
72371 return 0;
72373 _ACEOF
72374 rm -f conftest.$ac_objext conftest$ac_exeext
72375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72376 (eval $ac_link) 2>conftest.er1
72377 ac_status=$?
72378 grep -v '^ *+' conftest.er1 >conftest.err
72379 rm -f conftest.er1
72380 cat conftest.err >&5
72381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72382 (exit $ac_status); } &&
72383 { ac_try='test -z "$ac_c_werror_flag"
72384 || test ! -s conftest.err'
72385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72386 (eval $ac_try) 2>&5
72387 ac_status=$?
72388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72389 (exit $ac_status); }; } &&
72390 { ac_try='test -s conftest$ac_exeext'
72391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72392 (eval $ac_try) 2>&5
72393 ac_status=$?
72394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72395 (exit $ac_status); }; }; then
72396 glibcxx_cv_func___builtin_cos_link=yes
72397 else
72398 echo "$as_me: failed program was:" >&5
72399 sed 's/^/| /' conftest.$ac_ext >&5
72401 glibcxx_cv_func___builtin_cos_link=no
72403 rm -f conftest.err conftest.$ac_objext \
72404 conftest$ac_exeext conftest.$ac_ext
72409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72410 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72411 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72412 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72414 cat >>confdefs.h <<_ACEOF
72415 #define ${ac_tr_func} 1
72416 _ACEOF
72422 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72423 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72424 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72425 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72426 echo $ECHO_N "(cached) $ECHO_C" >&6
72427 else
72431 ac_ext=cc
72432 ac_cpp='$CXXCPP $CPPFLAGS'
72433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72437 cat >conftest.$ac_ext <<_ACEOF
72438 /* confdefs.h. */
72439 _ACEOF
72440 cat confdefs.h >>conftest.$ac_ext
72441 cat >>conftest.$ac_ext <<_ACEOF
72442 /* end confdefs.h. */
72443 #include <math.h>
72445 main ()
72447 __builtin_cosl(0);
72449 return 0;
72451 _ACEOF
72452 rm -f conftest.$ac_objext
72453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72454 (eval $ac_compile) 2>conftest.er1
72455 ac_status=$?
72456 grep -v '^ *+' conftest.er1 >conftest.err
72457 rm -f conftest.er1
72458 cat conftest.err >&5
72459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72460 (exit $ac_status); } &&
72461 { ac_try='test -z "$ac_cxx_werror_flag"
72462 || test ! -s conftest.err'
72463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72464 (eval $ac_try) 2>&5
72465 ac_status=$?
72466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72467 (exit $ac_status); }; } &&
72468 { ac_try='test -s conftest.$ac_objext'
72469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72470 (eval $ac_try) 2>&5
72471 ac_status=$?
72472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72473 (exit $ac_status); }; }; then
72474 glibcxx_cv_func___builtin_cosl_use=yes
72475 else
72476 echo "$as_me: failed program was:" >&5
72477 sed 's/^/| /' conftest.$ac_ext >&5
72479 glibcxx_cv_func___builtin_cosl_use=no
72481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72482 ac_ext=c
72483 ac_cpp='$CPP $CPPFLAGS'
72484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72493 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72494 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72495 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72496 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72497 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72498 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72499 echo $ECHO_N "(cached) $ECHO_C" >&6
72500 else
72502 if test x$gcc_no_link = xyes; then
72503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72505 { (exit 1); exit 1; }; }
72507 cat >conftest.$ac_ext <<_ACEOF
72508 /* confdefs.h. */
72509 _ACEOF
72510 cat confdefs.h >>conftest.$ac_ext
72511 cat >>conftest.$ac_ext <<_ACEOF
72512 /* end confdefs.h. */
72513 #include <math.h>
72515 main ()
72517 __builtin_cosl(0);
72519 return 0;
72521 _ACEOF
72522 rm -f conftest.$ac_objext conftest$ac_exeext
72523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72524 (eval $ac_link) 2>conftest.er1
72525 ac_status=$?
72526 grep -v '^ *+' conftest.er1 >conftest.err
72527 rm -f conftest.er1
72528 cat conftest.err >&5
72529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72530 (exit $ac_status); } &&
72531 { ac_try='test -z "$ac_c_werror_flag"
72532 || test ! -s conftest.err'
72533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72534 (eval $ac_try) 2>&5
72535 ac_status=$?
72536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72537 (exit $ac_status); }; } &&
72538 { ac_try='test -s conftest$ac_exeext'
72539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72540 (eval $ac_try) 2>&5
72541 ac_status=$?
72542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72543 (exit $ac_status); }; }; then
72544 glibcxx_cv_func___builtin_cosl_link=yes
72545 else
72546 echo "$as_me: failed program was:" >&5
72547 sed 's/^/| /' conftest.$ac_ext >&5
72549 glibcxx_cv_func___builtin_cosl_link=no
72551 rm -f conftest.err conftest.$ac_objext \
72552 conftest$ac_exeext conftest.$ac_ext
72557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72558 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72559 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72560 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72562 cat >>confdefs.h <<_ACEOF
72563 #define ${ac_tr_func} 1
72564 _ACEOF
72572 echo "$as_me:$LINENO: checking for main in -lm" >&5
72573 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72574 if test "${ac_cv_lib_m_main+set}" = set; then
72575 echo $ECHO_N "(cached) $ECHO_C" >&6
72576 else
72577 ac_check_lib_save_LIBS=$LIBS
72578 LIBS="-lm $LIBS"
72579 if test x$gcc_no_link = xyes; then
72580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72582 { (exit 1); exit 1; }; }
72584 cat >conftest.$ac_ext <<_ACEOF
72585 /* confdefs.h. */
72586 _ACEOF
72587 cat confdefs.h >>conftest.$ac_ext
72588 cat >>conftest.$ac_ext <<_ACEOF
72589 /* end confdefs.h. */
72593 main ()
72595 main ();
72597 return 0;
72599 _ACEOF
72600 rm -f conftest.$ac_objext conftest$ac_exeext
72601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72602 (eval $ac_link) 2>conftest.er1
72603 ac_status=$?
72604 grep -v '^ *+' conftest.er1 >conftest.err
72605 rm -f conftest.er1
72606 cat conftest.err >&5
72607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608 (exit $ac_status); } &&
72609 { ac_try='test -z "$ac_c_werror_flag"
72610 || test ! -s conftest.err'
72611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72612 (eval $ac_try) 2>&5
72613 ac_status=$?
72614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72615 (exit $ac_status); }; } &&
72616 { ac_try='test -s conftest$ac_exeext'
72617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72618 (eval $ac_try) 2>&5
72619 ac_status=$?
72620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72621 (exit $ac_status); }; }; then
72622 ac_cv_lib_m_main=yes
72623 else
72624 echo "$as_me: failed program was:" >&5
72625 sed 's/^/| /' conftest.$ac_ext >&5
72627 ac_cv_lib_m_main=no
72629 rm -f conftest.err conftest.$ac_objext \
72630 conftest$ac_exeext conftest.$ac_ext
72631 LIBS=$ac_check_lib_save_LIBS
72633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72634 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72635 if test $ac_cv_lib_m_main = yes; then
72636 cat >>confdefs.h <<_ACEOF
72637 #define HAVE_LIBM 1
72638 _ACEOF
72640 LIBS="-lm $LIBS"
72645 for ac_func in copysignf
72647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72648 echo "$as_me:$LINENO: checking for $ac_func" >&5
72649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72650 if eval "test \"\${$as_ac_var+set}\" = set"; then
72651 echo $ECHO_N "(cached) $ECHO_C" >&6
72652 else
72653 if test x$gcc_no_link = xyes; then
72654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72656 { (exit 1); exit 1; }; }
72658 cat >conftest.$ac_ext <<_ACEOF
72659 /* confdefs.h. */
72660 _ACEOF
72661 cat confdefs.h >>conftest.$ac_ext
72662 cat >>conftest.$ac_ext <<_ACEOF
72663 /* end confdefs.h. */
72664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72666 #define $ac_func innocuous_$ac_func
72668 /* System header to define __stub macros and hopefully few prototypes,
72669 which can conflict with char $ac_func (); below.
72670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72671 <limits.h> exists even on freestanding compilers. */
72673 #ifdef __STDC__
72674 # include <limits.h>
72675 #else
72676 # include <assert.h>
72677 #endif
72679 #undef $ac_func
72681 /* Override any gcc2 internal prototype to avoid an error. */
72682 #ifdef __cplusplus
72683 extern "C"
72685 #endif
72686 /* We use char because int might match the return type of a gcc2
72687 builtin and then its argument prototype would still apply. */
72688 char $ac_func ();
72689 /* The GNU C library defines this for functions which it implements
72690 to always fail with ENOSYS. Some functions are actually named
72691 something starting with __ and the normal name is an alias. */
72692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72693 choke me
72694 #else
72695 char (*f) () = $ac_func;
72696 #endif
72697 #ifdef __cplusplus
72699 #endif
72702 main ()
72704 return f != $ac_func;
72706 return 0;
72708 _ACEOF
72709 rm -f conftest.$ac_objext conftest$ac_exeext
72710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72711 (eval $ac_link) 2>conftest.er1
72712 ac_status=$?
72713 grep -v '^ *+' conftest.er1 >conftest.err
72714 rm -f conftest.er1
72715 cat conftest.err >&5
72716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717 (exit $ac_status); } &&
72718 { ac_try='test -z "$ac_c_werror_flag"
72719 || test ! -s conftest.err'
72720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72721 (eval $ac_try) 2>&5
72722 ac_status=$?
72723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72724 (exit $ac_status); }; } &&
72725 { ac_try='test -s conftest$ac_exeext'
72726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72727 (eval $ac_try) 2>&5
72728 ac_status=$?
72729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72730 (exit $ac_status); }; }; then
72731 eval "$as_ac_var=yes"
72732 else
72733 echo "$as_me: failed program was:" >&5
72734 sed 's/^/| /' conftest.$ac_ext >&5
72736 eval "$as_ac_var=no"
72738 rm -f conftest.err conftest.$ac_objext \
72739 conftest$ac_exeext conftest.$ac_ext
72741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72743 if test `eval echo '${'$as_ac_var'}'` = yes; then
72744 cat >>confdefs.h <<_ACEOF
72745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72746 _ACEOF
72748 else
72749 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72751 done
72755 for ac_func in __signbit
72757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72758 echo "$as_me:$LINENO: checking for $ac_func" >&5
72759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72760 if eval "test \"\${$as_ac_var+set}\" = set"; then
72761 echo $ECHO_N "(cached) $ECHO_C" >&6
72762 else
72763 if test x$gcc_no_link = xyes; then
72764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72766 { (exit 1); exit 1; }; }
72768 cat >conftest.$ac_ext <<_ACEOF
72769 /* confdefs.h. */
72770 _ACEOF
72771 cat confdefs.h >>conftest.$ac_ext
72772 cat >>conftest.$ac_ext <<_ACEOF
72773 /* end confdefs.h. */
72774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72776 #define $ac_func innocuous_$ac_func
72778 /* System header to define __stub macros and hopefully few prototypes,
72779 which can conflict with char $ac_func (); below.
72780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72781 <limits.h> exists even on freestanding compilers. */
72783 #ifdef __STDC__
72784 # include <limits.h>
72785 #else
72786 # include <assert.h>
72787 #endif
72789 #undef $ac_func
72791 /* Override any gcc2 internal prototype to avoid an error. */
72792 #ifdef __cplusplus
72793 extern "C"
72795 #endif
72796 /* We use char because int might match the return type of a gcc2
72797 builtin and then its argument prototype would still apply. */
72798 char $ac_func ();
72799 /* The GNU C library defines this for functions which it implements
72800 to always fail with ENOSYS. Some functions are actually named
72801 something starting with __ and the normal name is an alias. */
72802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72803 choke me
72804 #else
72805 char (*f) () = $ac_func;
72806 #endif
72807 #ifdef __cplusplus
72809 #endif
72812 main ()
72814 return f != $ac_func;
72816 return 0;
72818 _ACEOF
72819 rm -f conftest.$ac_objext conftest$ac_exeext
72820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72821 (eval $ac_link) 2>conftest.er1
72822 ac_status=$?
72823 grep -v '^ *+' conftest.er1 >conftest.err
72824 rm -f conftest.er1
72825 cat conftest.err >&5
72826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72827 (exit $ac_status); } &&
72828 { ac_try='test -z "$ac_c_werror_flag"
72829 || test ! -s conftest.err'
72830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72831 (eval $ac_try) 2>&5
72832 ac_status=$?
72833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72834 (exit $ac_status); }; } &&
72835 { ac_try='test -s conftest$ac_exeext'
72836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72837 (eval $ac_try) 2>&5
72838 ac_status=$?
72839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72840 (exit $ac_status); }; }; then
72841 eval "$as_ac_var=yes"
72842 else
72843 echo "$as_me: failed program was:" >&5
72844 sed 's/^/| /' conftest.$ac_ext >&5
72846 eval "$as_ac_var=no"
72848 rm -f conftest.err conftest.$ac_objext \
72849 conftest$ac_exeext conftest.$ac_ext
72851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72853 if test `eval echo '${'$as_ac_var'}'` = yes; then
72854 cat >>confdefs.h <<_ACEOF
72855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72856 _ACEOF
72858 else
72859 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72861 done
72865 for ac_func in __signbitf
72867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72868 echo "$as_me:$LINENO: checking for $ac_func" >&5
72869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72870 if eval "test \"\${$as_ac_var+set}\" = set"; then
72871 echo $ECHO_N "(cached) $ECHO_C" >&6
72872 else
72873 if test x$gcc_no_link = xyes; then
72874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72876 { (exit 1); exit 1; }; }
72878 cat >conftest.$ac_ext <<_ACEOF
72879 /* confdefs.h. */
72880 _ACEOF
72881 cat confdefs.h >>conftest.$ac_ext
72882 cat >>conftest.$ac_ext <<_ACEOF
72883 /* end confdefs.h. */
72884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72886 #define $ac_func innocuous_$ac_func
72888 /* System header to define __stub macros and hopefully few prototypes,
72889 which can conflict with char $ac_func (); below.
72890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72891 <limits.h> exists even on freestanding compilers. */
72893 #ifdef __STDC__
72894 # include <limits.h>
72895 #else
72896 # include <assert.h>
72897 #endif
72899 #undef $ac_func
72901 /* Override any gcc2 internal prototype to avoid an error. */
72902 #ifdef __cplusplus
72903 extern "C"
72905 #endif
72906 /* We use char because int might match the return type of a gcc2
72907 builtin and then its argument prototype would still apply. */
72908 char $ac_func ();
72909 /* The GNU C library defines this for functions which it implements
72910 to always fail with ENOSYS. Some functions are actually named
72911 something starting with __ and the normal name is an alias. */
72912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72913 choke me
72914 #else
72915 char (*f) () = $ac_func;
72916 #endif
72917 #ifdef __cplusplus
72919 #endif
72922 main ()
72924 return f != $ac_func;
72926 return 0;
72928 _ACEOF
72929 rm -f conftest.$ac_objext conftest$ac_exeext
72930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72931 (eval $ac_link) 2>conftest.er1
72932 ac_status=$?
72933 grep -v '^ *+' conftest.er1 >conftest.err
72934 rm -f conftest.er1
72935 cat conftest.err >&5
72936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72937 (exit $ac_status); } &&
72938 { ac_try='test -z "$ac_c_werror_flag"
72939 || test ! -s conftest.err'
72940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72941 (eval $ac_try) 2>&5
72942 ac_status=$?
72943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72944 (exit $ac_status); }; } &&
72945 { ac_try='test -s conftest$ac_exeext'
72946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72947 (eval $ac_try) 2>&5
72948 ac_status=$?
72949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72950 (exit $ac_status); }; }; then
72951 eval "$as_ac_var=yes"
72952 else
72953 echo "$as_me: failed program was:" >&5
72954 sed 's/^/| /' conftest.$ac_ext >&5
72956 eval "$as_ac_var=no"
72958 rm -f conftest.err conftest.$ac_objext \
72959 conftest$ac_exeext conftest.$ac_ext
72961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72963 if test `eval echo '${'$as_ac_var'}'` = yes; then
72964 cat >>confdefs.h <<_ACEOF
72965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72966 _ACEOF
72968 else
72969 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72971 done
72974 if test x$ac_cv_func_copysignl = x"yes"; then
72976 for ac_func in __signbitl
72978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72979 echo "$as_me:$LINENO: checking for $ac_func" >&5
72980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72981 if eval "test \"\${$as_ac_var+set}\" = set"; then
72982 echo $ECHO_N "(cached) $ECHO_C" >&6
72983 else
72984 if test x$gcc_no_link = xyes; then
72985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72987 { (exit 1); exit 1; }; }
72989 cat >conftest.$ac_ext <<_ACEOF
72990 /* confdefs.h. */
72991 _ACEOF
72992 cat confdefs.h >>conftest.$ac_ext
72993 cat >>conftest.$ac_ext <<_ACEOF
72994 /* end confdefs.h. */
72995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72997 #define $ac_func innocuous_$ac_func
72999 /* System header to define __stub macros and hopefully few prototypes,
73000 which can conflict with char $ac_func (); below.
73001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73002 <limits.h> exists even on freestanding compilers. */
73004 #ifdef __STDC__
73005 # include <limits.h>
73006 #else
73007 # include <assert.h>
73008 #endif
73010 #undef $ac_func
73012 /* Override any gcc2 internal prototype to avoid an error. */
73013 #ifdef __cplusplus
73014 extern "C"
73016 #endif
73017 /* We use char because int might match the return type of a gcc2
73018 builtin and then its argument prototype would still apply. */
73019 char $ac_func ();
73020 /* The GNU C library defines this for functions which it implements
73021 to always fail with ENOSYS. Some functions are actually named
73022 something starting with __ and the normal name is an alias. */
73023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73024 choke me
73025 #else
73026 char (*f) () = $ac_func;
73027 #endif
73028 #ifdef __cplusplus
73030 #endif
73033 main ()
73035 return f != $ac_func;
73037 return 0;
73039 _ACEOF
73040 rm -f conftest.$ac_objext conftest$ac_exeext
73041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73042 (eval $ac_link) 2>conftest.er1
73043 ac_status=$?
73044 grep -v '^ *+' conftest.er1 >conftest.err
73045 rm -f conftest.er1
73046 cat conftest.err >&5
73047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73048 (exit $ac_status); } &&
73049 { ac_try='test -z "$ac_c_werror_flag"
73050 || test ! -s conftest.err'
73051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73052 (eval $ac_try) 2>&5
73053 ac_status=$?
73054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73055 (exit $ac_status); }; } &&
73056 { ac_try='test -s conftest$ac_exeext'
73057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73058 (eval $ac_try) 2>&5
73059 ac_status=$?
73060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061 (exit $ac_status); }; }; then
73062 eval "$as_ac_var=yes"
73063 else
73064 echo "$as_me: failed program was:" >&5
73065 sed 's/^/| /' conftest.$ac_ext >&5
73067 eval "$as_ac_var=no"
73069 rm -f conftest.err conftest.$ac_objext \
73070 conftest$ac_exeext conftest.$ac_ext
73072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73074 if test `eval echo '${'$as_ac_var'}'` = yes; then
73075 cat >>confdefs.h <<_ACEOF
73076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73077 _ACEOF
73079 else
73080 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73082 done
73086 # Used in libmath/Makefile.am.
73087 if test -n "$LIBMATHOBJS"; then
73088 need_libmath=yes
73093 # Test wchar.h for mbstate_t, which is needed for char_traits and
73094 # others even if wchar_t support is not on.
73095 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73096 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73097 cat >conftest.$ac_ext <<_ACEOF
73098 /* confdefs.h. */
73099 _ACEOF
73100 cat confdefs.h >>conftest.$ac_ext
73101 cat >>conftest.$ac_ext <<_ACEOF
73102 /* end confdefs.h. */
73103 #include <wchar.h>
73105 main ()
73107 mbstate_t teststate;
73109 return 0;
73111 _ACEOF
73112 rm -f conftest.$ac_objext
73113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73114 (eval $ac_compile) 2>conftest.er1
73115 ac_status=$?
73116 grep -v '^ *+' conftest.er1 >conftest.err
73117 rm -f conftest.er1
73118 cat conftest.err >&5
73119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73120 (exit $ac_status); } &&
73121 { ac_try='test -z "$ac_c_werror_flag"
73122 || test ! -s conftest.err'
73123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73124 (eval $ac_try) 2>&5
73125 ac_status=$?
73126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73127 (exit $ac_status); }; } &&
73128 { ac_try='test -s conftest.$ac_objext'
73129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73130 (eval $ac_try) 2>&5
73131 ac_status=$?
73132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73133 (exit $ac_status); }; }; then
73134 have_mbstate_t=yes
73135 else
73136 echo "$as_me: failed program was:" >&5
73137 sed 's/^/| /' conftest.$ac_ext >&5
73139 have_mbstate_t=no
73141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73142 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73143 echo "${ECHO_T}$have_mbstate_t" >&6
73144 if test x"$have_mbstate_t" = xyes; then
73145 cat >>confdefs.h <<\_ACEOF
73146 #define HAVE_MBSTATE_T 1
73147 _ACEOF
73151 # Sanity check for existence of ISO C99 headers for extended encoding.
73153 for ac_header in wchar.h
73155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73157 echo "$as_me:$LINENO: checking for $ac_header" >&5
73158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73160 echo $ECHO_N "(cached) $ECHO_C" >&6
73162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73164 else
73165 # Is the header compilable?
73166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73168 cat >conftest.$ac_ext <<_ACEOF
73169 /* confdefs.h. */
73170 _ACEOF
73171 cat confdefs.h >>conftest.$ac_ext
73172 cat >>conftest.$ac_ext <<_ACEOF
73173 /* end confdefs.h. */
73174 $ac_includes_default
73175 #include <$ac_header>
73176 _ACEOF
73177 rm -f conftest.$ac_objext
73178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73179 (eval $ac_compile) 2>conftest.er1
73180 ac_status=$?
73181 grep -v '^ *+' conftest.er1 >conftest.err
73182 rm -f conftest.er1
73183 cat conftest.err >&5
73184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73185 (exit $ac_status); } &&
73186 { ac_try='test -z "$ac_c_werror_flag"
73187 || test ! -s conftest.err'
73188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73189 (eval $ac_try) 2>&5
73190 ac_status=$?
73191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73192 (exit $ac_status); }; } &&
73193 { ac_try='test -s conftest.$ac_objext'
73194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73195 (eval $ac_try) 2>&5
73196 ac_status=$?
73197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73198 (exit $ac_status); }; }; then
73199 ac_header_compiler=yes
73200 else
73201 echo "$as_me: failed program was:" >&5
73202 sed 's/^/| /' conftest.$ac_ext >&5
73204 ac_header_compiler=no
73206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73208 echo "${ECHO_T}$ac_header_compiler" >&6
73210 # Is the header present?
73211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73213 cat >conftest.$ac_ext <<_ACEOF
73214 /* confdefs.h. */
73215 _ACEOF
73216 cat confdefs.h >>conftest.$ac_ext
73217 cat >>conftest.$ac_ext <<_ACEOF
73218 /* end confdefs.h. */
73219 #include <$ac_header>
73220 _ACEOF
73221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73223 ac_status=$?
73224 grep -v '^ *+' conftest.er1 >conftest.err
73225 rm -f conftest.er1
73226 cat conftest.err >&5
73227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73228 (exit $ac_status); } >/dev/null; then
73229 if test -s conftest.err; then
73230 ac_cpp_err=$ac_c_preproc_warn_flag
73231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73232 else
73233 ac_cpp_err=
73235 else
73236 ac_cpp_err=yes
73238 if test -z "$ac_cpp_err"; then
73239 ac_header_preproc=yes
73240 else
73241 echo "$as_me: failed program was:" >&5
73242 sed 's/^/| /' conftest.$ac_ext >&5
73244 ac_header_preproc=no
73246 rm -f conftest.err conftest.$ac_ext
73247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73248 echo "${ECHO_T}$ac_header_preproc" >&6
73250 # So? What about this header?
73251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73252 yes:no: )
73253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73257 ac_header_preproc=yes
73259 no:yes:* )
73260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73273 cat <<\_ASBOX
73274 ## ----------------------------------------- ##
73275 ## Report this to the package-unused lists. ##
73276 ## ----------------------------------------- ##
73277 _ASBOX
73279 sed "s/^/$as_me: WARNING: /" >&2
73281 esac
73282 echo "$as_me:$LINENO: checking for $ac_header" >&5
73283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73285 echo $ECHO_N "(cached) $ECHO_C" >&6
73286 else
73287 eval "$as_ac_Header=\$ac_header_preproc"
73289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73294 cat >>confdefs.h <<_ACEOF
73295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73296 _ACEOF
73297 ac_has_wchar_h=yes
73298 else
73299 ac_has_wchar_h=no
73302 done
73305 for ac_header in wctype.h
73307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73309 echo "$as_me:$LINENO: checking for $ac_header" >&5
73310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73312 echo $ECHO_N "(cached) $ECHO_C" >&6
73314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73316 else
73317 # Is the header compilable?
73318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73320 cat >conftest.$ac_ext <<_ACEOF
73321 /* confdefs.h. */
73322 _ACEOF
73323 cat confdefs.h >>conftest.$ac_ext
73324 cat >>conftest.$ac_ext <<_ACEOF
73325 /* end confdefs.h. */
73326 $ac_includes_default
73327 #include <$ac_header>
73328 _ACEOF
73329 rm -f conftest.$ac_objext
73330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73331 (eval $ac_compile) 2>conftest.er1
73332 ac_status=$?
73333 grep -v '^ *+' conftest.er1 >conftest.err
73334 rm -f conftest.er1
73335 cat conftest.err >&5
73336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73337 (exit $ac_status); } &&
73338 { ac_try='test -z "$ac_c_werror_flag"
73339 || test ! -s conftest.err'
73340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73341 (eval $ac_try) 2>&5
73342 ac_status=$?
73343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73344 (exit $ac_status); }; } &&
73345 { ac_try='test -s conftest.$ac_objext'
73346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73347 (eval $ac_try) 2>&5
73348 ac_status=$?
73349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73350 (exit $ac_status); }; }; then
73351 ac_header_compiler=yes
73352 else
73353 echo "$as_me: failed program was:" >&5
73354 sed 's/^/| /' conftest.$ac_ext >&5
73356 ac_header_compiler=no
73358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73360 echo "${ECHO_T}$ac_header_compiler" >&6
73362 # Is the header present?
73363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73365 cat >conftest.$ac_ext <<_ACEOF
73366 /* confdefs.h. */
73367 _ACEOF
73368 cat confdefs.h >>conftest.$ac_ext
73369 cat >>conftest.$ac_ext <<_ACEOF
73370 /* end confdefs.h. */
73371 #include <$ac_header>
73372 _ACEOF
73373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73375 ac_status=$?
73376 grep -v '^ *+' conftest.er1 >conftest.err
73377 rm -f conftest.er1
73378 cat conftest.err >&5
73379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73380 (exit $ac_status); } >/dev/null; then
73381 if test -s conftest.err; then
73382 ac_cpp_err=$ac_c_preproc_warn_flag
73383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73384 else
73385 ac_cpp_err=
73387 else
73388 ac_cpp_err=yes
73390 if test -z "$ac_cpp_err"; then
73391 ac_header_preproc=yes
73392 else
73393 echo "$as_me: failed program was:" >&5
73394 sed 's/^/| /' conftest.$ac_ext >&5
73396 ac_header_preproc=no
73398 rm -f conftest.err conftest.$ac_ext
73399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73400 echo "${ECHO_T}$ac_header_preproc" >&6
73402 # So? What about this header?
73403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73404 yes:no: )
73405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73409 ac_header_preproc=yes
73411 no:yes:* )
73412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73425 cat <<\_ASBOX
73426 ## ----------------------------------------- ##
73427 ## Report this to the package-unused lists. ##
73428 ## ----------------------------------------- ##
73429 _ASBOX
73431 sed "s/^/$as_me: WARNING: /" >&2
73433 esac
73434 echo "$as_me:$LINENO: checking for $ac_header" >&5
73435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73437 echo $ECHO_N "(cached) $ECHO_C" >&6
73438 else
73439 eval "$as_ac_Header=\$ac_header_preproc"
73441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73446 cat >>confdefs.h <<_ACEOF
73447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73448 _ACEOF
73449 ac_has_wctype_h=yes
73450 else
73451 ac_has_wctype_h=no
73454 done
73457 # Only continue checking if the ISO C99 headers exist and support is on.
73458 if test x"$ac_has_wchar_h" = xyes &&
73459 test x"$ac_has_wctype_h" = xyes &&
73460 test x"$enable_c_mbchar" != xno; then
73462 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73463 # numeric_limits can instantiate type_traits<wchar_t>
73464 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73465 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73466 cat >conftest.$ac_ext <<_ACEOF
73467 /* confdefs.h. */
73468 _ACEOF
73469 cat confdefs.h >>conftest.$ac_ext
73470 cat >>conftest.$ac_ext <<_ACEOF
73471 /* end confdefs.h. */
73472 #include <wchar.h>
73474 main ()
73476 int i = WCHAR_MIN; int j = WCHAR_MAX;
73478 return 0;
73480 _ACEOF
73481 rm -f conftest.$ac_objext
73482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73483 (eval $ac_compile) 2>conftest.er1
73484 ac_status=$?
73485 grep -v '^ *+' conftest.er1 >conftest.err
73486 rm -f conftest.er1
73487 cat conftest.err >&5
73488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73489 (exit $ac_status); } &&
73490 { ac_try='test -z "$ac_c_werror_flag"
73491 || test ! -s conftest.err'
73492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73493 (eval $ac_try) 2>&5
73494 ac_status=$?
73495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73496 (exit $ac_status); }; } &&
73497 { ac_try='test -s conftest.$ac_objext'
73498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73499 (eval $ac_try) 2>&5
73500 ac_status=$?
73501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73502 (exit $ac_status); }; }; then
73503 has_wchar_minmax=yes
73504 else
73505 echo "$as_me: failed program was:" >&5
73506 sed 's/^/| /' conftest.$ac_ext >&5
73508 has_wchar_minmax=no
73510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73511 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73512 echo "${ECHO_T}$has_wchar_minmax" >&6
73514 # Test wchar.h for WEOF, which is what we use to determine whether
73515 # to specialize for char_traits<wchar_t> or not.
73516 echo "$as_me:$LINENO: checking for WEOF" >&5
73517 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73518 cat >conftest.$ac_ext <<_ACEOF
73519 /* confdefs.h. */
73520 _ACEOF
73521 cat confdefs.h >>conftest.$ac_ext
73522 cat >>conftest.$ac_ext <<_ACEOF
73523 /* end confdefs.h. */
73525 #include <wchar.h>
73526 #include <stddef.h>
73528 main ()
73530 wint_t i = WEOF;
73532 return 0;
73534 _ACEOF
73535 rm -f conftest.$ac_objext
73536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73537 (eval $ac_compile) 2>conftest.er1
73538 ac_status=$?
73539 grep -v '^ *+' conftest.er1 >conftest.err
73540 rm -f conftest.er1
73541 cat conftest.err >&5
73542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73543 (exit $ac_status); } &&
73544 { ac_try='test -z "$ac_c_werror_flag"
73545 || test ! -s conftest.err'
73546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73547 (eval $ac_try) 2>&5
73548 ac_status=$?
73549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73550 (exit $ac_status); }; } &&
73551 { ac_try='test -s conftest.$ac_objext'
73552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73553 (eval $ac_try) 2>&5
73554 ac_status=$?
73555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73556 (exit $ac_status); }; }; then
73557 has_weof=yes
73558 else
73559 echo "$as_me: failed program was:" >&5
73560 sed 's/^/| /' conftest.$ac_ext >&5
73562 has_weof=no
73564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73565 echo "$as_me:$LINENO: result: $has_weof" >&5
73566 echo "${ECHO_T}$has_weof" >&6
73568 # Tests for wide character functions used in char_traits<wchar_t>.
73569 ac_wfuncs=yes
73576 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73579 echo "$as_me:$LINENO: checking for $ac_func" >&5
73580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73581 if eval "test \"\${$as_ac_var+set}\" = set"; then
73582 echo $ECHO_N "(cached) $ECHO_C" >&6
73583 else
73584 if test x$gcc_no_link = xyes; then
73585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73587 { (exit 1); exit 1; }; }
73589 cat >conftest.$ac_ext <<_ACEOF
73590 /* confdefs.h. */
73591 _ACEOF
73592 cat confdefs.h >>conftest.$ac_ext
73593 cat >>conftest.$ac_ext <<_ACEOF
73594 /* end confdefs.h. */
73595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73597 #define $ac_func innocuous_$ac_func
73599 /* System header to define __stub macros and hopefully few prototypes,
73600 which can conflict with char $ac_func (); below.
73601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73602 <limits.h> exists even on freestanding compilers. */
73604 #ifdef __STDC__
73605 # include <limits.h>
73606 #else
73607 # include <assert.h>
73608 #endif
73610 #undef $ac_func
73612 /* Override any gcc2 internal prototype to avoid an error. */
73613 #ifdef __cplusplus
73614 extern "C"
73616 #endif
73617 /* We use char because int might match the return type of a gcc2
73618 builtin and then its argument prototype would still apply. */
73619 char $ac_func ();
73620 /* The GNU C library defines this for functions which it implements
73621 to always fail with ENOSYS. Some functions are actually named
73622 something starting with __ and the normal name is an alias. */
73623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73624 choke me
73625 #else
73626 char (*f) () = $ac_func;
73627 #endif
73628 #ifdef __cplusplus
73630 #endif
73633 main ()
73635 return f != $ac_func;
73637 return 0;
73639 _ACEOF
73640 rm -f conftest.$ac_objext conftest$ac_exeext
73641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73642 (eval $ac_link) 2>conftest.er1
73643 ac_status=$?
73644 grep -v '^ *+' conftest.er1 >conftest.err
73645 rm -f conftest.er1
73646 cat conftest.err >&5
73647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73648 (exit $ac_status); } &&
73649 { ac_try='test -z "$ac_c_werror_flag"
73650 || test ! -s conftest.err'
73651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73652 (eval $ac_try) 2>&5
73653 ac_status=$?
73654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73655 (exit $ac_status); }; } &&
73656 { ac_try='test -s conftest$ac_exeext'
73657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73658 (eval $ac_try) 2>&5
73659 ac_status=$?
73660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73661 (exit $ac_status); }; }; then
73662 eval "$as_ac_var=yes"
73663 else
73664 echo "$as_me: failed program was:" >&5
73665 sed 's/^/| /' conftest.$ac_ext >&5
73667 eval "$as_ac_var=no"
73669 rm -f conftest.err conftest.$ac_objext \
73670 conftest$ac_exeext conftest.$ac_ext
73672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73674 if test `eval echo '${'$as_ac_var'}'` = yes; then
73675 cat >>confdefs.h <<_ACEOF
73676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73677 _ACEOF
73679 else
73680 ac_wfuncs=no
73682 done
73685 # Checks for names injected into std:: by the c_std headers.
73732 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73733 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73734 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73735 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73736 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73737 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73740 echo "$as_me:$LINENO: checking for $ac_func" >&5
73741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73742 if eval "test \"\${$as_ac_var+set}\" = set"; then
73743 echo $ECHO_N "(cached) $ECHO_C" >&6
73744 else
73745 if test x$gcc_no_link = xyes; then
73746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73748 { (exit 1); exit 1; }; }
73750 cat >conftest.$ac_ext <<_ACEOF
73751 /* confdefs.h. */
73752 _ACEOF
73753 cat confdefs.h >>conftest.$ac_ext
73754 cat >>conftest.$ac_ext <<_ACEOF
73755 /* end confdefs.h. */
73756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73758 #define $ac_func innocuous_$ac_func
73760 /* System header to define __stub macros and hopefully few prototypes,
73761 which can conflict with char $ac_func (); below.
73762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73763 <limits.h> exists even on freestanding compilers. */
73765 #ifdef __STDC__
73766 # include <limits.h>
73767 #else
73768 # include <assert.h>
73769 #endif
73771 #undef $ac_func
73773 /* Override any gcc2 internal prototype to avoid an error. */
73774 #ifdef __cplusplus
73775 extern "C"
73777 #endif
73778 /* We use char because int might match the return type of a gcc2
73779 builtin and then its argument prototype would still apply. */
73780 char $ac_func ();
73781 /* The GNU C library defines this for functions which it implements
73782 to always fail with ENOSYS. Some functions are actually named
73783 something starting with __ and the normal name is an alias. */
73784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73785 choke me
73786 #else
73787 char (*f) () = $ac_func;
73788 #endif
73789 #ifdef __cplusplus
73791 #endif
73794 main ()
73796 return f != $ac_func;
73798 return 0;
73800 _ACEOF
73801 rm -f conftest.$ac_objext conftest$ac_exeext
73802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73803 (eval $ac_link) 2>conftest.er1
73804 ac_status=$?
73805 grep -v '^ *+' conftest.er1 >conftest.err
73806 rm -f conftest.er1
73807 cat conftest.err >&5
73808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73809 (exit $ac_status); } &&
73810 { ac_try='test -z "$ac_c_werror_flag"
73811 || test ! -s conftest.err'
73812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73813 (eval $ac_try) 2>&5
73814 ac_status=$?
73815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73816 (exit $ac_status); }; } &&
73817 { ac_try='test -s conftest$ac_exeext'
73818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73819 (eval $ac_try) 2>&5
73820 ac_status=$?
73821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73822 (exit $ac_status); }; }; then
73823 eval "$as_ac_var=yes"
73824 else
73825 echo "$as_me: failed program was:" >&5
73826 sed 's/^/| /' conftest.$ac_ext >&5
73828 eval "$as_ac_var=no"
73830 rm -f conftest.err conftest.$ac_objext \
73831 conftest$ac_exeext conftest.$ac_ext
73833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73835 if test `eval echo '${'$as_ac_var'}'` = yes; then
73836 cat >>confdefs.h <<_ACEOF
73837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73838 _ACEOF
73840 else
73841 ac_wfuncs=no
73843 done
73846 # Checks for wide character functions that are not required
73847 # for basic wchar_t support. Don't disable support if they are missing.
73848 # Injection of these is wrapped with guard macros.
73854 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73857 echo "$as_me:$LINENO: checking for $ac_func" >&5
73858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73859 if eval "test \"\${$as_ac_var+set}\" = set"; then
73860 echo $ECHO_N "(cached) $ECHO_C" >&6
73861 else
73862 if test x$gcc_no_link = xyes; then
73863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73865 { (exit 1); exit 1; }; }
73867 cat >conftest.$ac_ext <<_ACEOF
73868 /* confdefs.h. */
73869 _ACEOF
73870 cat confdefs.h >>conftest.$ac_ext
73871 cat >>conftest.$ac_ext <<_ACEOF
73872 /* end confdefs.h. */
73873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73875 #define $ac_func innocuous_$ac_func
73877 /* System header to define __stub macros and hopefully few prototypes,
73878 which can conflict with char $ac_func (); below.
73879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73880 <limits.h> exists even on freestanding compilers. */
73882 #ifdef __STDC__
73883 # include <limits.h>
73884 #else
73885 # include <assert.h>
73886 #endif
73888 #undef $ac_func
73890 /* Override any gcc2 internal prototype to avoid an error. */
73891 #ifdef __cplusplus
73892 extern "C"
73894 #endif
73895 /* We use char because int might match the return type of a gcc2
73896 builtin and then its argument prototype would still apply. */
73897 char $ac_func ();
73898 /* The GNU C library defines this for functions which it implements
73899 to always fail with ENOSYS. Some functions are actually named
73900 something starting with __ and the normal name is an alias. */
73901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73902 choke me
73903 #else
73904 char (*f) () = $ac_func;
73905 #endif
73906 #ifdef __cplusplus
73908 #endif
73911 main ()
73913 return f != $ac_func;
73915 return 0;
73917 _ACEOF
73918 rm -f conftest.$ac_objext conftest$ac_exeext
73919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73920 (eval $ac_link) 2>conftest.er1
73921 ac_status=$?
73922 grep -v '^ *+' conftest.er1 >conftest.err
73923 rm -f conftest.er1
73924 cat conftest.err >&5
73925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73926 (exit $ac_status); } &&
73927 { ac_try='test -z "$ac_c_werror_flag"
73928 || test ! -s conftest.err'
73929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73930 (eval $ac_try) 2>&5
73931 ac_status=$?
73932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73933 (exit $ac_status); }; } &&
73934 { ac_try='test -s conftest$ac_exeext'
73935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73936 (eval $ac_try) 2>&5
73937 ac_status=$?
73938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73939 (exit $ac_status); }; }; then
73940 eval "$as_ac_var=yes"
73941 else
73942 echo "$as_me: failed program was:" >&5
73943 sed 's/^/| /' conftest.$ac_ext >&5
73945 eval "$as_ac_var=no"
73947 rm -f conftest.err conftest.$ac_objext \
73948 conftest$ac_exeext conftest.$ac_ext
73950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73952 if test `eval echo '${'$as_ac_var'}'` = yes; then
73953 cat >>confdefs.h <<_ACEOF
73954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73955 _ACEOF
73958 done
73961 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73962 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73963 if test x"$has_weof" = xyes &&
73964 test x"$has_wchar_minmax" = xyes &&
73965 test x"$ac_wfuncs" = xyes;
73966 then
73967 ac_isoC99_wchar_t=yes
73968 else
73969 ac_isoC99_wchar_t=no
73971 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73972 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73974 # Use iconv for wchar_t to char conversions. As such, check for
73975 # X/Open Portability Guide, version 2 features (XPG2).
73976 if test "${ac_cv_header_iconv_h+set}" = set; then
73977 echo "$as_me:$LINENO: checking for iconv.h" >&5
73978 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73979 if test "${ac_cv_header_iconv_h+set}" = set; then
73980 echo $ECHO_N "(cached) $ECHO_C" >&6
73982 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73983 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73984 else
73985 # Is the header compilable?
73986 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73987 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73988 cat >conftest.$ac_ext <<_ACEOF
73989 /* confdefs.h. */
73990 _ACEOF
73991 cat confdefs.h >>conftest.$ac_ext
73992 cat >>conftest.$ac_ext <<_ACEOF
73993 /* end confdefs.h. */
73994 $ac_includes_default
73995 #include <iconv.h>
73996 _ACEOF
73997 rm -f conftest.$ac_objext
73998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73999 (eval $ac_compile) 2>conftest.er1
74000 ac_status=$?
74001 grep -v '^ *+' conftest.er1 >conftest.err
74002 rm -f conftest.er1
74003 cat conftest.err >&5
74004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74005 (exit $ac_status); } &&
74006 { ac_try='test -z "$ac_c_werror_flag"
74007 || test ! -s conftest.err'
74008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74009 (eval $ac_try) 2>&5
74010 ac_status=$?
74011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74012 (exit $ac_status); }; } &&
74013 { ac_try='test -s conftest.$ac_objext'
74014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74015 (eval $ac_try) 2>&5
74016 ac_status=$?
74017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74018 (exit $ac_status); }; }; then
74019 ac_header_compiler=yes
74020 else
74021 echo "$as_me: failed program was:" >&5
74022 sed 's/^/| /' conftest.$ac_ext >&5
74024 ac_header_compiler=no
74026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74028 echo "${ECHO_T}$ac_header_compiler" >&6
74030 # Is the header present?
74031 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74032 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74033 cat >conftest.$ac_ext <<_ACEOF
74034 /* confdefs.h. */
74035 _ACEOF
74036 cat confdefs.h >>conftest.$ac_ext
74037 cat >>conftest.$ac_ext <<_ACEOF
74038 /* end confdefs.h. */
74039 #include <iconv.h>
74040 _ACEOF
74041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74043 ac_status=$?
74044 grep -v '^ *+' conftest.er1 >conftest.err
74045 rm -f conftest.er1
74046 cat conftest.err >&5
74047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74048 (exit $ac_status); } >/dev/null; then
74049 if test -s conftest.err; then
74050 ac_cpp_err=$ac_c_preproc_warn_flag
74051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74052 else
74053 ac_cpp_err=
74055 else
74056 ac_cpp_err=yes
74058 if test -z "$ac_cpp_err"; then
74059 ac_header_preproc=yes
74060 else
74061 echo "$as_me: failed program was:" >&5
74062 sed 's/^/| /' conftest.$ac_ext >&5
74064 ac_header_preproc=no
74066 rm -f conftest.err conftest.$ac_ext
74067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74068 echo "${ECHO_T}$ac_header_preproc" >&6
74070 # So? What about this header?
74071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74072 yes:no: )
74073 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74074 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74075 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74076 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74077 ac_header_preproc=yes
74079 no:yes:* )
74080 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74081 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74082 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74083 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74084 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74085 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74086 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74087 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74088 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74089 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74090 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74091 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74093 cat <<\_ASBOX
74094 ## ----------------------------------------- ##
74095 ## Report this to the package-unused lists. ##
74096 ## ----------------------------------------- ##
74097 _ASBOX
74099 sed "s/^/$as_me: WARNING: /" >&2
74101 esac
74102 echo "$as_me:$LINENO: checking for iconv.h" >&5
74103 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74104 if test "${ac_cv_header_iconv_h+set}" = set; then
74105 echo $ECHO_N "(cached) $ECHO_C" >&6
74106 else
74107 ac_cv_header_iconv_h=$ac_header_preproc
74109 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74110 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74113 if test $ac_cv_header_iconv_h = yes; then
74114 ac_has_iconv_h=yes
74115 else
74116 ac_has_iconv_h=no
74120 if test "${ac_cv_header_langinfo_h+set}" = set; then
74121 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74122 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74123 if test "${ac_cv_header_langinfo_h+set}" = set; then
74124 echo $ECHO_N "(cached) $ECHO_C" >&6
74126 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74127 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74128 else
74129 # Is the header compilable?
74130 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74131 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74132 cat >conftest.$ac_ext <<_ACEOF
74133 /* confdefs.h. */
74134 _ACEOF
74135 cat confdefs.h >>conftest.$ac_ext
74136 cat >>conftest.$ac_ext <<_ACEOF
74137 /* end confdefs.h. */
74138 $ac_includes_default
74139 #include <langinfo.h>
74140 _ACEOF
74141 rm -f conftest.$ac_objext
74142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74143 (eval $ac_compile) 2>conftest.er1
74144 ac_status=$?
74145 grep -v '^ *+' conftest.er1 >conftest.err
74146 rm -f conftest.er1
74147 cat conftest.err >&5
74148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74149 (exit $ac_status); } &&
74150 { ac_try='test -z "$ac_c_werror_flag"
74151 || test ! -s conftest.err'
74152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74153 (eval $ac_try) 2>&5
74154 ac_status=$?
74155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74156 (exit $ac_status); }; } &&
74157 { ac_try='test -s conftest.$ac_objext'
74158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74159 (eval $ac_try) 2>&5
74160 ac_status=$?
74161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74162 (exit $ac_status); }; }; then
74163 ac_header_compiler=yes
74164 else
74165 echo "$as_me: failed program was:" >&5
74166 sed 's/^/| /' conftest.$ac_ext >&5
74168 ac_header_compiler=no
74170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74172 echo "${ECHO_T}$ac_header_compiler" >&6
74174 # Is the header present?
74175 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74176 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74177 cat >conftest.$ac_ext <<_ACEOF
74178 /* confdefs.h. */
74179 _ACEOF
74180 cat confdefs.h >>conftest.$ac_ext
74181 cat >>conftest.$ac_ext <<_ACEOF
74182 /* end confdefs.h. */
74183 #include <langinfo.h>
74184 _ACEOF
74185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74187 ac_status=$?
74188 grep -v '^ *+' conftest.er1 >conftest.err
74189 rm -f conftest.er1
74190 cat conftest.err >&5
74191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74192 (exit $ac_status); } >/dev/null; then
74193 if test -s conftest.err; then
74194 ac_cpp_err=$ac_c_preproc_warn_flag
74195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74196 else
74197 ac_cpp_err=
74199 else
74200 ac_cpp_err=yes
74202 if test -z "$ac_cpp_err"; then
74203 ac_header_preproc=yes
74204 else
74205 echo "$as_me: failed program was:" >&5
74206 sed 's/^/| /' conftest.$ac_ext >&5
74208 ac_header_preproc=no
74210 rm -f conftest.err conftest.$ac_ext
74211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74212 echo "${ECHO_T}$ac_header_preproc" >&6
74214 # So? What about this header?
74215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74216 yes:no: )
74217 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74218 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74219 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74220 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74221 ac_header_preproc=yes
74223 no:yes:* )
74224 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74225 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74226 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74227 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74228 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74229 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74230 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74231 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74232 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74233 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74234 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74235 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74237 cat <<\_ASBOX
74238 ## ----------------------------------------- ##
74239 ## Report this to the package-unused lists. ##
74240 ## ----------------------------------------- ##
74241 _ASBOX
74243 sed "s/^/$as_me: WARNING: /" >&2
74245 esac
74246 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74247 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74248 if test "${ac_cv_header_langinfo_h+set}" = set; then
74249 echo $ECHO_N "(cached) $ECHO_C" >&6
74250 else
74251 ac_cv_header_langinfo_h=$ac_header_preproc
74253 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74254 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74257 if test $ac_cv_header_langinfo_h = yes; then
74258 ac_has_langinfo_h=yes
74259 else
74260 ac_has_langinfo_h=no
74265 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74266 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74267 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74268 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74269 echo $ECHO_N "(cached) $ECHO_C" >&6
74270 else
74271 ac_check_lib_save_LIBS=$LIBS
74272 LIBS="-liconv $LIBS"
74273 if test x$gcc_no_link = xyes; then
74274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74276 { (exit 1); exit 1; }; }
74278 cat >conftest.$ac_ext <<_ACEOF
74279 /* confdefs.h. */
74280 _ACEOF
74281 cat confdefs.h >>conftest.$ac_ext
74282 cat >>conftest.$ac_ext <<_ACEOF
74283 /* end confdefs.h. */
74285 /* Override any gcc2 internal prototype to avoid an error. */
74286 #ifdef __cplusplus
74287 extern "C"
74288 #endif
74289 /* We use char because int might match the return type of a gcc2
74290 builtin and then its argument prototype would still apply. */
74291 char iconv ();
74293 main ()
74295 iconv ();
74297 return 0;
74299 _ACEOF
74300 rm -f conftest.$ac_objext conftest$ac_exeext
74301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74302 (eval $ac_link) 2>conftest.er1
74303 ac_status=$?
74304 grep -v '^ *+' conftest.er1 >conftest.err
74305 rm -f conftest.er1
74306 cat conftest.err >&5
74307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74308 (exit $ac_status); } &&
74309 { ac_try='test -z "$ac_c_werror_flag"
74310 || test ! -s conftest.err'
74311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74312 (eval $ac_try) 2>&5
74313 ac_status=$?
74314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74315 (exit $ac_status); }; } &&
74316 { ac_try='test -s conftest$ac_exeext'
74317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74318 (eval $ac_try) 2>&5
74319 ac_status=$?
74320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74321 (exit $ac_status); }; }; then
74322 ac_cv_lib_iconv_iconv=yes
74323 else
74324 echo "$as_me: failed program was:" >&5
74325 sed 's/^/| /' conftest.$ac_ext >&5
74327 ac_cv_lib_iconv_iconv=no
74329 rm -f conftest.err conftest.$ac_objext \
74330 conftest$ac_exeext conftest.$ac_ext
74331 LIBS=$ac_check_lib_save_LIBS
74333 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74334 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74335 if test $ac_cv_lib_iconv_iconv = yes; then
74336 LIBICONV="-liconv"
74339 ac_save_LIBS="$LIBS"
74340 LIBS="$LIBS $LIBICONV"
74347 for ac_func in iconv_open iconv_close iconv nl_langinfo
74349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74350 echo "$as_me:$LINENO: checking for $ac_func" >&5
74351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74352 if eval "test \"\${$as_ac_var+set}\" = set"; then
74353 echo $ECHO_N "(cached) $ECHO_C" >&6
74354 else
74355 if test x$gcc_no_link = xyes; then
74356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74358 { (exit 1); exit 1; }; }
74360 cat >conftest.$ac_ext <<_ACEOF
74361 /* confdefs.h. */
74362 _ACEOF
74363 cat confdefs.h >>conftest.$ac_ext
74364 cat >>conftest.$ac_ext <<_ACEOF
74365 /* end confdefs.h. */
74366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74368 #define $ac_func innocuous_$ac_func
74370 /* System header to define __stub macros and hopefully few prototypes,
74371 which can conflict with char $ac_func (); below.
74372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74373 <limits.h> exists even on freestanding compilers. */
74375 #ifdef __STDC__
74376 # include <limits.h>
74377 #else
74378 # include <assert.h>
74379 #endif
74381 #undef $ac_func
74383 /* Override any gcc2 internal prototype to avoid an error. */
74384 #ifdef __cplusplus
74385 extern "C"
74387 #endif
74388 /* We use char because int might match the return type of a gcc2
74389 builtin and then its argument prototype would still apply. */
74390 char $ac_func ();
74391 /* The GNU C library defines this for functions which it implements
74392 to always fail with ENOSYS. Some functions are actually named
74393 something starting with __ and the normal name is an alias. */
74394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74395 choke me
74396 #else
74397 char (*f) () = $ac_func;
74398 #endif
74399 #ifdef __cplusplus
74401 #endif
74404 main ()
74406 return f != $ac_func;
74408 return 0;
74410 _ACEOF
74411 rm -f conftest.$ac_objext conftest$ac_exeext
74412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74413 (eval $ac_link) 2>conftest.er1
74414 ac_status=$?
74415 grep -v '^ *+' conftest.er1 >conftest.err
74416 rm -f conftest.er1
74417 cat conftest.err >&5
74418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74419 (exit $ac_status); } &&
74420 { ac_try='test -z "$ac_c_werror_flag"
74421 || test ! -s conftest.err'
74422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74423 (eval $ac_try) 2>&5
74424 ac_status=$?
74425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74426 (exit $ac_status); }; } &&
74427 { ac_try='test -s conftest$ac_exeext'
74428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74429 (eval $ac_try) 2>&5
74430 ac_status=$?
74431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74432 (exit $ac_status); }; }; then
74433 eval "$as_ac_var=yes"
74434 else
74435 echo "$as_me: failed program was:" >&5
74436 sed 's/^/| /' conftest.$ac_ext >&5
74438 eval "$as_ac_var=no"
74440 rm -f conftest.err conftest.$ac_objext \
74441 conftest$ac_exeext conftest.$ac_ext
74443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74445 if test `eval echo '${'$as_ac_var'}'` = yes; then
74446 cat >>confdefs.h <<_ACEOF
74447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74448 _ACEOF
74449 ac_XPG2funcs=yes
74450 else
74451 ac_XPG2funcs=no
74453 done
74456 LIBS="$ac_save_LIBS"
74458 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74459 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74460 if test x"$ac_has_iconv_h" = xyes &&
74461 test x"$ac_has_langinfo_h" = xyes &&
74462 test x"$ac_XPG2funcs" = xyes;
74463 then
74464 ac_XPG2_wchar_t=yes
74465 else
74466 ac_XPG2_wchar_t=no
74468 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74469 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74471 # At the moment, only enable wchar_t specializations if all the
74472 # above support is present.
74473 if test x"$ac_isoC99_wchar_t" = xyes &&
74474 test x"$ac_XPG2_wchar_t" = xyes;
74475 then
74476 cat >>confdefs.h <<\_ACEOF
74477 #define _GLIBCXX_USE_WCHAR_T 1
74478 _ACEOF
74480 enable_wchar_t=yes
74483 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74484 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74485 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74486 echo "${ECHO_T}$enable_wchar_t" >&6
74489 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74490 ac_save_CXXFLAGS="$CXXFLAGS"
74491 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74494 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74495 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74496 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74497 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74498 echo $ECHO_N "(cached) $ECHO_C" >&6
74499 else
74503 ac_ext=cc
74504 ac_cpp='$CXXCPP $CPPFLAGS'
74505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74509 cat >conftest.$ac_ext <<_ACEOF
74510 /* confdefs.h. */
74511 _ACEOF
74512 cat confdefs.h >>conftest.$ac_ext
74513 cat >>conftest.$ac_ext <<_ACEOF
74514 /* end confdefs.h. */
74515 #include <stdlib.h>
74517 main ()
74519 strtold(0, 0);
74521 return 0;
74523 _ACEOF
74524 rm -f conftest.$ac_objext
74525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74526 (eval $ac_compile) 2>conftest.er1
74527 ac_status=$?
74528 grep -v '^ *+' conftest.er1 >conftest.err
74529 rm -f conftest.er1
74530 cat conftest.err >&5
74531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74532 (exit $ac_status); } &&
74533 { ac_try='test -z "$ac_cxx_werror_flag"
74534 || test ! -s conftest.err'
74535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74536 (eval $ac_try) 2>&5
74537 ac_status=$?
74538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74539 (exit $ac_status); }; } &&
74540 { ac_try='test -s conftest.$ac_objext'
74541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74542 (eval $ac_try) 2>&5
74543 ac_status=$?
74544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74545 (exit $ac_status); }; }; then
74546 glibcxx_cv_func_strtold_use=yes
74547 else
74548 echo "$as_me: failed program was:" >&5
74549 sed 's/^/| /' conftest.$ac_ext >&5
74551 glibcxx_cv_func_strtold_use=no
74553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74554 ac_ext=c
74555 ac_cpp='$CPP $CPPFLAGS'
74556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74565 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74566 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74568 for ac_func in strtold
74570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74571 echo "$as_me:$LINENO: checking for $ac_func" >&5
74572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74573 if eval "test \"\${$as_ac_var+set}\" = set"; then
74574 echo $ECHO_N "(cached) $ECHO_C" >&6
74575 else
74576 if test x$gcc_no_link = xyes; then
74577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74579 { (exit 1); exit 1; }; }
74581 cat >conftest.$ac_ext <<_ACEOF
74582 /* confdefs.h. */
74583 _ACEOF
74584 cat confdefs.h >>conftest.$ac_ext
74585 cat >>conftest.$ac_ext <<_ACEOF
74586 /* end confdefs.h. */
74587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74589 #define $ac_func innocuous_$ac_func
74591 /* System header to define __stub macros and hopefully few prototypes,
74592 which can conflict with char $ac_func (); below.
74593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74594 <limits.h> exists even on freestanding compilers. */
74596 #ifdef __STDC__
74597 # include <limits.h>
74598 #else
74599 # include <assert.h>
74600 #endif
74602 #undef $ac_func
74604 /* Override any gcc2 internal prototype to avoid an error. */
74605 #ifdef __cplusplus
74606 extern "C"
74608 #endif
74609 /* We use char because int might match the return type of a gcc2
74610 builtin and then its argument prototype would still apply. */
74611 char $ac_func ();
74612 /* The GNU C library defines this for functions which it implements
74613 to always fail with ENOSYS. Some functions are actually named
74614 something starting with __ and the normal name is an alias. */
74615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74616 choke me
74617 #else
74618 char (*f) () = $ac_func;
74619 #endif
74620 #ifdef __cplusplus
74622 #endif
74625 main ()
74627 return f != $ac_func;
74629 return 0;
74631 _ACEOF
74632 rm -f conftest.$ac_objext conftest$ac_exeext
74633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74634 (eval $ac_link) 2>conftest.er1
74635 ac_status=$?
74636 grep -v '^ *+' conftest.er1 >conftest.err
74637 rm -f conftest.er1
74638 cat conftest.err >&5
74639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74640 (exit $ac_status); } &&
74641 { ac_try='test -z "$ac_c_werror_flag"
74642 || test ! -s conftest.err'
74643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74644 (eval $ac_try) 2>&5
74645 ac_status=$?
74646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74647 (exit $ac_status); }; } &&
74648 { ac_try='test -s conftest$ac_exeext'
74649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74650 (eval $ac_try) 2>&5
74651 ac_status=$?
74652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74653 (exit $ac_status); }; }; then
74654 eval "$as_ac_var=yes"
74655 else
74656 echo "$as_me: failed program was:" >&5
74657 sed 's/^/| /' conftest.$ac_ext >&5
74659 eval "$as_ac_var=no"
74661 rm -f conftest.err conftest.$ac_objext \
74662 conftest$ac_exeext conftest.$ac_ext
74664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74666 if test `eval echo '${'$as_ac_var'}'` = yes; then
74667 cat >>confdefs.h <<_ACEOF
74668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74669 _ACEOF
74672 done
74677 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74678 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74679 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74680 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74681 echo $ECHO_N "(cached) $ECHO_C" >&6
74682 else
74686 ac_ext=cc
74687 ac_cpp='$CXXCPP $CPPFLAGS'
74688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74692 cat >conftest.$ac_ext <<_ACEOF
74693 /* confdefs.h. */
74694 _ACEOF
74695 cat confdefs.h >>conftest.$ac_ext
74696 cat >>conftest.$ac_ext <<_ACEOF
74697 /* end confdefs.h. */
74698 #include <stdlib.h>
74700 main ()
74702 strtof(0, 0);
74704 return 0;
74706 _ACEOF
74707 rm -f conftest.$ac_objext
74708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74709 (eval $ac_compile) 2>conftest.er1
74710 ac_status=$?
74711 grep -v '^ *+' conftest.er1 >conftest.err
74712 rm -f conftest.er1
74713 cat conftest.err >&5
74714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74715 (exit $ac_status); } &&
74716 { ac_try='test -z "$ac_cxx_werror_flag"
74717 || test ! -s conftest.err'
74718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74719 (eval $ac_try) 2>&5
74720 ac_status=$?
74721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74722 (exit $ac_status); }; } &&
74723 { ac_try='test -s conftest.$ac_objext'
74724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74725 (eval $ac_try) 2>&5
74726 ac_status=$?
74727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74728 (exit $ac_status); }; }; then
74729 glibcxx_cv_func_strtof_use=yes
74730 else
74731 echo "$as_me: failed program was:" >&5
74732 sed 's/^/| /' conftest.$ac_ext >&5
74734 glibcxx_cv_func_strtof_use=no
74736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74737 ac_ext=c
74738 ac_cpp='$CPP $CPPFLAGS'
74739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74748 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74749 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74751 for ac_func in strtof
74753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74754 echo "$as_me:$LINENO: checking for $ac_func" >&5
74755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74756 if eval "test \"\${$as_ac_var+set}\" = set"; then
74757 echo $ECHO_N "(cached) $ECHO_C" >&6
74758 else
74759 if test x$gcc_no_link = xyes; then
74760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74762 { (exit 1); exit 1; }; }
74764 cat >conftest.$ac_ext <<_ACEOF
74765 /* confdefs.h. */
74766 _ACEOF
74767 cat confdefs.h >>conftest.$ac_ext
74768 cat >>conftest.$ac_ext <<_ACEOF
74769 /* end confdefs.h. */
74770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74772 #define $ac_func innocuous_$ac_func
74774 /* System header to define __stub macros and hopefully few prototypes,
74775 which can conflict with char $ac_func (); below.
74776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74777 <limits.h> exists even on freestanding compilers. */
74779 #ifdef __STDC__
74780 # include <limits.h>
74781 #else
74782 # include <assert.h>
74783 #endif
74785 #undef $ac_func
74787 /* Override any gcc2 internal prototype to avoid an error. */
74788 #ifdef __cplusplus
74789 extern "C"
74791 #endif
74792 /* We use char because int might match the return type of a gcc2
74793 builtin and then its argument prototype would still apply. */
74794 char $ac_func ();
74795 /* The GNU C library defines this for functions which it implements
74796 to always fail with ENOSYS. Some functions are actually named
74797 something starting with __ and the normal name is an alias. */
74798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74799 choke me
74800 #else
74801 char (*f) () = $ac_func;
74802 #endif
74803 #ifdef __cplusplus
74805 #endif
74808 main ()
74810 return f != $ac_func;
74812 return 0;
74814 _ACEOF
74815 rm -f conftest.$ac_objext conftest$ac_exeext
74816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74817 (eval $ac_link) 2>conftest.er1
74818 ac_status=$?
74819 grep -v '^ *+' conftest.er1 >conftest.err
74820 rm -f conftest.er1
74821 cat conftest.err >&5
74822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74823 (exit $ac_status); } &&
74824 { ac_try='test -z "$ac_c_werror_flag"
74825 || test ! -s conftest.err'
74826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74827 (eval $ac_try) 2>&5
74828 ac_status=$?
74829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74830 (exit $ac_status); }; } &&
74831 { ac_try='test -s conftest$ac_exeext'
74832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74833 (eval $ac_try) 2>&5
74834 ac_status=$?
74835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74836 (exit $ac_status); }; }; then
74837 eval "$as_ac_var=yes"
74838 else
74839 echo "$as_me: failed program was:" >&5
74840 sed 's/^/| /' conftest.$ac_ext >&5
74842 eval "$as_ac_var=no"
74844 rm -f conftest.err conftest.$ac_objext \
74845 conftest$ac_exeext conftest.$ac_ext
74847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74849 if test `eval echo '${'$as_ac_var'}'` = yes; then
74850 cat >>confdefs.h <<_ACEOF
74851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74852 _ACEOF
74855 done
74860 CXXFLAGS="$ac_save_CXXFLAGS"
74863 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74864 echo $ECHO_N "(cached) $ECHO_C" >&6
74865 else
74867 if test x$gcc_no_link = xyes; then
74868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74870 { (exit 1); exit 1; }; }
74872 cat >conftest.$ac_ext <<_ACEOF
74873 /* confdefs.h. */
74874 _ACEOF
74875 cat confdefs.h >>conftest.$ac_ext
74876 cat >>conftest.$ac_ext <<_ACEOF
74877 /* end confdefs.h. */
74878 #include <sys/stat.h>
74880 main ()
74882 struct stat buffer;
74883 fstat(0, &buffer);
74884 S_ISREG(buffer.st_mode);
74886 return 0;
74888 _ACEOF
74889 rm -f conftest.$ac_objext conftest$ac_exeext
74890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74891 (eval $ac_link) 2>conftest.er1
74892 ac_status=$?
74893 grep -v '^ *+' conftest.er1 >conftest.err
74894 rm -f conftest.er1
74895 cat conftest.err >&5
74896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74897 (exit $ac_status); } &&
74898 { ac_try='test -z "$ac_c_werror_flag"
74899 || test ! -s conftest.err'
74900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74901 (eval $ac_try) 2>&5
74902 ac_status=$?
74903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74904 (exit $ac_status); }; } &&
74905 { ac_try='test -s conftest$ac_exeext'
74906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74907 (eval $ac_try) 2>&5
74908 ac_status=$?
74909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74910 (exit $ac_status); }; }; then
74911 glibcxx_cv_S_ISREG=yes
74912 else
74913 echo "$as_me: failed program was:" >&5
74914 sed 's/^/| /' conftest.$ac_ext >&5
74916 glibcxx_cv_S_ISREG=no
74918 rm -f conftest.err conftest.$ac_objext \
74919 conftest$ac_exeext conftest.$ac_ext
74923 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74924 echo $ECHO_N "(cached) $ECHO_C" >&6
74925 else
74927 if test x$gcc_no_link = xyes; then
74928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74930 { (exit 1); exit 1; }; }
74932 cat >conftest.$ac_ext <<_ACEOF
74933 /* confdefs.h. */
74934 _ACEOF
74935 cat confdefs.h >>conftest.$ac_ext
74936 cat >>conftest.$ac_ext <<_ACEOF
74937 /* end confdefs.h. */
74938 #include <sys/stat.h>
74940 main ()
74942 struct stat buffer;
74943 fstat(0, &buffer);
74944 S_IFREG & buffer.st_mode;
74946 return 0;
74948 _ACEOF
74949 rm -f conftest.$ac_objext conftest$ac_exeext
74950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74951 (eval $ac_link) 2>conftest.er1
74952 ac_status=$?
74953 grep -v '^ *+' conftest.er1 >conftest.err
74954 rm -f conftest.er1
74955 cat conftest.err >&5
74956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74957 (exit $ac_status); } &&
74958 { ac_try='test -z "$ac_c_werror_flag"
74959 || test ! -s conftest.err'
74960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74961 (eval $ac_try) 2>&5
74962 ac_status=$?
74963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74964 (exit $ac_status); }; } &&
74965 { ac_try='test -s conftest$ac_exeext'
74966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74967 (eval $ac_try) 2>&5
74968 ac_status=$?
74969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74970 (exit $ac_status); }; }; then
74971 glibcxx_cv_S_IFREG=yes
74972 else
74973 echo "$as_me: failed program was:" >&5
74974 sed 's/^/| /' conftest.$ac_ext >&5
74976 glibcxx_cv_S_IFREG=no
74978 rm -f conftest.err conftest.$ac_objext \
74979 conftest$ac_exeext conftest.$ac_ext
74983 if test $glibcxx_cv_S_ISREG = yes; then
74984 cat >>confdefs.h <<\_ACEOF
74985 #define HAVE_S_ISREG 1
74986 _ACEOF
74988 elif test $glibcxx_cv_S_IFREG = yes; then
74989 cat >>confdefs.h <<\_ACEOF
74990 #define HAVE_S_IFREG 1
74991 _ACEOF
74995 cat >>confdefs.h <<\_ACEOF
74996 #define HAVE_WRITEV 1
74997 _ACEOF
75001 *-freebsd*)
75018 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75019 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75020 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75021 sys/time.h unistd.h
75023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75025 echo "$as_me:$LINENO: checking for $ac_header" >&5
75026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75028 echo $ECHO_N "(cached) $ECHO_C" >&6
75030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75032 else
75033 # Is the header compilable?
75034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75036 cat >conftest.$ac_ext <<_ACEOF
75037 /* confdefs.h. */
75038 _ACEOF
75039 cat confdefs.h >>conftest.$ac_ext
75040 cat >>conftest.$ac_ext <<_ACEOF
75041 /* end confdefs.h. */
75042 $ac_includes_default
75043 #include <$ac_header>
75044 _ACEOF
75045 rm -f conftest.$ac_objext
75046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75047 (eval $ac_compile) 2>conftest.er1
75048 ac_status=$?
75049 grep -v '^ *+' conftest.er1 >conftest.err
75050 rm -f conftest.er1
75051 cat conftest.err >&5
75052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75053 (exit $ac_status); } &&
75054 { ac_try='test -z "$ac_c_werror_flag"
75055 || test ! -s conftest.err'
75056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75057 (eval $ac_try) 2>&5
75058 ac_status=$?
75059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75060 (exit $ac_status); }; } &&
75061 { ac_try='test -s conftest.$ac_objext'
75062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75063 (eval $ac_try) 2>&5
75064 ac_status=$?
75065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75066 (exit $ac_status); }; }; then
75067 ac_header_compiler=yes
75068 else
75069 echo "$as_me: failed program was:" >&5
75070 sed 's/^/| /' conftest.$ac_ext >&5
75072 ac_header_compiler=no
75074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75076 echo "${ECHO_T}$ac_header_compiler" >&6
75078 # Is the header present?
75079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75081 cat >conftest.$ac_ext <<_ACEOF
75082 /* confdefs.h. */
75083 _ACEOF
75084 cat confdefs.h >>conftest.$ac_ext
75085 cat >>conftest.$ac_ext <<_ACEOF
75086 /* end confdefs.h. */
75087 #include <$ac_header>
75088 _ACEOF
75089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75091 ac_status=$?
75092 grep -v '^ *+' conftest.er1 >conftest.err
75093 rm -f conftest.er1
75094 cat conftest.err >&5
75095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75096 (exit $ac_status); } >/dev/null; then
75097 if test -s conftest.err; then
75098 ac_cpp_err=$ac_c_preproc_warn_flag
75099 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75100 else
75101 ac_cpp_err=
75103 else
75104 ac_cpp_err=yes
75106 if test -z "$ac_cpp_err"; then
75107 ac_header_preproc=yes
75108 else
75109 echo "$as_me: failed program was:" >&5
75110 sed 's/^/| /' conftest.$ac_ext >&5
75112 ac_header_preproc=no
75114 rm -f conftest.err conftest.$ac_ext
75115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75116 echo "${ECHO_T}$ac_header_preproc" >&6
75118 # So? What about this header?
75119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75120 yes:no: )
75121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75125 ac_header_preproc=yes
75127 no:yes:* )
75128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75141 cat <<\_ASBOX
75142 ## ----------------------------------------- ##
75143 ## Report this to the package-unused lists. ##
75144 ## ----------------------------------------- ##
75145 _ASBOX
75147 sed "s/^/$as_me: WARNING: /" >&2
75149 esac
75150 echo "$as_me:$LINENO: checking for $ac_header" >&5
75151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75153 echo $ECHO_N "(cached) $ECHO_C" >&6
75154 else
75155 eval "$as_ac_Header=\$ac_header_preproc"
75157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75162 cat >>confdefs.h <<_ACEOF
75163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75164 _ACEOF
75168 done
75170 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75173 # If we're not using GNU ld, then there's no point in even trying these
75174 # tests. Check for that first. We should have already tested for gld
75175 # by now (in libtool), but require it now just to be safe...
75176 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75177 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75181 # The name set by libtool depends on the version of libtool. Shame on us
75182 # for depending on an impl detail, but c'est la vie. Older versions used
75183 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75184 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75185 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75186 # set (hence we're using an older libtool), then set it.
75187 if test x${with_gnu_ld+set} != xset; then
75188 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75189 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75190 with_gnu_ld=no
75191 else
75192 with_gnu_ld=$ac_cv_prog_gnu_ld
75196 # Start by getting the version number. I think the libtool test already
75197 # does some of this, but throws away the result.
75199 ldver=`$LD --version 2>/dev/null | head -1 | \
75200 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75202 glibcxx_gnu_ld_version=`echo $ldver | \
75203 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75205 # Set --gc-sections.
75206 if test "$with_gnu_ld" = "notbroken"; then
75207 # GNU ld it is! Joy and bunny rabbits!
75209 # All these tests are for C++; save the language and the compiler flags.
75210 # Need to do this so that g++ won't try to link in libstdc++
75211 ac_test_CFLAGS="${CFLAGS+set}"
75212 ac_save_CFLAGS="$CFLAGS"
75213 CFLAGS='-x c++ -Wl,--gc-sections'
75215 # Check for -Wl,--gc-sections
75216 # XXX This test is broken at the moment, as symbols required for linking
75217 # are now in libsupc++ (not built yet). In addition, this test has
75218 # cored on solaris in the past. In addition, --gc-sections doesn't
75219 # really work at the moment (keeps on discarding used sections, first
75220 # .eh_frame and now some of the glibc sections for iconv).
75221 # Bzzzzt. Thanks for playing, maybe next time.
75222 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75223 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75224 if test "$cross_compiling" = yes; then
75225 ac_sectionLDflags=yes
75226 else
75227 cat >conftest.$ac_ext <<_ACEOF
75228 /* confdefs.h. */
75229 _ACEOF
75230 cat confdefs.h >>conftest.$ac_ext
75231 cat >>conftest.$ac_ext <<_ACEOF
75232 /* end confdefs.h. */
75234 int main(void)
75236 try { throw 1; }
75237 catch (...) { };
75238 return 0;
75241 _ACEOF
75242 rm -f conftest$ac_exeext
75243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75244 (eval $ac_link) 2>&5
75245 ac_status=$?
75246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75249 (eval $ac_try) 2>&5
75250 ac_status=$?
75251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75252 (exit $ac_status); }; }; then
75253 ac_sectionLDflags=yes
75254 else
75255 echo "$as_me: program exited with status $ac_status" >&5
75256 echo "$as_me: failed program was:" >&5
75257 sed 's/^/| /' conftest.$ac_ext >&5
75259 ( exit $ac_status )
75260 ac_sectionLDflags=no
75262 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75264 if test "$ac_test_CFLAGS" = set; then
75265 CFLAGS="$ac_save_CFLAGS"
75266 else
75267 # this is the suspicious part
75268 CFLAGS=''
75270 if test "$ac_sectionLDflags" = "yes"; then
75271 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75273 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75274 echo "${ECHO_T}$ac_sectionLDflags" >&6
75277 # Set linker optimization flags.
75278 if test x"$with_gnu_ld" = x"yes"; then
75279 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75287 echo "$as_me:$LINENO: checking for main in -lm" >&5
75288 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75289 if test "${ac_cv_lib_m_main+set}" = set; then
75290 echo $ECHO_N "(cached) $ECHO_C" >&6
75291 else
75292 ac_check_lib_save_LIBS=$LIBS
75293 LIBS="-lm $LIBS"
75294 if test x$gcc_no_link = xyes; then
75295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75297 { (exit 1); exit 1; }; }
75299 cat >conftest.$ac_ext <<_ACEOF
75300 /* confdefs.h. */
75301 _ACEOF
75302 cat confdefs.h >>conftest.$ac_ext
75303 cat >>conftest.$ac_ext <<_ACEOF
75304 /* end confdefs.h. */
75308 main ()
75310 main ();
75312 return 0;
75314 _ACEOF
75315 rm -f conftest.$ac_objext conftest$ac_exeext
75316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75317 (eval $ac_link) 2>conftest.er1
75318 ac_status=$?
75319 grep -v '^ *+' conftest.er1 >conftest.err
75320 rm -f conftest.er1
75321 cat conftest.err >&5
75322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75323 (exit $ac_status); } &&
75324 { ac_try='test -z "$ac_c_werror_flag"
75325 || test ! -s conftest.err'
75326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75327 (eval $ac_try) 2>&5
75328 ac_status=$?
75329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75330 (exit $ac_status); }; } &&
75331 { ac_try='test -s conftest$ac_exeext'
75332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75333 (eval $ac_try) 2>&5
75334 ac_status=$?
75335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75336 (exit $ac_status); }; }; then
75337 ac_cv_lib_m_main=yes
75338 else
75339 echo "$as_me: failed program was:" >&5
75340 sed 's/^/| /' conftest.$ac_ext >&5
75342 ac_cv_lib_m_main=no
75344 rm -f conftest.err conftest.$ac_objext \
75345 conftest$ac_exeext conftest.$ac_ext
75346 LIBS=$ac_check_lib_save_LIBS
75348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75349 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75350 if test $ac_cv_lib_m_main = yes; then
75351 cat >>confdefs.h <<_ACEOF
75352 #define HAVE_LIBM 1
75353 _ACEOF
75355 LIBS="-lm $LIBS"
75360 for ac_func in copysignf
75362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75363 echo "$as_me:$LINENO: checking for $ac_func" >&5
75364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75365 if eval "test \"\${$as_ac_var+set}\" = set"; then
75366 echo $ECHO_N "(cached) $ECHO_C" >&6
75367 else
75368 if test x$gcc_no_link = xyes; then
75369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75371 { (exit 1); exit 1; }; }
75373 cat >conftest.$ac_ext <<_ACEOF
75374 /* confdefs.h. */
75375 _ACEOF
75376 cat confdefs.h >>conftest.$ac_ext
75377 cat >>conftest.$ac_ext <<_ACEOF
75378 /* end confdefs.h. */
75379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75381 #define $ac_func innocuous_$ac_func
75383 /* System header to define __stub macros and hopefully few prototypes,
75384 which can conflict with char $ac_func (); below.
75385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75386 <limits.h> exists even on freestanding compilers. */
75388 #ifdef __STDC__
75389 # include <limits.h>
75390 #else
75391 # include <assert.h>
75392 #endif
75394 #undef $ac_func
75396 /* Override any gcc2 internal prototype to avoid an error. */
75397 #ifdef __cplusplus
75398 extern "C"
75400 #endif
75401 /* We use char because int might match the return type of a gcc2
75402 builtin and then its argument prototype would still apply. */
75403 char $ac_func ();
75404 /* The GNU C library defines this for functions which it implements
75405 to always fail with ENOSYS. Some functions are actually named
75406 something starting with __ and the normal name is an alias. */
75407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75408 choke me
75409 #else
75410 char (*f) () = $ac_func;
75411 #endif
75412 #ifdef __cplusplus
75414 #endif
75417 main ()
75419 return f != $ac_func;
75421 return 0;
75423 _ACEOF
75424 rm -f conftest.$ac_objext conftest$ac_exeext
75425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75426 (eval $ac_link) 2>conftest.er1
75427 ac_status=$?
75428 grep -v '^ *+' conftest.er1 >conftest.err
75429 rm -f conftest.er1
75430 cat conftest.err >&5
75431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75432 (exit $ac_status); } &&
75433 { ac_try='test -z "$ac_c_werror_flag"
75434 || test ! -s conftest.err'
75435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75436 (eval $ac_try) 2>&5
75437 ac_status=$?
75438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75439 (exit $ac_status); }; } &&
75440 { ac_try='test -s conftest$ac_exeext'
75441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75442 (eval $ac_try) 2>&5
75443 ac_status=$?
75444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75445 (exit $ac_status); }; }; then
75446 eval "$as_ac_var=yes"
75447 else
75448 echo "$as_me: failed program was:" >&5
75449 sed 's/^/| /' conftest.$ac_ext >&5
75451 eval "$as_ac_var=no"
75453 rm -f conftest.err conftest.$ac_objext \
75454 conftest$ac_exeext conftest.$ac_ext
75456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75458 if test `eval echo '${'$as_ac_var'}'` = yes; then
75459 cat >>confdefs.h <<_ACEOF
75460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75461 _ACEOF
75463 else
75464 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75466 done
75470 for ac_func in __signbit
75472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75473 echo "$as_me:$LINENO: checking for $ac_func" >&5
75474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75475 if eval "test \"\${$as_ac_var+set}\" = set"; then
75476 echo $ECHO_N "(cached) $ECHO_C" >&6
75477 else
75478 if test x$gcc_no_link = xyes; then
75479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75481 { (exit 1); exit 1; }; }
75483 cat >conftest.$ac_ext <<_ACEOF
75484 /* confdefs.h. */
75485 _ACEOF
75486 cat confdefs.h >>conftest.$ac_ext
75487 cat >>conftest.$ac_ext <<_ACEOF
75488 /* end confdefs.h. */
75489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75491 #define $ac_func innocuous_$ac_func
75493 /* System header to define __stub macros and hopefully few prototypes,
75494 which can conflict with char $ac_func (); below.
75495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75496 <limits.h> exists even on freestanding compilers. */
75498 #ifdef __STDC__
75499 # include <limits.h>
75500 #else
75501 # include <assert.h>
75502 #endif
75504 #undef $ac_func
75506 /* Override any gcc2 internal prototype to avoid an error. */
75507 #ifdef __cplusplus
75508 extern "C"
75510 #endif
75511 /* We use char because int might match the return type of a gcc2
75512 builtin and then its argument prototype would still apply. */
75513 char $ac_func ();
75514 /* The GNU C library defines this for functions which it implements
75515 to always fail with ENOSYS. Some functions are actually named
75516 something starting with __ and the normal name is an alias. */
75517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75518 choke me
75519 #else
75520 char (*f) () = $ac_func;
75521 #endif
75522 #ifdef __cplusplus
75524 #endif
75527 main ()
75529 return f != $ac_func;
75531 return 0;
75533 _ACEOF
75534 rm -f conftest.$ac_objext conftest$ac_exeext
75535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75536 (eval $ac_link) 2>conftest.er1
75537 ac_status=$?
75538 grep -v '^ *+' conftest.er1 >conftest.err
75539 rm -f conftest.er1
75540 cat conftest.err >&5
75541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75542 (exit $ac_status); } &&
75543 { ac_try='test -z "$ac_c_werror_flag"
75544 || test ! -s conftest.err'
75545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75546 (eval $ac_try) 2>&5
75547 ac_status=$?
75548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75549 (exit $ac_status); }; } &&
75550 { ac_try='test -s conftest$ac_exeext'
75551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75552 (eval $ac_try) 2>&5
75553 ac_status=$?
75554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75555 (exit $ac_status); }; }; then
75556 eval "$as_ac_var=yes"
75557 else
75558 echo "$as_me: failed program was:" >&5
75559 sed 's/^/| /' conftest.$ac_ext >&5
75561 eval "$as_ac_var=no"
75563 rm -f conftest.err conftest.$ac_objext \
75564 conftest$ac_exeext conftest.$ac_ext
75566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75568 if test `eval echo '${'$as_ac_var'}'` = yes; then
75569 cat >>confdefs.h <<_ACEOF
75570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75571 _ACEOF
75573 else
75574 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75576 done
75580 for ac_func in __signbitf
75582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75583 echo "$as_me:$LINENO: checking for $ac_func" >&5
75584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75585 if eval "test \"\${$as_ac_var+set}\" = set"; then
75586 echo $ECHO_N "(cached) $ECHO_C" >&6
75587 else
75588 if test x$gcc_no_link = xyes; then
75589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75591 { (exit 1); exit 1; }; }
75593 cat >conftest.$ac_ext <<_ACEOF
75594 /* confdefs.h. */
75595 _ACEOF
75596 cat confdefs.h >>conftest.$ac_ext
75597 cat >>conftest.$ac_ext <<_ACEOF
75598 /* end confdefs.h. */
75599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75601 #define $ac_func innocuous_$ac_func
75603 /* System header to define __stub macros and hopefully few prototypes,
75604 which can conflict with char $ac_func (); below.
75605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75606 <limits.h> exists even on freestanding compilers. */
75608 #ifdef __STDC__
75609 # include <limits.h>
75610 #else
75611 # include <assert.h>
75612 #endif
75614 #undef $ac_func
75616 /* Override any gcc2 internal prototype to avoid an error. */
75617 #ifdef __cplusplus
75618 extern "C"
75620 #endif
75621 /* We use char because int might match the return type of a gcc2
75622 builtin and then its argument prototype would still apply. */
75623 char $ac_func ();
75624 /* The GNU C library defines this for functions which it implements
75625 to always fail with ENOSYS. Some functions are actually named
75626 something starting with __ and the normal name is an alias. */
75627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75628 choke me
75629 #else
75630 char (*f) () = $ac_func;
75631 #endif
75632 #ifdef __cplusplus
75634 #endif
75637 main ()
75639 return f != $ac_func;
75641 return 0;
75643 _ACEOF
75644 rm -f conftest.$ac_objext conftest$ac_exeext
75645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75646 (eval $ac_link) 2>conftest.er1
75647 ac_status=$?
75648 grep -v '^ *+' conftest.er1 >conftest.err
75649 rm -f conftest.er1
75650 cat conftest.err >&5
75651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75652 (exit $ac_status); } &&
75653 { ac_try='test -z "$ac_c_werror_flag"
75654 || test ! -s conftest.err'
75655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75656 (eval $ac_try) 2>&5
75657 ac_status=$?
75658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75659 (exit $ac_status); }; } &&
75660 { ac_try='test -s conftest$ac_exeext'
75661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75662 (eval $ac_try) 2>&5
75663 ac_status=$?
75664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75665 (exit $ac_status); }; }; then
75666 eval "$as_ac_var=yes"
75667 else
75668 echo "$as_me: failed program was:" >&5
75669 sed 's/^/| /' conftest.$ac_ext >&5
75671 eval "$as_ac_var=no"
75673 rm -f conftest.err conftest.$ac_objext \
75674 conftest$ac_exeext conftest.$ac_ext
75676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75678 if test `eval echo '${'$as_ac_var'}'` = yes; then
75679 cat >>confdefs.h <<_ACEOF
75680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75681 _ACEOF
75683 else
75684 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75686 done
75689 if test x$ac_cv_func_copysignl = x"yes"; then
75691 for ac_func in __signbitl
75693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75694 echo "$as_me:$LINENO: checking for $ac_func" >&5
75695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75696 if eval "test \"\${$as_ac_var+set}\" = set"; then
75697 echo $ECHO_N "(cached) $ECHO_C" >&6
75698 else
75699 if test x$gcc_no_link = xyes; then
75700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75702 { (exit 1); exit 1; }; }
75704 cat >conftest.$ac_ext <<_ACEOF
75705 /* confdefs.h. */
75706 _ACEOF
75707 cat confdefs.h >>conftest.$ac_ext
75708 cat >>conftest.$ac_ext <<_ACEOF
75709 /* end confdefs.h. */
75710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75712 #define $ac_func innocuous_$ac_func
75714 /* System header to define __stub macros and hopefully few prototypes,
75715 which can conflict with char $ac_func (); below.
75716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75717 <limits.h> exists even on freestanding compilers. */
75719 #ifdef __STDC__
75720 # include <limits.h>
75721 #else
75722 # include <assert.h>
75723 #endif
75725 #undef $ac_func
75727 /* Override any gcc2 internal prototype to avoid an error. */
75728 #ifdef __cplusplus
75729 extern "C"
75731 #endif
75732 /* We use char because int might match the return type of a gcc2
75733 builtin and then its argument prototype would still apply. */
75734 char $ac_func ();
75735 /* The GNU C library defines this for functions which it implements
75736 to always fail with ENOSYS. Some functions are actually named
75737 something starting with __ and the normal name is an alias. */
75738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75739 choke me
75740 #else
75741 char (*f) () = $ac_func;
75742 #endif
75743 #ifdef __cplusplus
75745 #endif
75748 main ()
75750 return f != $ac_func;
75752 return 0;
75754 _ACEOF
75755 rm -f conftest.$ac_objext conftest$ac_exeext
75756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75757 (eval $ac_link) 2>conftest.er1
75758 ac_status=$?
75759 grep -v '^ *+' conftest.er1 >conftest.err
75760 rm -f conftest.er1
75761 cat conftest.err >&5
75762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75763 (exit $ac_status); } &&
75764 { ac_try='test -z "$ac_c_werror_flag"
75765 || test ! -s conftest.err'
75766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75767 (eval $ac_try) 2>&5
75768 ac_status=$?
75769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75770 (exit $ac_status); }; } &&
75771 { ac_try='test -s conftest$ac_exeext'
75772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75773 (eval $ac_try) 2>&5
75774 ac_status=$?
75775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75776 (exit $ac_status); }; }; then
75777 eval "$as_ac_var=yes"
75778 else
75779 echo "$as_me: failed program was:" >&5
75780 sed 's/^/| /' conftest.$ac_ext >&5
75782 eval "$as_ac_var=no"
75784 rm -f conftest.err conftest.$ac_objext \
75785 conftest$ac_exeext conftest.$ac_ext
75787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75789 if test `eval echo '${'$as_ac_var'}'` = yes; then
75790 cat >>confdefs.h <<_ACEOF
75791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75792 _ACEOF
75794 else
75795 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75797 done
75801 # Used in libmath/Makefile.am.
75802 if test -n "$LIBMATHOBJS"; then
75803 need_libmath=yes
75808 # Test wchar.h for mbstate_t, which is needed for char_traits and
75809 # others even if wchar_t support is not on.
75810 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75811 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75812 cat >conftest.$ac_ext <<_ACEOF
75813 /* confdefs.h. */
75814 _ACEOF
75815 cat confdefs.h >>conftest.$ac_ext
75816 cat >>conftest.$ac_ext <<_ACEOF
75817 /* end confdefs.h. */
75818 #include <wchar.h>
75820 main ()
75822 mbstate_t teststate;
75824 return 0;
75826 _ACEOF
75827 rm -f conftest.$ac_objext
75828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75829 (eval $ac_compile) 2>conftest.er1
75830 ac_status=$?
75831 grep -v '^ *+' conftest.er1 >conftest.err
75832 rm -f conftest.er1
75833 cat conftest.err >&5
75834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75835 (exit $ac_status); } &&
75836 { ac_try='test -z "$ac_c_werror_flag"
75837 || test ! -s conftest.err'
75838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75839 (eval $ac_try) 2>&5
75840 ac_status=$?
75841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75842 (exit $ac_status); }; } &&
75843 { ac_try='test -s conftest.$ac_objext'
75844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75845 (eval $ac_try) 2>&5
75846 ac_status=$?
75847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75848 (exit $ac_status); }; }; then
75849 have_mbstate_t=yes
75850 else
75851 echo "$as_me: failed program was:" >&5
75852 sed 's/^/| /' conftest.$ac_ext >&5
75854 have_mbstate_t=no
75856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75857 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75858 echo "${ECHO_T}$have_mbstate_t" >&6
75859 if test x"$have_mbstate_t" = xyes; then
75860 cat >>confdefs.h <<\_ACEOF
75861 #define HAVE_MBSTATE_T 1
75862 _ACEOF
75866 # Sanity check for existence of ISO C99 headers for extended encoding.
75868 for ac_header in wchar.h
75870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75872 echo "$as_me:$LINENO: checking for $ac_header" >&5
75873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75875 echo $ECHO_N "(cached) $ECHO_C" >&6
75877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75879 else
75880 # Is the header compilable?
75881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75883 cat >conftest.$ac_ext <<_ACEOF
75884 /* confdefs.h. */
75885 _ACEOF
75886 cat confdefs.h >>conftest.$ac_ext
75887 cat >>conftest.$ac_ext <<_ACEOF
75888 /* end confdefs.h. */
75889 $ac_includes_default
75890 #include <$ac_header>
75891 _ACEOF
75892 rm -f conftest.$ac_objext
75893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75894 (eval $ac_compile) 2>conftest.er1
75895 ac_status=$?
75896 grep -v '^ *+' conftest.er1 >conftest.err
75897 rm -f conftest.er1
75898 cat conftest.err >&5
75899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75900 (exit $ac_status); } &&
75901 { ac_try='test -z "$ac_c_werror_flag"
75902 || test ! -s conftest.err'
75903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75904 (eval $ac_try) 2>&5
75905 ac_status=$?
75906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75907 (exit $ac_status); }; } &&
75908 { ac_try='test -s conftest.$ac_objext'
75909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75910 (eval $ac_try) 2>&5
75911 ac_status=$?
75912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75913 (exit $ac_status); }; }; then
75914 ac_header_compiler=yes
75915 else
75916 echo "$as_me: failed program was:" >&5
75917 sed 's/^/| /' conftest.$ac_ext >&5
75919 ac_header_compiler=no
75921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75923 echo "${ECHO_T}$ac_header_compiler" >&6
75925 # Is the header present?
75926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75928 cat >conftest.$ac_ext <<_ACEOF
75929 /* confdefs.h. */
75930 _ACEOF
75931 cat confdefs.h >>conftest.$ac_ext
75932 cat >>conftest.$ac_ext <<_ACEOF
75933 /* end confdefs.h. */
75934 #include <$ac_header>
75935 _ACEOF
75936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75938 ac_status=$?
75939 grep -v '^ *+' conftest.er1 >conftest.err
75940 rm -f conftest.er1
75941 cat conftest.err >&5
75942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943 (exit $ac_status); } >/dev/null; then
75944 if test -s conftest.err; then
75945 ac_cpp_err=$ac_c_preproc_warn_flag
75946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75947 else
75948 ac_cpp_err=
75950 else
75951 ac_cpp_err=yes
75953 if test -z "$ac_cpp_err"; then
75954 ac_header_preproc=yes
75955 else
75956 echo "$as_me: failed program was:" >&5
75957 sed 's/^/| /' conftest.$ac_ext >&5
75959 ac_header_preproc=no
75961 rm -f conftest.err conftest.$ac_ext
75962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75963 echo "${ECHO_T}$ac_header_preproc" >&6
75965 # So? What about this header?
75966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75967 yes:no: )
75968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75972 ac_header_preproc=yes
75974 no:yes:* )
75975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75979 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75981 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75982 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75985 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75988 cat <<\_ASBOX
75989 ## ----------------------------------------- ##
75990 ## Report this to the package-unused lists. ##
75991 ## ----------------------------------------- ##
75992 _ASBOX
75994 sed "s/^/$as_me: WARNING: /" >&2
75996 esac
75997 echo "$as_me:$LINENO: checking for $ac_header" >&5
75998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76000 echo $ECHO_N "(cached) $ECHO_C" >&6
76001 else
76002 eval "$as_ac_Header=\$ac_header_preproc"
76004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76009 cat >>confdefs.h <<_ACEOF
76010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76011 _ACEOF
76012 ac_has_wchar_h=yes
76013 else
76014 ac_has_wchar_h=no
76017 done
76020 for ac_header in wctype.h
76022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76024 echo "$as_me:$LINENO: checking for $ac_header" >&5
76025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76027 echo $ECHO_N "(cached) $ECHO_C" >&6
76029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76031 else
76032 # Is the header compilable?
76033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76035 cat >conftest.$ac_ext <<_ACEOF
76036 /* confdefs.h. */
76037 _ACEOF
76038 cat confdefs.h >>conftest.$ac_ext
76039 cat >>conftest.$ac_ext <<_ACEOF
76040 /* end confdefs.h. */
76041 $ac_includes_default
76042 #include <$ac_header>
76043 _ACEOF
76044 rm -f conftest.$ac_objext
76045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76046 (eval $ac_compile) 2>conftest.er1
76047 ac_status=$?
76048 grep -v '^ *+' conftest.er1 >conftest.err
76049 rm -f conftest.er1
76050 cat conftest.err >&5
76051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76052 (exit $ac_status); } &&
76053 { ac_try='test -z "$ac_c_werror_flag"
76054 || test ! -s conftest.err'
76055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76056 (eval $ac_try) 2>&5
76057 ac_status=$?
76058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76059 (exit $ac_status); }; } &&
76060 { ac_try='test -s conftest.$ac_objext'
76061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76062 (eval $ac_try) 2>&5
76063 ac_status=$?
76064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76065 (exit $ac_status); }; }; then
76066 ac_header_compiler=yes
76067 else
76068 echo "$as_me: failed program was:" >&5
76069 sed 's/^/| /' conftest.$ac_ext >&5
76071 ac_header_compiler=no
76073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76075 echo "${ECHO_T}$ac_header_compiler" >&6
76077 # Is the header present?
76078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76080 cat >conftest.$ac_ext <<_ACEOF
76081 /* confdefs.h. */
76082 _ACEOF
76083 cat confdefs.h >>conftest.$ac_ext
76084 cat >>conftest.$ac_ext <<_ACEOF
76085 /* end confdefs.h. */
76086 #include <$ac_header>
76087 _ACEOF
76088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76090 ac_status=$?
76091 grep -v '^ *+' conftest.er1 >conftest.err
76092 rm -f conftest.er1
76093 cat conftest.err >&5
76094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76095 (exit $ac_status); } >/dev/null; then
76096 if test -s conftest.err; then
76097 ac_cpp_err=$ac_c_preproc_warn_flag
76098 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76099 else
76100 ac_cpp_err=
76102 else
76103 ac_cpp_err=yes
76105 if test -z "$ac_cpp_err"; then
76106 ac_header_preproc=yes
76107 else
76108 echo "$as_me: failed program was:" >&5
76109 sed 's/^/| /' conftest.$ac_ext >&5
76111 ac_header_preproc=no
76113 rm -f conftest.err conftest.$ac_ext
76114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76115 echo "${ECHO_T}$ac_header_preproc" >&6
76117 # So? What about this header?
76118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76119 yes:no: )
76120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76124 ac_header_preproc=yes
76126 no:yes:* )
76127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76140 cat <<\_ASBOX
76141 ## ----------------------------------------- ##
76142 ## Report this to the package-unused lists. ##
76143 ## ----------------------------------------- ##
76144 _ASBOX
76146 sed "s/^/$as_me: WARNING: /" >&2
76148 esac
76149 echo "$as_me:$LINENO: checking for $ac_header" >&5
76150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76152 echo $ECHO_N "(cached) $ECHO_C" >&6
76153 else
76154 eval "$as_ac_Header=\$ac_header_preproc"
76156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76161 cat >>confdefs.h <<_ACEOF
76162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76163 _ACEOF
76164 ac_has_wctype_h=yes
76165 else
76166 ac_has_wctype_h=no
76169 done
76172 # Only continue checking if the ISO C99 headers exist and support is on.
76173 if test x"$ac_has_wchar_h" = xyes &&
76174 test x"$ac_has_wctype_h" = xyes &&
76175 test x"$enable_c_mbchar" != xno; then
76177 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76178 # numeric_limits can instantiate type_traits<wchar_t>
76179 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76180 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76181 cat >conftest.$ac_ext <<_ACEOF
76182 /* confdefs.h. */
76183 _ACEOF
76184 cat confdefs.h >>conftest.$ac_ext
76185 cat >>conftest.$ac_ext <<_ACEOF
76186 /* end confdefs.h. */
76187 #include <wchar.h>
76189 main ()
76191 int i = WCHAR_MIN; int j = WCHAR_MAX;
76193 return 0;
76195 _ACEOF
76196 rm -f conftest.$ac_objext
76197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76198 (eval $ac_compile) 2>conftest.er1
76199 ac_status=$?
76200 grep -v '^ *+' conftest.er1 >conftest.err
76201 rm -f conftest.er1
76202 cat conftest.err >&5
76203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76204 (exit $ac_status); } &&
76205 { ac_try='test -z "$ac_c_werror_flag"
76206 || test ! -s conftest.err'
76207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76208 (eval $ac_try) 2>&5
76209 ac_status=$?
76210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76211 (exit $ac_status); }; } &&
76212 { ac_try='test -s conftest.$ac_objext'
76213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76214 (eval $ac_try) 2>&5
76215 ac_status=$?
76216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76217 (exit $ac_status); }; }; then
76218 has_wchar_minmax=yes
76219 else
76220 echo "$as_me: failed program was:" >&5
76221 sed 's/^/| /' conftest.$ac_ext >&5
76223 has_wchar_minmax=no
76225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76226 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76227 echo "${ECHO_T}$has_wchar_minmax" >&6
76229 # Test wchar.h for WEOF, which is what we use to determine whether
76230 # to specialize for char_traits<wchar_t> or not.
76231 echo "$as_me:$LINENO: checking for WEOF" >&5
76232 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76233 cat >conftest.$ac_ext <<_ACEOF
76234 /* confdefs.h. */
76235 _ACEOF
76236 cat confdefs.h >>conftest.$ac_ext
76237 cat >>conftest.$ac_ext <<_ACEOF
76238 /* end confdefs.h. */
76240 #include <wchar.h>
76241 #include <stddef.h>
76243 main ()
76245 wint_t i = WEOF;
76247 return 0;
76249 _ACEOF
76250 rm -f conftest.$ac_objext
76251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76252 (eval $ac_compile) 2>conftest.er1
76253 ac_status=$?
76254 grep -v '^ *+' conftest.er1 >conftest.err
76255 rm -f conftest.er1
76256 cat conftest.err >&5
76257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76258 (exit $ac_status); } &&
76259 { ac_try='test -z "$ac_c_werror_flag"
76260 || test ! -s conftest.err'
76261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76262 (eval $ac_try) 2>&5
76263 ac_status=$?
76264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76265 (exit $ac_status); }; } &&
76266 { ac_try='test -s conftest.$ac_objext'
76267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76268 (eval $ac_try) 2>&5
76269 ac_status=$?
76270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76271 (exit $ac_status); }; }; then
76272 has_weof=yes
76273 else
76274 echo "$as_me: failed program was:" >&5
76275 sed 's/^/| /' conftest.$ac_ext >&5
76277 has_weof=no
76279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76280 echo "$as_me:$LINENO: result: $has_weof" >&5
76281 echo "${ECHO_T}$has_weof" >&6
76283 # Tests for wide character functions used in char_traits<wchar_t>.
76284 ac_wfuncs=yes
76291 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76294 echo "$as_me:$LINENO: checking for $ac_func" >&5
76295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76296 if eval "test \"\${$as_ac_var+set}\" = set"; then
76297 echo $ECHO_N "(cached) $ECHO_C" >&6
76298 else
76299 if test x$gcc_no_link = xyes; then
76300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76302 { (exit 1); exit 1; }; }
76304 cat >conftest.$ac_ext <<_ACEOF
76305 /* confdefs.h. */
76306 _ACEOF
76307 cat confdefs.h >>conftest.$ac_ext
76308 cat >>conftest.$ac_ext <<_ACEOF
76309 /* end confdefs.h. */
76310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76312 #define $ac_func innocuous_$ac_func
76314 /* System header to define __stub macros and hopefully few prototypes,
76315 which can conflict with char $ac_func (); below.
76316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76317 <limits.h> exists even on freestanding compilers. */
76319 #ifdef __STDC__
76320 # include <limits.h>
76321 #else
76322 # include <assert.h>
76323 #endif
76325 #undef $ac_func
76327 /* Override any gcc2 internal prototype to avoid an error. */
76328 #ifdef __cplusplus
76329 extern "C"
76331 #endif
76332 /* We use char because int might match the return type of a gcc2
76333 builtin and then its argument prototype would still apply. */
76334 char $ac_func ();
76335 /* The GNU C library defines this for functions which it implements
76336 to always fail with ENOSYS. Some functions are actually named
76337 something starting with __ and the normal name is an alias. */
76338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76339 choke me
76340 #else
76341 char (*f) () = $ac_func;
76342 #endif
76343 #ifdef __cplusplus
76345 #endif
76348 main ()
76350 return f != $ac_func;
76352 return 0;
76354 _ACEOF
76355 rm -f conftest.$ac_objext conftest$ac_exeext
76356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76357 (eval $ac_link) 2>conftest.er1
76358 ac_status=$?
76359 grep -v '^ *+' conftest.er1 >conftest.err
76360 rm -f conftest.er1
76361 cat conftest.err >&5
76362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76363 (exit $ac_status); } &&
76364 { ac_try='test -z "$ac_c_werror_flag"
76365 || test ! -s conftest.err'
76366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76367 (eval $ac_try) 2>&5
76368 ac_status=$?
76369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76370 (exit $ac_status); }; } &&
76371 { ac_try='test -s conftest$ac_exeext'
76372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76373 (eval $ac_try) 2>&5
76374 ac_status=$?
76375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76376 (exit $ac_status); }; }; then
76377 eval "$as_ac_var=yes"
76378 else
76379 echo "$as_me: failed program was:" >&5
76380 sed 's/^/| /' conftest.$ac_ext >&5
76382 eval "$as_ac_var=no"
76384 rm -f conftest.err conftest.$ac_objext \
76385 conftest$ac_exeext conftest.$ac_ext
76387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76389 if test `eval echo '${'$as_ac_var'}'` = yes; then
76390 cat >>confdefs.h <<_ACEOF
76391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76392 _ACEOF
76394 else
76395 ac_wfuncs=no
76397 done
76400 # Checks for names injected into std:: by the c_std headers.
76447 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76448 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76449 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76450 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76451 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76452 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76455 echo "$as_me:$LINENO: checking for $ac_func" >&5
76456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76457 if eval "test \"\${$as_ac_var+set}\" = set"; then
76458 echo $ECHO_N "(cached) $ECHO_C" >&6
76459 else
76460 if test x$gcc_no_link = xyes; then
76461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76463 { (exit 1); exit 1; }; }
76465 cat >conftest.$ac_ext <<_ACEOF
76466 /* confdefs.h. */
76467 _ACEOF
76468 cat confdefs.h >>conftest.$ac_ext
76469 cat >>conftest.$ac_ext <<_ACEOF
76470 /* end confdefs.h. */
76471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76473 #define $ac_func innocuous_$ac_func
76475 /* System header to define __stub macros and hopefully few prototypes,
76476 which can conflict with char $ac_func (); below.
76477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76478 <limits.h> exists even on freestanding compilers. */
76480 #ifdef __STDC__
76481 # include <limits.h>
76482 #else
76483 # include <assert.h>
76484 #endif
76486 #undef $ac_func
76488 /* Override any gcc2 internal prototype to avoid an error. */
76489 #ifdef __cplusplus
76490 extern "C"
76492 #endif
76493 /* We use char because int might match the return type of a gcc2
76494 builtin and then its argument prototype would still apply. */
76495 char $ac_func ();
76496 /* The GNU C library defines this for functions which it implements
76497 to always fail with ENOSYS. Some functions are actually named
76498 something starting with __ and the normal name is an alias. */
76499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76500 choke me
76501 #else
76502 char (*f) () = $ac_func;
76503 #endif
76504 #ifdef __cplusplus
76506 #endif
76509 main ()
76511 return f != $ac_func;
76513 return 0;
76515 _ACEOF
76516 rm -f conftest.$ac_objext conftest$ac_exeext
76517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76518 (eval $ac_link) 2>conftest.er1
76519 ac_status=$?
76520 grep -v '^ *+' conftest.er1 >conftest.err
76521 rm -f conftest.er1
76522 cat conftest.err >&5
76523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76524 (exit $ac_status); } &&
76525 { ac_try='test -z "$ac_c_werror_flag"
76526 || test ! -s conftest.err'
76527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76528 (eval $ac_try) 2>&5
76529 ac_status=$?
76530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76531 (exit $ac_status); }; } &&
76532 { ac_try='test -s conftest$ac_exeext'
76533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76534 (eval $ac_try) 2>&5
76535 ac_status=$?
76536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76537 (exit $ac_status); }; }; then
76538 eval "$as_ac_var=yes"
76539 else
76540 echo "$as_me: failed program was:" >&5
76541 sed 's/^/| /' conftest.$ac_ext >&5
76543 eval "$as_ac_var=no"
76545 rm -f conftest.err conftest.$ac_objext \
76546 conftest$ac_exeext conftest.$ac_ext
76548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76550 if test `eval echo '${'$as_ac_var'}'` = yes; then
76551 cat >>confdefs.h <<_ACEOF
76552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76553 _ACEOF
76555 else
76556 ac_wfuncs=no
76558 done
76561 # Checks for wide character functions that are not required
76562 # for basic wchar_t support. Don't disable support if they are missing.
76563 # Injection of these is wrapped with guard macros.
76569 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76572 echo "$as_me:$LINENO: checking for $ac_func" >&5
76573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76574 if eval "test \"\${$as_ac_var+set}\" = set"; then
76575 echo $ECHO_N "(cached) $ECHO_C" >&6
76576 else
76577 if test x$gcc_no_link = xyes; then
76578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76580 { (exit 1); exit 1; }; }
76582 cat >conftest.$ac_ext <<_ACEOF
76583 /* confdefs.h. */
76584 _ACEOF
76585 cat confdefs.h >>conftest.$ac_ext
76586 cat >>conftest.$ac_ext <<_ACEOF
76587 /* end confdefs.h. */
76588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76590 #define $ac_func innocuous_$ac_func
76592 /* System header to define __stub macros and hopefully few prototypes,
76593 which can conflict with char $ac_func (); below.
76594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76595 <limits.h> exists even on freestanding compilers. */
76597 #ifdef __STDC__
76598 # include <limits.h>
76599 #else
76600 # include <assert.h>
76601 #endif
76603 #undef $ac_func
76605 /* Override any gcc2 internal prototype to avoid an error. */
76606 #ifdef __cplusplus
76607 extern "C"
76609 #endif
76610 /* We use char because int might match the return type of a gcc2
76611 builtin and then its argument prototype would still apply. */
76612 char $ac_func ();
76613 /* The GNU C library defines this for functions which it implements
76614 to always fail with ENOSYS. Some functions are actually named
76615 something starting with __ and the normal name is an alias. */
76616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76617 choke me
76618 #else
76619 char (*f) () = $ac_func;
76620 #endif
76621 #ifdef __cplusplus
76623 #endif
76626 main ()
76628 return f != $ac_func;
76630 return 0;
76632 _ACEOF
76633 rm -f conftest.$ac_objext conftest$ac_exeext
76634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76635 (eval $ac_link) 2>conftest.er1
76636 ac_status=$?
76637 grep -v '^ *+' conftest.er1 >conftest.err
76638 rm -f conftest.er1
76639 cat conftest.err >&5
76640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76641 (exit $ac_status); } &&
76642 { ac_try='test -z "$ac_c_werror_flag"
76643 || test ! -s conftest.err'
76644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76645 (eval $ac_try) 2>&5
76646 ac_status=$?
76647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76648 (exit $ac_status); }; } &&
76649 { ac_try='test -s conftest$ac_exeext'
76650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76651 (eval $ac_try) 2>&5
76652 ac_status=$?
76653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76654 (exit $ac_status); }; }; then
76655 eval "$as_ac_var=yes"
76656 else
76657 echo "$as_me: failed program was:" >&5
76658 sed 's/^/| /' conftest.$ac_ext >&5
76660 eval "$as_ac_var=no"
76662 rm -f conftest.err conftest.$ac_objext \
76663 conftest$ac_exeext conftest.$ac_ext
76665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76667 if test `eval echo '${'$as_ac_var'}'` = yes; then
76668 cat >>confdefs.h <<_ACEOF
76669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76670 _ACEOF
76673 done
76676 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76677 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76678 if test x"$has_weof" = xyes &&
76679 test x"$has_wchar_minmax" = xyes &&
76680 test x"$ac_wfuncs" = xyes;
76681 then
76682 ac_isoC99_wchar_t=yes
76683 else
76684 ac_isoC99_wchar_t=no
76686 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76687 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76689 # Use iconv for wchar_t to char conversions. As such, check for
76690 # X/Open Portability Guide, version 2 features (XPG2).
76691 if test "${ac_cv_header_iconv_h+set}" = set; then
76692 echo "$as_me:$LINENO: checking for iconv.h" >&5
76693 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76694 if test "${ac_cv_header_iconv_h+set}" = set; then
76695 echo $ECHO_N "(cached) $ECHO_C" >&6
76697 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76698 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76699 else
76700 # Is the header compilable?
76701 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76702 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76703 cat >conftest.$ac_ext <<_ACEOF
76704 /* confdefs.h. */
76705 _ACEOF
76706 cat confdefs.h >>conftest.$ac_ext
76707 cat >>conftest.$ac_ext <<_ACEOF
76708 /* end confdefs.h. */
76709 $ac_includes_default
76710 #include <iconv.h>
76711 _ACEOF
76712 rm -f conftest.$ac_objext
76713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76714 (eval $ac_compile) 2>conftest.er1
76715 ac_status=$?
76716 grep -v '^ *+' conftest.er1 >conftest.err
76717 rm -f conftest.er1
76718 cat conftest.err >&5
76719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76720 (exit $ac_status); } &&
76721 { ac_try='test -z "$ac_c_werror_flag"
76722 || test ! -s conftest.err'
76723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76724 (eval $ac_try) 2>&5
76725 ac_status=$?
76726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76727 (exit $ac_status); }; } &&
76728 { ac_try='test -s conftest.$ac_objext'
76729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76730 (eval $ac_try) 2>&5
76731 ac_status=$?
76732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76733 (exit $ac_status); }; }; then
76734 ac_header_compiler=yes
76735 else
76736 echo "$as_me: failed program was:" >&5
76737 sed 's/^/| /' conftest.$ac_ext >&5
76739 ac_header_compiler=no
76741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76743 echo "${ECHO_T}$ac_header_compiler" >&6
76745 # Is the header present?
76746 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76747 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76748 cat >conftest.$ac_ext <<_ACEOF
76749 /* confdefs.h. */
76750 _ACEOF
76751 cat confdefs.h >>conftest.$ac_ext
76752 cat >>conftest.$ac_ext <<_ACEOF
76753 /* end confdefs.h. */
76754 #include <iconv.h>
76755 _ACEOF
76756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76758 ac_status=$?
76759 grep -v '^ *+' conftest.er1 >conftest.err
76760 rm -f conftest.er1
76761 cat conftest.err >&5
76762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76763 (exit $ac_status); } >/dev/null; then
76764 if test -s conftest.err; then
76765 ac_cpp_err=$ac_c_preproc_warn_flag
76766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76767 else
76768 ac_cpp_err=
76770 else
76771 ac_cpp_err=yes
76773 if test -z "$ac_cpp_err"; then
76774 ac_header_preproc=yes
76775 else
76776 echo "$as_me: failed program was:" >&5
76777 sed 's/^/| /' conftest.$ac_ext >&5
76779 ac_header_preproc=no
76781 rm -f conftest.err conftest.$ac_ext
76782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76783 echo "${ECHO_T}$ac_header_preproc" >&6
76785 # So? What about this header?
76786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76787 yes:no: )
76788 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76789 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76790 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76791 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76792 ac_header_preproc=yes
76794 no:yes:* )
76795 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76796 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76797 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76798 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76799 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76800 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76801 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76802 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76803 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76804 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76805 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76806 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76808 cat <<\_ASBOX
76809 ## ----------------------------------------- ##
76810 ## Report this to the package-unused lists. ##
76811 ## ----------------------------------------- ##
76812 _ASBOX
76814 sed "s/^/$as_me: WARNING: /" >&2
76816 esac
76817 echo "$as_me:$LINENO: checking for iconv.h" >&5
76818 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76819 if test "${ac_cv_header_iconv_h+set}" = set; then
76820 echo $ECHO_N "(cached) $ECHO_C" >&6
76821 else
76822 ac_cv_header_iconv_h=$ac_header_preproc
76824 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76825 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76828 if test $ac_cv_header_iconv_h = yes; then
76829 ac_has_iconv_h=yes
76830 else
76831 ac_has_iconv_h=no
76835 if test "${ac_cv_header_langinfo_h+set}" = set; then
76836 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76837 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76838 if test "${ac_cv_header_langinfo_h+set}" = set; then
76839 echo $ECHO_N "(cached) $ECHO_C" >&6
76841 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76842 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76843 else
76844 # Is the header compilable?
76845 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76846 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76847 cat >conftest.$ac_ext <<_ACEOF
76848 /* confdefs.h. */
76849 _ACEOF
76850 cat confdefs.h >>conftest.$ac_ext
76851 cat >>conftest.$ac_ext <<_ACEOF
76852 /* end confdefs.h. */
76853 $ac_includes_default
76854 #include <langinfo.h>
76855 _ACEOF
76856 rm -f conftest.$ac_objext
76857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76858 (eval $ac_compile) 2>conftest.er1
76859 ac_status=$?
76860 grep -v '^ *+' conftest.er1 >conftest.err
76861 rm -f conftest.er1
76862 cat conftest.err >&5
76863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76864 (exit $ac_status); } &&
76865 { ac_try='test -z "$ac_c_werror_flag"
76866 || test ! -s conftest.err'
76867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76868 (eval $ac_try) 2>&5
76869 ac_status=$?
76870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76871 (exit $ac_status); }; } &&
76872 { ac_try='test -s conftest.$ac_objext'
76873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76874 (eval $ac_try) 2>&5
76875 ac_status=$?
76876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76877 (exit $ac_status); }; }; then
76878 ac_header_compiler=yes
76879 else
76880 echo "$as_me: failed program was:" >&5
76881 sed 's/^/| /' conftest.$ac_ext >&5
76883 ac_header_compiler=no
76885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76887 echo "${ECHO_T}$ac_header_compiler" >&6
76889 # Is the header present?
76890 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76891 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76892 cat >conftest.$ac_ext <<_ACEOF
76893 /* confdefs.h. */
76894 _ACEOF
76895 cat confdefs.h >>conftest.$ac_ext
76896 cat >>conftest.$ac_ext <<_ACEOF
76897 /* end confdefs.h. */
76898 #include <langinfo.h>
76899 _ACEOF
76900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76902 ac_status=$?
76903 grep -v '^ *+' conftest.er1 >conftest.err
76904 rm -f conftest.er1
76905 cat conftest.err >&5
76906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76907 (exit $ac_status); } >/dev/null; then
76908 if test -s conftest.err; then
76909 ac_cpp_err=$ac_c_preproc_warn_flag
76910 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76911 else
76912 ac_cpp_err=
76914 else
76915 ac_cpp_err=yes
76917 if test -z "$ac_cpp_err"; then
76918 ac_header_preproc=yes
76919 else
76920 echo "$as_me: failed program was:" >&5
76921 sed 's/^/| /' conftest.$ac_ext >&5
76923 ac_header_preproc=no
76925 rm -f conftest.err conftest.$ac_ext
76926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76927 echo "${ECHO_T}$ac_header_preproc" >&6
76929 # So? What about this header?
76930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76931 yes:no: )
76932 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76933 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76934 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76935 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76936 ac_header_preproc=yes
76938 no:yes:* )
76939 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76940 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76941 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76942 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76943 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76944 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76945 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76946 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76947 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76948 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76949 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76950 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76952 cat <<\_ASBOX
76953 ## ----------------------------------------- ##
76954 ## Report this to the package-unused lists. ##
76955 ## ----------------------------------------- ##
76956 _ASBOX
76958 sed "s/^/$as_me: WARNING: /" >&2
76960 esac
76961 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76962 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76963 if test "${ac_cv_header_langinfo_h+set}" = set; then
76964 echo $ECHO_N "(cached) $ECHO_C" >&6
76965 else
76966 ac_cv_header_langinfo_h=$ac_header_preproc
76968 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76969 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76972 if test $ac_cv_header_langinfo_h = yes; then
76973 ac_has_langinfo_h=yes
76974 else
76975 ac_has_langinfo_h=no
76980 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76981 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76982 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76983 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76984 echo $ECHO_N "(cached) $ECHO_C" >&6
76985 else
76986 ac_check_lib_save_LIBS=$LIBS
76987 LIBS="-liconv $LIBS"
76988 if test x$gcc_no_link = xyes; then
76989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76991 { (exit 1); exit 1; }; }
76993 cat >conftest.$ac_ext <<_ACEOF
76994 /* confdefs.h. */
76995 _ACEOF
76996 cat confdefs.h >>conftest.$ac_ext
76997 cat >>conftest.$ac_ext <<_ACEOF
76998 /* end confdefs.h. */
77000 /* Override any gcc2 internal prototype to avoid an error. */
77001 #ifdef __cplusplus
77002 extern "C"
77003 #endif
77004 /* We use char because int might match the return type of a gcc2
77005 builtin and then its argument prototype would still apply. */
77006 char iconv ();
77008 main ()
77010 iconv ();
77012 return 0;
77014 _ACEOF
77015 rm -f conftest.$ac_objext conftest$ac_exeext
77016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77017 (eval $ac_link) 2>conftest.er1
77018 ac_status=$?
77019 grep -v '^ *+' conftest.er1 >conftest.err
77020 rm -f conftest.er1
77021 cat conftest.err >&5
77022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77023 (exit $ac_status); } &&
77024 { ac_try='test -z "$ac_c_werror_flag"
77025 || test ! -s conftest.err'
77026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77027 (eval $ac_try) 2>&5
77028 ac_status=$?
77029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77030 (exit $ac_status); }; } &&
77031 { ac_try='test -s conftest$ac_exeext'
77032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77033 (eval $ac_try) 2>&5
77034 ac_status=$?
77035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77036 (exit $ac_status); }; }; then
77037 ac_cv_lib_iconv_iconv=yes
77038 else
77039 echo "$as_me: failed program was:" >&5
77040 sed 's/^/| /' conftest.$ac_ext >&5
77042 ac_cv_lib_iconv_iconv=no
77044 rm -f conftest.err conftest.$ac_objext \
77045 conftest$ac_exeext conftest.$ac_ext
77046 LIBS=$ac_check_lib_save_LIBS
77048 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77049 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77050 if test $ac_cv_lib_iconv_iconv = yes; then
77051 LIBICONV="-liconv"
77054 ac_save_LIBS="$LIBS"
77055 LIBS="$LIBS $LIBICONV"
77062 for ac_func in iconv_open iconv_close iconv nl_langinfo
77064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77065 echo "$as_me:$LINENO: checking for $ac_func" >&5
77066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77067 if eval "test \"\${$as_ac_var+set}\" = set"; then
77068 echo $ECHO_N "(cached) $ECHO_C" >&6
77069 else
77070 if test x$gcc_no_link = xyes; then
77071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77073 { (exit 1); exit 1; }; }
77075 cat >conftest.$ac_ext <<_ACEOF
77076 /* confdefs.h. */
77077 _ACEOF
77078 cat confdefs.h >>conftest.$ac_ext
77079 cat >>conftest.$ac_ext <<_ACEOF
77080 /* end confdefs.h. */
77081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77083 #define $ac_func innocuous_$ac_func
77085 /* System header to define __stub macros and hopefully few prototypes,
77086 which can conflict with char $ac_func (); below.
77087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77088 <limits.h> exists even on freestanding compilers. */
77090 #ifdef __STDC__
77091 # include <limits.h>
77092 #else
77093 # include <assert.h>
77094 #endif
77096 #undef $ac_func
77098 /* Override any gcc2 internal prototype to avoid an error. */
77099 #ifdef __cplusplus
77100 extern "C"
77102 #endif
77103 /* We use char because int might match the return type of a gcc2
77104 builtin and then its argument prototype would still apply. */
77105 char $ac_func ();
77106 /* The GNU C library defines this for functions which it implements
77107 to always fail with ENOSYS. Some functions are actually named
77108 something starting with __ and the normal name is an alias. */
77109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77110 choke me
77111 #else
77112 char (*f) () = $ac_func;
77113 #endif
77114 #ifdef __cplusplus
77116 #endif
77119 main ()
77121 return f != $ac_func;
77123 return 0;
77125 _ACEOF
77126 rm -f conftest.$ac_objext conftest$ac_exeext
77127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77128 (eval $ac_link) 2>conftest.er1
77129 ac_status=$?
77130 grep -v '^ *+' conftest.er1 >conftest.err
77131 rm -f conftest.er1
77132 cat conftest.err >&5
77133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77134 (exit $ac_status); } &&
77135 { ac_try='test -z "$ac_c_werror_flag"
77136 || test ! -s conftest.err'
77137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77138 (eval $ac_try) 2>&5
77139 ac_status=$?
77140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77141 (exit $ac_status); }; } &&
77142 { ac_try='test -s conftest$ac_exeext'
77143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77144 (eval $ac_try) 2>&5
77145 ac_status=$?
77146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77147 (exit $ac_status); }; }; then
77148 eval "$as_ac_var=yes"
77149 else
77150 echo "$as_me: failed program was:" >&5
77151 sed 's/^/| /' conftest.$ac_ext >&5
77153 eval "$as_ac_var=no"
77155 rm -f conftest.err conftest.$ac_objext \
77156 conftest$ac_exeext conftest.$ac_ext
77158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77160 if test `eval echo '${'$as_ac_var'}'` = yes; then
77161 cat >>confdefs.h <<_ACEOF
77162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77163 _ACEOF
77164 ac_XPG2funcs=yes
77165 else
77166 ac_XPG2funcs=no
77168 done
77171 LIBS="$ac_save_LIBS"
77173 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77174 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77175 if test x"$ac_has_iconv_h" = xyes &&
77176 test x"$ac_has_langinfo_h" = xyes &&
77177 test x"$ac_XPG2funcs" = xyes;
77178 then
77179 ac_XPG2_wchar_t=yes
77180 else
77181 ac_XPG2_wchar_t=no
77183 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77184 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77186 # At the moment, only enable wchar_t specializations if all the
77187 # above support is present.
77188 if test x"$ac_isoC99_wchar_t" = xyes &&
77189 test x"$ac_XPG2_wchar_t" = xyes;
77190 then
77191 cat >>confdefs.h <<\_ACEOF
77192 #define _GLIBCXX_USE_WCHAR_T 1
77193 _ACEOF
77195 enable_wchar_t=yes
77198 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77199 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77200 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77201 echo "${ECHO_T}$enable_wchar_t" >&6
77203 cat >>confdefs.h <<\_ACEOF
77204 #define HAVE_LC_MESSAGES 1
77205 _ACEOF
77207 cat >>confdefs.h <<\_ACEOF
77208 #define HAVE_GETPAGESIZE 1
77209 _ACEOF
77211 cat >>confdefs.h <<\_ACEOF
77212 #define HAVE_SETENV 1
77213 _ACEOF
77215 cat >>confdefs.h <<\_ACEOF
77216 #define HAVE_SIGSETJMP 1
77217 _ACEOF
77219 cat >>confdefs.h <<\_ACEOF
77220 #define HAVE_COPYSIGN 1
77221 _ACEOF
77223 cat >>confdefs.h <<\_ACEOF
77224 #define HAVE_COPYSIGNF 1
77225 _ACEOF
77227 cat >>confdefs.h <<\_ACEOF
77228 #define HAVE_FINITEF 1
77229 _ACEOF
77231 cat >>confdefs.h <<\_ACEOF
77232 #define HAVE_FINITE 1
77233 _ACEOF
77235 cat >>confdefs.h <<\_ACEOF
77236 #define HAVE_FREXPF 1
77237 _ACEOF
77239 cat >>confdefs.h <<\_ACEOF
77240 #define HAVE_HYPOT 1
77241 _ACEOF
77243 cat >>confdefs.h <<\_ACEOF
77244 #define HAVE_HYPOTF 1
77245 _ACEOF
77247 cat >>confdefs.h <<\_ACEOF
77248 #define HAVE_ISINF 1
77249 _ACEOF
77251 cat >>confdefs.h <<\_ACEOF
77252 #define HAVE_ISNAN 1
77253 _ACEOF
77255 cat >>confdefs.h <<\_ACEOF
77256 #define HAVE_ISNANF 1
77257 _ACEOF
77260 cat >>confdefs.h <<\_ACEOF
77261 #define HAVE_MMAP 1
77262 _ACEOF
77264 cat >>confdefs.h <<\_ACEOF
77265 #define HAVE_ACOSF 1
77266 _ACEOF
77268 cat >>confdefs.h <<\_ACEOF
77269 #define HAVE_ASINF 1
77270 _ACEOF
77272 cat >>confdefs.h <<\_ACEOF
77273 #define HAVE_ATAN2F 1
77274 _ACEOF
77276 cat >>confdefs.h <<\_ACEOF
77277 #define HAVE_ATANF 1
77278 _ACEOF
77280 cat >>confdefs.h <<\_ACEOF
77281 #define HAVE_CEILF 1
77282 _ACEOF
77284 cat >>confdefs.h <<\_ACEOF
77285 #define HAVE_COPYSIGN 1
77286 _ACEOF
77288 cat >>confdefs.h <<\_ACEOF
77289 #define HAVE_COPYSIGNF 1
77290 _ACEOF
77292 cat >>confdefs.h <<\_ACEOF
77293 #define HAVE_COSF 1
77294 _ACEOF
77296 cat >>confdefs.h <<\_ACEOF
77297 #define HAVE_COSHF 1
77298 _ACEOF
77300 cat >>confdefs.h <<\_ACEOF
77301 #define HAVE_EXPF 1
77302 _ACEOF
77304 cat >>confdefs.h <<\_ACEOF
77305 #define HAVE_FABSF 1
77306 _ACEOF
77308 cat >>confdefs.h <<\_ACEOF
77309 #define HAVE_FLOORF 1
77310 _ACEOF
77312 cat >>confdefs.h <<\_ACEOF
77313 #define HAVE_FMODF 1
77314 _ACEOF
77316 cat >>confdefs.h <<\_ACEOF
77317 #define HAVE_FREXPF 1
77318 _ACEOF
77320 cat >>confdefs.h <<\_ACEOF
77321 #define HAVE_LDEXPF 1
77322 _ACEOF
77324 cat >>confdefs.h <<\_ACEOF
77325 #define HAVE_LOG10F 1
77326 _ACEOF
77328 cat >>confdefs.h <<\_ACEOF
77329 #define HAVE_LOGF 1
77330 _ACEOF
77332 cat >>confdefs.h <<\_ACEOF
77333 #define HAVE_MODFF 1
77334 _ACEOF
77336 cat >>confdefs.h <<\_ACEOF
77337 #define HAVE_POWF 1
77338 _ACEOF
77340 cat >>confdefs.h <<\_ACEOF
77341 #define HAVE_SINF 1
77342 _ACEOF
77344 cat >>confdefs.h <<\_ACEOF
77345 #define HAVE_SINHF 1
77346 _ACEOF
77348 cat >>confdefs.h <<\_ACEOF
77349 #define HAVE_SQRTF 1
77350 _ACEOF
77352 cat >>confdefs.h <<\_ACEOF
77353 #define HAVE_TANF 1
77354 _ACEOF
77356 cat >>confdefs.h <<\_ACEOF
77357 #define HAVE_TANHF 1
77358 _ACEOF
77360 if test x"long_double_math_on_this_cpu" = x"yes"; then
77361 cat >>confdefs.h <<\_ACEOF
77362 #define HAVE_FINITEL 1
77363 _ACEOF
77365 cat >>confdefs.h <<\_ACEOF
77366 #define HAVE_ISINFL 1
77367 _ACEOF
77369 cat >>confdefs.h <<\_ACEOF
77370 #define HAVE_ISNANL 1
77371 _ACEOF
77375 *-hpux*)
77388 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77389 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77390 fp.h locale.h float.h inttypes.h
77392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77394 echo "$as_me:$LINENO: checking for $ac_header" >&5
77395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77397 echo $ECHO_N "(cached) $ECHO_C" >&6
77399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77401 else
77402 # Is the header compilable?
77403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77405 cat >conftest.$ac_ext <<_ACEOF
77406 /* confdefs.h. */
77407 _ACEOF
77408 cat confdefs.h >>conftest.$ac_ext
77409 cat >>conftest.$ac_ext <<_ACEOF
77410 /* end confdefs.h. */
77411 $ac_includes_default
77412 #include <$ac_header>
77413 _ACEOF
77414 rm -f conftest.$ac_objext
77415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77416 (eval $ac_compile) 2>conftest.er1
77417 ac_status=$?
77418 grep -v '^ *+' conftest.er1 >conftest.err
77419 rm -f conftest.er1
77420 cat conftest.err >&5
77421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77422 (exit $ac_status); } &&
77423 { ac_try='test -z "$ac_c_werror_flag"
77424 || test ! -s conftest.err'
77425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77426 (eval $ac_try) 2>&5
77427 ac_status=$?
77428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77429 (exit $ac_status); }; } &&
77430 { ac_try='test -s conftest.$ac_objext'
77431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77432 (eval $ac_try) 2>&5
77433 ac_status=$?
77434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77435 (exit $ac_status); }; }; then
77436 ac_header_compiler=yes
77437 else
77438 echo "$as_me: failed program was:" >&5
77439 sed 's/^/| /' conftest.$ac_ext >&5
77441 ac_header_compiler=no
77443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77445 echo "${ECHO_T}$ac_header_compiler" >&6
77447 # Is the header present?
77448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77450 cat >conftest.$ac_ext <<_ACEOF
77451 /* confdefs.h. */
77452 _ACEOF
77453 cat confdefs.h >>conftest.$ac_ext
77454 cat >>conftest.$ac_ext <<_ACEOF
77455 /* end confdefs.h. */
77456 #include <$ac_header>
77457 _ACEOF
77458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77460 ac_status=$?
77461 grep -v '^ *+' conftest.er1 >conftest.err
77462 rm -f conftest.er1
77463 cat conftest.err >&5
77464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77465 (exit $ac_status); } >/dev/null; then
77466 if test -s conftest.err; then
77467 ac_cpp_err=$ac_c_preproc_warn_flag
77468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77469 else
77470 ac_cpp_err=
77472 else
77473 ac_cpp_err=yes
77475 if test -z "$ac_cpp_err"; then
77476 ac_header_preproc=yes
77477 else
77478 echo "$as_me: failed program was:" >&5
77479 sed 's/^/| /' conftest.$ac_ext >&5
77481 ac_header_preproc=no
77483 rm -f conftest.err conftest.$ac_ext
77484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77485 echo "${ECHO_T}$ac_header_preproc" >&6
77487 # So? What about this header?
77488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77489 yes:no: )
77490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77494 ac_header_preproc=yes
77496 no:yes:* )
77497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77510 cat <<\_ASBOX
77511 ## ----------------------------------------- ##
77512 ## Report this to the package-unused lists. ##
77513 ## ----------------------------------------- ##
77514 _ASBOX
77516 sed "s/^/$as_me: WARNING: /" >&2
77518 esac
77519 echo "$as_me:$LINENO: checking for $ac_header" >&5
77520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77522 echo $ECHO_N "(cached) $ECHO_C" >&6
77523 else
77524 eval "$as_ac_Header=\$ac_header_preproc"
77526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77531 cat >>confdefs.h <<_ACEOF
77532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77533 _ACEOF
77537 done
77539 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77542 # If we're not using GNU ld, then there's no point in even trying these
77543 # tests. Check for that first. We should have already tested for gld
77544 # by now (in libtool), but require it now just to be safe...
77545 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77546 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77550 # The name set by libtool depends on the version of libtool. Shame on us
77551 # for depending on an impl detail, but c'est la vie. Older versions used
77552 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77553 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77554 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77555 # set (hence we're using an older libtool), then set it.
77556 if test x${with_gnu_ld+set} != xset; then
77557 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77558 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77559 with_gnu_ld=no
77560 else
77561 with_gnu_ld=$ac_cv_prog_gnu_ld
77565 # Start by getting the version number. I think the libtool test already
77566 # does some of this, but throws away the result.
77568 ldver=`$LD --version 2>/dev/null | head -1 | \
77569 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77571 glibcxx_gnu_ld_version=`echo $ldver | \
77572 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77574 # Set --gc-sections.
77575 if test "$with_gnu_ld" = "notbroken"; then
77576 # GNU ld it is! Joy and bunny rabbits!
77578 # All these tests are for C++; save the language and the compiler flags.
77579 # Need to do this so that g++ won't try to link in libstdc++
77580 ac_test_CFLAGS="${CFLAGS+set}"
77581 ac_save_CFLAGS="$CFLAGS"
77582 CFLAGS='-x c++ -Wl,--gc-sections'
77584 # Check for -Wl,--gc-sections
77585 # XXX This test is broken at the moment, as symbols required for linking
77586 # are now in libsupc++ (not built yet). In addition, this test has
77587 # cored on solaris in the past. In addition, --gc-sections doesn't
77588 # really work at the moment (keeps on discarding used sections, first
77589 # .eh_frame and now some of the glibc sections for iconv).
77590 # Bzzzzt. Thanks for playing, maybe next time.
77591 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77592 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77593 if test "$cross_compiling" = yes; then
77594 ac_sectionLDflags=yes
77595 else
77596 cat >conftest.$ac_ext <<_ACEOF
77597 /* confdefs.h. */
77598 _ACEOF
77599 cat confdefs.h >>conftest.$ac_ext
77600 cat >>conftest.$ac_ext <<_ACEOF
77601 /* end confdefs.h. */
77603 int main(void)
77605 try { throw 1; }
77606 catch (...) { };
77607 return 0;
77610 _ACEOF
77611 rm -f conftest$ac_exeext
77612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77613 (eval $ac_link) 2>&5
77614 ac_status=$?
77615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77618 (eval $ac_try) 2>&5
77619 ac_status=$?
77620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77621 (exit $ac_status); }; }; then
77622 ac_sectionLDflags=yes
77623 else
77624 echo "$as_me: program exited with status $ac_status" >&5
77625 echo "$as_me: failed program was:" >&5
77626 sed 's/^/| /' conftest.$ac_ext >&5
77628 ( exit $ac_status )
77629 ac_sectionLDflags=no
77631 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77633 if test "$ac_test_CFLAGS" = set; then
77634 CFLAGS="$ac_save_CFLAGS"
77635 else
77636 # this is the suspicious part
77637 CFLAGS=''
77639 if test "$ac_sectionLDflags" = "yes"; then
77640 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77642 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77643 echo "${ECHO_T}$ac_sectionLDflags" >&6
77646 # Set linker optimization flags.
77647 if test x"$with_gnu_ld" = x"yes"; then
77648 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77656 echo "$as_me:$LINENO: checking for main in -lm" >&5
77657 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77658 if test "${ac_cv_lib_m_main+set}" = set; then
77659 echo $ECHO_N "(cached) $ECHO_C" >&6
77660 else
77661 ac_check_lib_save_LIBS=$LIBS
77662 LIBS="-lm $LIBS"
77663 if test x$gcc_no_link = xyes; then
77664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77666 { (exit 1); exit 1; }; }
77668 cat >conftest.$ac_ext <<_ACEOF
77669 /* confdefs.h. */
77670 _ACEOF
77671 cat confdefs.h >>conftest.$ac_ext
77672 cat >>conftest.$ac_ext <<_ACEOF
77673 /* end confdefs.h. */
77677 main ()
77679 main ();
77681 return 0;
77683 _ACEOF
77684 rm -f conftest.$ac_objext conftest$ac_exeext
77685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77686 (eval $ac_link) 2>conftest.er1
77687 ac_status=$?
77688 grep -v '^ *+' conftest.er1 >conftest.err
77689 rm -f conftest.er1
77690 cat conftest.err >&5
77691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77692 (exit $ac_status); } &&
77693 { ac_try='test -z "$ac_c_werror_flag"
77694 || test ! -s conftest.err'
77695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77696 (eval $ac_try) 2>&5
77697 ac_status=$?
77698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77699 (exit $ac_status); }; } &&
77700 { ac_try='test -s conftest$ac_exeext'
77701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77702 (eval $ac_try) 2>&5
77703 ac_status=$?
77704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77705 (exit $ac_status); }; }; then
77706 ac_cv_lib_m_main=yes
77707 else
77708 echo "$as_me: failed program was:" >&5
77709 sed 's/^/| /' conftest.$ac_ext >&5
77711 ac_cv_lib_m_main=no
77713 rm -f conftest.err conftest.$ac_objext \
77714 conftest$ac_exeext conftest.$ac_ext
77715 LIBS=$ac_check_lib_save_LIBS
77717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77718 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77719 if test $ac_cv_lib_m_main = yes; then
77720 cat >>confdefs.h <<_ACEOF
77721 #define HAVE_LIBM 1
77722 _ACEOF
77724 LIBS="-lm $LIBS"
77729 for ac_func in copysignf
77731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77732 echo "$as_me:$LINENO: checking for $ac_func" >&5
77733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77734 if eval "test \"\${$as_ac_var+set}\" = set"; then
77735 echo $ECHO_N "(cached) $ECHO_C" >&6
77736 else
77737 if test x$gcc_no_link = xyes; then
77738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77740 { (exit 1); exit 1; }; }
77742 cat >conftest.$ac_ext <<_ACEOF
77743 /* confdefs.h. */
77744 _ACEOF
77745 cat confdefs.h >>conftest.$ac_ext
77746 cat >>conftest.$ac_ext <<_ACEOF
77747 /* end confdefs.h. */
77748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77750 #define $ac_func innocuous_$ac_func
77752 /* System header to define __stub macros and hopefully few prototypes,
77753 which can conflict with char $ac_func (); below.
77754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77755 <limits.h> exists even on freestanding compilers. */
77757 #ifdef __STDC__
77758 # include <limits.h>
77759 #else
77760 # include <assert.h>
77761 #endif
77763 #undef $ac_func
77765 /* Override any gcc2 internal prototype to avoid an error. */
77766 #ifdef __cplusplus
77767 extern "C"
77769 #endif
77770 /* We use char because int might match the return type of a gcc2
77771 builtin and then its argument prototype would still apply. */
77772 char $ac_func ();
77773 /* The GNU C library defines this for functions which it implements
77774 to always fail with ENOSYS. Some functions are actually named
77775 something starting with __ and the normal name is an alias. */
77776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77777 choke me
77778 #else
77779 char (*f) () = $ac_func;
77780 #endif
77781 #ifdef __cplusplus
77783 #endif
77786 main ()
77788 return f != $ac_func;
77790 return 0;
77792 _ACEOF
77793 rm -f conftest.$ac_objext conftest$ac_exeext
77794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77795 (eval $ac_link) 2>conftest.er1
77796 ac_status=$?
77797 grep -v '^ *+' conftest.er1 >conftest.err
77798 rm -f conftest.er1
77799 cat conftest.err >&5
77800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77801 (exit $ac_status); } &&
77802 { ac_try='test -z "$ac_c_werror_flag"
77803 || test ! -s conftest.err'
77804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77805 (eval $ac_try) 2>&5
77806 ac_status=$?
77807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77808 (exit $ac_status); }; } &&
77809 { ac_try='test -s conftest$ac_exeext'
77810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77811 (eval $ac_try) 2>&5
77812 ac_status=$?
77813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77814 (exit $ac_status); }; }; then
77815 eval "$as_ac_var=yes"
77816 else
77817 echo "$as_me: failed program was:" >&5
77818 sed 's/^/| /' conftest.$ac_ext >&5
77820 eval "$as_ac_var=no"
77822 rm -f conftest.err conftest.$ac_objext \
77823 conftest$ac_exeext conftest.$ac_ext
77825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77827 if test `eval echo '${'$as_ac_var'}'` = yes; then
77828 cat >>confdefs.h <<_ACEOF
77829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77830 _ACEOF
77832 else
77833 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77835 done
77839 for ac_func in __signbit
77841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77842 echo "$as_me:$LINENO: checking for $ac_func" >&5
77843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77844 if eval "test \"\${$as_ac_var+set}\" = set"; then
77845 echo $ECHO_N "(cached) $ECHO_C" >&6
77846 else
77847 if test x$gcc_no_link = xyes; then
77848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77850 { (exit 1); exit 1; }; }
77852 cat >conftest.$ac_ext <<_ACEOF
77853 /* confdefs.h. */
77854 _ACEOF
77855 cat confdefs.h >>conftest.$ac_ext
77856 cat >>conftest.$ac_ext <<_ACEOF
77857 /* end confdefs.h. */
77858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77860 #define $ac_func innocuous_$ac_func
77862 /* System header to define __stub macros and hopefully few prototypes,
77863 which can conflict with char $ac_func (); below.
77864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77865 <limits.h> exists even on freestanding compilers. */
77867 #ifdef __STDC__
77868 # include <limits.h>
77869 #else
77870 # include <assert.h>
77871 #endif
77873 #undef $ac_func
77875 /* Override any gcc2 internal prototype to avoid an error. */
77876 #ifdef __cplusplus
77877 extern "C"
77879 #endif
77880 /* We use char because int might match the return type of a gcc2
77881 builtin and then its argument prototype would still apply. */
77882 char $ac_func ();
77883 /* The GNU C library defines this for functions which it implements
77884 to always fail with ENOSYS. Some functions are actually named
77885 something starting with __ and the normal name is an alias. */
77886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77887 choke me
77888 #else
77889 char (*f) () = $ac_func;
77890 #endif
77891 #ifdef __cplusplus
77893 #endif
77896 main ()
77898 return f != $ac_func;
77900 return 0;
77902 _ACEOF
77903 rm -f conftest.$ac_objext conftest$ac_exeext
77904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77905 (eval $ac_link) 2>conftest.er1
77906 ac_status=$?
77907 grep -v '^ *+' conftest.er1 >conftest.err
77908 rm -f conftest.er1
77909 cat conftest.err >&5
77910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77911 (exit $ac_status); } &&
77912 { ac_try='test -z "$ac_c_werror_flag"
77913 || test ! -s conftest.err'
77914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77915 (eval $ac_try) 2>&5
77916 ac_status=$?
77917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77918 (exit $ac_status); }; } &&
77919 { ac_try='test -s conftest$ac_exeext'
77920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77921 (eval $ac_try) 2>&5
77922 ac_status=$?
77923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77924 (exit $ac_status); }; }; then
77925 eval "$as_ac_var=yes"
77926 else
77927 echo "$as_me: failed program was:" >&5
77928 sed 's/^/| /' conftest.$ac_ext >&5
77930 eval "$as_ac_var=no"
77932 rm -f conftest.err conftest.$ac_objext \
77933 conftest$ac_exeext conftest.$ac_ext
77935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77937 if test `eval echo '${'$as_ac_var'}'` = yes; then
77938 cat >>confdefs.h <<_ACEOF
77939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77940 _ACEOF
77942 else
77943 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77945 done
77949 for ac_func in __signbitf
77951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77952 echo "$as_me:$LINENO: checking for $ac_func" >&5
77953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77954 if eval "test \"\${$as_ac_var+set}\" = set"; then
77955 echo $ECHO_N "(cached) $ECHO_C" >&6
77956 else
77957 if test x$gcc_no_link = xyes; then
77958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77960 { (exit 1); exit 1; }; }
77962 cat >conftest.$ac_ext <<_ACEOF
77963 /* confdefs.h. */
77964 _ACEOF
77965 cat confdefs.h >>conftest.$ac_ext
77966 cat >>conftest.$ac_ext <<_ACEOF
77967 /* end confdefs.h. */
77968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77970 #define $ac_func innocuous_$ac_func
77972 /* System header to define __stub macros and hopefully few prototypes,
77973 which can conflict with char $ac_func (); below.
77974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77975 <limits.h> exists even on freestanding compilers. */
77977 #ifdef __STDC__
77978 # include <limits.h>
77979 #else
77980 # include <assert.h>
77981 #endif
77983 #undef $ac_func
77985 /* Override any gcc2 internal prototype to avoid an error. */
77986 #ifdef __cplusplus
77987 extern "C"
77989 #endif
77990 /* We use char because int might match the return type of a gcc2
77991 builtin and then its argument prototype would still apply. */
77992 char $ac_func ();
77993 /* The GNU C library defines this for functions which it implements
77994 to always fail with ENOSYS. Some functions are actually named
77995 something starting with __ and the normal name is an alias. */
77996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77997 choke me
77998 #else
77999 char (*f) () = $ac_func;
78000 #endif
78001 #ifdef __cplusplus
78003 #endif
78006 main ()
78008 return f != $ac_func;
78010 return 0;
78012 _ACEOF
78013 rm -f conftest.$ac_objext conftest$ac_exeext
78014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78015 (eval $ac_link) 2>conftest.er1
78016 ac_status=$?
78017 grep -v '^ *+' conftest.er1 >conftest.err
78018 rm -f conftest.er1
78019 cat conftest.err >&5
78020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78021 (exit $ac_status); } &&
78022 { ac_try='test -z "$ac_c_werror_flag"
78023 || test ! -s conftest.err'
78024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78025 (eval $ac_try) 2>&5
78026 ac_status=$?
78027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78028 (exit $ac_status); }; } &&
78029 { ac_try='test -s conftest$ac_exeext'
78030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78031 (eval $ac_try) 2>&5
78032 ac_status=$?
78033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78034 (exit $ac_status); }; }; then
78035 eval "$as_ac_var=yes"
78036 else
78037 echo "$as_me: failed program was:" >&5
78038 sed 's/^/| /' conftest.$ac_ext >&5
78040 eval "$as_ac_var=no"
78042 rm -f conftest.err conftest.$ac_objext \
78043 conftest$ac_exeext conftest.$ac_ext
78045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78047 if test `eval echo '${'$as_ac_var'}'` = yes; then
78048 cat >>confdefs.h <<_ACEOF
78049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78050 _ACEOF
78052 else
78053 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78055 done
78058 if test x$ac_cv_func_copysignl = x"yes"; then
78060 for ac_func in __signbitl
78062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78063 echo "$as_me:$LINENO: checking for $ac_func" >&5
78064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78065 if eval "test \"\${$as_ac_var+set}\" = set"; then
78066 echo $ECHO_N "(cached) $ECHO_C" >&6
78067 else
78068 if test x$gcc_no_link = xyes; then
78069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78071 { (exit 1); exit 1; }; }
78073 cat >conftest.$ac_ext <<_ACEOF
78074 /* confdefs.h. */
78075 _ACEOF
78076 cat confdefs.h >>conftest.$ac_ext
78077 cat >>conftest.$ac_ext <<_ACEOF
78078 /* end confdefs.h. */
78079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78081 #define $ac_func innocuous_$ac_func
78083 /* System header to define __stub macros and hopefully few prototypes,
78084 which can conflict with char $ac_func (); below.
78085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78086 <limits.h> exists even on freestanding compilers. */
78088 #ifdef __STDC__
78089 # include <limits.h>
78090 #else
78091 # include <assert.h>
78092 #endif
78094 #undef $ac_func
78096 /* Override any gcc2 internal prototype to avoid an error. */
78097 #ifdef __cplusplus
78098 extern "C"
78100 #endif
78101 /* We use char because int might match the return type of a gcc2
78102 builtin and then its argument prototype would still apply. */
78103 char $ac_func ();
78104 /* The GNU C library defines this for functions which it implements
78105 to always fail with ENOSYS. Some functions are actually named
78106 something starting with __ and the normal name is an alias. */
78107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78108 choke me
78109 #else
78110 char (*f) () = $ac_func;
78111 #endif
78112 #ifdef __cplusplus
78114 #endif
78117 main ()
78119 return f != $ac_func;
78121 return 0;
78123 _ACEOF
78124 rm -f conftest.$ac_objext conftest$ac_exeext
78125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78126 (eval $ac_link) 2>conftest.er1
78127 ac_status=$?
78128 grep -v '^ *+' conftest.er1 >conftest.err
78129 rm -f conftest.er1
78130 cat conftest.err >&5
78131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78132 (exit $ac_status); } &&
78133 { ac_try='test -z "$ac_c_werror_flag"
78134 || test ! -s conftest.err'
78135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78136 (eval $ac_try) 2>&5
78137 ac_status=$?
78138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78139 (exit $ac_status); }; } &&
78140 { ac_try='test -s conftest$ac_exeext'
78141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78142 (eval $ac_try) 2>&5
78143 ac_status=$?
78144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78145 (exit $ac_status); }; }; then
78146 eval "$as_ac_var=yes"
78147 else
78148 echo "$as_me: failed program was:" >&5
78149 sed 's/^/| /' conftest.$ac_ext >&5
78151 eval "$as_ac_var=no"
78153 rm -f conftest.err conftest.$ac_objext \
78154 conftest$ac_exeext conftest.$ac_ext
78156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78158 if test `eval echo '${'$as_ac_var'}'` = yes; then
78159 cat >>confdefs.h <<_ACEOF
78160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78161 _ACEOF
78163 else
78164 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78166 done
78170 # Used in libmath/Makefile.am.
78171 if test -n "$LIBMATHOBJS"; then
78172 need_libmath=yes
78177 # Test wchar.h for mbstate_t, which is needed for char_traits and
78178 # others even if wchar_t support is not on.
78179 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78180 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78181 cat >conftest.$ac_ext <<_ACEOF
78182 /* confdefs.h. */
78183 _ACEOF
78184 cat confdefs.h >>conftest.$ac_ext
78185 cat >>conftest.$ac_ext <<_ACEOF
78186 /* end confdefs.h. */
78187 #include <wchar.h>
78189 main ()
78191 mbstate_t teststate;
78193 return 0;
78195 _ACEOF
78196 rm -f conftest.$ac_objext
78197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78198 (eval $ac_compile) 2>conftest.er1
78199 ac_status=$?
78200 grep -v '^ *+' conftest.er1 >conftest.err
78201 rm -f conftest.er1
78202 cat conftest.err >&5
78203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78204 (exit $ac_status); } &&
78205 { ac_try='test -z "$ac_c_werror_flag"
78206 || test ! -s conftest.err'
78207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78208 (eval $ac_try) 2>&5
78209 ac_status=$?
78210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78211 (exit $ac_status); }; } &&
78212 { ac_try='test -s conftest.$ac_objext'
78213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78214 (eval $ac_try) 2>&5
78215 ac_status=$?
78216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78217 (exit $ac_status); }; }; then
78218 have_mbstate_t=yes
78219 else
78220 echo "$as_me: failed program was:" >&5
78221 sed 's/^/| /' conftest.$ac_ext >&5
78223 have_mbstate_t=no
78225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78226 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78227 echo "${ECHO_T}$have_mbstate_t" >&6
78228 if test x"$have_mbstate_t" = xyes; then
78229 cat >>confdefs.h <<\_ACEOF
78230 #define HAVE_MBSTATE_T 1
78231 _ACEOF
78235 # Sanity check for existence of ISO C99 headers for extended encoding.
78237 for ac_header in wchar.h
78239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78241 echo "$as_me:$LINENO: checking for $ac_header" >&5
78242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78244 echo $ECHO_N "(cached) $ECHO_C" >&6
78246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78248 else
78249 # Is the header compilable?
78250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78252 cat >conftest.$ac_ext <<_ACEOF
78253 /* confdefs.h. */
78254 _ACEOF
78255 cat confdefs.h >>conftest.$ac_ext
78256 cat >>conftest.$ac_ext <<_ACEOF
78257 /* end confdefs.h. */
78258 $ac_includes_default
78259 #include <$ac_header>
78260 _ACEOF
78261 rm -f conftest.$ac_objext
78262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78263 (eval $ac_compile) 2>conftest.er1
78264 ac_status=$?
78265 grep -v '^ *+' conftest.er1 >conftest.err
78266 rm -f conftest.er1
78267 cat conftest.err >&5
78268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78269 (exit $ac_status); } &&
78270 { ac_try='test -z "$ac_c_werror_flag"
78271 || test ! -s conftest.err'
78272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78273 (eval $ac_try) 2>&5
78274 ac_status=$?
78275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78276 (exit $ac_status); }; } &&
78277 { ac_try='test -s conftest.$ac_objext'
78278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78279 (eval $ac_try) 2>&5
78280 ac_status=$?
78281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78282 (exit $ac_status); }; }; then
78283 ac_header_compiler=yes
78284 else
78285 echo "$as_me: failed program was:" >&5
78286 sed 's/^/| /' conftest.$ac_ext >&5
78288 ac_header_compiler=no
78290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78292 echo "${ECHO_T}$ac_header_compiler" >&6
78294 # Is the header present?
78295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78297 cat >conftest.$ac_ext <<_ACEOF
78298 /* confdefs.h. */
78299 _ACEOF
78300 cat confdefs.h >>conftest.$ac_ext
78301 cat >>conftest.$ac_ext <<_ACEOF
78302 /* end confdefs.h. */
78303 #include <$ac_header>
78304 _ACEOF
78305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78307 ac_status=$?
78308 grep -v '^ *+' conftest.er1 >conftest.err
78309 rm -f conftest.er1
78310 cat conftest.err >&5
78311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78312 (exit $ac_status); } >/dev/null; then
78313 if test -s conftest.err; then
78314 ac_cpp_err=$ac_c_preproc_warn_flag
78315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78316 else
78317 ac_cpp_err=
78319 else
78320 ac_cpp_err=yes
78322 if test -z "$ac_cpp_err"; then
78323 ac_header_preproc=yes
78324 else
78325 echo "$as_me: failed program was:" >&5
78326 sed 's/^/| /' conftest.$ac_ext >&5
78328 ac_header_preproc=no
78330 rm -f conftest.err conftest.$ac_ext
78331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78332 echo "${ECHO_T}$ac_header_preproc" >&6
78334 # So? What about this header?
78335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78336 yes:no: )
78337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78341 ac_header_preproc=yes
78343 no:yes:* )
78344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78357 cat <<\_ASBOX
78358 ## ----------------------------------------- ##
78359 ## Report this to the package-unused lists. ##
78360 ## ----------------------------------------- ##
78361 _ASBOX
78363 sed "s/^/$as_me: WARNING: /" >&2
78365 esac
78366 echo "$as_me:$LINENO: checking for $ac_header" >&5
78367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78369 echo $ECHO_N "(cached) $ECHO_C" >&6
78370 else
78371 eval "$as_ac_Header=\$ac_header_preproc"
78373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78378 cat >>confdefs.h <<_ACEOF
78379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78380 _ACEOF
78381 ac_has_wchar_h=yes
78382 else
78383 ac_has_wchar_h=no
78386 done
78389 for ac_header in wctype.h
78391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78393 echo "$as_me:$LINENO: checking for $ac_header" >&5
78394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78396 echo $ECHO_N "(cached) $ECHO_C" >&6
78398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78400 else
78401 # Is the header compilable?
78402 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78403 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78404 cat >conftest.$ac_ext <<_ACEOF
78405 /* confdefs.h. */
78406 _ACEOF
78407 cat confdefs.h >>conftest.$ac_ext
78408 cat >>conftest.$ac_ext <<_ACEOF
78409 /* end confdefs.h. */
78410 $ac_includes_default
78411 #include <$ac_header>
78412 _ACEOF
78413 rm -f conftest.$ac_objext
78414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78415 (eval $ac_compile) 2>conftest.er1
78416 ac_status=$?
78417 grep -v '^ *+' conftest.er1 >conftest.err
78418 rm -f conftest.er1
78419 cat conftest.err >&5
78420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78421 (exit $ac_status); } &&
78422 { ac_try='test -z "$ac_c_werror_flag"
78423 || test ! -s conftest.err'
78424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78425 (eval $ac_try) 2>&5
78426 ac_status=$?
78427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78428 (exit $ac_status); }; } &&
78429 { ac_try='test -s conftest.$ac_objext'
78430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78431 (eval $ac_try) 2>&5
78432 ac_status=$?
78433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434 (exit $ac_status); }; }; then
78435 ac_header_compiler=yes
78436 else
78437 echo "$as_me: failed program was:" >&5
78438 sed 's/^/| /' conftest.$ac_ext >&5
78440 ac_header_compiler=no
78442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78444 echo "${ECHO_T}$ac_header_compiler" >&6
78446 # Is the header present?
78447 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78449 cat >conftest.$ac_ext <<_ACEOF
78450 /* confdefs.h. */
78451 _ACEOF
78452 cat confdefs.h >>conftest.$ac_ext
78453 cat >>conftest.$ac_ext <<_ACEOF
78454 /* end confdefs.h. */
78455 #include <$ac_header>
78456 _ACEOF
78457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78459 ac_status=$?
78460 grep -v '^ *+' conftest.er1 >conftest.err
78461 rm -f conftest.er1
78462 cat conftest.err >&5
78463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78464 (exit $ac_status); } >/dev/null; then
78465 if test -s conftest.err; then
78466 ac_cpp_err=$ac_c_preproc_warn_flag
78467 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78468 else
78469 ac_cpp_err=
78471 else
78472 ac_cpp_err=yes
78474 if test -z "$ac_cpp_err"; then
78475 ac_header_preproc=yes
78476 else
78477 echo "$as_me: failed program was:" >&5
78478 sed 's/^/| /' conftest.$ac_ext >&5
78480 ac_header_preproc=no
78482 rm -f conftest.err conftest.$ac_ext
78483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78484 echo "${ECHO_T}$ac_header_preproc" >&6
78486 # So? What about this header?
78487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78488 yes:no: )
78489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78493 ac_header_preproc=yes
78495 no:yes:* )
78496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78509 cat <<\_ASBOX
78510 ## ----------------------------------------- ##
78511 ## Report this to the package-unused lists. ##
78512 ## ----------------------------------------- ##
78513 _ASBOX
78515 sed "s/^/$as_me: WARNING: /" >&2
78517 esac
78518 echo "$as_me:$LINENO: checking for $ac_header" >&5
78519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78521 echo $ECHO_N "(cached) $ECHO_C" >&6
78522 else
78523 eval "$as_ac_Header=\$ac_header_preproc"
78525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78530 cat >>confdefs.h <<_ACEOF
78531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78532 _ACEOF
78533 ac_has_wctype_h=yes
78534 else
78535 ac_has_wctype_h=no
78538 done
78541 # Only continue checking if the ISO C99 headers exist and support is on.
78542 if test x"$ac_has_wchar_h" = xyes &&
78543 test x"$ac_has_wctype_h" = xyes &&
78544 test x"$enable_c_mbchar" != xno; then
78546 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78547 # numeric_limits can instantiate type_traits<wchar_t>
78548 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78549 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78550 cat >conftest.$ac_ext <<_ACEOF
78551 /* confdefs.h. */
78552 _ACEOF
78553 cat confdefs.h >>conftest.$ac_ext
78554 cat >>conftest.$ac_ext <<_ACEOF
78555 /* end confdefs.h. */
78556 #include <wchar.h>
78558 main ()
78560 int i = WCHAR_MIN; int j = WCHAR_MAX;
78562 return 0;
78564 _ACEOF
78565 rm -f conftest.$ac_objext
78566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78567 (eval $ac_compile) 2>conftest.er1
78568 ac_status=$?
78569 grep -v '^ *+' conftest.er1 >conftest.err
78570 rm -f conftest.er1
78571 cat conftest.err >&5
78572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78573 (exit $ac_status); } &&
78574 { ac_try='test -z "$ac_c_werror_flag"
78575 || test ! -s conftest.err'
78576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78577 (eval $ac_try) 2>&5
78578 ac_status=$?
78579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78580 (exit $ac_status); }; } &&
78581 { ac_try='test -s conftest.$ac_objext'
78582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78583 (eval $ac_try) 2>&5
78584 ac_status=$?
78585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78586 (exit $ac_status); }; }; then
78587 has_wchar_minmax=yes
78588 else
78589 echo "$as_me: failed program was:" >&5
78590 sed 's/^/| /' conftest.$ac_ext >&5
78592 has_wchar_minmax=no
78594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78595 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78596 echo "${ECHO_T}$has_wchar_minmax" >&6
78598 # Test wchar.h for WEOF, which is what we use to determine whether
78599 # to specialize for char_traits<wchar_t> or not.
78600 echo "$as_me:$LINENO: checking for WEOF" >&5
78601 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78602 cat >conftest.$ac_ext <<_ACEOF
78603 /* confdefs.h. */
78604 _ACEOF
78605 cat confdefs.h >>conftest.$ac_ext
78606 cat >>conftest.$ac_ext <<_ACEOF
78607 /* end confdefs.h. */
78609 #include <wchar.h>
78610 #include <stddef.h>
78612 main ()
78614 wint_t i = WEOF;
78616 return 0;
78618 _ACEOF
78619 rm -f conftest.$ac_objext
78620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78621 (eval $ac_compile) 2>conftest.er1
78622 ac_status=$?
78623 grep -v '^ *+' conftest.er1 >conftest.err
78624 rm -f conftest.er1
78625 cat conftest.err >&5
78626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78627 (exit $ac_status); } &&
78628 { ac_try='test -z "$ac_c_werror_flag"
78629 || test ! -s conftest.err'
78630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78631 (eval $ac_try) 2>&5
78632 ac_status=$?
78633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78634 (exit $ac_status); }; } &&
78635 { ac_try='test -s conftest.$ac_objext'
78636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78637 (eval $ac_try) 2>&5
78638 ac_status=$?
78639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78640 (exit $ac_status); }; }; then
78641 has_weof=yes
78642 else
78643 echo "$as_me: failed program was:" >&5
78644 sed 's/^/| /' conftest.$ac_ext >&5
78646 has_weof=no
78648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78649 echo "$as_me:$LINENO: result: $has_weof" >&5
78650 echo "${ECHO_T}$has_weof" >&6
78652 # Tests for wide character functions used in char_traits<wchar_t>.
78653 ac_wfuncs=yes
78660 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78663 echo "$as_me:$LINENO: checking for $ac_func" >&5
78664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78665 if eval "test \"\${$as_ac_var+set}\" = set"; then
78666 echo $ECHO_N "(cached) $ECHO_C" >&6
78667 else
78668 if test x$gcc_no_link = xyes; then
78669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78671 { (exit 1); exit 1; }; }
78673 cat >conftest.$ac_ext <<_ACEOF
78674 /* confdefs.h. */
78675 _ACEOF
78676 cat confdefs.h >>conftest.$ac_ext
78677 cat >>conftest.$ac_ext <<_ACEOF
78678 /* end confdefs.h. */
78679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78681 #define $ac_func innocuous_$ac_func
78683 /* System header to define __stub macros and hopefully few prototypes,
78684 which can conflict with char $ac_func (); below.
78685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78686 <limits.h> exists even on freestanding compilers. */
78688 #ifdef __STDC__
78689 # include <limits.h>
78690 #else
78691 # include <assert.h>
78692 #endif
78694 #undef $ac_func
78696 /* Override any gcc2 internal prototype to avoid an error. */
78697 #ifdef __cplusplus
78698 extern "C"
78700 #endif
78701 /* We use char because int might match the return type of a gcc2
78702 builtin and then its argument prototype would still apply. */
78703 char $ac_func ();
78704 /* The GNU C library defines this for functions which it implements
78705 to always fail with ENOSYS. Some functions are actually named
78706 something starting with __ and the normal name is an alias. */
78707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78708 choke me
78709 #else
78710 char (*f) () = $ac_func;
78711 #endif
78712 #ifdef __cplusplus
78714 #endif
78717 main ()
78719 return f != $ac_func;
78721 return 0;
78723 _ACEOF
78724 rm -f conftest.$ac_objext conftest$ac_exeext
78725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78726 (eval $ac_link) 2>conftest.er1
78727 ac_status=$?
78728 grep -v '^ *+' conftest.er1 >conftest.err
78729 rm -f conftest.er1
78730 cat conftest.err >&5
78731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78732 (exit $ac_status); } &&
78733 { ac_try='test -z "$ac_c_werror_flag"
78734 || test ! -s conftest.err'
78735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78736 (eval $ac_try) 2>&5
78737 ac_status=$?
78738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78739 (exit $ac_status); }; } &&
78740 { ac_try='test -s conftest$ac_exeext'
78741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78742 (eval $ac_try) 2>&5
78743 ac_status=$?
78744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78745 (exit $ac_status); }; }; then
78746 eval "$as_ac_var=yes"
78747 else
78748 echo "$as_me: failed program was:" >&5
78749 sed 's/^/| /' conftest.$ac_ext >&5
78751 eval "$as_ac_var=no"
78753 rm -f conftest.err conftest.$ac_objext \
78754 conftest$ac_exeext conftest.$ac_ext
78756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78758 if test `eval echo '${'$as_ac_var'}'` = yes; then
78759 cat >>confdefs.h <<_ACEOF
78760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78761 _ACEOF
78763 else
78764 ac_wfuncs=no
78766 done
78769 # Checks for names injected into std:: by the c_std headers.
78816 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78817 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78818 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78819 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78820 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78821 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78824 echo "$as_me:$LINENO: checking for $ac_func" >&5
78825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78826 if eval "test \"\${$as_ac_var+set}\" = set"; then
78827 echo $ECHO_N "(cached) $ECHO_C" >&6
78828 else
78829 if test x$gcc_no_link = xyes; then
78830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78832 { (exit 1); exit 1; }; }
78834 cat >conftest.$ac_ext <<_ACEOF
78835 /* confdefs.h. */
78836 _ACEOF
78837 cat confdefs.h >>conftest.$ac_ext
78838 cat >>conftest.$ac_ext <<_ACEOF
78839 /* end confdefs.h. */
78840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78842 #define $ac_func innocuous_$ac_func
78844 /* System header to define __stub macros and hopefully few prototypes,
78845 which can conflict with char $ac_func (); below.
78846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78847 <limits.h> exists even on freestanding compilers. */
78849 #ifdef __STDC__
78850 # include <limits.h>
78851 #else
78852 # include <assert.h>
78853 #endif
78855 #undef $ac_func
78857 /* Override any gcc2 internal prototype to avoid an error. */
78858 #ifdef __cplusplus
78859 extern "C"
78861 #endif
78862 /* We use char because int might match the return type of a gcc2
78863 builtin and then its argument prototype would still apply. */
78864 char $ac_func ();
78865 /* The GNU C library defines this for functions which it implements
78866 to always fail with ENOSYS. Some functions are actually named
78867 something starting with __ and the normal name is an alias. */
78868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78869 choke me
78870 #else
78871 char (*f) () = $ac_func;
78872 #endif
78873 #ifdef __cplusplus
78875 #endif
78878 main ()
78880 return f != $ac_func;
78882 return 0;
78884 _ACEOF
78885 rm -f conftest.$ac_objext conftest$ac_exeext
78886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78887 (eval $ac_link) 2>conftest.er1
78888 ac_status=$?
78889 grep -v '^ *+' conftest.er1 >conftest.err
78890 rm -f conftest.er1
78891 cat conftest.err >&5
78892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78893 (exit $ac_status); } &&
78894 { ac_try='test -z "$ac_c_werror_flag"
78895 || test ! -s conftest.err'
78896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78897 (eval $ac_try) 2>&5
78898 ac_status=$?
78899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78900 (exit $ac_status); }; } &&
78901 { ac_try='test -s conftest$ac_exeext'
78902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78903 (eval $ac_try) 2>&5
78904 ac_status=$?
78905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78906 (exit $ac_status); }; }; then
78907 eval "$as_ac_var=yes"
78908 else
78909 echo "$as_me: failed program was:" >&5
78910 sed 's/^/| /' conftest.$ac_ext >&5
78912 eval "$as_ac_var=no"
78914 rm -f conftest.err conftest.$ac_objext \
78915 conftest$ac_exeext conftest.$ac_ext
78917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78919 if test `eval echo '${'$as_ac_var'}'` = yes; then
78920 cat >>confdefs.h <<_ACEOF
78921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78922 _ACEOF
78924 else
78925 ac_wfuncs=no
78927 done
78930 # Checks for wide character functions that are not required
78931 # for basic wchar_t support. Don't disable support if they are missing.
78932 # Injection of these is wrapped with guard macros.
78938 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78941 echo "$as_me:$LINENO: checking for $ac_func" >&5
78942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78943 if eval "test \"\${$as_ac_var+set}\" = set"; then
78944 echo $ECHO_N "(cached) $ECHO_C" >&6
78945 else
78946 if test x$gcc_no_link = xyes; then
78947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78949 { (exit 1); exit 1; }; }
78951 cat >conftest.$ac_ext <<_ACEOF
78952 /* confdefs.h. */
78953 _ACEOF
78954 cat confdefs.h >>conftest.$ac_ext
78955 cat >>conftest.$ac_ext <<_ACEOF
78956 /* end confdefs.h. */
78957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78959 #define $ac_func innocuous_$ac_func
78961 /* System header to define __stub macros and hopefully few prototypes,
78962 which can conflict with char $ac_func (); below.
78963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78964 <limits.h> exists even on freestanding compilers. */
78966 #ifdef __STDC__
78967 # include <limits.h>
78968 #else
78969 # include <assert.h>
78970 #endif
78972 #undef $ac_func
78974 /* Override any gcc2 internal prototype to avoid an error. */
78975 #ifdef __cplusplus
78976 extern "C"
78978 #endif
78979 /* We use char because int might match the return type of a gcc2
78980 builtin and then its argument prototype would still apply. */
78981 char $ac_func ();
78982 /* The GNU C library defines this for functions which it implements
78983 to always fail with ENOSYS. Some functions are actually named
78984 something starting with __ and the normal name is an alias. */
78985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78986 choke me
78987 #else
78988 char (*f) () = $ac_func;
78989 #endif
78990 #ifdef __cplusplus
78992 #endif
78995 main ()
78997 return f != $ac_func;
78999 return 0;
79001 _ACEOF
79002 rm -f conftest.$ac_objext conftest$ac_exeext
79003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79004 (eval $ac_link) 2>conftest.er1
79005 ac_status=$?
79006 grep -v '^ *+' conftest.er1 >conftest.err
79007 rm -f conftest.er1
79008 cat conftest.err >&5
79009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79010 (exit $ac_status); } &&
79011 { ac_try='test -z "$ac_c_werror_flag"
79012 || test ! -s conftest.err'
79013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79014 (eval $ac_try) 2>&5
79015 ac_status=$?
79016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79017 (exit $ac_status); }; } &&
79018 { ac_try='test -s conftest$ac_exeext'
79019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79020 (eval $ac_try) 2>&5
79021 ac_status=$?
79022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79023 (exit $ac_status); }; }; then
79024 eval "$as_ac_var=yes"
79025 else
79026 echo "$as_me: failed program was:" >&5
79027 sed 's/^/| /' conftest.$ac_ext >&5
79029 eval "$as_ac_var=no"
79031 rm -f conftest.err conftest.$ac_objext \
79032 conftest$ac_exeext conftest.$ac_ext
79034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79036 if test `eval echo '${'$as_ac_var'}'` = yes; then
79037 cat >>confdefs.h <<_ACEOF
79038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79039 _ACEOF
79042 done
79045 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79046 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79047 if test x"$has_weof" = xyes &&
79048 test x"$has_wchar_minmax" = xyes &&
79049 test x"$ac_wfuncs" = xyes;
79050 then
79051 ac_isoC99_wchar_t=yes
79052 else
79053 ac_isoC99_wchar_t=no
79055 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79056 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79058 # Use iconv for wchar_t to char conversions. As such, check for
79059 # X/Open Portability Guide, version 2 features (XPG2).
79060 if test "${ac_cv_header_iconv_h+set}" = set; then
79061 echo "$as_me:$LINENO: checking for iconv.h" >&5
79062 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79063 if test "${ac_cv_header_iconv_h+set}" = set; then
79064 echo $ECHO_N "(cached) $ECHO_C" >&6
79066 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79067 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79068 else
79069 # Is the header compilable?
79070 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79071 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79072 cat >conftest.$ac_ext <<_ACEOF
79073 /* confdefs.h. */
79074 _ACEOF
79075 cat confdefs.h >>conftest.$ac_ext
79076 cat >>conftest.$ac_ext <<_ACEOF
79077 /* end confdefs.h. */
79078 $ac_includes_default
79079 #include <iconv.h>
79080 _ACEOF
79081 rm -f conftest.$ac_objext
79082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79083 (eval $ac_compile) 2>conftest.er1
79084 ac_status=$?
79085 grep -v '^ *+' conftest.er1 >conftest.err
79086 rm -f conftest.er1
79087 cat conftest.err >&5
79088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79089 (exit $ac_status); } &&
79090 { ac_try='test -z "$ac_c_werror_flag"
79091 || test ! -s conftest.err'
79092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79093 (eval $ac_try) 2>&5
79094 ac_status=$?
79095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79096 (exit $ac_status); }; } &&
79097 { ac_try='test -s conftest.$ac_objext'
79098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79099 (eval $ac_try) 2>&5
79100 ac_status=$?
79101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79102 (exit $ac_status); }; }; then
79103 ac_header_compiler=yes
79104 else
79105 echo "$as_me: failed program was:" >&5
79106 sed 's/^/| /' conftest.$ac_ext >&5
79108 ac_header_compiler=no
79110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79112 echo "${ECHO_T}$ac_header_compiler" >&6
79114 # Is the header present?
79115 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79116 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79117 cat >conftest.$ac_ext <<_ACEOF
79118 /* confdefs.h. */
79119 _ACEOF
79120 cat confdefs.h >>conftest.$ac_ext
79121 cat >>conftest.$ac_ext <<_ACEOF
79122 /* end confdefs.h. */
79123 #include <iconv.h>
79124 _ACEOF
79125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79127 ac_status=$?
79128 grep -v '^ *+' conftest.er1 >conftest.err
79129 rm -f conftest.er1
79130 cat conftest.err >&5
79131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79132 (exit $ac_status); } >/dev/null; then
79133 if test -s conftest.err; then
79134 ac_cpp_err=$ac_c_preproc_warn_flag
79135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79136 else
79137 ac_cpp_err=
79139 else
79140 ac_cpp_err=yes
79142 if test -z "$ac_cpp_err"; then
79143 ac_header_preproc=yes
79144 else
79145 echo "$as_me: failed program was:" >&5
79146 sed 's/^/| /' conftest.$ac_ext >&5
79148 ac_header_preproc=no
79150 rm -f conftest.err conftest.$ac_ext
79151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79152 echo "${ECHO_T}$ac_header_preproc" >&6
79154 # So? What about this header?
79155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79156 yes:no: )
79157 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79158 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79159 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79160 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79161 ac_header_preproc=yes
79163 no:yes:* )
79164 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79165 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79166 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79167 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79168 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79169 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79170 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79171 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79172 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79173 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79174 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79175 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79177 cat <<\_ASBOX
79178 ## ----------------------------------------- ##
79179 ## Report this to the package-unused lists. ##
79180 ## ----------------------------------------- ##
79181 _ASBOX
79183 sed "s/^/$as_me: WARNING: /" >&2
79185 esac
79186 echo "$as_me:$LINENO: checking for iconv.h" >&5
79187 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79188 if test "${ac_cv_header_iconv_h+set}" = set; then
79189 echo $ECHO_N "(cached) $ECHO_C" >&6
79190 else
79191 ac_cv_header_iconv_h=$ac_header_preproc
79193 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79194 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79197 if test $ac_cv_header_iconv_h = yes; then
79198 ac_has_iconv_h=yes
79199 else
79200 ac_has_iconv_h=no
79204 if test "${ac_cv_header_langinfo_h+set}" = set; then
79205 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79206 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79207 if test "${ac_cv_header_langinfo_h+set}" = set; then
79208 echo $ECHO_N "(cached) $ECHO_C" >&6
79210 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79211 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79212 else
79213 # Is the header compilable?
79214 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79215 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79216 cat >conftest.$ac_ext <<_ACEOF
79217 /* confdefs.h. */
79218 _ACEOF
79219 cat confdefs.h >>conftest.$ac_ext
79220 cat >>conftest.$ac_ext <<_ACEOF
79221 /* end confdefs.h. */
79222 $ac_includes_default
79223 #include <langinfo.h>
79224 _ACEOF
79225 rm -f conftest.$ac_objext
79226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79227 (eval $ac_compile) 2>conftest.er1
79228 ac_status=$?
79229 grep -v '^ *+' conftest.er1 >conftest.err
79230 rm -f conftest.er1
79231 cat conftest.err >&5
79232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79233 (exit $ac_status); } &&
79234 { ac_try='test -z "$ac_c_werror_flag"
79235 || test ! -s conftest.err'
79236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79237 (eval $ac_try) 2>&5
79238 ac_status=$?
79239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79240 (exit $ac_status); }; } &&
79241 { ac_try='test -s conftest.$ac_objext'
79242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79243 (eval $ac_try) 2>&5
79244 ac_status=$?
79245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79246 (exit $ac_status); }; }; then
79247 ac_header_compiler=yes
79248 else
79249 echo "$as_me: failed program was:" >&5
79250 sed 's/^/| /' conftest.$ac_ext >&5
79252 ac_header_compiler=no
79254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79256 echo "${ECHO_T}$ac_header_compiler" >&6
79258 # Is the header present?
79259 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79260 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79261 cat >conftest.$ac_ext <<_ACEOF
79262 /* confdefs.h. */
79263 _ACEOF
79264 cat confdefs.h >>conftest.$ac_ext
79265 cat >>conftest.$ac_ext <<_ACEOF
79266 /* end confdefs.h. */
79267 #include <langinfo.h>
79268 _ACEOF
79269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79271 ac_status=$?
79272 grep -v '^ *+' conftest.er1 >conftest.err
79273 rm -f conftest.er1
79274 cat conftest.err >&5
79275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79276 (exit $ac_status); } >/dev/null; then
79277 if test -s conftest.err; then
79278 ac_cpp_err=$ac_c_preproc_warn_flag
79279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79280 else
79281 ac_cpp_err=
79283 else
79284 ac_cpp_err=yes
79286 if test -z "$ac_cpp_err"; then
79287 ac_header_preproc=yes
79288 else
79289 echo "$as_me: failed program was:" >&5
79290 sed 's/^/| /' conftest.$ac_ext >&5
79292 ac_header_preproc=no
79294 rm -f conftest.err conftest.$ac_ext
79295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79296 echo "${ECHO_T}$ac_header_preproc" >&6
79298 # So? What about this header?
79299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79300 yes:no: )
79301 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79302 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79303 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79304 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79305 ac_header_preproc=yes
79307 no:yes:* )
79308 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79309 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79310 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79311 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79312 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79313 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79314 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79315 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79316 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79317 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79318 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79319 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79321 cat <<\_ASBOX
79322 ## ----------------------------------------- ##
79323 ## Report this to the package-unused lists. ##
79324 ## ----------------------------------------- ##
79325 _ASBOX
79327 sed "s/^/$as_me: WARNING: /" >&2
79329 esac
79330 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79331 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79332 if test "${ac_cv_header_langinfo_h+set}" = set; then
79333 echo $ECHO_N "(cached) $ECHO_C" >&6
79334 else
79335 ac_cv_header_langinfo_h=$ac_header_preproc
79337 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79338 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79341 if test $ac_cv_header_langinfo_h = yes; then
79342 ac_has_langinfo_h=yes
79343 else
79344 ac_has_langinfo_h=no
79349 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79350 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79351 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79352 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79353 echo $ECHO_N "(cached) $ECHO_C" >&6
79354 else
79355 ac_check_lib_save_LIBS=$LIBS
79356 LIBS="-liconv $LIBS"
79357 if test x$gcc_no_link = xyes; then
79358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79360 { (exit 1); exit 1; }; }
79362 cat >conftest.$ac_ext <<_ACEOF
79363 /* confdefs.h. */
79364 _ACEOF
79365 cat confdefs.h >>conftest.$ac_ext
79366 cat >>conftest.$ac_ext <<_ACEOF
79367 /* end confdefs.h. */
79369 /* Override any gcc2 internal prototype to avoid an error. */
79370 #ifdef __cplusplus
79371 extern "C"
79372 #endif
79373 /* We use char because int might match the return type of a gcc2
79374 builtin and then its argument prototype would still apply. */
79375 char iconv ();
79377 main ()
79379 iconv ();
79381 return 0;
79383 _ACEOF
79384 rm -f conftest.$ac_objext conftest$ac_exeext
79385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79386 (eval $ac_link) 2>conftest.er1
79387 ac_status=$?
79388 grep -v '^ *+' conftest.er1 >conftest.err
79389 rm -f conftest.er1
79390 cat conftest.err >&5
79391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79392 (exit $ac_status); } &&
79393 { ac_try='test -z "$ac_c_werror_flag"
79394 || test ! -s conftest.err'
79395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79396 (eval $ac_try) 2>&5
79397 ac_status=$?
79398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79399 (exit $ac_status); }; } &&
79400 { ac_try='test -s conftest$ac_exeext'
79401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79402 (eval $ac_try) 2>&5
79403 ac_status=$?
79404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79405 (exit $ac_status); }; }; then
79406 ac_cv_lib_iconv_iconv=yes
79407 else
79408 echo "$as_me: failed program was:" >&5
79409 sed 's/^/| /' conftest.$ac_ext >&5
79411 ac_cv_lib_iconv_iconv=no
79413 rm -f conftest.err conftest.$ac_objext \
79414 conftest$ac_exeext conftest.$ac_ext
79415 LIBS=$ac_check_lib_save_LIBS
79417 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79418 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79419 if test $ac_cv_lib_iconv_iconv = yes; then
79420 LIBICONV="-liconv"
79423 ac_save_LIBS="$LIBS"
79424 LIBS="$LIBS $LIBICONV"
79431 for ac_func in iconv_open iconv_close iconv nl_langinfo
79433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79434 echo "$as_me:$LINENO: checking for $ac_func" >&5
79435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79436 if eval "test \"\${$as_ac_var+set}\" = set"; then
79437 echo $ECHO_N "(cached) $ECHO_C" >&6
79438 else
79439 if test x$gcc_no_link = xyes; then
79440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79442 { (exit 1); exit 1; }; }
79444 cat >conftest.$ac_ext <<_ACEOF
79445 /* confdefs.h. */
79446 _ACEOF
79447 cat confdefs.h >>conftest.$ac_ext
79448 cat >>conftest.$ac_ext <<_ACEOF
79449 /* end confdefs.h. */
79450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79452 #define $ac_func innocuous_$ac_func
79454 /* System header to define __stub macros and hopefully few prototypes,
79455 which can conflict with char $ac_func (); below.
79456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79457 <limits.h> exists even on freestanding compilers. */
79459 #ifdef __STDC__
79460 # include <limits.h>
79461 #else
79462 # include <assert.h>
79463 #endif
79465 #undef $ac_func
79467 /* Override any gcc2 internal prototype to avoid an error. */
79468 #ifdef __cplusplus
79469 extern "C"
79471 #endif
79472 /* We use char because int might match the return type of a gcc2
79473 builtin and then its argument prototype would still apply. */
79474 char $ac_func ();
79475 /* The GNU C library defines this for functions which it implements
79476 to always fail with ENOSYS. Some functions are actually named
79477 something starting with __ and the normal name is an alias. */
79478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79479 choke me
79480 #else
79481 char (*f) () = $ac_func;
79482 #endif
79483 #ifdef __cplusplus
79485 #endif
79488 main ()
79490 return f != $ac_func;
79492 return 0;
79494 _ACEOF
79495 rm -f conftest.$ac_objext conftest$ac_exeext
79496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79497 (eval $ac_link) 2>conftest.er1
79498 ac_status=$?
79499 grep -v '^ *+' conftest.er1 >conftest.err
79500 rm -f conftest.er1
79501 cat conftest.err >&5
79502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79503 (exit $ac_status); } &&
79504 { ac_try='test -z "$ac_c_werror_flag"
79505 || test ! -s conftest.err'
79506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79507 (eval $ac_try) 2>&5
79508 ac_status=$?
79509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79510 (exit $ac_status); }; } &&
79511 { ac_try='test -s conftest$ac_exeext'
79512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79513 (eval $ac_try) 2>&5
79514 ac_status=$?
79515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79516 (exit $ac_status); }; }; then
79517 eval "$as_ac_var=yes"
79518 else
79519 echo "$as_me: failed program was:" >&5
79520 sed 's/^/| /' conftest.$ac_ext >&5
79522 eval "$as_ac_var=no"
79524 rm -f conftest.err conftest.$ac_objext \
79525 conftest$ac_exeext conftest.$ac_ext
79527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79529 if test `eval echo '${'$as_ac_var'}'` = yes; then
79530 cat >>confdefs.h <<_ACEOF
79531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79532 _ACEOF
79533 ac_XPG2funcs=yes
79534 else
79535 ac_XPG2funcs=no
79537 done
79540 LIBS="$ac_save_LIBS"
79542 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79543 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79544 if test x"$ac_has_iconv_h" = xyes &&
79545 test x"$ac_has_langinfo_h" = xyes &&
79546 test x"$ac_XPG2funcs" = xyes;
79547 then
79548 ac_XPG2_wchar_t=yes
79549 else
79550 ac_XPG2_wchar_t=no
79552 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79553 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79555 # At the moment, only enable wchar_t specializations if all the
79556 # above support is present.
79557 if test x"$ac_isoC99_wchar_t" = xyes &&
79558 test x"$ac_XPG2_wchar_t" = xyes;
79559 then
79560 cat >>confdefs.h <<\_ACEOF
79561 #define _GLIBCXX_USE_WCHAR_T 1
79562 _ACEOF
79564 enable_wchar_t=yes
79567 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79568 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79569 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79570 echo "${ECHO_T}$enable_wchar_t" >&6
79572 cat >>confdefs.h <<\_ACEOF
79573 #define HAVE_COPYSIGN 1
79574 _ACEOF
79576 cat >>confdefs.h <<\_ACEOF
79577 #define HAVE_COPYSIGNF 1
79578 _ACEOF
79580 cat >>confdefs.h <<\_ACEOF
79581 #define HAVE_FREXPF 1
79582 _ACEOF
79584 cat >>confdefs.h <<\_ACEOF
79585 #define HAVE_HYPOT 1
79586 _ACEOF
79588 case "$target" in
79589 *-hpux10*)
79590 cat >>confdefs.h <<\_ACEOF
79591 #define HAVE_FINITE 1
79592 _ACEOF
79594 cat >>confdefs.h <<\_ACEOF
79595 #define HAVE_FINITEF 1
79596 _ACEOF
79598 cat >>confdefs.h <<\_ACEOF
79599 #define HAVE_ISINF 1
79600 _ACEOF
79602 cat >>confdefs.h <<\_ACEOF
79603 #define HAVE_ISINFF 1
79604 _ACEOF
79606 cat >>confdefs.h <<\_ACEOF
79607 #define HAVE_ISNAN 1
79608 _ACEOF
79610 cat >>confdefs.h <<\_ACEOF
79611 #define HAVE_ISNANF 1
79612 _ACEOF
79615 esac
79617 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79633 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79634 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79635 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79639 echo "$as_me:$LINENO: checking for $ac_header" >&5
79640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79642 echo $ECHO_N "(cached) $ECHO_C" >&6
79644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79646 else
79647 # Is the header compilable?
79648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79650 cat >conftest.$ac_ext <<_ACEOF
79651 /* confdefs.h. */
79652 _ACEOF
79653 cat confdefs.h >>conftest.$ac_ext
79654 cat >>conftest.$ac_ext <<_ACEOF
79655 /* end confdefs.h. */
79656 $ac_includes_default
79657 #include <$ac_header>
79658 _ACEOF
79659 rm -f conftest.$ac_objext
79660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79661 (eval $ac_compile) 2>conftest.er1
79662 ac_status=$?
79663 grep -v '^ *+' conftest.er1 >conftest.err
79664 rm -f conftest.er1
79665 cat conftest.err >&5
79666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79667 (exit $ac_status); } &&
79668 { ac_try='test -z "$ac_c_werror_flag"
79669 || test ! -s conftest.err'
79670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79671 (eval $ac_try) 2>&5
79672 ac_status=$?
79673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79674 (exit $ac_status); }; } &&
79675 { ac_try='test -s conftest.$ac_objext'
79676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79677 (eval $ac_try) 2>&5
79678 ac_status=$?
79679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680 (exit $ac_status); }; }; then
79681 ac_header_compiler=yes
79682 else
79683 echo "$as_me: failed program was:" >&5
79684 sed 's/^/| /' conftest.$ac_ext >&5
79686 ac_header_compiler=no
79688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79690 echo "${ECHO_T}$ac_header_compiler" >&6
79692 # Is the header present?
79693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79695 cat >conftest.$ac_ext <<_ACEOF
79696 /* confdefs.h. */
79697 _ACEOF
79698 cat confdefs.h >>conftest.$ac_ext
79699 cat >>conftest.$ac_ext <<_ACEOF
79700 /* end confdefs.h. */
79701 #include <$ac_header>
79702 _ACEOF
79703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79705 ac_status=$?
79706 grep -v '^ *+' conftest.er1 >conftest.err
79707 rm -f conftest.er1
79708 cat conftest.err >&5
79709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79710 (exit $ac_status); } >/dev/null; then
79711 if test -s conftest.err; then
79712 ac_cpp_err=$ac_c_preproc_warn_flag
79713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79714 else
79715 ac_cpp_err=
79717 else
79718 ac_cpp_err=yes
79720 if test -z "$ac_cpp_err"; then
79721 ac_header_preproc=yes
79722 else
79723 echo "$as_me: failed program was:" >&5
79724 sed 's/^/| /' conftest.$ac_ext >&5
79726 ac_header_preproc=no
79728 rm -f conftest.err conftest.$ac_ext
79729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79730 echo "${ECHO_T}$ac_header_preproc" >&6
79732 # So? What about this header?
79733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79734 yes:no: )
79735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79739 ac_header_preproc=yes
79741 no:yes:* )
79742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79755 cat <<\_ASBOX
79756 ## ----------------------------------------- ##
79757 ## Report this to the package-unused lists. ##
79758 ## ----------------------------------------- ##
79759 _ASBOX
79761 sed "s/^/$as_me: WARNING: /" >&2
79763 esac
79764 echo "$as_me:$LINENO: checking for $ac_header" >&5
79765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79767 echo $ECHO_N "(cached) $ECHO_C" >&6
79768 else
79769 eval "$as_ac_Header=\$ac_header_preproc"
79771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79776 cat >>confdefs.h <<_ACEOF
79777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79778 _ACEOF
79782 done
79784 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79787 # If we're not using GNU ld, then there's no point in even trying these
79788 # tests. Check for that first. We should have already tested for gld
79789 # by now (in libtool), but require it now just to be safe...
79790 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79791 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79795 # The name set by libtool depends on the version of libtool. Shame on us
79796 # for depending on an impl detail, but c'est la vie. Older versions used
79797 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79798 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79799 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79800 # set (hence we're using an older libtool), then set it.
79801 if test x${with_gnu_ld+set} != xset; then
79802 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79803 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79804 with_gnu_ld=no
79805 else
79806 with_gnu_ld=$ac_cv_prog_gnu_ld
79810 # Start by getting the version number. I think the libtool test already
79811 # does some of this, but throws away the result.
79813 ldver=`$LD --version 2>/dev/null | head -1 | \
79814 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79816 glibcxx_gnu_ld_version=`echo $ldver | \
79817 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79819 # Set --gc-sections.
79820 if test "$with_gnu_ld" = "notbroken"; then
79821 # GNU ld it is! Joy and bunny rabbits!
79823 # All these tests are for C++; save the language and the compiler flags.
79824 # Need to do this so that g++ won't try to link in libstdc++
79825 ac_test_CFLAGS="${CFLAGS+set}"
79826 ac_save_CFLAGS="$CFLAGS"
79827 CFLAGS='-x c++ -Wl,--gc-sections'
79829 # Check for -Wl,--gc-sections
79830 # XXX This test is broken at the moment, as symbols required for linking
79831 # are now in libsupc++ (not built yet). In addition, this test has
79832 # cored on solaris in the past. In addition, --gc-sections doesn't
79833 # really work at the moment (keeps on discarding used sections, first
79834 # .eh_frame and now some of the glibc sections for iconv).
79835 # Bzzzzt. Thanks for playing, maybe next time.
79836 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79837 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79838 if test "$cross_compiling" = yes; then
79839 ac_sectionLDflags=yes
79840 else
79841 cat >conftest.$ac_ext <<_ACEOF
79842 /* confdefs.h. */
79843 _ACEOF
79844 cat confdefs.h >>conftest.$ac_ext
79845 cat >>conftest.$ac_ext <<_ACEOF
79846 /* end confdefs.h. */
79848 int main(void)
79850 try { throw 1; }
79851 catch (...) { };
79852 return 0;
79855 _ACEOF
79856 rm -f conftest$ac_exeext
79857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79858 (eval $ac_link) 2>&5
79859 ac_status=$?
79860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79861 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79863 (eval $ac_try) 2>&5
79864 ac_status=$?
79865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79866 (exit $ac_status); }; }; then
79867 ac_sectionLDflags=yes
79868 else
79869 echo "$as_me: program exited with status $ac_status" >&5
79870 echo "$as_me: failed program was:" >&5
79871 sed 's/^/| /' conftest.$ac_ext >&5
79873 ( exit $ac_status )
79874 ac_sectionLDflags=no
79876 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79878 if test "$ac_test_CFLAGS" = set; then
79879 CFLAGS="$ac_save_CFLAGS"
79880 else
79881 # this is the suspicious part
79882 CFLAGS=''
79884 if test "$ac_sectionLDflags" = "yes"; then
79885 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79887 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79888 echo "${ECHO_T}$ac_sectionLDflags" >&6
79891 # Set linker optimization flags.
79892 if test x"$with_gnu_ld" = x"yes"; then
79893 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79901 echo "$as_me:$LINENO: checking for main in -lm" >&5
79902 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79903 if test "${ac_cv_lib_m_main+set}" = set; then
79904 echo $ECHO_N "(cached) $ECHO_C" >&6
79905 else
79906 ac_check_lib_save_LIBS=$LIBS
79907 LIBS="-lm $LIBS"
79908 if test x$gcc_no_link = xyes; then
79909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79911 { (exit 1); exit 1; }; }
79913 cat >conftest.$ac_ext <<_ACEOF
79914 /* confdefs.h. */
79915 _ACEOF
79916 cat confdefs.h >>conftest.$ac_ext
79917 cat >>conftest.$ac_ext <<_ACEOF
79918 /* end confdefs.h. */
79922 main ()
79924 main ();
79926 return 0;
79928 _ACEOF
79929 rm -f conftest.$ac_objext conftest$ac_exeext
79930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79931 (eval $ac_link) 2>conftest.er1
79932 ac_status=$?
79933 grep -v '^ *+' conftest.er1 >conftest.err
79934 rm -f conftest.er1
79935 cat conftest.err >&5
79936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79937 (exit $ac_status); } &&
79938 { ac_try='test -z "$ac_c_werror_flag"
79939 || test ! -s conftest.err'
79940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79941 (eval $ac_try) 2>&5
79942 ac_status=$?
79943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79944 (exit $ac_status); }; } &&
79945 { ac_try='test -s conftest$ac_exeext'
79946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79947 (eval $ac_try) 2>&5
79948 ac_status=$?
79949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79950 (exit $ac_status); }; }; then
79951 ac_cv_lib_m_main=yes
79952 else
79953 echo "$as_me: failed program was:" >&5
79954 sed 's/^/| /' conftest.$ac_ext >&5
79956 ac_cv_lib_m_main=no
79958 rm -f conftest.err conftest.$ac_objext \
79959 conftest$ac_exeext conftest.$ac_ext
79960 LIBS=$ac_check_lib_save_LIBS
79962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79963 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79964 if test $ac_cv_lib_m_main = yes; then
79965 cat >>confdefs.h <<_ACEOF
79966 #define HAVE_LIBM 1
79967 _ACEOF
79969 LIBS="-lm $LIBS"
79974 for ac_func in copysignf
79976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79977 echo "$as_me:$LINENO: checking for $ac_func" >&5
79978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79979 if eval "test \"\${$as_ac_var+set}\" = set"; then
79980 echo $ECHO_N "(cached) $ECHO_C" >&6
79981 else
79982 if test x$gcc_no_link = xyes; then
79983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79985 { (exit 1); exit 1; }; }
79987 cat >conftest.$ac_ext <<_ACEOF
79988 /* confdefs.h. */
79989 _ACEOF
79990 cat confdefs.h >>conftest.$ac_ext
79991 cat >>conftest.$ac_ext <<_ACEOF
79992 /* end confdefs.h. */
79993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79995 #define $ac_func innocuous_$ac_func
79997 /* System header to define __stub macros and hopefully few prototypes,
79998 which can conflict with char $ac_func (); below.
79999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80000 <limits.h> exists even on freestanding compilers. */
80002 #ifdef __STDC__
80003 # include <limits.h>
80004 #else
80005 # include <assert.h>
80006 #endif
80008 #undef $ac_func
80010 /* Override any gcc2 internal prototype to avoid an error. */
80011 #ifdef __cplusplus
80012 extern "C"
80014 #endif
80015 /* We use char because int might match the return type of a gcc2
80016 builtin and then its argument prototype would still apply. */
80017 char $ac_func ();
80018 /* The GNU C library defines this for functions which it implements
80019 to always fail with ENOSYS. Some functions are actually named
80020 something starting with __ and the normal name is an alias. */
80021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80022 choke me
80023 #else
80024 char (*f) () = $ac_func;
80025 #endif
80026 #ifdef __cplusplus
80028 #endif
80031 main ()
80033 return f != $ac_func;
80035 return 0;
80037 _ACEOF
80038 rm -f conftest.$ac_objext conftest$ac_exeext
80039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80040 (eval $ac_link) 2>conftest.er1
80041 ac_status=$?
80042 grep -v '^ *+' conftest.er1 >conftest.err
80043 rm -f conftest.er1
80044 cat conftest.err >&5
80045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80046 (exit $ac_status); } &&
80047 { ac_try='test -z "$ac_c_werror_flag"
80048 || test ! -s conftest.err'
80049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80050 (eval $ac_try) 2>&5
80051 ac_status=$?
80052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80053 (exit $ac_status); }; } &&
80054 { ac_try='test -s conftest$ac_exeext'
80055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80056 (eval $ac_try) 2>&5
80057 ac_status=$?
80058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80059 (exit $ac_status); }; }; then
80060 eval "$as_ac_var=yes"
80061 else
80062 echo "$as_me: failed program was:" >&5
80063 sed 's/^/| /' conftest.$ac_ext >&5
80065 eval "$as_ac_var=no"
80067 rm -f conftest.err conftest.$ac_objext \
80068 conftest$ac_exeext conftest.$ac_ext
80070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80072 if test `eval echo '${'$as_ac_var'}'` = yes; then
80073 cat >>confdefs.h <<_ACEOF
80074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80075 _ACEOF
80077 else
80078 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80080 done
80084 for ac_func in __signbit
80086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80087 echo "$as_me:$LINENO: checking for $ac_func" >&5
80088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80089 if eval "test \"\${$as_ac_var+set}\" = set"; then
80090 echo $ECHO_N "(cached) $ECHO_C" >&6
80091 else
80092 if test x$gcc_no_link = xyes; then
80093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80095 { (exit 1); exit 1; }; }
80097 cat >conftest.$ac_ext <<_ACEOF
80098 /* confdefs.h. */
80099 _ACEOF
80100 cat confdefs.h >>conftest.$ac_ext
80101 cat >>conftest.$ac_ext <<_ACEOF
80102 /* end confdefs.h. */
80103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80105 #define $ac_func innocuous_$ac_func
80107 /* System header to define __stub macros and hopefully few prototypes,
80108 which can conflict with char $ac_func (); below.
80109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80110 <limits.h> exists even on freestanding compilers. */
80112 #ifdef __STDC__
80113 # include <limits.h>
80114 #else
80115 # include <assert.h>
80116 #endif
80118 #undef $ac_func
80120 /* Override any gcc2 internal prototype to avoid an error. */
80121 #ifdef __cplusplus
80122 extern "C"
80124 #endif
80125 /* We use char because int might match the return type of a gcc2
80126 builtin and then its argument prototype would still apply. */
80127 char $ac_func ();
80128 /* The GNU C library defines this for functions which it implements
80129 to always fail with ENOSYS. Some functions are actually named
80130 something starting with __ and the normal name is an alias. */
80131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80132 choke me
80133 #else
80134 char (*f) () = $ac_func;
80135 #endif
80136 #ifdef __cplusplus
80138 #endif
80141 main ()
80143 return f != $ac_func;
80145 return 0;
80147 _ACEOF
80148 rm -f conftest.$ac_objext conftest$ac_exeext
80149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80150 (eval $ac_link) 2>conftest.er1
80151 ac_status=$?
80152 grep -v '^ *+' conftest.er1 >conftest.err
80153 rm -f conftest.er1
80154 cat conftest.err >&5
80155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80156 (exit $ac_status); } &&
80157 { ac_try='test -z "$ac_c_werror_flag"
80158 || test ! -s conftest.err'
80159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80160 (eval $ac_try) 2>&5
80161 ac_status=$?
80162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80163 (exit $ac_status); }; } &&
80164 { ac_try='test -s conftest$ac_exeext'
80165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80166 (eval $ac_try) 2>&5
80167 ac_status=$?
80168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80169 (exit $ac_status); }; }; then
80170 eval "$as_ac_var=yes"
80171 else
80172 echo "$as_me: failed program was:" >&5
80173 sed 's/^/| /' conftest.$ac_ext >&5
80175 eval "$as_ac_var=no"
80177 rm -f conftest.err conftest.$ac_objext \
80178 conftest$ac_exeext conftest.$ac_ext
80180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80182 if test `eval echo '${'$as_ac_var'}'` = yes; then
80183 cat >>confdefs.h <<_ACEOF
80184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80185 _ACEOF
80187 else
80188 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80190 done
80194 for ac_func in __signbitf
80196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80197 echo "$as_me:$LINENO: checking for $ac_func" >&5
80198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80199 if eval "test \"\${$as_ac_var+set}\" = set"; then
80200 echo $ECHO_N "(cached) $ECHO_C" >&6
80201 else
80202 if test x$gcc_no_link = xyes; then
80203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80205 { (exit 1); exit 1; }; }
80207 cat >conftest.$ac_ext <<_ACEOF
80208 /* confdefs.h. */
80209 _ACEOF
80210 cat confdefs.h >>conftest.$ac_ext
80211 cat >>conftest.$ac_ext <<_ACEOF
80212 /* end confdefs.h. */
80213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80215 #define $ac_func innocuous_$ac_func
80217 /* System header to define __stub macros and hopefully few prototypes,
80218 which can conflict with char $ac_func (); below.
80219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80220 <limits.h> exists even on freestanding compilers. */
80222 #ifdef __STDC__
80223 # include <limits.h>
80224 #else
80225 # include <assert.h>
80226 #endif
80228 #undef $ac_func
80230 /* Override any gcc2 internal prototype to avoid an error. */
80231 #ifdef __cplusplus
80232 extern "C"
80234 #endif
80235 /* We use char because int might match the return type of a gcc2
80236 builtin and then its argument prototype would still apply. */
80237 char $ac_func ();
80238 /* The GNU C library defines this for functions which it implements
80239 to always fail with ENOSYS. Some functions are actually named
80240 something starting with __ and the normal name is an alias. */
80241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80242 choke me
80243 #else
80244 char (*f) () = $ac_func;
80245 #endif
80246 #ifdef __cplusplus
80248 #endif
80251 main ()
80253 return f != $ac_func;
80255 return 0;
80257 _ACEOF
80258 rm -f conftest.$ac_objext conftest$ac_exeext
80259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80260 (eval $ac_link) 2>conftest.er1
80261 ac_status=$?
80262 grep -v '^ *+' conftest.er1 >conftest.err
80263 rm -f conftest.er1
80264 cat conftest.err >&5
80265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80266 (exit $ac_status); } &&
80267 { ac_try='test -z "$ac_c_werror_flag"
80268 || test ! -s conftest.err'
80269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80270 (eval $ac_try) 2>&5
80271 ac_status=$?
80272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80273 (exit $ac_status); }; } &&
80274 { ac_try='test -s conftest$ac_exeext'
80275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80276 (eval $ac_try) 2>&5
80277 ac_status=$?
80278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80279 (exit $ac_status); }; }; then
80280 eval "$as_ac_var=yes"
80281 else
80282 echo "$as_me: failed program was:" >&5
80283 sed 's/^/| /' conftest.$ac_ext >&5
80285 eval "$as_ac_var=no"
80287 rm -f conftest.err conftest.$ac_objext \
80288 conftest$ac_exeext conftest.$ac_ext
80290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80292 if test `eval echo '${'$as_ac_var'}'` = yes; then
80293 cat >>confdefs.h <<_ACEOF
80294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80295 _ACEOF
80297 else
80298 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80300 done
80303 if test x$ac_cv_func_copysignl = x"yes"; then
80305 for ac_func in __signbitl
80307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80308 echo "$as_me:$LINENO: checking for $ac_func" >&5
80309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80310 if eval "test \"\${$as_ac_var+set}\" = set"; then
80311 echo $ECHO_N "(cached) $ECHO_C" >&6
80312 else
80313 if test x$gcc_no_link = xyes; then
80314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80316 { (exit 1); exit 1; }; }
80318 cat >conftest.$ac_ext <<_ACEOF
80319 /* confdefs.h. */
80320 _ACEOF
80321 cat confdefs.h >>conftest.$ac_ext
80322 cat >>conftest.$ac_ext <<_ACEOF
80323 /* end confdefs.h. */
80324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80326 #define $ac_func innocuous_$ac_func
80328 /* System header to define __stub macros and hopefully few prototypes,
80329 which can conflict with char $ac_func (); below.
80330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80331 <limits.h> exists even on freestanding compilers. */
80333 #ifdef __STDC__
80334 # include <limits.h>
80335 #else
80336 # include <assert.h>
80337 #endif
80339 #undef $ac_func
80341 /* Override any gcc2 internal prototype to avoid an error. */
80342 #ifdef __cplusplus
80343 extern "C"
80345 #endif
80346 /* We use char because int might match the return type of a gcc2
80347 builtin and then its argument prototype would still apply. */
80348 char $ac_func ();
80349 /* The GNU C library defines this for functions which it implements
80350 to always fail with ENOSYS. Some functions are actually named
80351 something starting with __ and the normal name is an alias. */
80352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80353 choke me
80354 #else
80355 char (*f) () = $ac_func;
80356 #endif
80357 #ifdef __cplusplus
80359 #endif
80362 main ()
80364 return f != $ac_func;
80366 return 0;
80368 _ACEOF
80369 rm -f conftest.$ac_objext conftest$ac_exeext
80370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80371 (eval $ac_link) 2>conftest.er1
80372 ac_status=$?
80373 grep -v '^ *+' conftest.er1 >conftest.err
80374 rm -f conftest.er1
80375 cat conftest.err >&5
80376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80377 (exit $ac_status); } &&
80378 { ac_try='test -z "$ac_c_werror_flag"
80379 || test ! -s conftest.err'
80380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80381 (eval $ac_try) 2>&5
80382 ac_status=$?
80383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80384 (exit $ac_status); }; } &&
80385 { ac_try='test -s conftest$ac_exeext'
80386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80387 (eval $ac_try) 2>&5
80388 ac_status=$?
80389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80390 (exit $ac_status); }; }; then
80391 eval "$as_ac_var=yes"
80392 else
80393 echo "$as_me: failed program was:" >&5
80394 sed 's/^/| /' conftest.$ac_ext >&5
80396 eval "$as_ac_var=no"
80398 rm -f conftest.err conftest.$ac_objext \
80399 conftest$ac_exeext conftest.$ac_ext
80401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80403 if test `eval echo '${'$as_ac_var'}'` = yes; then
80404 cat >>confdefs.h <<_ACEOF
80405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80406 _ACEOF
80408 else
80409 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80411 done
80415 # Used in libmath/Makefile.am.
80416 if test -n "$LIBMATHOBJS"; then
80417 need_libmath=yes
80422 # Test wchar.h for mbstate_t, which is needed for char_traits and
80423 # others even if wchar_t support is not on.
80424 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80425 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80426 cat >conftest.$ac_ext <<_ACEOF
80427 /* confdefs.h. */
80428 _ACEOF
80429 cat confdefs.h >>conftest.$ac_ext
80430 cat >>conftest.$ac_ext <<_ACEOF
80431 /* end confdefs.h. */
80432 #include <wchar.h>
80434 main ()
80436 mbstate_t teststate;
80438 return 0;
80440 _ACEOF
80441 rm -f conftest.$ac_objext
80442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80443 (eval $ac_compile) 2>conftest.er1
80444 ac_status=$?
80445 grep -v '^ *+' conftest.er1 >conftest.err
80446 rm -f conftest.er1
80447 cat conftest.err >&5
80448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80449 (exit $ac_status); } &&
80450 { ac_try='test -z "$ac_c_werror_flag"
80451 || test ! -s conftest.err'
80452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80453 (eval $ac_try) 2>&5
80454 ac_status=$?
80455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80456 (exit $ac_status); }; } &&
80457 { ac_try='test -s conftest.$ac_objext'
80458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80459 (eval $ac_try) 2>&5
80460 ac_status=$?
80461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80462 (exit $ac_status); }; }; then
80463 have_mbstate_t=yes
80464 else
80465 echo "$as_me: failed program was:" >&5
80466 sed 's/^/| /' conftest.$ac_ext >&5
80468 have_mbstate_t=no
80470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80471 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80472 echo "${ECHO_T}$have_mbstate_t" >&6
80473 if test x"$have_mbstate_t" = xyes; then
80474 cat >>confdefs.h <<\_ACEOF
80475 #define HAVE_MBSTATE_T 1
80476 _ACEOF
80480 # Sanity check for existence of ISO C99 headers for extended encoding.
80482 for ac_header in wchar.h
80484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80486 echo "$as_me:$LINENO: checking for $ac_header" >&5
80487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80489 echo $ECHO_N "(cached) $ECHO_C" >&6
80491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80493 else
80494 # Is the header compilable?
80495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80497 cat >conftest.$ac_ext <<_ACEOF
80498 /* confdefs.h. */
80499 _ACEOF
80500 cat confdefs.h >>conftest.$ac_ext
80501 cat >>conftest.$ac_ext <<_ACEOF
80502 /* end confdefs.h. */
80503 $ac_includes_default
80504 #include <$ac_header>
80505 _ACEOF
80506 rm -f conftest.$ac_objext
80507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80508 (eval $ac_compile) 2>conftest.er1
80509 ac_status=$?
80510 grep -v '^ *+' conftest.er1 >conftest.err
80511 rm -f conftest.er1
80512 cat conftest.err >&5
80513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80514 (exit $ac_status); } &&
80515 { ac_try='test -z "$ac_c_werror_flag"
80516 || test ! -s conftest.err'
80517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80518 (eval $ac_try) 2>&5
80519 ac_status=$?
80520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80521 (exit $ac_status); }; } &&
80522 { ac_try='test -s conftest.$ac_objext'
80523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80524 (eval $ac_try) 2>&5
80525 ac_status=$?
80526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80527 (exit $ac_status); }; }; then
80528 ac_header_compiler=yes
80529 else
80530 echo "$as_me: failed program was:" >&5
80531 sed 's/^/| /' conftest.$ac_ext >&5
80533 ac_header_compiler=no
80535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80537 echo "${ECHO_T}$ac_header_compiler" >&6
80539 # Is the header present?
80540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80542 cat >conftest.$ac_ext <<_ACEOF
80543 /* confdefs.h. */
80544 _ACEOF
80545 cat confdefs.h >>conftest.$ac_ext
80546 cat >>conftest.$ac_ext <<_ACEOF
80547 /* end confdefs.h. */
80548 #include <$ac_header>
80549 _ACEOF
80550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80552 ac_status=$?
80553 grep -v '^ *+' conftest.er1 >conftest.err
80554 rm -f conftest.er1
80555 cat conftest.err >&5
80556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80557 (exit $ac_status); } >/dev/null; then
80558 if test -s conftest.err; then
80559 ac_cpp_err=$ac_c_preproc_warn_flag
80560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80561 else
80562 ac_cpp_err=
80564 else
80565 ac_cpp_err=yes
80567 if test -z "$ac_cpp_err"; then
80568 ac_header_preproc=yes
80569 else
80570 echo "$as_me: failed program was:" >&5
80571 sed 's/^/| /' conftest.$ac_ext >&5
80573 ac_header_preproc=no
80575 rm -f conftest.err conftest.$ac_ext
80576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80577 echo "${ECHO_T}$ac_header_preproc" >&6
80579 # So? What about this header?
80580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80581 yes:no: )
80582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80586 ac_header_preproc=yes
80588 no:yes:* )
80589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80602 cat <<\_ASBOX
80603 ## ----------------------------------------- ##
80604 ## Report this to the package-unused lists. ##
80605 ## ----------------------------------------- ##
80606 _ASBOX
80608 sed "s/^/$as_me: WARNING: /" >&2
80610 esac
80611 echo "$as_me:$LINENO: checking for $ac_header" >&5
80612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80614 echo $ECHO_N "(cached) $ECHO_C" >&6
80615 else
80616 eval "$as_ac_Header=\$ac_header_preproc"
80618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80623 cat >>confdefs.h <<_ACEOF
80624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80625 _ACEOF
80626 ac_has_wchar_h=yes
80627 else
80628 ac_has_wchar_h=no
80631 done
80634 for ac_header in wctype.h
80636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80638 echo "$as_me:$LINENO: checking for $ac_header" >&5
80639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80641 echo $ECHO_N "(cached) $ECHO_C" >&6
80643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80645 else
80646 # Is the header compilable?
80647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80649 cat >conftest.$ac_ext <<_ACEOF
80650 /* confdefs.h. */
80651 _ACEOF
80652 cat confdefs.h >>conftest.$ac_ext
80653 cat >>conftest.$ac_ext <<_ACEOF
80654 /* end confdefs.h. */
80655 $ac_includes_default
80656 #include <$ac_header>
80657 _ACEOF
80658 rm -f conftest.$ac_objext
80659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80660 (eval $ac_compile) 2>conftest.er1
80661 ac_status=$?
80662 grep -v '^ *+' conftest.er1 >conftest.err
80663 rm -f conftest.er1
80664 cat conftest.err >&5
80665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80666 (exit $ac_status); } &&
80667 { ac_try='test -z "$ac_c_werror_flag"
80668 || test ! -s conftest.err'
80669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80670 (eval $ac_try) 2>&5
80671 ac_status=$?
80672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80673 (exit $ac_status); }; } &&
80674 { ac_try='test -s conftest.$ac_objext'
80675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80676 (eval $ac_try) 2>&5
80677 ac_status=$?
80678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80679 (exit $ac_status); }; }; then
80680 ac_header_compiler=yes
80681 else
80682 echo "$as_me: failed program was:" >&5
80683 sed 's/^/| /' conftest.$ac_ext >&5
80685 ac_header_compiler=no
80687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80689 echo "${ECHO_T}$ac_header_compiler" >&6
80691 # Is the header present?
80692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80694 cat >conftest.$ac_ext <<_ACEOF
80695 /* confdefs.h. */
80696 _ACEOF
80697 cat confdefs.h >>conftest.$ac_ext
80698 cat >>conftest.$ac_ext <<_ACEOF
80699 /* end confdefs.h. */
80700 #include <$ac_header>
80701 _ACEOF
80702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80704 ac_status=$?
80705 grep -v '^ *+' conftest.er1 >conftest.err
80706 rm -f conftest.er1
80707 cat conftest.err >&5
80708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80709 (exit $ac_status); } >/dev/null; then
80710 if test -s conftest.err; then
80711 ac_cpp_err=$ac_c_preproc_warn_flag
80712 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80713 else
80714 ac_cpp_err=
80716 else
80717 ac_cpp_err=yes
80719 if test -z "$ac_cpp_err"; then
80720 ac_header_preproc=yes
80721 else
80722 echo "$as_me: failed program was:" >&5
80723 sed 's/^/| /' conftest.$ac_ext >&5
80725 ac_header_preproc=no
80727 rm -f conftest.err conftest.$ac_ext
80728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80729 echo "${ECHO_T}$ac_header_preproc" >&6
80731 # So? What about this header?
80732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80733 yes:no: )
80734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80738 ac_header_preproc=yes
80740 no:yes:* )
80741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80745 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80747 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80748 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80754 cat <<\_ASBOX
80755 ## ----------------------------------------- ##
80756 ## Report this to the package-unused lists. ##
80757 ## ----------------------------------------- ##
80758 _ASBOX
80760 sed "s/^/$as_me: WARNING: /" >&2
80762 esac
80763 echo "$as_me:$LINENO: checking for $ac_header" >&5
80764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80766 echo $ECHO_N "(cached) $ECHO_C" >&6
80767 else
80768 eval "$as_ac_Header=\$ac_header_preproc"
80770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80775 cat >>confdefs.h <<_ACEOF
80776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80777 _ACEOF
80778 ac_has_wctype_h=yes
80779 else
80780 ac_has_wctype_h=no
80783 done
80786 # Only continue checking if the ISO C99 headers exist and support is on.
80787 if test x"$ac_has_wchar_h" = xyes &&
80788 test x"$ac_has_wctype_h" = xyes &&
80789 test x"$enable_c_mbchar" != xno; then
80791 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80792 # numeric_limits can instantiate type_traits<wchar_t>
80793 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80794 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80795 cat >conftest.$ac_ext <<_ACEOF
80796 /* confdefs.h. */
80797 _ACEOF
80798 cat confdefs.h >>conftest.$ac_ext
80799 cat >>conftest.$ac_ext <<_ACEOF
80800 /* end confdefs.h. */
80801 #include <wchar.h>
80803 main ()
80805 int i = WCHAR_MIN; int j = WCHAR_MAX;
80807 return 0;
80809 _ACEOF
80810 rm -f conftest.$ac_objext
80811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80812 (eval $ac_compile) 2>conftest.er1
80813 ac_status=$?
80814 grep -v '^ *+' conftest.er1 >conftest.err
80815 rm -f conftest.er1
80816 cat conftest.err >&5
80817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80818 (exit $ac_status); } &&
80819 { ac_try='test -z "$ac_c_werror_flag"
80820 || test ! -s conftest.err'
80821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80822 (eval $ac_try) 2>&5
80823 ac_status=$?
80824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80825 (exit $ac_status); }; } &&
80826 { ac_try='test -s conftest.$ac_objext'
80827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80828 (eval $ac_try) 2>&5
80829 ac_status=$?
80830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80831 (exit $ac_status); }; }; then
80832 has_wchar_minmax=yes
80833 else
80834 echo "$as_me: failed program was:" >&5
80835 sed 's/^/| /' conftest.$ac_ext >&5
80837 has_wchar_minmax=no
80839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80840 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80841 echo "${ECHO_T}$has_wchar_minmax" >&6
80843 # Test wchar.h for WEOF, which is what we use to determine whether
80844 # to specialize for char_traits<wchar_t> or not.
80845 echo "$as_me:$LINENO: checking for WEOF" >&5
80846 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80847 cat >conftest.$ac_ext <<_ACEOF
80848 /* confdefs.h. */
80849 _ACEOF
80850 cat confdefs.h >>conftest.$ac_ext
80851 cat >>conftest.$ac_ext <<_ACEOF
80852 /* end confdefs.h. */
80854 #include <wchar.h>
80855 #include <stddef.h>
80857 main ()
80859 wint_t i = WEOF;
80861 return 0;
80863 _ACEOF
80864 rm -f conftest.$ac_objext
80865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80866 (eval $ac_compile) 2>conftest.er1
80867 ac_status=$?
80868 grep -v '^ *+' conftest.er1 >conftest.err
80869 rm -f conftest.er1
80870 cat conftest.err >&5
80871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80872 (exit $ac_status); } &&
80873 { ac_try='test -z "$ac_c_werror_flag"
80874 || test ! -s conftest.err'
80875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80876 (eval $ac_try) 2>&5
80877 ac_status=$?
80878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80879 (exit $ac_status); }; } &&
80880 { ac_try='test -s conftest.$ac_objext'
80881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80882 (eval $ac_try) 2>&5
80883 ac_status=$?
80884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80885 (exit $ac_status); }; }; then
80886 has_weof=yes
80887 else
80888 echo "$as_me: failed program was:" >&5
80889 sed 's/^/| /' conftest.$ac_ext >&5
80891 has_weof=no
80893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80894 echo "$as_me:$LINENO: result: $has_weof" >&5
80895 echo "${ECHO_T}$has_weof" >&6
80897 # Tests for wide character functions used in char_traits<wchar_t>.
80898 ac_wfuncs=yes
80905 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80908 echo "$as_me:$LINENO: checking for $ac_func" >&5
80909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80910 if eval "test \"\${$as_ac_var+set}\" = set"; then
80911 echo $ECHO_N "(cached) $ECHO_C" >&6
80912 else
80913 if test x$gcc_no_link = xyes; then
80914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80916 { (exit 1); exit 1; }; }
80918 cat >conftest.$ac_ext <<_ACEOF
80919 /* confdefs.h. */
80920 _ACEOF
80921 cat confdefs.h >>conftest.$ac_ext
80922 cat >>conftest.$ac_ext <<_ACEOF
80923 /* end confdefs.h. */
80924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80926 #define $ac_func innocuous_$ac_func
80928 /* System header to define __stub macros and hopefully few prototypes,
80929 which can conflict with char $ac_func (); below.
80930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80931 <limits.h> exists even on freestanding compilers. */
80933 #ifdef __STDC__
80934 # include <limits.h>
80935 #else
80936 # include <assert.h>
80937 #endif
80939 #undef $ac_func
80941 /* Override any gcc2 internal prototype to avoid an error. */
80942 #ifdef __cplusplus
80943 extern "C"
80945 #endif
80946 /* We use char because int might match the return type of a gcc2
80947 builtin and then its argument prototype would still apply. */
80948 char $ac_func ();
80949 /* The GNU C library defines this for functions which it implements
80950 to always fail with ENOSYS. Some functions are actually named
80951 something starting with __ and the normal name is an alias. */
80952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80953 choke me
80954 #else
80955 char (*f) () = $ac_func;
80956 #endif
80957 #ifdef __cplusplus
80959 #endif
80962 main ()
80964 return f != $ac_func;
80966 return 0;
80968 _ACEOF
80969 rm -f conftest.$ac_objext conftest$ac_exeext
80970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80971 (eval $ac_link) 2>conftest.er1
80972 ac_status=$?
80973 grep -v '^ *+' conftest.er1 >conftest.err
80974 rm -f conftest.er1
80975 cat conftest.err >&5
80976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80977 (exit $ac_status); } &&
80978 { ac_try='test -z "$ac_c_werror_flag"
80979 || test ! -s conftest.err'
80980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80981 (eval $ac_try) 2>&5
80982 ac_status=$?
80983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80984 (exit $ac_status); }; } &&
80985 { ac_try='test -s conftest$ac_exeext'
80986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80987 (eval $ac_try) 2>&5
80988 ac_status=$?
80989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80990 (exit $ac_status); }; }; then
80991 eval "$as_ac_var=yes"
80992 else
80993 echo "$as_me: failed program was:" >&5
80994 sed 's/^/| /' conftest.$ac_ext >&5
80996 eval "$as_ac_var=no"
80998 rm -f conftest.err conftest.$ac_objext \
80999 conftest$ac_exeext conftest.$ac_ext
81001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81003 if test `eval echo '${'$as_ac_var'}'` = yes; then
81004 cat >>confdefs.h <<_ACEOF
81005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81006 _ACEOF
81008 else
81009 ac_wfuncs=no
81011 done
81014 # Checks for names injected into std:: by the c_std headers.
81061 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81062 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81063 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81064 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81065 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81066 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81069 echo "$as_me:$LINENO: checking for $ac_func" >&5
81070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81071 if eval "test \"\${$as_ac_var+set}\" = set"; then
81072 echo $ECHO_N "(cached) $ECHO_C" >&6
81073 else
81074 if test x$gcc_no_link = xyes; then
81075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81077 { (exit 1); exit 1; }; }
81079 cat >conftest.$ac_ext <<_ACEOF
81080 /* confdefs.h. */
81081 _ACEOF
81082 cat confdefs.h >>conftest.$ac_ext
81083 cat >>conftest.$ac_ext <<_ACEOF
81084 /* end confdefs.h. */
81085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81087 #define $ac_func innocuous_$ac_func
81089 /* System header to define __stub macros and hopefully few prototypes,
81090 which can conflict with char $ac_func (); below.
81091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81092 <limits.h> exists even on freestanding compilers. */
81094 #ifdef __STDC__
81095 # include <limits.h>
81096 #else
81097 # include <assert.h>
81098 #endif
81100 #undef $ac_func
81102 /* Override any gcc2 internal prototype to avoid an error. */
81103 #ifdef __cplusplus
81104 extern "C"
81106 #endif
81107 /* We use char because int might match the return type of a gcc2
81108 builtin and then its argument prototype would still apply. */
81109 char $ac_func ();
81110 /* The GNU C library defines this for functions which it implements
81111 to always fail with ENOSYS. Some functions are actually named
81112 something starting with __ and the normal name is an alias. */
81113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81114 choke me
81115 #else
81116 char (*f) () = $ac_func;
81117 #endif
81118 #ifdef __cplusplus
81120 #endif
81123 main ()
81125 return f != $ac_func;
81127 return 0;
81129 _ACEOF
81130 rm -f conftest.$ac_objext conftest$ac_exeext
81131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81132 (eval $ac_link) 2>conftest.er1
81133 ac_status=$?
81134 grep -v '^ *+' conftest.er1 >conftest.err
81135 rm -f conftest.er1
81136 cat conftest.err >&5
81137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81138 (exit $ac_status); } &&
81139 { ac_try='test -z "$ac_c_werror_flag"
81140 || test ! -s conftest.err'
81141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81142 (eval $ac_try) 2>&5
81143 ac_status=$?
81144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81145 (exit $ac_status); }; } &&
81146 { ac_try='test -s conftest$ac_exeext'
81147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81148 (eval $ac_try) 2>&5
81149 ac_status=$?
81150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81151 (exit $ac_status); }; }; then
81152 eval "$as_ac_var=yes"
81153 else
81154 echo "$as_me: failed program was:" >&5
81155 sed 's/^/| /' conftest.$ac_ext >&5
81157 eval "$as_ac_var=no"
81159 rm -f conftest.err conftest.$ac_objext \
81160 conftest$ac_exeext conftest.$ac_ext
81162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81164 if test `eval echo '${'$as_ac_var'}'` = yes; then
81165 cat >>confdefs.h <<_ACEOF
81166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81167 _ACEOF
81169 else
81170 ac_wfuncs=no
81172 done
81175 # Checks for wide character functions that are not required
81176 # for basic wchar_t support. Don't disable support if they are missing.
81177 # Injection of these is wrapped with guard macros.
81183 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81186 echo "$as_me:$LINENO: checking for $ac_func" >&5
81187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81188 if eval "test \"\${$as_ac_var+set}\" = set"; then
81189 echo $ECHO_N "(cached) $ECHO_C" >&6
81190 else
81191 if test x$gcc_no_link = xyes; then
81192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81194 { (exit 1); exit 1; }; }
81196 cat >conftest.$ac_ext <<_ACEOF
81197 /* confdefs.h. */
81198 _ACEOF
81199 cat confdefs.h >>conftest.$ac_ext
81200 cat >>conftest.$ac_ext <<_ACEOF
81201 /* end confdefs.h. */
81202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81204 #define $ac_func innocuous_$ac_func
81206 /* System header to define __stub macros and hopefully few prototypes,
81207 which can conflict with char $ac_func (); below.
81208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81209 <limits.h> exists even on freestanding compilers. */
81211 #ifdef __STDC__
81212 # include <limits.h>
81213 #else
81214 # include <assert.h>
81215 #endif
81217 #undef $ac_func
81219 /* Override any gcc2 internal prototype to avoid an error. */
81220 #ifdef __cplusplus
81221 extern "C"
81223 #endif
81224 /* We use char because int might match the return type of a gcc2
81225 builtin and then its argument prototype would still apply. */
81226 char $ac_func ();
81227 /* The GNU C library defines this for functions which it implements
81228 to always fail with ENOSYS. Some functions are actually named
81229 something starting with __ and the normal name is an alias. */
81230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81231 choke me
81232 #else
81233 char (*f) () = $ac_func;
81234 #endif
81235 #ifdef __cplusplus
81237 #endif
81240 main ()
81242 return f != $ac_func;
81244 return 0;
81246 _ACEOF
81247 rm -f conftest.$ac_objext conftest$ac_exeext
81248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81249 (eval $ac_link) 2>conftest.er1
81250 ac_status=$?
81251 grep -v '^ *+' conftest.er1 >conftest.err
81252 rm -f conftest.er1
81253 cat conftest.err >&5
81254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81255 (exit $ac_status); } &&
81256 { ac_try='test -z "$ac_c_werror_flag"
81257 || test ! -s conftest.err'
81258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81259 (eval $ac_try) 2>&5
81260 ac_status=$?
81261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81262 (exit $ac_status); }; } &&
81263 { ac_try='test -s conftest$ac_exeext'
81264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81265 (eval $ac_try) 2>&5
81266 ac_status=$?
81267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81268 (exit $ac_status); }; }; then
81269 eval "$as_ac_var=yes"
81270 else
81271 echo "$as_me: failed program was:" >&5
81272 sed 's/^/| /' conftest.$ac_ext >&5
81274 eval "$as_ac_var=no"
81276 rm -f conftest.err conftest.$ac_objext \
81277 conftest$ac_exeext conftest.$ac_ext
81279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81281 if test `eval echo '${'$as_ac_var'}'` = yes; then
81282 cat >>confdefs.h <<_ACEOF
81283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81284 _ACEOF
81287 done
81290 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81291 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81292 if test x"$has_weof" = xyes &&
81293 test x"$has_wchar_minmax" = xyes &&
81294 test x"$ac_wfuncs" = xyes;
81295 then
81296 ac_isoC99_wchar_t=yes
81297 else
81298 ac_isoC99_wchar_t=no
81300 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81301 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81303 # Use iconv for wchar_t to char conversions. As such, check for
81304 # X/Open Portability Guide, version 2 features (XPG2).
81305 if test "${ac_cv_header_iconv_h+set}" = set; then
81306 echo "$as_me:$LINENO: checking for iconv.h" >&5
81307 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81308 if test "${ac_cv_header_iconv_h+set}" = set; then
81309 echo $ECHO_N "(cached) $ECHO_C" >&6
81311 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81312 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81313 else
81314 # Is the header compilable?
81315 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81316 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81317 cat >conftest.$ac_ext <<_ACEOF
81318 /* confdefs.h. */
81319 _ACEOF
81320 cat confdefs.h >>conftest.$ac_ext
81321 cat >>conftest.$ac_ext <<_ACEOF
81322 /* end confdefs.h. */
81323 $ac_includes_default
81324 #include <iconv.h>
81325 _ACEOF
81326 rm -f conftest.$ac_objext
81327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81328 (eval $ac_compile) 2>conftest.er1
81329 ac_status=$?
81330 grep -v '^ *+' conftest.er1 >conftest.err
81331 rm -f conftest.er1
81332 cat conftest.err >&5
81333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81334 (exit $ac_status); } &&
81335 { ac_try='test -z "$ac_c_werror_flag"
81336 || test ! -s conftest.err'
81337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81338 (eval $ac_try) 2>&5
81339 ac_status=$?
81340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81341 (exit $ac_status); }; } &&
81342 { ac_try='test -s conftest.$ac_objext'
81343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81344 (eval $ac_try) 2>&5
81345 ac_status=$?
81346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81347 (exit $ac_status); }; }; then
81348 ac_header_compiler=yes
81349 else
81350 echo "$as_me: failed program was:" >&5
81351 sed 's/^/| /' conftest.$ac_ext >&5
81353 ac_header_compiler=no
81355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81357 echo "${ECHO_T}$ac_header_compiler" >&6
81359 # Is the header present?
81360 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81361 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81362 cat >conftest.$ac_ext <<_ACEOF
81363 /* confdefs.h. */
81364 _ACEOF
81365 cat confdefs.h >>conftest.$ac_ext
81366 cat >>conftest.$ac_ext <<_ACEOF
81367 /* end confdefs.h. */
81368 #include <iconv.h>
81369 _ACEOF
81370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81372 ac_status=$?
81373 grep -v '^ *+' conftest.er1 >conftest.err
81374 rm -f conftest.er1
81375 cat conftest.err >&5
81376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81377 (exit $ac_status); } >/dev/null; then
81378 if test -s conftest.err; then
81379 ac_cpp_err=$ac_c_preproc_warn_flag
81380 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81381 else
81382 ac_cpp_err=
81384 else
81385 ac_cpp_err=yes
81387 if test -z "$ac_cpp_err"; then
81388 ac_header_preproc=yes
81389 else
81390 echo "$as_me: failed program was:" >&5
81391 sed 's/^/| /' conftest.$ac_ext >&5
81393 ac_header_preproc=no
81395 rm -f conftest.err conftest.$ac_ext
81396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81397 echo "${ECHO_T}$ac_header_preproc" >&6
81399 # So? What about this header?
81400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81401 yes:no: )
81402 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81403 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81404 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81405 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81406 ac_header_preproc=yes
81408 no:yes:* )
81409 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81410 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81411 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81412 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81413 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81414 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81415 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81416 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81417 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81418 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81419 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81420 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81422 cat <<\_ASBOX
81423 ## ----------------------------------------- ##
81424 ## Report this to the package-unused lists. ##
81425 ## ----------------------------------------- ##
81426 _ASBOX
81428 sed "s/^/$as_me: WARNING: /" >&2
81430 esac
81431 echo "$as_me:$LINENO: checking for iconv.h" >&5
81432 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81433 if test "${ac_cv_header_iconv_h+set}" = set; then
81434 echo $ECHO_N "(cached) $ECHO_C" >&6
81435 else
81436 ac_cv_header_iconv_h=$ac_header_preproc
81438 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81439 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81442 if test $ac_cv_header_iconv_h = yes; then
81443 ac_has_iconv_h=yes
81444 else
81445 ac_has_iconv_h=no
81449 if test "${ac_cv_header_langinfo_h+set}" = set; then
81450 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81451 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81452 if test "${ac_cv_header_langinfo_h+set}" = set; then
81453 echo $ECHO_N "(cached) $ECHO_C" >&6
81455 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81456 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81457 else
81458 # Is the header compilable?
81459 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81460 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81461 cat >conftest.$ac_ext <<_ACEOF
81462 /* confdefs.h. */
81463 _ACEOF
81464 cat confdefs.h >>conftest.$ac_ext
81465 cat >>conftest.$ac_ext <<_ACEOF
81466 /* end confdefs.h. */
81467 $ac_includes_default
81468 #include <langinfo.h>
81469 _ACEOF
81470 rm -f conftest.$ac_objext
81471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81472 (eval $ac_compile) 2>conftest.er1
81473 ac_status=$?
81474 grep -v '^ *+' conftest.er1 >conftest.err
81475 rm -f conftest.er1
81476 cat conftest.err >&5
81477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81478 (exit $ac_status); } &&
81479 { ac_try='test -z "$ac_c_werror_flag"
81480 || test ! -s conftest.err'
81481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81482 (eval $ac_try) 2>&5
81483 ac_status=$?
81484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81485 (exit $ac_status); }; } &&
81486 { ac_try='test -s conftest.$ac_objext'
81487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81488 (eval $ac_try) 2>&5
81489 ac_status=$?
81490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81491 (exit $ac_status); }; }; then
81492 ac_header_compiler=yes
81493 else
81494 echo "$as_me: failed program was:" >&5
81495 sed 's/^/| /' conftest.$ac_ext >&5
81497 ac_header_compiler=no
81499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81501 echo "${ECHO_T}$ac_header_compiler" >&6
81503 # Is the header present?
81504 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81505 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81506 cat >conftest.$ac_ext <<_ACEOF
81507 /* confdefs.h. */
81508 _ACEOF
81509 cat confdefs.h >>conftest.$ac_ext
81510 cat >>conftest.$ac_ext <<_ACEOF
81511 /* end confdefs.h. */
81512 #include <langinfo.h>
81513 _ACEOF
81514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81516 ac_status=$?
81517 grep -v '^ *+' conftest.er1 >conftest.err
81518 rm -f conftest.er1
81519 cat conftest.err >&5
81520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81521 (exit $ac_status); } >/dev/null; then
81522 if test -s conftest.err; then
81523 ac_cpp_err=$ac_c_preproc_warn_flag
81524 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81525 else
81526 ac_cpp_err=
81528 else
81529 ac_cpp_err=yes
81531 if test -z "$ac_cpp_err"; then
81532 ac_header_preproc=yes
81533 else
81534 echo "$as_me: failed program was:" >&5
81535 sed 's/^/| /' conftest.$ac_ext >&5
81537 ac_header_preproc=no
81539 rm -f conftest.err conftest.$ac_ext
81540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81541 echo "${ECHO_T}$ac_header_preproc" >&6
81543 # So? What about this header?
81544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81545 yes:no: )
81546 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81547 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81548 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81549 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81550 ac_header_preproc=yes
81552 no:yes:* )
81553 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81554 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81555 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81556 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81557 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81558 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81559 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81560 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81561 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81562 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81563 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81564 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81566 cat <<\_ASBOX
81567 ## ----------------------------------------- ##
81568 ## Report this to the package-unused lists. ##
81569 ## ----------------------------------------- ##
81570 _ASBOX
81572 sed "s/^/$as_me: WARNING: /" >&2
81574 esac
81575 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81576 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81577 if test "${ac_cv_header_langinfo_h+set}" = set; then
81578 echo $ECHO_N "(cached) $ECHO_C" >&6
81579 else
81580 ac_cv_header_langinfo_h=$ac_header_preproc
81582 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81583 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81586 if test $ac_cv_header_langinfo_h = yes; then
81587 ac_has_langinfo_h=yes
81588 else
81589 ac_has_langinfo_h=no
81594 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81595 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81596 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81597 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81598 echo $ECHO_N "(cached) $ECHO_C" >&6
81599 else
81600 ac_check_lib_save_LIBS=$LIBS
81601 LIBS="-liconv $LIBS"
81602 if test x$gcc_no_link = xyes; then
81603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81605 { (exit 1); exit 1; }; }
81607 cat >conftest.$ac_ext <<_ACEOF
81608 /* confdefs.h. */
81609 _ACEOF
81610 cat confdefs.h >>conftest.$ac_ext
81611 cat >>conftest.$ac_ext <<_ACEOF
81612 /* end confdefs.h. */
81614 /* Override any gcc2 internal prototype to avoid an error. */
81615 #ifdef __cplusplus
81616 extern "C"
81617 #endif
81618 /* We use char because int might match the return type of a gcc2
81619 builtin and then its argument prototype would still apply. */
81620 char iconv ();
81622 main ()
81624 iconv ();
81626 return 0;
81628 _ACEOF
81629 rm -f conftest.$ac_objext conftest$ac_exeext
81630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81631 (eval $ac_link) 2>conftest.er1
81632 ac_status=$?
81633 grep -v '^ *+' conftest.er1 >conftest.err
81634 rm -f conftest.er1
81635 cat conftest.err >&5
81636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81637 (exit $ac_status); } &&
81638 { ac_try='test -z "$ac_c_werror_flag"
81639 || test ! -s conftest.err'
81640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81641 (eval $ac_try) 2>&5
81642 ac_status=$?
81643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81644 (exit $ac_status); }; } &&
81645 { ac_try='test -s conftest$ac_exeext'
81646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81647 (eval $ac_try) 2>&5
81648 ac_status=$?
81649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81650 (exit $ac_status); }; }; then
81651 ac_cv_lib_iconv_iconv=yes
81652 else
81653 echo "$as_me: failed program was:" >&5
81654 sed 's/^/| /' conftest.$ac_ext >&5
81656 ac_cv_lib_iconv_iconv=no
81658 rm -f conftest.err conftest.$ac_objext \
81659 conftest$ac_exeext conftest.$ac_ext
81660 LIBS=$ac_check_lib_save_LIBS
81662 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81663 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81664 if test $ac_cv_lib_iconv_iconv = yes; then
81665 LIBICONV="-liconv"
81668 ac_save_LIBS="$LIBS"
81669 LIBS="$LIBS $LIBICONV"
81676 for ac_func in iconv_open iconv_close iconv nl_langinfo
81678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81679 echo "$as_me:$LINENO: checking for $ac_func" >&5
81680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81681 if eval "test \"\${$as_ac_var+set}\" = set"; then
81682 echo $ECHO_N "(cached) $ECHO_C" >&6
81683 else
81684 if test x$gcc_no_link = xyes; then
81685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81687 { (exit 1); exit 1; }; }
81689 cat >conftest.$ac_ext <<_ACEOF
81690 /* confdefs.h. */
81691 _ACEOF
81692 cat confdefs.h >>conftest.$ac_ext
81693 cat >>conftest.$ac_ext <<_ACEOF
81694 /* end confdefs.h. */
81695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81697 #define $ac_func innocuous_$ac_func
81699 /* System header to define __stub macros and hopefully few prototypes,
81700 which can conflict with char $ac_func (); below.
81701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81702 <limits.h> exists even on freestanding compilers. */
81704 #ifdef __STDC__
81705 # include <limits.h>
81706 #else
81707 # include <assert.h>
81708 #endif
81710 #undef $ac_func
81712 /* Override any gcc2 internal prototype to avoid an error. */
81713 #ifdef __cplusplus
81714 extern "C"
81716 #endif
81717 /* We use char because int might match the return type of a gcc2
81718 builtin and then its argument prototype would still apply. */
81719 char $ac_func ();
81720 /* The GNU C library defines this for functions which it implements
81721 to always fail with ENOSYS. Some functions are actually named
81722 something starting with __ and the normal name is an alias. */
81723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81724 choke me
81725 #else
81726 char (*f) () = $ac_func;
81727 #endif
81728 #ifdef __cplusplus
81730 #endif
81733 main ()
81735 return f != $ac_func;
81737 return 0;
81739 _ACEOF
81740 rm -f conftest.$ac_objext conftest$ac_exeext
81741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81742 (eval $ac_link) 2>conftest.er1
81743 ac_status=$?
81744 grep -v '^ *+' conftest.er1 >conftest.err
81745 rm -f conftest.er1
81746 cat conftest.err >&5
81747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81748 (exit $ac_status); } &&
81749 { ac_try='test -z "$ac_c_werror_flag"
81750 || test ! -s conftest.err'
81751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81752 (eval $ac_try) 2>&5
81753 ac_status=$?
81754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81755 (exit $ac_status); }; } &&
81756 { ac_try='test -s conftest$ac_exeext'
81757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81758 (eval $ac_try) 2>&5
81759 ac_status=$?
81760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81761 (exit $ac_status); }; }; then
81762 eval "$as_ac_var=yes"
81763 else
81764 echo "$as_me: failed program was:" >&5
81765 sed 's/^/| /' conftest.$ac_ext >&5
81767 eval "$as_ac_var=no"
81769 rm -f conftest.err conftest.$ac_objext \
81770 conftest$ac_exeext conftest.$ac_ext
81772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81774 if test `eval echo '${'$as_ac_var'}'` = yes; then
81775 cat >>confdefs.h <<_ACEOF
81776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81777 _ACEOF
81778 ac_XPG2funcs=yes
81779 else
81780 ac_XPG2funcs=no
81782 done
81785 LIBS="$ac_save_LIBS"
81787 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81788 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81789 if test x"$ac_has_iconv_h" = xyes &&
81790 test x"$ac_has_langinfo_h" = xyes &&
81791 test x"$ac_XPG2funcs" = xyes;
81792 then
81793 ac_XPG2_wchar_t=yes
81794 else
81795 ac_XPG2_wchar_t=no
81797 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81798 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81800 # At the moment, only enable wchar_t specializations if all the
81801 # above support is present.
81802 if test x"$ac_isoC99_wchar_t" = xyes &&
81803 test x"$ac_XPG2_wchar_t" = xyes;
81804 then
81805 cat >>confdefs.h <<\_ACEOF
81806 #define _GLIBCXX_USE_WCHAR_T 1
81807 _ACEOF
81809 enable_wchar_t=yes
81812 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81813 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81814 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81815 echo "${ECHO_T}$enable_wchar_t" >&6
81818 # For LFS.
81819 cat >>confdefs.h <<\_ACEOF
81820 #define HAVE_INT64_T 1
81821 _ACEOF
81823 case "$target" in
81824 *-uclinux*)
81825 # Don't enable LFS with uClibc
81828 cat >>confdefs.h <<\_ACEOF
81829 #define _GLIBCXX_USE_LFS 1
81830 _ACEOF
81832 esac
81834 # For showmanyc_helper().
81837 for ac_header in sys/ioctl.h sys/filio.h
81839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81841 echo "$as_me:$LINENO: checking for $ac_header" >&5
81842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81844 echo $ECHO_N "(cached) $ECHO_C" >&6
81846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81848 else
81849 # Is the header compilable?
81850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81852 cat >conftest.$ac_ext <<_ACEOF
81853 /* confdefs.h. */
81854 _ACEOF
81855 cat confdefs.h >>conftest.$ac_ext
81856 cat >>conftest.$ac_ext <<_ACEOF
81857 /* end confdefs.h. */
81858 $ac_includes_default
81859 #include <$ac_header>
81860 _ACEOF
81861 rm -f conftest.$ac_objext
81862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81863 (eval $ac_compile) 2>conftest.er1
81864 ac_status=$?
81865 grep -v '^ *+' conftest.er1 >conftest.err
81866 rm -f conftest.er1
81867 cat conftest.err >&5
81868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81869 (exit $ac_status); } &&
81870 { ac_try='test -z "$ac_c_werror_flag"
81871 || test ! -s conftest.err'
81872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81873 (eval $ac_try) 2>&5
81874 ac_status=$?
81875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81876 (exit $ac_status); }; } &&
81877 { ac_try='test -s conftest.$ac_objext'
81878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81879 (eval $ac_try) 2>&5
81880 ac_status=$?
81881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81882 (exit $ac_status); }; }; then
81883 ac_header_compiler=yes
81884 else
81885 echo "$as_me: failed program was:" >&5
81886 sed 's/^/| /' conftest.$ac_ext >&5
81888 ac_header_compiler=no
81890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81892 echo "${ECHO_T}$ac_header_compiler" >&6
81894 # Is the header present?
81895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81897 cat >conftest.$ac_ext <<_ACEOF
81898 /* confdefs.h. */
81899 _ACEOF
81900 cat confdefs.h >>conftest.$ac_ext
81901 cat >>conftest.$ac_ext <<_ACEOF
81902 /* end confdefs.h. */
81903 #include <$ac_header>
81904 _ACEOF
81905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81907 ac_status=$?
81908 grep -v '^ *+' conftest.er1 >conftest.err
81909 rm -f conftest.er1
81910 cat conftest.err >&5
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); } >/dev/null; then
81913 if test -s conftest.err; then
81914 ac_cpp_err=$ac_c_preproc_warn_flag
81915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81916 else
81917 ac_cpp_err=
81919 else
81920 ac_cpp_err=yes
81922 if test -z "$ac_cpp_err"; then
81923 ac_header_preproc=yes
81924 else
81925 echo "$as_me: failed program was:" >&5
81926 sed 's/^/| /' conftest.$ac_ext >&5
81928 ac_header_preproc=no
81930 rm -f conftest.err conftest.$ac_ext
81931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81932 echo "${ECHO_T}$ac_header_preproc" >&6
81934 # So? What about this header?
81935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81936 yes:no: )
81937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81941 ac_header_preproc=yes
81943 no:yes:* )
81944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81957 cat <<\_ASBOX
81958 ## ----------------------------------------- ##
81959 ## Report this to the package-unused lists. ##
81960 ## ----------------------------------------- ##
81961 _ASBOX
81963 sed "s/^/$as_me: WARNING: /" >&2
81965 esac
81966 echo "$as_me:$LINENO: checking for $ac_header" >&5
81967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81969 echo $ECHO_N "(cached) $ECHO_C" >&6
81970 else
81971 eval "$as_ac_Header=\$ac_header_preproc"
81973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81978 cat >>confdefs.h <<_ACEOF
81979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81980 _ACEOF
81984 done
81987 if test "${glibcxx_cv_POLL+set}" = set; then
81988 echo $ECHO_N "(cached) $ECHO_C" >&6
81989 else
81991 if test x$gcc_no_link = xyes; then
81992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81994 { (exit 1); exit 1; }; }
81996 cat >conftest.$ac_ext <<_ACEOF
81997 /* confdefs.h. */
81998 _ACEOF
81999 cat confdefs.h >>conftest.$ac_ext
82000 cat >>conftest.$ac_ext <<_ACEOF
82001 /* end confdefs.h. */
82002 #include <poll.h>
82004 main ()
82006 struct pollfd pfd[1];
82007 pfd[0].events = POLLIN;
82008 poll(pfd, 1, 0);
82010 return 0;
82012 _ACEOF
82013 rm -f conftest.$ac_objext conftest$ac_exeext
82014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82015 (eval $ac_link) 2>conftest.er1
82016 ac_status=$?
82017 grep -v '^ *+' conftest.er1 >conftest.err
82018 rm -f conftest.er1
82019 cat conftest.err >&5
82020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021 (exit $ac_status); } &&
82022 { ac_try='test -z "$ac_c_werror_flag"
82023 || test ! -s conftest.err'
82024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82025 (eval $ac_try) 2>&5
82026 ac_status=$?
82027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82028 (exit $ac_status); }; } &&
82029 { ac_try='test -s conftest$ac_exeext'
82030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82031 (eval $ac_try) 2>&5
82032 ac_status=$?
82033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82034 (exit $ac_status); }; }; then
82035 glibcxx_cv_POLL=yes
82036 else
82037 echo "$as_me: failed program was:" >&5
82038 sed 's/^/| /' conftest.$ac_ext >&5
82040 glibcxx_cv_POLL=no
82042 rm -f conftest.err conftest.$ac_objext \
82043 conftest$ac_exeext conftest.$ac_ext
82047 if test $glibcxx_cv_POLL = yes; then
82048 cat >>confdefs.h <<\_ACEOF
82049 #define HAVE_POLL 1
82050 _ACEOF
82055 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82056 echo $ECHO_N "(cached) $ECHO_C" >&6
82057 else
82059 if test x$gcc_no_link = xyes; then
82060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82062 { (exit 1); exit 1; }; }
82064 cat >conftest.$ac_ext <<_ACEOF
82065 /* confdefs.h. */
82066 _ACEOF
82067 cat confdefs.h >>conftest.$ac_ext
82068 cat >>conftest.$ac_ext <<_ACEOF
82069 /* end confdefs.h. */
82070 #include <sys/stat.h>
82072 main ()
82074 struct stat buffer;
82075 fstat(0, &buffer);
82076 S_ISREG(buffer.st_mode);
82078 return 0;
82080 _ACEOF
82081 rm -f conftest.$ac_objext conftest$ac_exeext
82082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82083 (eval $ac_link) 2>conftest.er1
82084 ac_status=$?
82085 grep -v '^ *+' conftest.er1 >conftest.err
82086 rm -f conftest.er1
82087 cat conftest.err >&5
82088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82089 (exit $ac_status); } &&
82090 { ac_try='test -z "$ac_c_werror_flag"
82091 || test ! -s conftest.err'
82092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82093 (eval $ac_try) 2>&5
82094 ac_status=$?
82095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82096 (exit $ac_status); }; } &&
82097 { ac_try='test -s conftest$ac_exeext'
82098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82099 (eval $ac_try) 2>&5
82100 ac_status=$?
82101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82102 (exit $ac_status); }; }; then
82103 glibcxx_cv_S_ISREG=yes
82104 else
82105 echo "$as_me: failed program was:" >&5
82106 sed 's/^/| /' conftest.$ac_ext >&5
82108 glibcxx_cv_S_ISREG=no
82110 rm -f conftest.err conftest.$ac_objext \
82111 conftest$ac_exeext conftest.$ac_ext
82115 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82116 echo $ECHO_N "(cached) $ECHO_C" >&6
82117 else
82119 if test x$gcc_no_link = xyes; then
82120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82122 { (exit 1); exit 1; }; }
82124 cat >conftest.$ac_ext <<_ACEOF
82125 /* confdefs.h. */
82126 _ACEOF
82127 cat confdefs.h >>conftest.$ac_ext
82128 cat >>conftest.$ac_ext <<_ACEOF
82129 /* end confdefs.h. */
82130 #include <sys/stat.h>
82132 main ()
82134 struct stat buffer;
82135 fstat(0, &buffer);
82136 S_IFREG & buffer.st_mode;
82138 return 0;
82140 _ACEOF
82141 rm -f conftest.$ac_objext conftest$ac_exeext
82142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82143 (eval $ac_link) 2>conftest.er1
82144 ac_status=$?
82145 grep -v '^ *+' conftest.er1 >conftest.err
82146 rm -f conftest.er1
82147 cat conftest.err >&5
82148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82149 (exit $ac_status); } &&
82150 { ac_try='test -z "$ac_c_werror_flag"
82151 || test ! -s conftest.err'
82152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82153 (eval $ac_try) 2>&5
82154 ac_status=$?
82155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82156 (exit $ac_status); }; } &&
82157 { ac_try='test -s conftest$ac_exeext'
82158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82159 (eval $ac_try) 2>&5
82160 ac_status=$?
82161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82162 (exit $ac_status); }; }; then
82163 glibcxx_cv_S_IFREG=yes
82164 else
82165 echo "$as_me: failed program was:" >&5
82166 sed 's/^/| /' conftest.$ac_ext >&5
82168 glibcxx_cv_S_IFREG=no
82170 rm -f conftest.err conftest.$ac_objext \
82171 conftest$ac_exeext conftest.$ac_ext
82175 if test $glibcxx_cv_S_ISREG = yes; then
82176 cat >>confdefs.h <<\_ACEOF
82177 #define HAVE_S_ISREG 1
82178 _ACEOF
82180 elif test $glibcxx_cv_S_IFREG = yes; then
82181 cat >>confdefs.h <<\_ACEOF
82182 #define HAVE_S_IFREG 1
82183 _ACEOF
82188 # For xsputn_2().
82190 for ac_header in sys/uio.h
82192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82194 echo "$as_me:$LINENO: checking for $ac_header" >&5
82195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82197 echo $ECHO_N "(cached) $ECHO_C" >&6
82199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82201 else
82202 # Is the header compilable?
82203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82205 cat >conftest.$ac_ext <<_ACEOF
82206 /* confdefs.h. */
82207 _ACEOF
82208 cat confdefs.h >>conftest.$ac_ext
82209 cat >>conftest.$ac_ext <<_ACEOF
82210 /* end confdefs.h. */
82211 $ac_includes_default
82212 #include <$ac_header>
82213 _ACEOF
82214 rm -f conftest.$ac_objext
82215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82216 (eval $ac_compile) 2>conftest.er1
82217 ac_status=$?
82218 grep -v '^ *+' conftest.er1 >conftest.err
82219 rm -f conftest.er1
82220 cat conftest.err >&5
82221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82222 (exit $ac_status); } &&
82223 { ac_try='test -z "$ac_c_werror_flag"
82224 || test ! -s conftest.err'
82225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82226 (eval $ac_try) 2>&5
82227 ac_status=$?
82228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82229 (exit $ac_status); }; } &&
82230 { ac_try='test -s conftest.$ac_objext'
82231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82232 (eval $ac_try) 2>&5
82233 ac_status=$?
82234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82235 (exit $ac_status); }; }; then
82236 ac_header_compiler=yes
82237 else
82238 echo "$as_me: failed program was:" >&5
82239 sed 's/^/| /' conftest.$ac_ext >&5
82241 ac_header_compiler=no
82243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82245 echo "${ECHO_T}$ac_header_compiler" >&6
82247 # Is the header present?
82248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82250 cat >conftest.$ac_ext <<_ACEOF
82251 /* confdefs.h. */
82252 _ACEOF
82253 cat confdefs.h >>conftest.$ac_ext
82254 cat >>conftest.$ac_ext <<_ACEOF
82255 /* end confdefs.h. */
82256 #include <$ac_header>
82257 _ACEOF
82258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82260 ac_status=$?
82261 grep -v '^ *+' conftest.er1 >conftest.err
82262 rm -f conftest.er1
82263 cat conftest.err >&5
82264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82265 (exit $ac_status); } >/dev/null; then
82266 if test -s conftest.err; then
82267 ac_cpp_err=$ac_c_preproc_warn_flag
82268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82269 else
82270 ac_cpp_err=
82272 else
82273 ac_cpp_err=yes
82275 if test -z "$ac_cpp_err"; then
82276 ac_header_preproc=yes
82277 else
82278 echo "$as_me: failed program was:" >&5
82279 sed 's/^/| /' conftest.$ac_ext >&5
82281 ac_header_preproc=no
82283 rm -f conftest.err conftest.$ac_ext
82284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82285 echo "${ECHO_T}$ac_header_preproc" >&6
82287 # So? What about this header?
82288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82289 yes:no: )
82290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82294 ac_header_preproc=yes
82296 no:yes:* )
82297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82310 cat <<\_ASBOX
82311 ## ----------------------------------------- ##
82312 ## Report this to the package-unused lists. ##
82313 ## ----------------------------------------- ##
82314 _ASBOX
82316 sed "s/^/$as_me: WARNING: /" >&2
82318 esac
82319 echo "$as_me:$LINENO: checking for $ac_header" >&5
82320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82322 echo $ECHO_N "(cached) $ECHO_C" >&6
82323 else
82324 eval "$as_ac_Header=\$ac_header_preproc"
82326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82331 cat >>confdefs.h <<_ACEOF
82332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82333 _ACEOF
82337 done
82340 if test "${glibcxx_cv_WRITEV+set}" = set; then
82341 echo $ECHO_N "(cached) $ECHO_C" >&6
82342 else
82344 if test x$gcc_no_link = xyes; then
82345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82347 { (exit 1); exit 1; }; }
82349 cat >conftest.$ac_ext <<_ACEOF
82350 /* confdefs.h. */
82351 _ACEOF
82352 cat confdefs.h >>conftest.$ac_ext
82353 cat >>conftest.$ac_ext <<_ACEOF
82354 /* end confdefs.h. */
82355 #include <sys/uio.h>
82357 main ()
82359 struct iovec iov[2];
82360 writev(0, iov, 0);
82362 return 0;
82364 _ACEOF
82365 rm -f conftest.$ac_objext conftest$ac_exeext
82366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82367 (eval $ac_link) 2>conftest.er1
82368 ac_status=$?
82369 grep -v '^ *+' conftest.er1 >conftest.err
82370 rm -f conftest.er1
82371 cat conftest.err >&5
82372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82373 (exit $ac_status); } &&
82374 { ac_try='test -z "$ac_c_werror_flag"
82375 || test ! -s conftest.err'
82376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82377 (eval $ac_try) 2>&5
82378 ac_status=$?
82379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82380 (exit $ac_status); }; } &&
82381 { ac_try='test -s conftest$ac_exeext'
82382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82383 (eval $ac_try) 2>&5
82384 ac_status=$?
82385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82386 (exit $ac_status); }; }; then
82387 glibcxx_cv_WRITEV=yes
82388 else
82389 echo "$as_me: failed program was:" >&5
82390 sed 's/^/| /' conftest.$ac_ext >&5
82392 glibcxx_cv_WRITEV=no
82394 rm -f conftest.err conftest.$ac_objext \
82395 conftest$ac_exeext conftest.$ac_ext
82399 if test $glibcxx_cv_WRITEV = yes; then
82400 cat >>confdefs.h <<\_ACEOF
82401 #define HAVE_WRITEV 1
82402 _ACEOF
82407 cat >>confdefs.h <<\_ACEOF
82408 #define HAVE_ACOSF 1
82409 _ACEOF
82411 cat >>confdefs.h <<\_ACEOF
82412 #define HAVE_ASINF 1
82413 _ACEOF
82415 cat >>confdefs.h <<\_ACEOF
82416 #define HAVE_ATANF 1
82417 _ACEOF
82419 cat >>confdefs.h <<\_ACEOF
82420 #define HAVE_ATAN2F 1
82421 _ACEOF
82423 cat >>confdefs.h <<\_ACEOF
82424 #define HAVE_CEILF 1
82425 _ACEOF
82427 cat >>confdefs.h <<\_ACEOF
82428 #define HAVE_COPYSIGN 1
82429 _ACEOF
82431 cat >>confdefs.h <<\_ACEOF
82432 #define HAVE_COPYSIGNF 1
82433 _ACEOF
82435 cat >>confdefs.h <<\_ACEOF
82436 #define HAVE_COSF 1
82437 _ACEOF
82439 cat >>confdefs.h <<\_ACEOF
82440 #define HAVE_COSHF 1
82441 _ACEOF
82443 cat >>confdefs.h <<\_ACEOF
82444 #define HAVE_EXPF 1
82445 _ACEOF
82447 cat >>confdefs.h <<\_ACEOF
82448 #define HAVE_FABSF 1
82449 _ACEOF
82451 cat >>confdefs.h <<\_ACEOF
82452 #define HAVE_FINITE 1
82453 _ACEOF
82455 cat >>confdefs.h <<\_ACEOF
82456 #define HAVE_FINITEF 1
82457 _ACEOF
82459 cat >>confdefs.h <<\_ACEOF
82460 #define HAVE_FLOORF 1
82461 _ACEOF
82463 cat >>confdefs.h <<\_ACEOF
82464 #define HAVE_FMODF 1
82465 _ACEOF
82467 cat >>confdefs.h <<\_ACEOF
82468 #define HAVE_FREXPF 1
82469 _ACEOF
82471 cat >>confdefs.h <<\_ACEOF
82472 #define HAVE_HYPOT 1
82473 _ACEOF
82475 cat >>confdefs.h <<\_ACEOF
82476 #define HAVE_HYPOTF 1
82477 _ACEOF
82479 cat >>confdefs.h <<\_ACEOF
82480 #define HAVE_ISINF 1
82481 _ACEOF
82483 cat >>confdefs.h <<\_ACEOF
82484 #define HAVE_ISINFF 1
82485 _ACEOF
82487 cat >>confdefs.h <<\_ACEOF
82488 #define HAVE_ISNAN 1
82489 _ACEOF
82491 cat >>confdefs.h <<\_ACEOF
82492 #define HAVE_ISNANF 1
82493 _ACEOF
82495 cat >>confdefs.h <<\_ACEOF
82496 #define HAVE_LOGF 1
82497 _ACEOF
82499 cat >>confdefs.h <<\_ACEOF
82500 #define HAVE_LOG10F 1
82501 _ACEOF
82503 cat >>confdefs.h <<\_ACEOF
82504 #define HAVE_MODFF 1
82505 _ACEOF
82507 cat >>confdefs.h <<\_ACEOF
82508 #define HAVE_SINF 1
82509 _ACEOF
82511 cat >>confdefs.h <<\_ACEOF
82512 #define HAVE_SINHF 1
82513 _ACEOF
82515 cat >>confdefs.h <<\_ACEOF
82516 #define HAVE_SINCOS 1
82517 _ACEOF
82519 cat >>confdefs.h <<\_ACEOF
82520 #define HAVE_SINCOSF 1
82521 _ACEOF
82523 cat >>confdefs.h <<\_ACEOF
82524 #define HAVE_SQRTF 1
82525 _ACEOF
82527 cat >>confdefs.h <<\_ACEOF
82528 #define HAVE_TANF 1
82529 _ACEOF
82531 cat >>confdefs.h <<\_ACEOF
82532 #define HAVE_TANHF 1
82533 _ACEOF
82535 if test x"long_double_math_on_this_cpu" = x"yes"; then
82536 cat >>confdefs.h <<\_ACEOF
82537 #define HAVE_ACOSL 1
82538 _ACEOF
82540 cat >>confdefs.h <<\_ACEOF
82541 #define HAVE_ASINL 1
82542 _ACEOF
82544 cat >>confdefs.h <<\_ACEOF
82545 #define HAVE_ATANL 1
82546 _ACEOF
82548 cat >>confdefs.h <<\_ACEOF
82549 #define HAVE_ATAN2L 1
82550 _ACEOF
82552 cat >>confdefs.h <<\_ACEOF
82553 #define HAVE_CEILL 1
82554 _ACEOF
82556 cat >>confdefs.h <<\_ACEOF
82557 #define HAVE_COPYSIGNL 1
82558 _ACEOF
82560 cat >>confdefs.h <<\_ACEOF
82561 #define HAVE_COSL 1
82562 _ACEOF
82564 cat >>confdefs.h <<\_ACEOF
82565 #define HAVE_COSHL 1
82566 _ACEOF
82568 cat >>confdefs.h <<\_ACEOF
82569 #define HAVE_EXPL 1
82570 _ACEOF
82572 cat >>confdefs.h <<\_ACEOF
82573 #define HAVE_FABSL 1
82574 _ACEOF
82576 cat >>confdefs.h <<\_ACEOF
82577 #define HAVE_FINITEL 1
82578 _ACEOF
82580 cat >>confdefs.h <<\_ACEOF
82581 #define HAVE_FLOORL 1
82582 _ACEOF
82584 cat >>confdefs.h <<\_ACEOF
82585 #define HAVE_FMODL 1
82586 _ACEOF
82588 cat >>confdefs.h <<\_ACEOF
82589 #define HAVE_FREXPL 1
82590 _ACEOF
82592 cat >>confdefs.h <<\_ACEOF
82593 #define HAVE_HYPOTL 1
82594 _ACEOF
82596 cat >>confdefs.h <<\_ACEOF
82597 #define HAVE_ISINFL 1
82598 _ACEOF
82600 cat >>confdefs.h <<\_ACEOF
82601 #define HAVE_ISNANL 1
82602 _ACEOF
82604 cat >>confdefs.h <<\_ACEOF
82605 #define HAVE_LOGL 1
82606 _ACEOF
82608 cat >>confdefs.h <<\_ACEOF
82609 #define HAVE_LOG10L 1
82610 _ACEOF
82612 cat >>confdefs.h <<\_ACEOF
82613 #define HAVE_MODFL 1
82614 _ACEOF
82616 cat >>confdefs.h <<\_ACEOF
82617 #define HAVE_POWL 1
82618 _ACEOF
82620 cat >>confdefs.h <<\_ACEOF
82621 #define HAVE_SINL 1
82622 _ACEOF
82624 cat >>confdefs.h <<\_ACEOF
82625 #define HAVE_SINHL 1
82626 _ACEOF
82628 cat >>confdefs.h <<\_ACEOF
82629 #define HAVE_SINCOSL 1
82630 _ACEOF
82632 cat >>confdefs.h <<\_ACEOF
82633 #define HAVE_SQRTL 1
82634 _ACEOF
82636 cat >>confdefs.h <<\_ACEOF
82637 #define HAVE_TANL 1
82638 _ACEOF
82640 cat >>confdefs.h <<\_ACEOF
82641 #define HAVE_TANHL 1
82642 _ACEOF
82646 *-mingw32*)
82650 for ac_header in sys/types.h locale.h float.h
82652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82654 echo "$as_me:$LINENO: checking for $ac_header" >&5
82655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82657 echo $ECHO_N "(cached) $ECHO_C" >&6
82659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82661 else
82662 # Is the header compilable?
82663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82665 cat >conftest.$ac_ext <<_ACEOF
82666 /* confdefs.h. */
82667 _ACEOF
82668 cat confdefs.h >>conftest.$ac_ext
82669 cat >>conftest.$ac_ext <<_ACEOF
82670 /* end confdefs.h. */
82671 $ac_includes_default
82672 #include <$ac_header>
82673 _ACEOF
82674 rm -f conftest.$ac_objext
82675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82676 (eval $ac_compile) 2>conftest.er1
82677 ac_status=$?
82678 grep -v '^ *+' conftest.er1 >conftest.err
82679 rm -f conftest.er1
82680 cat conftest.err >&5
82681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82682 (exit $ac_status); } &&
82683 { ac_try='test -z "$ac_c_werror_flag"
82684 || test ! -s conftest.err'
82685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82686 (eval $ac_try) 2>&5
82687 ac_status=$?
82688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82689 (exit $ac_status); }; } &&
82690 { ac_try='test -s conftest.$ac_objext'
82691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82692 (eval $ac_try) 2>&5
82693 ac_status=$?
82694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82695 (exit $ac_status); }; }; then
82696 ac_header_compiler=yes
82697 else
82698 echo "$as_me: failed program was:" >&5
82699 sed 's/^/| /' conftest.$ac_ext >&5
82701 ac_header_compiler=no
82703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82705 echo "${ECHO_T}$ac_header_compiler" >&6
82707 # Is the header present?
82708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82710 cat >conftest.$ac_ext <<_ACEOF
82711 /* confdefs.h. */
82712 _ACEOF
82713 cat confdefs.h >>conftest.$ac_ext
82714 cat >>conftest.$ac_ext <<_ACEOF
82715 /* end confdefs.h. */
82716 #include <$ac_header>
82717 _ACEOF
82718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82720 ac_status=$?
82721 grep -v '^ *+' conftest.er1 >conftest.err
82722 rm -f conftest.er1
82723 cat conftest.err >&5
82724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82725 (exit $ac_status); } >/dev/null; then
82726 if test -s conftest.err; then
82727 ac_cpp_err=$ac_c_preproc_warn_flag
82728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82729 else
82730 ac_cpp_err=
82732 else
82733 ac_cpp_err=yes
82735 if test -z "$ac_cpp_err"; then
82736 ac_header_preproc=yes
82737 else
82738 echo "$as_me: failed program was:" >&5
82739 sed 's/^/| /' conftest.$ac_ext >&5
82741 ac_header_preproc=no
82743 rm -f conftest.err conftest.$ac_ext
82744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82745 echo "${ECHO_T}$ac_header_preproc" >&6
82747 # So? What about this header?
82748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82749 yes:no: )
82750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82754 ac_header_preproc=yes
82756 no:yes:* )
82757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82770 cat <<\_ASBOX
82771 ## ----------------------------------------- ##
82772 ## Report this to the package-unused lists. ##
82773 ## ----------------------------------------- ##
82774 _ASBOX
82776 sed "s/^/$as_me: WARNING: /" >&2
82778 esac
82779 echo "$as_me:$LINENO: checking for $ac_header" >&5
82780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82782 echo $ECHO_N "(cached) $ECHO_C" >&6
82783 else
82784 eval "$as_ac_Header=\$ac_header_preproc"
82786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82791 cat >>confdefs.h <<_ACEOF
82792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82793 _ACEOF
82797 done
82800 # If we're not using GNU ld, then there's no point in even trying these
82801 # tests. Check for that first. We should have already tested for gld
82802 # by now (in libtool), but require it now just to be safe...
82803 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82804 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82808 # The name set by libtool depends on the version of libtool. Shame on us
82809 # for depending on an impl detail, but c'est la vie. Older versions used
82810 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82811 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82812 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82813 # set (hence we're using an older libtool), then set it.
82814 if test x${with_gnu_ld+set} != xset; then
82815 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82816 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82817 with_gnu_ld=no
82818 else
82819 with_gnu_ld=$ac_cv_prog_gnu_ld
82823 # Start by getting the version number. I think the libtool test already
82824 # does some of this, but throws away the result.
82826 ldver=`$LD --version 2>/dev/null | head -1 | \
82827 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82829 glibcxx_gnu_ld_version=`echo $ldver | \
82830 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82832 # Set --gc-sections.
82833 if test "$with_gnu_ld" = "notbroken"; then
82834 # GNU ld it is! Joy and bunny rabbits!
82836 # All these tests are for C++; save the language and the compiler flags.
82837 # Need to do this so that g++ won't try to link in libstdc++
82838 ac_test_CFLAGS="${CFLAGS+set}"
82839 ac_save_CFLAGS="$CFLAGS"
82840 CFLAGS='-x c++ -Wl,--gc-sections'
82842 # Check for -Wl,--gc-sections
82843 # XXX This test is broken at the moment, as symbols required for linking
82844 # are now in libsupc++ (not built yet). In addition, this test has
82845 # cored on solaris in the past. In addition, --gc-sections doesn't
82846 # really work at the moment (keeps on discarding used sections, first
82847 # .eh_frame and now some of the glibc sections for iconv).
82848 # Bzzzzt. Thanks for playing, maybe next time.
82849 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82850 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82851 if test "$cross_compiling" = yes; then
82852 ac_sectionLDflags=yes
82853 else
82854 cat >conftest.$ac_ext <<_ACEOF
82855 /* confdefs.h. */
82856 _ACEOF
82857 cat confdefs.h >>conftest.$ac_ext
82858 cat >>conftest.$ac_ext <<_ACEOF
82859 /* end confdefs.h. */
82861 int main(void)
82863 try { throw 1; }
82864 catch (...) { };
82865 return 0;
82868 _ACEOF
82869 rm -f conftest$ac_exeext
82870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82871 (eval $ac_link) 2>&5
82872 ac_status=$?
82873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82876 (eval $ac_try) 2>&5
82877 ac_status=$?
82878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82879 (exit $ac_status); }; }; then
82880 ac_sectionLDflags=yes
82881 else
82882 echo "$as_me: program exited with status $ac_status" >&5
82883 echo "$as_me: failed program was:" >&5
82884 sed 's/^/| /' conftest.$ac_ext >&5
82886 ( exit $ac_status )
82887 ac_sectionLDflags=no
82889 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82891 if test "$ac_test_CFLAGS" = set; then
82892 CFLAGS="$ac_save_CFLAGS"
82893 else
82894 # this is the suspicious part
82895 CFLAGS=''
82897 if test "$ac_sectionLDflags" = "yes"; then
82898 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82900 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82901 echo "${ECHO_T}$ac_sectionLDflags" >&6
82904 # Set linker optimization flags.
82905 if test x"$with_gnu_ld" = x"yes"; then
82906 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82914 echo "$as_me:$LINENO: checking for main in -lm" >&5
82915 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82916 if test "${ac_cv_lib_m_main+set}" = set; then
82917 echo $ECHO_N "(cached) $ECHO_C" >&6
82918 else
82919 ac_check_lib_save_LIBS=$LIBS
82920 LIBS="-lm $LIBS"
82921 if test x$gcc_no_link = xyes; then
82922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82924 { (exit 1); exit 1; }; }
82926 cat >conftest.$ac_ext <<_ACEOF
82927 /* confdefs.h. */
82928 _ACEOF
82929 cat confdefs.h >>conftest.$ac_ext
82930 cat >>conftest.$ac_ext <<_ACEOF
82931 /* end confdefs.h. */
82935 main ()
82937 main ();
82939 return 0;
82941 _ACEOF
82942 rm -f conftest.$ac_objext conftest$ac_exeext
82943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82944 (eval $ac_link) 2>conftest.er1
82945 ac_status=$?
82946 grep -v '^ *+' conftest.er1 >conftest.err
82947 rm -f conftest.er1
82948 cat conftest.err >&5
82949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82950 (exit $ac_status); } &&
82951 { ac_try='test -z "$ac_c_werror_flag"
82952 || test ! -s conftest.err'
82953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82954 (eval $ac_try) 2>&5
82955 ac_status=$?
82956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82957 (exit $ac_status); }; } &&
82958 { ac_try='test -s conftest$ac_exeext'
82959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82960 (eval $ac_try) 2>&5
82961 ac_status=$?
82962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82963 (exit $ac_status); }; }; then
82964 ac_cv_lib_m_main=yes
82965 else
82966 echo "$as_me: failed program was:" >&5
82967 sed 's/^/| /' conftest.$ac_ext >&5
82969 ac_cv_lib_m_main=no
82971 rm -f conftest.err conftest.$ac_objext \
82972 conftest$ac_exeext conftest.$ac_ext
82973 LIBS=$ac_check_lib_save_LIBS
82975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82976 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82977 if test $ac_cv_lib_m_main = yes; then
82978 cat >>confdefs.h <<_ACEOF
82979 #define HAVE_LIBM 1
82980 _ACEOF
82982 LIBS="-lm $LIBS"
82987 for ac_func in copysignf
82989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82990 echo "$as_me:$LINENO: checking for $ac_func" >&5
82991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82992 if eval "test \"\${$as_ac_var+set}\" = set"; then
82993 echo $ECHO_N "(cached) $ECHO_C" >&6
82994 else
82995 if test x$gcc_no_link = xyes; then
82996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82998 { (exit 1); exit 1; }; }
83000 cat >conftest.$ac_ext <<_ACEOF
83001 /* confdefs.h. */
83002 _ACEOF
83003 cat confdefs.h >>conftest.$ac_ext
83004 cat >>conftest.$ac_ext <<_ACEOF
83005 /* end confdefs.h. */
83006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83008 #define $ac_func innocuous_$ac_func
83010 /* System header to define __stub macros and hopefully few prototypes,
83011 which can conflict with char $ac_func (); below.
83012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83013 <limits.h> exists even on freestanding compilers. */
83015 #ifdef __STDC__
83016 # include <limits.h>
83017 #else
83018 # include <assert.h>
83019 #endif
83021 #undef $ac_func
83023 /* Override any gcc2 internal prototype to avoid an error. */
83024 #ifdef __cplusplus
83025 extern "C"
83027 #endif
83028 /* We use char because int might match the return type of a gcc2
83029 builtin and then its argument prototype would still apply. */
83030 char $ac_func ();
83031 /* The GNU C library defines this for functions which it implements
83032 to always fail with ENOSYS. Some functions are actually named
83033 something starting with __ and the normal name is an alias. */
83034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83035 choke me
83036 #else
83037 char (*f) () = $ac_func;
83038 #endif
83039 #ifdef __cplusplus
83041 #endif
83044 main ()
83046 return f != $ac_func;
83048 return 0;
83050 _ACEOF
83051 rm -f conftest.$ac_objext conftest$ac_exeext
83052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83053 (eval $ac_link) 2>conftest.er1
83054 ac_status=$?
83055 grep -v '^ *+' conftest.er1 >conftest.err
83056 rm -f conftest.er1
83057 cat conftest.err >&5
83058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83059 (exit $ac_status); } &&
83060 { ac_try='test -z "$ac_c_werror_flag"
83061 || test ! -s conftest.err'
83062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83063 (eval $ac_try) 2>&5
83064 ac_status=$?
83065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83066 (exit $ac_status); }; } &&
83067 { ac_try='test -s conftest$ac_exeext'
83068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83069 (eval $ac_try) 2>&5
83070 ac_status=$?
83071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83072 (exit $ac_status); }; }; then
83073 eval "$as_ac_var=yes"
83074 else
83075 echo "$as_me: failed program was:" >&5
83076 sed 's/^/| /' conftest.$ac_ext >&5
83078 eval "$as_ac_var=no"
83080 rm -f conftest.err conftest.$ac_objext \
83081 conftest$ac_exeext conftest.$ac_ext
83083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83085 if test `eval echo '${'$as_ac_var'}'` = yes; then
83086 cat >>confdefs.h <<_ACEOF
83087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83088 _ACEOF
83090 else
83091 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83093 done
83097 for ac_func in __signbit
83099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83100 echo "$as_me:$LINENO: checking for $ac_func" >&5
83101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83102 if eval "test \"\${$as_ac_var+set}\" = set"; then
83103 echo $ECHO_N "(cached) $ECHO_C" >&6
83104 else
83105 if test x$gcc_no_link = xyes; then
83106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83108 { (exit 1); exit 1; }; }
83110 cat >conftest.$ac_ext <<_ACEOF
83111 /* confdefs.h. */
83112 _ACEOF
83113 cat confdefs.h >>conftest.$ac_ext
83114 cat >>conftest.$ac_ext <<_ACEOF
83115 /* end confdefs.h. */
83116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83118 #define $ac_func innocuous_$ac_func
83120 /* System header to define __stub macros and hopefully few prototypes,
83121 which can conflict with char $ac_func (); below.
83122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83123 <limits.h> exists even on freestanding compilers. */
83125 #ifdef __STDC__
83126 # include <limits.h>
83127 #else
83128 # include <assert.h>
83129 #endif
83131 #undef $ac_func
83133 /* Override any gcc2 internal prototype to avoid an error. */
83134 #ifdef __cplusplus
83135 extern "C"
83137 #endif
83138 /* We use char because int might match the return type of a gcc2
83139 builtin and then its argument prototype would still apply. */
83140 char $ac_func ();
83141 /* The GNU C library defines this for functions which it implements
83142 to always fail with ENOSYS. Some functions are actually named
83143 something starting with __ and the normal name is an alias. */
83144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83145 choke me
83146 #else
83147 char (*f) () = $ac_func;
83148 #endif
83149 #ifdef __cplusplus
83151 #endif
83154 main ()
83156 return f != $ac_func;
83158 return 0;
83160 _ACEOF
83161 rm -f conftest.$ac_objext conftest$ac_exeext
83162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83163 (eval $ac_link) 2>conftest.er1
83164 ac_status=$?
83165 grep -v '^ *+' conftest.er1 >conftest.err
83166 rm -f conftest.er1
83167 cat conftest.err >&5
83168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83169 (exit $ac_status); } &&
83170 { ac_try='test -z "$ac_c_werror_flag"
83171 || test ! -s conftest.err'
83172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83173 (eval $ac_try) 2>&5
83174 ac_status=$?
83175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83176 (exit $ac_status); }; } &&
83177 { ac_try='test -s conftest$ac_exeext'
83178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83179 (eval $ac_try) 2>&5
83180 ac_status=$?
83181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83182 (exit $ac_status); }; }; then
83183 eval "$as_ac_var=yes"
83184 else
83185 echo "$as_me: failed program was:" >&5
83186 sed 's/^/| /' conftest.$ac_ext >&5
83188 eval "$as_ac_var=no"
83190 rm -f conftest.err conftest.$ac_objext \
83191 conftest$ac_exeext conftest.$ac_ext
83193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83195 if test `eval echo '${'$as_ac_var'}'` = yes; then
83196 cat >>confdefs.h <<_ACEOF
83197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83198 _ACEOF
83200 else
83201 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83203 done
83207 for ac_func in __signbitf
83209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83210 echo "$as_me:$LINENO: checking for $ac_func" >&5
83211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83212 if eval "test \"\${$as_ac_var+set}\" = set"; then
83213 echo $ECHO_N "(cached) $ECHO_C" >&6
83214 else
83215 if test x$gcc_no_link = xyes; then
83216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83218 { (exit 1); exit 1; }; }
83220 cat >conftest.$ac_ext <<_ACEOF
83221 /* confdefs.h. */
83222 _ACEOF
83223 cat confdefs.h >>conftest.$ac_ext
83224 cat >>conftest.$ac_ext <<_ACEOF
83225 /* end confdefs.h. */
83226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83228 #define $ac_func innocuous_$ac_func
83230 /* System header to define __stub macros and hopefully few prototypes,
83231 which can conflict with char $ac_func (); below.
83232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83233 <limits.h> exists even on freestanding compilers. */
83235 #ifdef __STDC__
83236 # include <limits.h>
83237 #else
83238 # include <assert.h>
83239 #endif
83241 #undef $ac_func
83243 /* Override any gcc2 internal prototype to avoid an error. */
83244 #ifdef __cplusplus
83245 extern "C"
83247 #endif
83248 /* We use char because int might match the return type of a gcc2
83249 builtin and then its argument prototype would still apply. */
83250 char $ac_func ();
83251 /* The GNU C library defines this for functions which it implements
83252 to always fail with ENOSYS. Some functions are actually named
83253 something starting with __ and the normal name is an alias. */
83254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83255 choke me
83256 #else
83257 char (*f) () = $ac_func;
83258 #endif
83259 #ifdef __cplusplus
83261 #endif
83264 main ()
83266 return f != $ac_func;
83268 return 0;
83270 _ACEOF
83271 rm -f conftest.$ac_objext conftest$ac_exeext
83272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83273 (eval $ac_link) 2>conftest.er1
83274 ac_status=$?
83275 grep -v '^ *+' conftest.er1 >conftest.err
83276 rm -f conftest.er1
83277 cat conftest.err >&5
83278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83279 (exit $ac_status); } &&
83280 { ac_try='test -z "$ac_c_werror_flag"
83281 || test ! -s conftest.err'
83282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83283 (eval $ac_try) 2>&5
83284 ac_status=$?
83285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83286 (exit $ac_status); }; } &&
83287 { ac_try='test -s conftest$ac_exeext'
83288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83289 (eval $ac_try) 2>&5
83290 ac_status=$?
83291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83292 (exit $ac_status); }; }; then
83293 eval "$as_ac_var=yes"
83294 else
83295 echo "$as_me: failed program was:" >&5
83296 sed 's/^/| /' conftest.$ac_ext >&5
83298 eval "$as_ac_var=no"
83300 rm -f conftest.err conftest.$ac_objext \
83301 conftest$ac_exeext conftest.$ac_ext
83303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83305 if test `eval echo '${'$as_ac_var'}'` = yes; then
83306 cat >>confdefs.h <<_ACEOF
83307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83308 _ACEOF
83310 else
83311 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83313 done
83316 if test x$ac_cv_func_copysignl = x"yes"; then
83318 for ac_func in __signbitl
83320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83321 echo "$as_me:$LINENO: checking for $ac_func" >&5
83322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83323 if eval "test \"\${$as_ac_var+set}\" = set"; then
83324 echo $ECHO_N "(cached) $ECHO_C" >&6
83325 else
83326 if test x$gcc_no_link = xyes; then
83327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83329 { (exit 1); exit 1; }; }
83331 cat >conftest.$ac_ext <<_ACEOF
83332 /* confdefs.h. */
83333 _ACEOF
83334 cat confdefs.h >>conftest.$ac_ext
83335 cat >>conftest.$ac_ext <<_ACEOF
83336 /* end confdefs.h. */
83337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83339 #define $ac_func innocuous_$ac_func
83341 /* System header to define __stub macros and hopefully few prototypes,
83342 which can conflict with char $ac_func (); below.
83343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83344 <limits.h> exists even on freestanding compilers. */
83346 #ifdef __STDC__
83347 # include <limits.h>
83348 #else
83349 # include <assert.h>
83350 #endif
83352 #undef $ac_func
83354 /* Override any gcc2 internal prototype to avoid an error. */
83355 #ifdef __cplusplus
83356 extern "C"
83358 #endif
83359 /* We use char because int might match the return type of a gcc2
83360 builtin and then its argument prototype would still apply. */
83361 char $ac_func ();
83362 /* The GNU C library defines this for functions which it implements
83363 to always fail with ENOSYS. Some functions are actually named
83364 something starting with __ and the normal name is an alias. */
83365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83366 choke me
83367 #else
83368 char (*f) () = $ac_func;
83369 #endif
83370 #ifdef __cplusplus
83372 #endif
83375 main ()
83377 return f != $ac_func;
83379 return 0;
83381 _ACEOF
83382 rm -f conftest.$ac_objext conftest$ac_exeext
83383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83384 (eval $ac_link) 2>conftest.er1
83385 ac_status=$?
83386 grep -v '^ *+' conftest.er1 >conftest.err
83387 rm -f conftest.er1
83388 cat conftest.err >&5
83389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83390 (exit $ac_status); } &&
83391 { ac_try='test -z "$ac_c_werror_flag"
83392 || test ! -s conftest.err'
83393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83394 (eval $ac_try) 2>&5
83395 ac_status=$?
83396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83397 (exit $ac_status); }; } &&
83398 { ac_try='test -s conftest$ac_exeext'
83399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83400 (eval $ac_try) 2>&5
83401 ac_status=$?
83402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83403 (exit $ac_status); }; }; then
83404 eval "$as_ac_var=yes"
83405 else
83406 echo "$as_me: failed program was:" >&5
83407 sed 's/^/| /' conftest.$ac_ext >&5
83409 eval "$as_ac_var=no"
83411 rm -f conftest.err conftest.$ac_objext \
83412 conftest$ac_exeext conftest.$ac_ext
83414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83416 if test `eval echo '${'$as_ac_var'}'` = yes; then
83417 cat >>confdefs.h <<_ACEOF
83418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83419 _ACEOF
83421 else
83422 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83424 done
83428 # Used in libmath/Makefile.am.
83429 if test -n "$LIBMATHOBJS"; then
83430 need_libmath=yes
83435 # Test wchar.h for mbstate_t, which is needed for char_traits and
83436 # others even if wchar_t support is not on.
83437 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83438 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83439 cat >conftest.$ac_ext <<_ACEOF
83440 /* confdefs.h. */
83441 _ACEOF
83442 cat confdefs.h >>conftest.$ac_ext
83443 cat >>conftest.$ac_ext <<_ACEOF
83444 /* end confdefs.h. */
83445 #include <wchar.h>
83447 main ()
83449 mbstate_t teststate;
83451 return 0;
83453 _ACEOF
83454 rm -f conftest.$ac_objext
83455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83456 (eval $ac_compile) 2>conftest.er1
83457 ac_status=$?
83458 grep -v '^ *+' conftest.er1 >conftest.err
83459 rm -f conftest.er1
83460 cat conftest.err >&5
83461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83462 (exit $ac_status); } &&
83463 { ac_try='test -z "$ac_c_werror_flag"
83464 || test ! -s conftest.err'
83465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83466 (eval $ac_try) 2>&5
83467 ac_status=$?
83468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83469 (exit $ac_status); }; } &&
83470 { ac_try='test -s conftest.$ac_objext'
83471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83472 (eval $ac_try) 2>&5
83473 ac_status=$?
83474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83475 (exit $ac_status); }; }; then
83476 have_mbstate_t=yes
83477 else
83478 echo "$as_me: failed program was:" >&5
83479 sed 's/^/| /' conftest.$ac_ext >&5
83481 have_mbstate_t=no
83483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83484 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83485 echo "${ECHO_T}$have_mbstate_t" >&6
83486 if test x"$have_mbstate_t" = xyes; then
83487 cat >>confdefs.h <<\_ACEOF
83488 #define HAVE_MBSTATE_T 1
83489 _ACEOF
83493 # Sanity check for existence of ISO C99 headers for extended encoding.
83495 for ac_header in wchar.h
83497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83499 echo "$as_me:$LINENO: checking for $ac_header" >&5
83500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83502 echo $ECHO_N "(cached) $ECHO_C" >&6
83504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83506 else
83507 # Is the header compilable?
83508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83510 cat >conftest.$ac_ext <<_ACEOF
83511 /* confdefs.h. */
83512 _ACEOF
83513 cat confdefs.h >>conftest.$ac_ext
83514 cat >>conftest.$ac_ext <<_ACEOF
83515 /* end confdefs.h. */
83516 $ac_includes_default
83517 #include <$ac_header>
83518 _ACEOF
83519 rm -f conftest.$ac_objext
83520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83521 (eval $ac_compile) 2>conftest.er1
83522 ac_status=$?
83523 grep -v '^ *+' conftest.er1 >conftest.err
83524 rm -f conftest.er1
83525 cat conftest.err >&5
83526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83527 (exit $ac_status); } &&
83528 { ac_try='test -z "$ac_c_werror_flag"
83529 || test ! -s conftest.err'
83530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83531 (eval $ac_try) 2>&5
83532 ac_status=$?
83533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83534 (exit $ac_status); }; } &&
83535 { ac_try='test -s conftest.$ac_objext'
83536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83537 (eval $ac_try) 2>&5
83538 ac_status=$?
83539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83540 (exit $ac_status); }; }; then
83541 ac_header_compiler=yes
83542 else
83543 echo "$as_me: failed program was:" >&5
83544 sed 's/^/| /' conftest.$ac_ext >&5
83546 ac_header_compiler=no
83548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83550 echo "${ECHO_T}$ac_header_compiler" >&6
83552 # Is the header present?
83553 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83555 cat >conftest.$ac_ext <<_ACEOF
83556 /* confdefs.h. */
83557 _ACEOF
83558 cat confdefs.h >>conftest.$ac_ext
83559 cat >>conftest.$ac_ext <<_ACEOF
83560 /* end confdefs.h. */
83561 #include <$ac_header>
83562 _ACEOF
83563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83565 ac_status=$?
83566 grep -v '^ *+' conftest.er1 >conftest.err
83567 rm -f conftest.er1
83568 cat conftest.err >&5
83569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83570 (exit $ac_status); } >/dev/null; then
83571 if test -s conftest.err; then
83572 ac_cpp_err=$ac_c_preproc_warn_flag
83573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83574 else
83575 ac_cpp_err=
83577 else
83578 ac_cpp_err=yes
83580 if test -z "$ac_cpp_err"; then
83581 ac_header_preproc=yes
83582 else
83583 echo "$as_me: failed program was:" >&5
83584 sed 's/^/| /' conftest.$ac_ext >&5
83586 ac_header_preproc=no
83588 rm -f conftest.err conftest.$ac_ext
83589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83590 echo "${ECHO_T}$ac_header_preproc" >&6
83592 # So? What about this header?
83593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83594 yes:no: )
83595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83599 ac_header_preproc=yes
83601 no:yes:* )
83602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83615 cat <<\_ASBOX
83616 ## ----------------------------------------- ##
83617 ## Report this to the package-unused lists. ##
83618 ## ----------------------------------------- ##
83619 _ASBOX
83621 sed "s/^/$as_me: WARNING: /" >&2
83623 esac
83624 echo "$as_me:$LINENO: checking for $ac_header" >&5
83625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83627 echo $ECHO_N "(cached) $ECHO_C" >&6
83628 else
83629 eval "$as_ac_Header=\$ac_header_preproc"
83631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83636 cat >>confdefs.h <<_ACEOF
83637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83638 _ACEOF
83639 ac_has_wchar_h=yes
83640 else
83641 ac_has_wchar_h=no
83644 done
83647 for ac_header in wctype.h
83649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83651 echo "$as_me:$LINENO: checking for $ac_header" >&5
83652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83654 echo $ECHO_N "(cached) $ECHO_C" >&6
83656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83658 else
83659 # Is the header compilable?
83660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83662 cat >conftest.$ac_ext <<_ACEOF
83663 /* confdefs.h. */
83664 _ACEOF
83665 cat confdefs.h >>conftest.$ac_ext
83666 cat >>conftest.$ac_ext <<_ACEOF
83667 /* end confdefs.h. */
83668 $ac_includes_default
83669 #include <$ac_header>
83670 _ACEOF
83671 rm -f conftest.$ac_objext
83672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83673 (eval $ac_compile) 2>conftest.er1
83674 ac_status=$?
83675 grep -v '^ *+' conftest.er1 >conftest.err
83676 rm -f conftest.er1
83677 cat conftest.err >&5
83678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83679 (exit $ac_status); } &&
83680 { ac_try='test -z "$ac_c_werror_flag"
83681 || test ! -s conftest.err'
83682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83683 (eval $ac_try) 2>&5
83684 ac_status=$?
83685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83686 (exit $ac_status); }; } &&
83687 { ac_try='test -s conftest.$ac_objext'
83688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83689 (eval $ac_try) 2>&5
83690 ac_status=$?
83691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83692 (exit $ac_status); }; }; then
83693 ac_header_compiler=yes
83694 else
83695 echo "$as_me: failed program was:" >&5
83696 sed 's/^/| /' conftest.$ac_ext >&5
83698 ac_header_compiler=no
83700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83702 echo "${ECHO_T}$ac_header_compiler" >&6
83704 # Is the header present?
83705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83707 cat >conftest.$ac_ext <<_ACEOF
83708 /* confdefs.h. */
83709 _ACEOF
83710 cat confdefs.h >>conftest.$ac_ext
83711 cat >>conftest.$ac_ext <<_ACEOF
83712 /* end confdefs.h. */
83713 #include <$ac_header>
83714 _ACEOF
83715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83717 ac_status=$?
83718 grep -v '^ *+' conftest.er1 >conftest.err
83719 rm -f conftest.er1
83720 cat conftest.err >&5
83721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83722 (exit $ac_status); } >/dev/null; then
83723 if test -s conftest.err; then
83724 ac_cpp_err=$ac_c_preproc_warn_flag
83725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83726 else
83727 ac_cpp_err=
83729 else
83730 ac_cpp_err=yes
83732 if test -z "$ac_cpp_err"; then
83733 ac_header_preproc=yes
83734 else
83735 echo "$as_me: failed program was:" >&5
83736 sed 's/^/| /' conftest.$ac_ext >&5
83738 ac_header_preproc=no
83740 rm -f conftest.err conftest.$ac_ext
83741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83742 echo "${ECHO_T}$ac_header_preproc" >&6
83744 # So? What about this header?
83745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83746 yes:no: )
83747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83751 ac_header_preproc=yes
83753 no:yes:* )
83754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83767 cat <<\_ASBOX
83768 ## ----------------------------------------- ##
83769 ## Report this to the package-unused lists. ##
83770 ## ----------------------------------------- ##
83771 _ASBOX
83773 sed "s/^/$as_me: WARNING: /" >&2
83775 esac
83776 echo "$as_me:$LINENO: checking for $ac_header" >&5
83777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83779 echo $ECHO_N "(cached) $ECHO_C" >&6
83780 else
83781 eval "$as_ac_Header=\$ac_header_preproc"
83783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83788 cat >>confdefs.h <<_ACEOF
83789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83790 _ACEOF
83791 ac_has_wctype_h=yes
83792 else
83793 ac_has_wctype_h=no
83796 done
83799 # Only continue checking if the ISO C99 headers exist and support is on.
83800 if test x"$ac_has_wchar_h" = xyes &&
83801 test x"$ac_has_wctype_h" = xyes &&
83802 test x"$enable_c_mbchar" != xno; then
83804 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83805 # numeric_limits can instantiate type_traits<wchar_t>
83806 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83807 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83808 cat >conftest.$ac_ext <<_ACEOF
83809 /* confdefs.h. */
83810 _ACEOF
83811 cat confdefs.h >>conftest.$ac_ext
83812 cat >>conftest.$ac_ext <<_ACEOF
83813 /* end confdefs.h. */
83814 #include <wchar.h>
83816 main ()
83818 int i = WCHAR_MIN; int j = WCHAR_MAX;
83820 return 0;
83822 _ACEOF
83823 rm -f conftest.$ac_objext
83824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83825 (eval $ac_compile) 2>conftest.er1
83826 ac_status=$?
83827 grep -v '^ *+' conftest.er1 >conftest.err
83828 rm -f conftest.er1
83829 cat conftest.err >&5
83830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83831 (exit $ac_status); } &&
83832 { ac_try='test -z "$ac_c_werror_flag"
83833 || test ! -s conftest.err'
83834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83835 (eval $ac_try) 2>&5
83836 ac_status=$?
83837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83838 (exit $ac_status); }; } &&
83839 { ac_try='test -s conftest.$ac_objext'
83840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83841 (eval $ac_try) 2>&5
83842 ac_status=$?
83843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83844 (exit $ac_status); }; }; then
83845 has_wchar_minmax=yes
83846 else
83847 echo "$as_me: failed program was:" >&5
83848 sed 's/^/| /' conftest.$ac_ext >&5
83850 has_wchar_minmax=no
83852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83853 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83854 echo "${ECHO_T}$has_wchar_minmax" >&6
83856 # Test wchar.h for WEOF, which is what we use to determine whether
83857 # to specialize for char_traits<wchar_t> or not.
83858 echo "$as_me:$LINENO: checking for WEOF" >&5
83859 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83860 cat >conftest.$ac_ext <<_ACEOF
83861 /* confdefs.h. */
83862 _ACEOF
83863 cat confdefs.h >>conftest.$ac_ext
83864 cat >>conftest.$ac_ext <<_ACEOF
83865 /* end confdefs.h. */
83867 #include <wchar.h>
83868 #include <stddef.h>
83870 main ()
83872 wint_t i = WEOF;
83874 return 0;
83876 _ACEOF
83877 rm -f conftest.$ac_objext
83878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83879 (eval $ac_compile) 2>conftest.er1
83880 ac_status=$?
83881 grep -v '^ *+' conftest.er1 >conftest.err
83882 rm -f conftest.er1
83883 cat conftest.err >&5
83884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83885 (exit $ac_status); } &&
83886 { ac_try='test -z "$ac_c_werror_flag"
83887 || test ! -s conftest.err'
83888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83889 (eval $ac_try) 2>&5
83890 ac_status=$?
83891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83892 (exit $ac_status); }; } &&
83893 { ac_try='test -s conftest.$ac_objext'
83894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83895 (eval $ac_try) 2>&5
83896 ac_status=$?
83897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83898 (exit $ac_status); }; }; then
83899 has_weof=yes
83900 else
83901 echo "$as_me: failed program was:" >&5
83902 sed 's/^/| /' conftest.$ac_ext >&5
83904 has_weof=no
83906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83907 echo "$as_me:$LINENO: result: $has_weof" >&5
83908 echo "${ECHO_T}$has_weof" >&6
83910 # Tests for wide character functions used in char_traits<wchar_t>.
83911 ac_wfuncs=yes
83918 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83921 echo "$as_me:$LINENO: checking for $ac_func" >&5
83922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83923 if eval "test \"\${$as_ac_var+set}\" = set"; then
83924 echo $ECHO_N "(cached) $ECHO_C" >&6
83925 else
83926 if test x$gcc_no_link = xyes; then
83927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83929 { (exit 1); exit 1; }; }
83931 cat >conftest.$ac_ext <<_ACEOF
83932 /* confdefs.h. */
83933 _ACEOF
83934 cat confdefs.h >>conftest.$ac_ext
83935 cat >>conftest.$ac_ext <<_ACEOF
83936 /* end confdefs.h. */
83937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83939 #define $ac_func innocuous_$ac_func
83941 /* System header to define __stub macros and hopefully few prototypes,
83942 which can conflict with char $ac_func (); below.
83943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83944 <limits.h> exists even on freestanding compilers. */
83946 #ifdef __STDC__
83947 # include <limits.h>
83948 #else
83949 # include <assert.h>
83950 #endif
83952 #undef $ac_func
83954 /* Override any gcc2 internal prototype to avoid an error. */
83955 #ifdef __cplusplus
83956 extern "C"
83958 #endif
83959 /* We use char because int might match the return type of a gcc2
83960 builtin and then its argument prototype would still apply. */
83961 char $ac_func ();
83962 /* The GNU C library defines this for functions which it implements
83963 to always fail with ENOSYS. Some functions are actually named
83964 something starting with __ and the normal name is an alias. */
83965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83966 choke me
83967 #else
83968 char (*f) () = $ac_func;
83969 #endif
83970 #ifdef __cplusplus
83972 #endif
83975 main ()
83977 return f != $ac_func;
83979 return 0;
83981 _ACEOF
83982 rm -f conftest.$ac_objext conftest$ac_exeext
83983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83984 (eval $ac_link) 2>conftest.er1
83985 ac_status=$?
83986 grep -v '^ *+' conftest.er1 >conftest.err
83987 rm -f conftest.er1
83988 cat conftest.err >&5
83989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83990 (exit $ac_status); } &&
83991 { ac_try='test -z "$ac_c_werror_flag"
83992 || test ! -s conftest.err'
83993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83994 (eval $ac_try) 2>&5
83995 ac_status=$?
83996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83997 (exit $ac_status); }; } &&
83998 { ac_try='test -s conftest$ac_exeext'
83999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84000 (eval $ac_try) 2>&5
84001 ac_status=$?
84002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84003 (exit $ac_status); }; }; then
84004 eval "$as_ac_var=yes"
84005 else
84006 echo "$as_me: failed program was:" >&5
84007 sed 's/^/| /' conftest.$ac_ext >&5
84009 eval "$as_ac_var=no"
84011 rm -f conftest.err conftest.$ac_objext \
84012 conftest$ac_exeext conftest.$ac_ext
84014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84016 if test `eval echo '${'$as_ac_var'}'` = yes; then
84017 cat >>confdefs.h <<_ACEOF
84018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84019 _ACEOF
84021 else
84022 ac_wfuncs=no
84024 done
84027 # Checks for names injected into std:: by the c_std headers.
84074 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84075 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84076 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84077 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84078 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84079 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84082 echo "$as_me:$LINENO: checking for $ac_func" >&5
84083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84084 if eval "test \"\${$as_ac_var+set}\" = set"; then
84085 echo $ECHO_N "(cached) $ECHO_C" >&6
84086 else
84087 if test x$gcc_no_link = xyes; then
84088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84090 { (exit 1); exit 1; }; }
84092 cat >conftest.$ac_ext <<_ACEOF
84093 /* confdefs.h. */
84094 _ACEOF
84095 cat confdefs.h >>conftest.$ac_ext
84096 cat >>conftest.$ac_ext <<_ACEOF
84097 /* end confdefs.h. */
84098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84100 #define $ac_func innocuous_$ac_func
84102 /* System header to define __stub macros and hopefully few prototypes,
84103 which can conflict with char $ac_func (); below.
84104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84105 <limits.h> exists even on freestanding compilers. */
84107 #ifdef __STDC__
84108 # include <limits.h>
84109 #else
84110 # include <assert.h>
84111 #endif
84113 #undef $ac_func
84115 /* Override any gcc2 internal prototype to avoid an error. */
84116 #ifdef __cplusplus
84117 extern "C"
84119 #endif
84120 /* We use char because int might match the return type of a gcc2
84121 builtin and then its argument prototype would still apply. */
84122 char $ac_func ();
84123 /* The GNU C library defines this for functions which it implements
84124 to always fail with ENOSYS. Some functions are actually named
84125 something starting with __ and the normal name is an alias. */
84126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84127 choke me
84128 #else
84129 char (*f) () = $ac_func;
84130 #endif
84131 #ifdef __cplusplus
84133 #endif
84136 main ()
84138 return f != $ac_func;
84140 return 0;
84142 _ACEOF
84143 rm -f conftest.$ac_objext conftest$ac_exeext
84144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84145 (eval $ac_link) 2>conftest.er1
84146 ac_status=$?
84147 grep -v '^ *+' conftest.er1 >conftest.err
84148 rm -f conftest.er1
84149 cat conftest.err >&5
84150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84151 (exit $ac_status); } &&
84152 { ac_try='test -z "$ac_c_werror_flag"
84153 || test ! -s conftest.err'
84154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84155 (eval $ac_try) 2>&5
84156 ac_status=$?
84157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84158 (exit $ac_status); }; } &&
84159 { ac_try='test -s conftest$ac_exeext'
84160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84161 (eval $ac_try) 2>&5
84162 ac_status=$?
84163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84164 (exit $ac_status); }; }; then
84165 eval "$as_ac_var=yes"
84166 else
84167 echo "$as_me: failed program was:" >&5
84168 sed 's/^/| /' conftest.$ac_ext >&5
84170 eval "$as_ac_var=no"
84172 rm -f conftest.err conftest.$ac_objext \
84173 conftest$ac_exeext conftest.$ac_ext
84175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84177 if test `eval echo '${'$as_ac_var'}'` = yes; then
84178 cat >>confdefs.h <<_ACEOF
84179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84180 _ACEOF
84182 else
84183 ac_wfuncs=no
84185 done
84188 # Checks for wide character functions that are not required
84189 # for basic wchar_t support. Don't disable support if they are missing.
84190 # Injection of these is wrapped with guard macros.
84196 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84199 echo "$as_me:$LINENO: checking for $ac_func" >&5
84200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84201 if eval "test \"\${$as_ac_var+set}\" = set"; then
84202 echo $ECHO_N "(cached) $ECHO_C" >&6
84203 else
84204 if test x$gcc_no_link = xyes; then
84205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84207 { (exit 1); exit 1; }; }
84209 cat >conftest.$ac_ext <<_ACEOF
84210 /* confdefs.h. */
84211 _ACEOF
84212 cat confdefs.h >>conftest.$ac_ext
84213 cat >>conftest.$ac_ext <<_ACEOF
84214 /* end confdefs.h. */
84215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84217 #define $ac_func innocuous_$ac_func
84219 /* System header to define __stub macros and hopefully few prototypes,
84220 which can conflict with char $ac_func (); below.
84221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84222 <limits.h> exists even on freestanding compilers. */
84224 #ifdef __STDC__
84225 # include <limits.h>
84226 #else
84227 # include <assert.h>
84228 #endif
84230 #undef $ac_func
84232 /* Override any gcc2 internal prototype to avoid an error. */
84233 #ifdef __cplusplus
84234 extern "C"
84236 #endif
84237 /* We use char because int might match the return type of a gcc2
84238 builtin and then its argument prototype would still apply. */
84239 char $ac_func ();
84240 /* The GNU C library defines this for functions which it implements
84241 to always fail with ENOSYS. Some functions are actually named
84242 something starting with __ and the normal name is an alias. */
84243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84244 choke me
84245 #else
84246 char (*f) () = $ac_func;
84247 #endif
84248 #ifdef __cplusplus
84250 #endif
84253 main ()
84255 return f != $ac_func;
84257 return 0;
84259 _ACEOF
84260 rm -f conftest.$ac_objext conftest$ac_exeext
84261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84262 (eval $ac_link) 2>conftest.er1
84263 ac_status=$?
84264 grep -v '^ *+' conftest.er1 >conftest.err
84265 rm -f conftest.er1
84266 cat conftest.err >&5
84267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84268 (exit $ac_status); } &&
84269 { ac_try='test -z "$ac_c_werror_flag"
84270 || test ! -s conftest.err'
84271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84272 (eval $ac_try) 2>&5
84273 ac_status=$?
84274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84275 (exit $ac_status); }; } &&
84276 { ac_try='test -s conftest$ac_exeext'
84277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84278 (eval $ac_try) 2>&5
84279 ac_status=$?
84280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84281 (exit $ac_status); }; }; then
84282 eval "$as_ac_var=yes"
84283 else
84284 echo "$as_me: failed program was:" >&5
84285 sed 's/^/| /' conftest.$ac_ext >&5
84287 eval "$as_ac_var=no"
84289 rm -f conftest.err conftest.$ac_objext \
84290 conftest$ac_exeext conftest.$ac_ext
84292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84294 if test `eval echo '${'$as_ac_var'}'` = yes; then
84295 cat >>confdefs.h <<_ACEOF
84296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84297 _ACEOF
84300 done
84303 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84304 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84305 if test x"$has_weof" = xyes &&
84306 test x"$has_wchar_minmax" = xyes &&
84307 test x"$ac_wfuncs" = xyes;
84308 then
84309 ac_isoC99_wchar_t=yes
84310 else
84311 ac_isoC99_wchar_t=no
84313 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84314 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84316 # Use iconv for wchar_t to char conversions. As such, check for
84317 # X/Open Portability Guide, version 2 features (XPG2).
84318 if test "${ac_cv_header_iconv_h+set}" = set; then
84319 echo "$as_me:$LINENO: checking for iconv.h" >&5
84320 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84321 if test "${ac_cv_header_iconv_h+set}" = set; then
84322 echo $ECHO_N "(cached) $ECHO_C" >&6
84324 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84325 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84326 else
84327 # Is the header compilable?
84328 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84329 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84330 cat >conftest.$ac_ext <<_ACEOF
84331 /* confdefs.h. */
84332 _ACEOF
84333 cat confdefs.h >>conftest.$ac_ext
84334 cat >>conftest.$ac_ext <<_ACEOF
84335 /* end confdefs.h. */
84336 $ac_includes_default
84337 #include <iconv.h>
84338 _ACEOF
84339 rm -f conftest.$ac_objext
84340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84341 (eval $ac_compile) 2>conftest.er1
84342 ac_status=$?
84343 grep -v '^ *+' conftest.er1 >conftest.err
84344 rm -f conftest.er1
84345 cat conftest.err >&5
84346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84347 (exit $ac_status); } &&
84348 { ac_try='test -z "$ac_c_werror_flag"
84349 || test ! -s conftest.err'
84350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84351 (eval $ac_try) 2>&5
84352 ac_status=$?
84353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84354 (exit $ac_status); }; } &&
84355 { ac_try='test -s conftest.$ac_objext'
84356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84357 (eval $ac_try) 2>&5
84358 ac_status=$?
84359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84360 (exit $ac_status); }; }; then
84361 ac_header_compiler=yes
84362 else
84363 echo "$as_me: failed program was:" >&5
84364 sed 's/^/| /' conftest.$ac_ext >&5
84366 ac_header_compiler=no
84368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84370 echo "${ECHO_T}$ac_header_compiler" >&6
84372 # Is the header present?
84373 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84374 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84375 cat >conftest.$ac_ext <<_ACEOF
84376 /* confdefs.h. */
84377 _ACEOF
84378 cat confdefs.h >>conftest.$ac_ext
84379 cat >>conftest.$ac_ext <<_ACEOF
84380 /* end confdefs.h. */
84381 #include <iconv.h>
84382 _ACEOF
84383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84385 ac_status=$?
84386 grep -v '^ *+' conftest.er1 >conftest.err
84387 rm -f conftest.er1
84388 cat conftest.err >&5
84389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84390 (exit $ac_status); } >/dev/null; then
84391 if test -s conftest.err; then
84392 ac_cpp_err=$ac_c_preproc_warn_flag
84393 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84394 else
84395 ac_cpp_err=
84397 else
84398 ac_cpp_err=yes
84400 if test -z "$ac_cpp_err"; then
84401 ac_header_preproc=yes
84402 else
84403 echo "$as_me: failed program was:" >&5
84404 sed 's/^/| /' conftest.$ac_ext >&5
84406 ac_header_preproc=no
84408 rm -f conftest.err conftest.$ac_ext
84409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84410 echo "${ECHO_T}$ac_header_preproc" >&6
84412 # So? What about this header?
84413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84414 yes:no: )
84415 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84416 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84417 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84418 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84419 ac_header_preproc=yes
84421 no:yes:* )
84422 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84423 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84424 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84425 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84426 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84427 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84428 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84429 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84430 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84431 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84432 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84433 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84435 cat <<\_ASBOX
84436 ## ----------------------------------------- ##
84437 ## Report this to the package-unused lists. ##
84438 ## ----------------------------------------- ##
84439 _ASBOX
84441 sed "s/^/$as_me: WARNING: /" >&2
84443 esac
84444 echo "$as_me:$LINENO: checking for iconv.h" >&5
84445 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84446 if test "${ac_cv_header_iconv_h+set}" = set; then
84447 echo $ECHO_N "(cached) $ECHO_C" >&6
84448 else
84449 ac_cv_header_iconv_h=$ac_header_preproc
84451 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84452 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84455 if test $ac_cv_header_iconv_h = yes; then
84456 ac_has_iconv_h=yes
84457 else
84458 ac_has_iconv_h=no
84462 if test "${ac_cv_header_langinfo_h+set}" = set; then
84463 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84464 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84465 if test "${ac_cv_header_langinfo_h+set}" = set; then
84466 echo $ECHO_N "(cached) $ECHO_C" >&6
84468 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84469 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84470 else
84471 # Is the header compilable?
84472 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84473 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84474 cat >conftest.$ac_ext <<_ACEOF
84475 /* confdefs.h. */
84476 _ACEOF
84477 cat confdefs.h >>conftest.$ac_ext
84478 cat >>conftest.$ac_ext <<_ACEOF
84479 /* end confdefs.h. */
84480 $ac_includes_default
84481 #include <langinfo.h>
84482 _ACEOF
84483 rm -f conftest.$ac_objext
84484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84485 (eval $ac_compile) 2>conftest.er1
84486 ac_status=$?
84487 grep -v '^ *+' conftest.er1 >conftest.err
84488 rm -f conftest.er1
84489 cat conftest.err >&5
84490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84491 (exit $ac_status); } &&
84492 { ac_try='test -z "$ac_c_werror_flag"
84493 || test ! -s conftest.err'
84494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84495 (eval $ac_try) 2>&5
84496 ac_status=$?
84497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84498 (exit $ac_status); }; } &&
84499 { ac_try='test -s conftest.$ac_objext'
84500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84501 (eval $ac_try) 2>&5
84502 ac_status=$?
84503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84504 (exit $ac_status); }; }; then
84505 ac_header_compiler=yes
84506 else
84507 echo "$as_me: failed program was:" >&5
84508 sed 's/^/| /' conftest.$ac_ext >&5
84510 ac_header_compiler=no
84512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84514 echo "${ECHO_T}$ac_header_compiler" >&6
84516 # Is the header present?
84517 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84518 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84519 cat >conftest.$ac_ext <<_ACEOF
84520 /* confdefs.h. */
84521 _ACEOF
84522 cat confdefs.h >>conftest.$ac_ext
84523 cat >>conftest.$ac_ext <<_ACEOF
84524 /* end confdefs.h. */
84525 #include <langinfo.h>
84526 _ACEOF
84527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84529 ac_status=$?
84530 grep -v '^ *+' conftest.er1 >conftest.err
84531 rm -f conftest.er1
84532 cat conftest.err >&5
84533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84534 (exit $ac_status); } >/dev/null; then
84535 if test -s conftest.err; then
84536 ac_cpp_err=$ac_c_preproc_warn_flag
84537 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84538 else
84539 ac_cpp_err=
84541 else
84542 ac_cpp_err=yes
84544 if test -z "$ac_cpp_err"; then
84545 ac_header_preproc=yes
84546 else
84547 echo "$as_me: failed program was:" >&5
84548 sed 's/^/| /' conftest.$ac_ext >&5
84550 ac_header_preproc=no
84552 rm -f conftest.err conftest.$ac_ext
84553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84554 echo "${ECHO_T}$ac_header_preproc" >&6
84556 # So? What about this header?
84557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84558 yes:no: )
84559 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84560 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84561 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84562 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84563 ac_header_preproc=yes
84565 no:yes:* )
84566 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84567 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84568 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84569 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84570 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84571 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84572 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84573 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84574 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84575 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84576 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84577 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84579 cat <<\_ASBOX
84580 ## ----------------------------------------- ##
84581 ## Report this to the package-unused lists. ##
84582 ## ----------------------------------------- ##
84583 _ASBOX
84585 sed "s/^/$as_me: WARNING: /" >&2
84587 esac
84588 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84589 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84590 if test "${ac_cv_header_langinfo_h+set}" = set; then
84591 echo $ECHO_N "(cached) $ECHO_C" >&6
84592 else
84593 ac_cv_header_langinfo_h=$ac_header_preproc
84595 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84596 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84599 if test $ac_cv_header_langinfo_h = yes; then
84600 ac_has_langinfo_h=yes
84601 else
84602 ac_has_langinfo_h=no
84607 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84608 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84609 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84610 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84611 echo $ECHO_N "(cached) $ECHO_C" >&6
84612 else
84613 ac_check_lib_save_LIBS=$LIBS
84614 LIBS="-liconv $LIBS"
84615 if test x$gcc_no_link = xyes; then
84616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84618 { (exit 1); exit 1; }; }
84620 cat >conftest.$ac_ext <<_ACEOF
84621 /* confdefs.h. */
84622 _ACEOF
84623 cat confdefs.h >>conftest.$ac_ext
84624 cat >>conftest.$ac_ext <<_ACEOF
84625 /* end confdefs.h. */
84627 /* Override any gcc2 internal prototype to avoid an error. */
84628 #ifdef __cplusplus
84629 extern "C"
84630 #endif
84631 /* We use char because int might match the return type of a gcc2
84632 builtin and then its argument prototype would still apply. */
84633 char iconv ();
84635 main ()
84637 iconv ();
84639 return 0;
84641 _ACEOF
84642 rm -f conftest.$ac_objext conftest$ac_exeext
84643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84644 (eval $ac_link) 2>conftest.er1
84645 ac_status=$?
84646 grep -v '^ *+' conftest.er1 >conftest.err
84647 rm -f conftest.er1
84648 cat conftest.err >&5
84649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84650 (exit $ac_status); } &&
84651 { ac_try='test -z "$ac_c_werror_flag"
84652 || test ! -s conftest.err'
84653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84654 (eval $ac_try) 2>&5
84655 ac_status=$?
84656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657 (exit $ac_status); }; } &&
84658 { ac_try='test -s conftest$ac_exeext'
84659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84660 (eval $ac_try) 2>&5
84661 ac_status=$?
84662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84663 (exit $ac_status); }; }; then
84664 ac_cv_lib_iconv_iconv=yes
84665 else
84666 echo "$as_me: failed program was:" >&5
84667 sed 's/^/| /' conftest.$ac_ext >&5
84669 ac_cv_lib_iconv_iconv=no
84671 rm -f conftest.err conftest.$ac_objext \
84672 conftest$ac_exeext conftest.$ac_ext
84673 LIBS=$ac_check_lib_save_LIBS
84675 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84676 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84677 if test $ac_cv_lib_iconv_iconv = yes; then
84678 LIBICONV="-liconv"
84681 ac_save_LIBS="$LIBS"
84682 LIBS="$LIBS $LIBICONV"
84689 for ac_func in iconv_open iconv_close iconv nl_langinfo
84691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84692 echo "$as_me:$LINENO: checking for $ac_func" >&5
84693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84694 if eval "test \"\${$as_ac_var+set}\" = set"; then
84695 echo $ECHO_N "(cached) $ECHO_C" >&6
84696 else
84697 if test x$gcc_no_link = xyes; then
84698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84700 { (exit 1); exit 1; }; }
84702 cat >conftest.$ac_ext <<_ACEOF
84703 /* confdefs.h. */
84704 _ACEOF
84705 cat confdefs.h >>conftest.$ac_ext
84706 cat >>conftest.$ac_ext <<_ACEOF
84707 /* end confdefs.h. */
84708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84710 #define $ac_func innocuous_$ac_func
84712 /* System header to define __stub macros and hopefully few prototypes,
84713 which can conflict with char $ac_func (); below.
84714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84715 <limits.h> exists even on freestanding compilers. */
84717 #ifdef __STDC__
84718 # include <limits.h>
84719 #else
84720 # include <assert.h>
84721 #endif
84723 #undef $ac_func
84725 /* Override any gcc2 internal prototype to avoid an error. */
84726 #ifdef __cplusplus
84727 extern "C"
84729 #endif
84730 /* We use char because int might match the return type of a gcc2
84731 builtin and then its argument prototype would still apply. */
84732 char $ac_func ();
84733 /* The GNU C library defines this for functions which it implements
84734 to always fail with ENOSYS. Some functions are actually named
84735 something starting with __ and the normal name is an alias. */
84736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84737 choke me
84738 #else
84739 char (*f) () = $ac_func;
84740 #endif
84741 #ifdef __cplusplus
84743 #endif
84746 main ()
84748 return f != $ac_func;
84750 return 0;
84752 _ACEOF
84753 rm -f conftest.$ac_objext conftest$ac_exeext
84754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84755 (eval $ac_link) 2>conftest.er1
84756 ac_status=$?
84757 grep -v '^ *+' conftest.er1 >conftest.err
84758 rm -f conftest.er1
84759 cat conftest.err >&5
84760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84761 (exit $ac_status); } &&
84762 { ac_try='test -z "$ac_c_werror_flag"
84763 || test ! -s conftest.err'
84764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84765 (eval $ac_try) 2>&5
84766 ac_status=$?
84767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84768 (exit $ac_status); }; } &&
84769 { ac_try='test -s conftest$ac_exeext'
84770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84771 (eval $ac_try) 2>&5
84772 ac_status=$?
84773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84774 (exit $ac_status); }; }; then
84775 eval "$as_ac_var=yes"
84776 else
84777 echo "$as_me: failed program was:" >&5
84778 sed 's/^/| /' conftest.$ac_ext >&5
84780 eval "$as_ac_var=no"
84782 rm -f conftest.err conftest.$ac_objext \
84783 conftest$ac_exeext conftest.$ac_ext
84785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84787 if test `eval echo '${'$as_ac_var'}'` = yes; then
84788 cat >>confdefs.h <<_ACEOF
84789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84790 _ACEOF
84791 ac_XPG2funcs=yes
84792 else
84793 ac_XPG2funcs=no
84795 done
84798 LIBS="$ac_save_LIBS"
84800 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84801 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84802 if test x"$ac_has_iconv_h" = xyes &&
84803 test x"$ac_has_langinfo_h" = xyes &&
84804 test x"$ac_XPG2funcs" = xyes;
84805 then
84806 ac_XPG2_wchar_t=yes
84807 else
84808 ac_XPG2_wchar_t=no
84810 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84811 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84813 # At the moment, only enable wchar_t specializations if all the
84814 # above support is present.
84815 if test x"$ac_isoC99_wchar_t" = xyes &&
84816 test x"$ac_XPG2_wchar_t" = xyes;
84817 then
84818 cat >>confdefs.h <<\_ACEOF
84819 #define _GLIBCXX_USE_WCHAR_T 1
84820 _ACEOF
84822 enable_wchar_t=yes
84825 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84826 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84827 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84828 echo "${ECHO_T}$enable_wchar_t" >&6
84831 *-netbsd*)
84844 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84845 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84846 fp.h locale.h float.h inttypes.h
84848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84850 echo "$as_me:$LINENO: checking for $ac_header" >&5
84851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84853 echo $ECHO_N "(cached) $ECHO_C" >&6
84855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84857 else
84858 # Is the header compilable?
84859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84861 cat >conftest.$ac_ext <<_ACEOF
84862 /* confdefs.h. */
84863 _ACEOF
84864 cat confdefs.h >>conftest.$ac_ext
84865 cat >>conftest.$ac_ext <<_ACEOF
84866 /* end confdefs.h. */
84867 $ac_includes_default
84868 #include <$ac_header>
84869 _ACEOF
84870 rm -f conftest.$ac_objext
84871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84872 (eval $ac_compile) 2>conftest.er1
84873 ac_status=$?
84874 grep -v '^ *+' conftest.er1 >conftest.err
84875 rm -f conftest.er1
84876 cat conftest.err >&5
84877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84878 (exit $ac_status); } &&
84879 { ac_try='test -z "$ac_c_werror_flag"
84880 || test ! -s conftest.err'
84881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84882 (eval $ac_try) 2>&5
84883 ac_status=$?
84884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84885 (exit $ac_status); }; } &&
84886 { ac_try='test -s conftest.$ac_objext'
84887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84888 (eval $ac_try) 2>&5
84889 ac_status=$?
84890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84891 (exit $ac_status); }; }; then
84892 ac_header_compiler=yes
84893 else
84894 echo "$as_me: failed program was:" >&5
84895 sed 's/^/| /' conftest.$ac_ext >&5
84897 ac_header_compiler=no
84899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84901 echo "${ECHO_T}$ac_header_compiler" >&6
84903 # Is the header present?
84904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84906 cat >conftest.$ac_ext <<_ACEOF
84907 /* confdefs.h. */
84908 _ACEOF
84909 cat confdefs.h >>conftest.$ac_ext
84910 cat >>conftest.$ac_ext <<_ACEOF
84911 /* end confdefs.h. */
84912 #include <$ac_header>
84913 _ACEOF
84914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84916 ac_status=$?
84917 grep -v '^ *+' conftest.er1 >conftest.err
84918 rm -f conftest.er1
84919 cat conftest.err >&5
84920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84921 (exit $ac_status); } >/dev/null; then
84922 if test -s conftest.err; then
84923 ac_cpp_err=$ac_c_preproc_warn_flag
84924 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84925 else
84926 ac_cpp_err=
84928 else
84929 ac_cpp_err=yes
84931 if test -z "$ac_cpp_err"; then
84932 ac_header_preproc=yes
84933 else
84934 echo "$as_me: failed program was:" >&5
84935 sed 's/^/| /' conftest.$ac_ext >&5
84937 ac_header_preproc=no
84939 rm -f conftest.err conftest.$ac_ext
84940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84941 echo "${ECHO_T}$ac_header_preproc" >&6
84943 # So? What about this header?
84944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84945 yes:no: )
84946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84950 ac_header_preproc=yes
84952 no:yes:* )
84953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84966 cat <<\_ASBOX
84967 ## ----------------------------------------- ##
84968 ## Report this to the package-unused lists. ##
84969 ## ----------------------------------------- ##
84970 _ASBOX
84972 sed "s/^/$as_me: WARNING: /" >&2
84974 esac
84975 echo "$as_me:$LINENO: checking for $ac_header" >&5
84976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84978 echo $ECHO_N "(cached) $ECHO_C" >&6
84979 else
84980 eval "$as_ac_Header=\$ac_header_preproc"
84982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84987 cat >>confdefs.h <<_ACEOF
84988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84989 _ACEOF
84993 done
84995 SECTION_FLAGS='-ffunction-sections -fdata-sections'
84998 # If we're not using GNU ld, then there's no point in even trying these
84999 # tests. Check for that first. We should have already tested for gld
85000 # by now (in libtool), but require it now just to be safe...
85001 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85002 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85006 # The name set by libtool depends on the version of libtool. Shame on us
85007 # for depending on an impl detail, but c'est la vie. Older versions used
85008 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85009 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85010 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85011 # set (hence we're using an older libtool), then set it.
85012 if test x${with_gnu_ld+set} != xset; then
85013 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85014 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85015 with_gnu_ld=no
85016 else
85017 with_gnu_ld=$ac_cv_prog_gnu_ld
85021 # Start by getting the version number. I think the libtool test already
85022 # does some of this, but throws away the result.
85024 ldver=`$LD --version 2>/dev/null | head -1 | \
85025 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85027 glibcxx_gnu_ld_version=`echo $ldver | \
85028 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85030 # Set --gc-sections.
85031 if test "$with_gnu_ld" = "notbroken"; then
85032 # GNU ld it is! Joy and bunny rabbits!
85034 # All these tests are for C++; save the language and the compiler flags.
85035 # Need to do this so that g++ won't try to link in libstdc++
85036 ac_test_CFLAGS="${CFLAGS+set}"
85037 ac_save_CFLAGS="$CFLAGS"
85038 CFLAGS='-x c++ -Wl,--gc-sections'
85040 # Check for -Wl,--gc-sections
85041 # XXX This test is broken at the moment, as symbols required for linking
85042 # are now in libsupc++ (not built yet). In addition, this test has
85043 # cored on solaris in the past. In addition, --gc-sections doesn't
85044 # really work at the moment (keeps on discarding used sections, first
85045 # .eh_frame and now some of the glibc sections for iconv).
85046 # Bzzzzt. Thanks for playing, maybe next time.
85047 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85048 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85049 if test "$cross_compiling" = yes; then
85050 ac_sectionLDflags=yes
85051 else
85052 cat >conftest.$ac_ext <<_ACEOF
85053 /* confdefs.h. */
85054 _ACEOF
85055 cat confdefs.h >>conftest.$ac_ext
85056 cat >>conftest.$ac_ext <<_ACEOF
85057 /* end confdefs.h. */
85059 int main(void)
85061 try { throw 1; }
85062 catch (...) { };
85063 return 0;
85066 _ACEOF
85067 rm -f conftest$ac_exeext
85068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85069 (eval $ac_link) 2>&5
85070 ac_status=$?
85071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85074 (eval $ac_try) 2>&5
85075 ac_status=$?
85076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85077 (exit $ac_status); }; }; then
85078 ac_sectionLDflags=yes
85079 else
85080 echo "$as_me: program exited with status $ac_status" >&5
85081 echo "$as_me: failed program was:" >&5
85082 sed 's/^/| /' conftest.$ac_ext >&5
85084 ( exit $ac_status )
85085 ac_sectionLDflags=no
85087 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85089 if test "$ac_test_CFLAGS" = set; then
85090 CFLAGS="$ac_save_CFLAGS"
85091 else
85092 # this is the suspicious part
85093 CFLAGS=''
85095 if test "$ac_sectionLDflags" = "yes"; then
85096 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85098 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85099 echo "${ECHO_T}$ac_sectionLDflags" >&6
85102 # Set linker optimization flags.
85103 if test x"$with_gnu_ld" = x"yes"; then
85104 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85112 echo "$as_me:$LINENO: checking for main in -lm" >&5
85113 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85114 if test "${ac_cv_lib_m_main+set}" = set; then
85115 echo $ECHO_N "(cached) $ECHO_C" >&6
85116 else
85117 ac_check_lib_save_LIBS=$LIBS
85118 LIBS="-lm $LIBS"
85119 if test x$gcc_no_link = xyes; then
85120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85122 { (exit 1); exit 1; }; }
85124 cat >conftest.$ac_ext <<_ACEOF
85125 /* confdefs.h. */
85126 _ACEOF
85127 cat confdefs.h >>conftest.$ac_ext
85128 cat >>conftest.$ac_ext <<_ACEOF
85129 /* end confdefs.h. */
85133 main ()
85135 main ();
85137 return 0;
85139 _ACEOF
85140 rm -f conftest.$ac_objext conftest$ac_exeext
85141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85142 (eval $ac_link) 2>conftest.er1
85143 ac_status=$?
85144 grep -v '^ *+' conftest.er1 >conftest.err
85145 rm -f conftest.er1
85146 cat conftest.err >&5
85147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85148 (exit $ac_status); } &&
85149 { ac_try='test -z "$ac_c_werror_flag"
85150 || test ! -s conftest.err'
85151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85152 (eval $ac_try) 2>&5
85153 ac_status=$?
85154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85155 (exit $ac_status); }; } &&
85156 { ac_try='test -s conftest$ac_exeext'
85157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85158 (eval $ac_try) 2>&5
85159 ac_status=$?
85160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85161 (exit $ac_status); }; }; then
85162 ac_cv_lib_m_main=yes
85163 else
85164 echo "$as_me: failed program was:" >&5
85165 sed 's/^/| /' conftest.$ac_ext >&5
85167 ac_cv_lib_m_main=no
85169 rm -f conftest.err conftest.$ac_objext \
85170 conftest$ac_exeext conftest.$ac_ext
85171 LIBS=$ac_check_lib_save_LIBS
85173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85174 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85175 if test $ac_cv_lib_m_main = yes; then
85176 cat >>confdefs.h <<_ACEOF
85177 #define HAVE_LIBM 1
85178 _ACEOF
85180 LIBS="-lm $LIBS"
85185 for ac_func in copysignf
85187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85188 echo "$as_me:$LINENO: checking for $ac_func" >&5
85189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85190 if eval "test \"\${$as_ac_var+set}\" = set"; then
85191 echo $ECHO_N "(cached) $ECHO_C" >&6
85192 else
85193 if test x$gcc_no_link = xyes; then
85194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85196 { (exit 1); exit 1; }; }
85198 cat >conftest.$ac_ext <<_ACEOF
85199 /* confdefs.h. */
85200 _ACEOF
85201 cat confdefs.h >>conftest.$ac_ext
85202 cat >>conftest.$ac_ext <<_ACEOF
85203 /* end confdefs.h. */
85204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85206 #define $ac_func innocuous_$ac_func
85208 /* System header to define __stub macros and hopefully few prototypes,
85209 which can conflict with char $ac_func (); below.
85210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85211 <limits.h> exists even on freestanding compilers. */
85213 #ifdef __STDC__
85214 # include <limits.h>
85215 #else
85216 # include <assert.h>
85217 #endif
85219 #undef $ac_func
85221 /* Override any gcc2 internal prototype to avoid an error. */
85222 #ifdef __cplusplus
85223 extern "C"
85225 #endif
85226 /* We use char because int might match the return type of a gcc2
85227 builtin and then its argument prototype would still apply. */
85228 char $ac_func ();
85229 /* The GNU C library defines this for functions which it implements
85230 to always fail with ENOSYS. Some functions are actually named
85231 something starting with __ and the normal name is an alias. */
85232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85233 choke me
85234 #else
85235 char (*f) () = $ac_func;
85236 #endif
85237 #ifdef __cplusplus
85239 #endif
85242 main ()
85244 return f != $ac_func;
85246 return 0;
85248 _ACEOF
85249 rm -f conftest.$ac_objext conftest$ac_exeext
85250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85251 (eval $ac_link) 2>conftest.er1
85252 ac_status=$?
85253 grep -v '^ *+' conftest.er1 >conftest.err
85254 rm -f conftest.er1
85255 cat conftest.err >&5
85256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85257 (exit $ac_status); } &&
85258 { ac_try='test -z "$ac_c_werror_flag"
85259 || test ! -s conftest.err'
85260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85261 (eval $ac_try) 2>&5
85262 ac_status=$?
85263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85264 (exit $ac_status); }; } &&
85265 { ac_try='test -s conftest$ac_exeext'
85266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85267 (eval $ac_try) 2>&5
85268 ac_status=$?
85269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85270 (exit $ac_status); }; }; then
85271 eval "$as_ac_var=yes"
85272 else
85273 echo "$as_me: failed program was:" >&5
85274 sed 's/^/| /' conftest.$ac_ext >&5
85276 eval "$as_ac_var=no"
85278 rm -f conftest.err conftest.$ac_objext \
85279 conftest$ac_exeext conftest.$ac_ext
85281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85283 if test `eval echo '${'$as_ac_var'}'` = yes; then
85284 cat >>confdefs.h <<_ACEOF
85285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85286 _ACEOF
85288 else
85289 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85291 done
85295 for ac_func in __signbit
85297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85298 echo "$as_me:$LINENO: checking for $ac_func" >&5
85299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85300 if eval "test \"\${$as_ac_var+set}\" = set"; then
85301 echo $ECHO_N "(cached) $ECHO_C" >&6
85302 else
85303 if test x$gcc_no_link = xyes; then
85304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85306 { (exit 1); exit 1; }; }
85308 cat >conftest.$ac_ext <<_ACEOF
85309 /* confdefs.h. */
85310 _ACEOF
85311 cat confdefs.h >>conftest.$ac_ext
85312 cat >>conftest.$ac_ext <<_ACEOF
85313 /* end confdefs.h. */
85314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85316 #define $ac_func innocuous_$ac_func
85318 /* System header to define __stub macros and hopefully few prototypes,
85319 which can conflict with char $ac_func (); below.
85320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85321 <limits.h> exists even on freestanding compilers. */
85323 #ifdef __STDC__
85324 # include <limits.h>
85325 #else
85326 # include <assert.h>
85327 #endif
85329 #undef $ac_func
85331 /* Override any gcc2 internal prototype to avoid an error. */
85332 #ifdef __cplusplus
85333 extern "C"
85335 #endif
85336 /* We use char because int might match the return type of a gcc2
85337 builtin and then its argument prototype would still apply. */
85338 char $ac_func ();
85339 /* The GNU C library defines this for functions which it implements
85340 to always fail with ENOSYS. Some functions are actually named
85341 something starting with __ and the normal name is an alias. */
85342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85343 choke me
85344 #else
85345 char (*f) () = $ac_func;
85346 #endif
85347 #ifdef __cplusplus
85349 #endif
85352 main ()
85354 return f != $ac_func;
85356 return 0;
85358 _ACEOF
85359 rm -f conftest.$ac_objext conftest$ac_exeext
85360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85361 (eval $ac_link) 2>conftest.er1
85362 ac_status=$?
85363 grep -v '^ *+' conftest.er1 >conftest.err
85364 rm -f conftest.er1
85365 cat conftest.err >&5
85366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85367 (exit $ac_status); } &&
85368 { ac_try='test -z "$ac_c_werror_flag"
85369 || test ! -s conftest.err'
85370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85371 (eval $ac_try) 2>&5
85372 ac_status=$?
85373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85374 (exit $ac_status); }; } &&
85375 { ac_try='test -s conftest$ac_exeext'
85376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85377 (eval $ac_try) 2>&5
85378 ac_status=$?
85379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85380 (exit $ac_status); }; }; then
85381 eval "$as_ac_var=yes"
85382 else
85383 echo "$as_me: failed program was:" >&5
85384 sed 's/^/| /' conftest.$ac_ext >&5
85386 eval "$as_ac_var=no"
85388 rm -f conftest.err conftest.$ac_objext \
85389 conftest$ac_exeext conftest.$ac_ext
85391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85393 if test `eval echo '${'$as_ac_var'}'` = yes; then
85394 cat >>confdefs.h <<_ACEOF
85395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85396 _ACEOF
85398 else
85399 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85401 done
85405 for ac_func in __signbitf
85407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85408 echo "$as_me:$LINENO: checking for $ac_func" >&5
85409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85410 if eval "test \"\${$as_ac_var+set}\" = set"; then
85411 echo $ECHO_N "(cached) $ECHO_C" >&6
85412 else
85413 if test x$gcc_no_link = xyes; then
85414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85416 { (exit 1); exit 1; }; }
85418 cat >conftest.$ac_ext <<_ACEOF
85419 /* confdefs.h. */
85420 _ACEOF
85421 cat confdefs.h >>conftest.$ac_ext
85422 cat >>conftest.$ac_ext <<_ACEOF
85423 /* end confdefs.h. */
85424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85426 #define $ac_func innocuous_$ac_func
85428 /* System header to define __stub macros and hopefully few prototypes,
85429 which can conflict with char $ac_func (); below.
85430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85431 <limits.h> exists even on freestanding compilers. */
85433 #ifdef __STDC__
85434 # include <limits.h>
85435 #else
85436 # include <assert.h>
85437 #endif
85439 #undef $ac_func
85441 /* Override any gcc2 internal prototype to avoid an error. */
85442 #ifdef __cplusplus
85443 extern "C"
85445 #endif
85446 /* We use char because int might match the return type of a gcc2
85447 builtin and then its argument prototype would still apply. */
85448 char $ac_func ();
85449 /* The GNU C library defines this for functions which it implements
85450 to always fail with ENOSYS. Some functions are actually named
85451 something starting with __ and the normal name is an alias. */
85452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85453 choke me
85454 #else
85455 char (*f) () = $ac_func;
85456 #endif
85457 #ifdef __cplusplus
85459 #endif
85462 main ()
85464 return f != $ac_func;
85466 return 0;
85468 _ACEOF
85469 rm -f conftest.$ac_objext conftest$ac_exeext
85470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85471 (eval $ac_link) 2>conftest.er1
85472 ac_status=$?
85473 grep -v '^ *+' conftest.er1 >conftest.err
85474 rm -f conftest.er1
85475 cat conftest.err >&5
85476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85477 (exit $ac_status); } &&
85478 { ac_try='test -z "$ac_c_werror_flag"
85479 || test ! -s conftest.err'
85480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85481 (eval $ac_try) 2>&5
85482 ac_status=$?
85483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85484 (exit $ac_status); }; } &&
85485 { ac_try='test -s conftest$ac_exeext'
85486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85487 (eval $ac_try) 2>&5
85488 ac_status=$?
85489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85490 (exit $ac_status); }; }; then
85491 eval "$as_ac_var=yes"
85492 else
85493 echo "$as_me: failed program was:" >&5
85494 sed 's/^/| /' conftest.$ac_ext >&5
85496 eval "$as_ac_var=no"
85498 rm -f conftest.err conftest.$ac_objext \
85499 conftest$ac_exeext conftest.$ac_ext
85501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85503 if test `eval echo '${'$as_ac_var'}'` = yes; then
85504 cat >>confdefs.h <<_ACEOF
85505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85506 _ACEOF
85508 else
85509 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85511 done
85514 if test x$ac_cv_func_copysignl = x"yes"; then
85516 for ac_func in __signbitl
85518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85519 echo "$as_me:$LINENO: checking for $ac_func" >&5
85520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85521 if eval "test \"\${$as_ac_var+set}\" = set"; then
85522 echo $ECHO_N "(cached) $ECHO_C" >&6
85523 else
85524 if test x$gcc_no_link = xyes; then
85525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85527 { (exit 1); exit 1; }; }
85529 cat >conftest.$ac_ext <<_ACEOF
85530 /* confdefs.h. */
85531 _ACEOF
85532 cat confdefs.h >>conftest.$ac_ext
85533 cat >>conftest.$ac_ext <<_ACEOF
85534 /* end confdefs.h. */
85535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85537 #define $ac_func innocuous_$ac_func
85539 /* System header to define __stub macros and hopefully few prototypes,
85540 which can conflict with char $ac_func (); below.
85541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85542 <limits.h> exists even on freestanding compilers. */
85544 #ifdef __STDC__
85545 # include <limits.h>
85546 #else
85547 # include <assert.h>
85548 #endif
85550 #undef $ac_func
85552 /* Override any gcc2 internal prototype to avoid an error. */
85553 #ifdef __cplusplus
85554 extern "C"
85556 #endif
85557 /* We use char because int might match the return type of a gcc2
85558 builtin and then its argument prototype would still apply. */
85559 char $ac_func ();
85560 /* The GNU C library defines this for functions which it implements
85561 to always fail with ENOSYS. Some functions are actually named
85562 something starting with __ and the normal name is an alias. */
85563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85564 choke me
85565 #else
85566 char (*f) () = $ac_func;
85567 #endif
85568 #ifdef __cplusplus
85570 #endif
85573 main ()
85575 return f != $ac_func;
85577 return 0;
85579 _ACEOF
85580 rm -f conftest.$ac_objext conftest$ac_exeext
85581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85582 (eval $ac_link) 2>conftest.er1
85583 ac_status=$?
85584 grep -v '^ *+' conftest.er1 >conftest.err
85585 rm -f conftest.er1
85586 cat conftest.err >&5
85587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85588 (exit $ac_status); } &&
85589 { ac_try='test -z "$ac_c_werror_flag"
85590 || test ! -s conftest.err'
85591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85592 (eval $ac_try) 2>&5
85593 ac_status=$?
85594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85595 (exit $ac_status); }; } &&
85596 { ac_try='test -s conftest$ac_exeext'
85597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85598 (eval $ac_try) 2>&5
85599 ac_status=$?
85600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85601 (exit $ac_status); }; }; then
85602 eval "$as_ac_var=yes"
85603 else
85604 echo "$as_me: failed program was:" >&5
85605 sed 's/^/| /' conftest.$ac_ext >&5
85607 eval "$as_ac_var=no"
85609 rm -f conftest.err conftest.$ac_objext \
85610 conftest$ac_exeext conftest.$ac_ext
85612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85614 if test `eval echo '${'$as_ac_var'}'` = yes; then
85615 cat >>confdefs.h <<_ACEOF
85616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85617 _ACEOF
85619 else
85620 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85622 done
85626 # Used in libmath/Makefile.am.
85627 if test -n "$LIBMATHOBJS"; then
85628 need_libmath=yes
85633 # Test wchar.h for mbstate_t, which is needed for char_traits and
85634 # others even if wchar_t support is not on.
85635 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85636 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85637 cat >conftest.$ac_ext <<_ACEOF
85638 /* confdefs.h. */
85639 _ACEOF
85640 cat confdefs.h >>conftest.$ac_ext
85641 cat >>conftest.$ac_ext <<_ACEOF
85642 /* end confdefs.h. */
85643 #include <wchar.h>
85645 main ()
85647 mbstate_t teststate;
85649 return 0;
85651 _ACEOF
85652 rm -f conftest.$ac_objext
85653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85654 (eval $ac_compile) 2>conftest.er1
85655 ac_status=$?
85656 grep -v '^ *+' conftest.er1 >conftest.err
85657 rm -f conftest.er1
85658 cat conftest.err >&5
85659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85660 (exit $ac_status); } &&
85661 { ac_try='test -z "$ac_c_werror_flag"
85662 || test ! -s conftest.err'
85663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85664 (eval $ac_try) 2>&5
85665 ac_status=$?
85666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85667 (exit $ac_status); }; } &&
85668 { ac_try='test -s conftest.$ac_objext'
85669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85670 (eval $ac_try) 2>&5
85671 ac_status=$?
85672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85673 (exit $ac_status); }; }; then
85674 have_mbstate_t=yes
85675 else
85676 echo "$as_me: failed program was:" >&5
85677 sed 's/^/| /' conftest.$ac_ext >&5
85679 have_mbstate_t=no
85681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85682 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85683 echo "${ECHO_T}$have_mbstate_t" >&6
85684 if test x"$have_mbstate_t" = xyes; then
85685 cat >>confdefs.h <<\_ACEOF
85686 #define HAVE_MBSTATE_T 1
85687 _ACEOF
85691 # Sanity check for existence of ISO C99 headers for extended encoding.
85693 for ac_header in wchar.h
85695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85697 echo "$as_me:$LINENO: checking for $ac_header" >&5
85698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85700 echo $ECHO_N "(cached) $ECHO_C" >&6
85702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85704 else
85705 # Is the header compilable?
85706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85708 cat >conftest.$ac_ext <<_ACEOF
85709 /* confdefs.h. */
85710 _ACEOF
85711 cat confdefs.h >>conftest.$ac_ext
85712 cat >>conftest.$ac_ext <<_ACEOF
85713 /* end confdefs.h. */
85714 $ac_includes_default
85715 #include <$ac_header>
85716 _ACEOF
85717 rm -f conftest.$ac_objext
85718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85719 (eval $ac_compile) 2>conftest.er1
85720 ac_status=$?
85721 grep -v '^ *+' conftest.er1 >conftest.err
85722 rm -f conftest.er1
85723 cat conftest.err >&5
85724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85725 (exit $ac_status); } &&
85726 { ac_try='test -z "$ac_c_werror_flag"
85727 || test ! -s conftest.err'
85728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85729 (eval $ac_try) 2>&5
85730 ac_status=$?
85731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85732 (exit $ac_status); }; } &&
85733 { ac_try='test -s conftest.$ac_objext'
85734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85735 (eval $ac_try) 2>&5
85736 ac_status=$?
85737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85738 (exit $ac_status); }; }; then
85739 ac_header_compiler=yes
85740 else
85741 echo "$as_me: failed program was:" >&5
85742 sed 's/^/| /' conftest.$ac_ext >&5
85744 ac_header_compiler=no
85746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85748 echo "${ECHO_T}$ac_header_compiler" >&6
85750 # Is the header present?
85751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85753 cat >conftest.$ac_ext <<_ACEOF
85754 /* confdefs.h. */
85755 _ACEOF
85756 cat confdefs.h >>conftest.$ac_ext
85757 cat >>conftest.$ac_ext <<_ACEOF
85758 /* end confdefs.h. */
85759 #include <$ac_header>
85760 _ACEOF
85761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85763 ac_status=$?
85764 grep -v '^ *+' conftest.er1 >conftest.err
85765 rm -f conftest.er1
85766 cat conftest.err >&5
85767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85768 (exit $ac_status); } >/dev/null; then
85769 if test -s conftest.err; then
85770 ac_cpp_err=$ac_c_preproc_warn_flag
85771 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85772 else
85773 ac_cpp_err=
85775 else
85776 ac_cpp_err=yes
85778 if test -z "$ac_cpp_err"; then
85779 ac_header_preproc=yes
85780 else
85781 echo "$as_me: failed program was:" >&5
85782 sed 's/^/| /' conftest.$ac_ext >&5
85784 ac_header_preproc=no
85786 rm -f conftest.err conftest.$ac_ext
85787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85788 echo "${ECHO_T}$ac_header_preproc" >&6
85790 # So? What about this header?
85791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85792 yes:no: )
85793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85797 ac_header_preproc=yes
85799 no:yes:* )
85800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85813 cat <<\_ASBOX
85814 ## ----------------------------------------- ##
85815 ## Report this to the package-unused lists. ##
85816 ## ----------------------------------------- ##
85817 _ASBOX
85819 sed "s/^/$as_me: WARNING: /" >&2
85821 esac
85822 echo "$as_me:$LINENO: checking for $ac_header" >&5
85823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85825 echo $ECHO_N "(cached) $ECHO_C" >&6
85826 else
85827 eval "$as_ac_Header=\$ac_header_preproc"
85829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85834 cat >>confdefs.h <<_ACEOF
85835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85836 _ACEOF
85837 ac_has_wchar_h=yes
85838 else
85839 ac_has_wchar_h=no
85842 done
85845 for ac_header in wctype.h
85847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85849 echo "$as_me:$LINENO: checking for $ac_header" >&5
85850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85852 echo $ECHO_N "(cached) $ECHO_C" >&6
85854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85856 else
85857 # Is the header compilable?
85858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85860 cat >conftest.$ac_ext <<_ACEOF
85861 /* confdefs.h. */
85862 _ACEOF
85863 cat confdefs.h >>conftest.$ac_ext
85864 cat >>conftest.$ac_ext <<_ACEOF
85865 /* end confdefs.h. */
85866 $ac_includes_default
85867 #include <$ac_header>
85868 _ACEOF
85869 rm -f conftest.$ac_objext
85870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85871 (eval $ac_compile) 2>conftest.er1
85872 ac_status=$?
85873 grep -v '^ *+' conftest.er1 >conftest.err
85874 rm -f conftest.er1
85875 cat conftest.err >&5
85876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85877 (exit $ac_status); } &&
85878 { ac_try='test -z "$ac_c_werror_flag"
85879 || test ! -s conftest.err'
85880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85881 (eval $ac_try) 2>&5
85882 ac_status=$?
85883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85884 (exit $ac_status); }; } &&
85885 { ac_try='test -s conftest.$ac_objext'
85886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85887 (eval $ac_try) 2>&5
85888 ac_status=$?
85889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85890 (exit $ac_status); }; }; then
85891 ac_header_compiler=yes
85892 else
85893 echo "$as_me: failed program was:" >&5
85894 sed 's/^/| /' conftest.$ac_ext >&5
85896 ac_header_compiler=no
85898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85900 echo "${ECHO_T}$ac_header_compiler" >&6
85902 # Is the header present?
85903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85905 cat >conftest.$ac_ext <<_ACEOF
85906 /* confdefs.h. */
85907 _ACEOF
85908 cat confdefs.h >>conftest.$ac_ext
85909 cat >>conftest.$ac_ext <<_ACEOF
85910 /* end confdefs.h. */
85911 #include <$ac_header>
85912 _ACEOF
85913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85915 ac_status=$?
85916 grep -v '^ *+' conftest.er1 >conftest.err
85917 rm -f conftest.er1
85918 cat conftest.err >&5
85919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85920 (exit $ac_status); } >/dev/null; then
85921 if test -s conftest.err; then
85922 ac_cpp_err=$ac_c_preproc_warn_flag
85923 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85924 else
85925 ac_cpp_err=
85927 else
85928 ac_cpp_err=yes
85930 if test -z "$ac_cpp_err"; then
85931 ac_header_preproc=yes
85932 else
85933 echo "$as_me: failed program was:" >&5
85934 sed 's/^/| /' conftest.$ac_ext >&5
85936 ac_header_preproc=no
85938 rm -f conftest.err conftest.$ac_ext
85939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85940 echo "${ECHO_T}$ac_header_preproc" >&6
85942 # So? What about this header?
85943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85944 yes:no: )
85945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85949 ac_header_preproc=yes
85951 no:yes:* )
85952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85965 cat <<\_ASBOX
85966 ## ----------------------------------------- ##
85967 ## Report this to the package-unused lists. ##
85968 ## ----------------------------------------- ##
85969 _ASBOX
85971 sed "s/^/$as_me: WARNING: /" >&2
85973 esac
85974 echo "$as_me:$LINENO: checking for $ac_header" >&5
85975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85977 echo $ECHO_N "(cached) $ECHO_C" >&6
85978 else
85979 eval "$as_ac_Header=\$ac_header_preproc"
85981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85986 cat >>confdefs.h <<_ACEOF
85987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85988 _ACEOF
85989 ac_has_wctype_h=yes
85990 else
85991 ac_has_wctype_h=no
85994 done
85997 # Only continue checking if the ISO C99 headers exist and support is on.
85998 if test x"$ac_has_wchar_h" = xyes &&
85999 test x"$ac_has_wctype_h" = xyes &&
86000 test x"$enable_c_mbchar" != xno; then
86002 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86003 # numeric_limits can instantiate type_traits<wchar_t>
86004 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86005 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86006 cat >conftest.$ac_ext <<_ACEOF
86007 /* confdefs.h. */
86008 _ACEOF
86009 cat confdefs.h >>conftest.$ac_ext
86010 cat >>conftest.$ac_ext <<_ACEOF
86011 /* end confdefs.h. */
86012 #include <wchar.h>
86014 main ()
86016 int i = WCHAR_MIN; int j = WCHAR_MAX;
86018 return 0;
86020 _ACEOF
86021 rm -f conftest.$ac_objext
86022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86023 (eval $ac_compile) 2>conftest.er1
86024 ac_status=$?
86025 grep -v '^ *+' conftest.er1 >conftest.err
86026 rm -f conftest.er1
86027 cat conftest.err >&5
86028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86029 (exit $ac_status); } &&
86030 { ac_try='test -z "$ac_c_werror_flag"
86031 || test ! -s conftest.err'
86032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86033 (eval $ac_try) 2>&5
86034 ac_status=$?
86035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86036 (exit $ac_status); }; } &&
86037 { ac_try='test -s conftest.$ac_objext'
86038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86039 (eval $ac_try) 2>&5
86040 ac_status=$?
86041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86042 (exit $ac_status); }; }; then
86043 has_wchar_minmax=yes
86044 else
86045 echo "$as_me: failed program was:" >&5
86046 sed 's/^/| /' conftest.$ac_ext >&5
86048 has_wchar_minmax=no
86050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86051 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86052 echo "${ECHO_T}$has_wchar_minmax" >&6
86054 # Test wchar.h for WEOF, which is what we use to determine whether
86055 # to specialize for char_traits<wchar_t> or not.
86056 echo "$as_me:$LINENO: checking for WEOF" >&5
86057 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86058 cat >conftest.$ac_ext <<_ACEOF
86059 /* confdefs.h. */
86060 _ACEOF
86061 cat confdefs.h >>conftest.$ac_ext
86062 cat >>conftest.$ac_ext <<_ACEOF
86063 /* end confdefs.h. */
86065 #include <wchar.h>
86066 #include <stddef.h>
86068 main ()
86070 wint_t i = WEOF;
86072 return 0;
86074 _ACEOF
86075 rm -f conftest.$ac_objext
86076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86077 (eval $ac_compile) 2>conftest.er1
86078 ac_status=$?
86079 grep -v '^ *+' conftest.er1 >conftest.err
86080 rm -f conftest.er1
86081 cat conftest.err >&5
86082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86083 (exit $ac_status); } &&
86084 { ac_try='test -z "$ac_c_werror_flag"
86085 || test ! -s conftest.err'
86086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86087 (eval $ac_try) 2>&5
86088 ac_status=$?
86089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86090 (exit $ac_status); }; } &&
86091 { ac_try='test -s conftest.$ac_objext'
86092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86093 (eval $ac_try) 2>&5
86094 ac_status=$?
86095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86096 (exit $ac_status); }; }; then
86097 has_weof=yes
86098 else
86099 echo "$as_me: failed program was:" >&5
86100 sed 's/^/| /' conftest.$ac_ext >&5
86102 has_weof=no
86104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86105 echo "$as_me:$LINENO: result: $has_weof" >&5
86106 echo "${ECHO_T}$has_weof" >&6
86108 # Tests for wide character functions used in char_traits<wchar_t>.
86109 ac_wfuncs=yes
86116 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86119 echo "$as_me:$LINENO: checking for $ac_func" >&5
86120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86121 if eval "test \"\${$as_ac_var+set}\" = set"; then
86122 echo $ECHO_N "(cached) $ECHO_C" >&6
86123 else
86124 if test x$gcc_no_link = xyes; then
86125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86127 { (exit 1); exit 1; }; }
86129 cat >conftest.$ac_ext <<_ACEOF
86130 /* confdefs.h. */
86131 _ACEOF
86132 cat confdefs.h >>conftest.$ac_ext
86133 cat >>conftest.$ac_ext <<_ACEOF
86134 /* end confdefs.h. */
86135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86137 #define $ac_func innocuous_$ac_func
86139 /* System header to define __stub macros and hopefully few prototypes,
86140 which can conflict with char $ac_func (); below.
86141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86142 <limits.h> exists even on freestanding compilers. */
86144 #ifdef __STDC__
86145 # include <limits.h>
86146 #else
86147 # include <assert.h>
86148 #endif
86150 #undef $ac_func
86152 /* Override any gcc2 internal prototype to avoid an error. */
86153 #ifdef __cplusplus
86154 extern "C"
86156 #endif
86157 /* We use char because int might match the return type of a gcc2
86158 builtin and then its argument prototype would still apply. */
86159 char $ac_func ();
86160 /* The GNU C library defines this for functions which it implements
86161 to always fail with ENOSYS. Some functions are actually named
86162 something starting with __ and the normal name is an alias. */
86163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86164 choke me
86165 #else
86166 char (*f) () = $ac_func;
86167 #endif
86168 #ifdef __cplusplus
86170 #endif
86173 main ()
86175 return f != $ac_func;
86177 return 0;
86179 _ACEOF
86180 rm -f conftest.$ac_objext conftest$ac_exeext
86181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86182 (eval $ac_link) 2>conftest.er1
86183 ac_status=$?
86184 grep -v '^ *+' conftest.er1 >conftest.err
86185 rm -f conftest.er1
86186 cat conftest.err >&5
86187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86188 (exit $ac_status); } &&
86189 { ac_try='test -z "$ac_c_werror_flag"
86190 || test ! -s conftest.err'
86191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86192 (eval $ac_try) 2>&5
86193 ac_status=$?
86194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86195 (exit $ac_status); }; } &&
86196 { ac_try='test -s conftest$ac_exeext'
86197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86198 (eval $ac_try) 2>&5
86199 ac_status=$?
86200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86201 (exit $ac_status); }; }; then
86202 eval "$as_ac_var=yes"
86203 else
86204 echo "$as_me: failed program was:" >&5
86205 sed 's/^/| /' conftest.$ac_ext >&5
86207 eval "$as_ac_var=no"
86209 rm -f conftest.err conftest.$ac_objext \
86210 conftest$ac_exeext conftest.$ac_ext
86212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86214 if test `eval echo '${'$as_ac_var'}'` = yes; then
86215 cat >>confdefs.h <<_ACEOF
86216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86217 _ACEOF
86219 else
86220 ac_wfuncs=no
86222 done
86225 # Checks for names injected into std:: by the c_std headers.
86272 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86273 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86274 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86275 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86276 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86277 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86280 echo "$as_me:$LINENO: checking for $ac_func" >&5
86281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86282 if eval "test \"\${$as_ac_var+set}\" = set"; then
86283 echo $ECHO_N "(cached) $ECHO_C" >&6
86284 else
86285 if test x$gcc_no_link = xyes; then
86286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86288 { (exit 1); exit 1; }; }
86290 cat >conftest.$ac_ext <<_ACEOF
86291 /* confdefs.h. */
86292 _ACEOF
86293 cat confdefs.h >>conftest.$ac_ext
86294 cat >>conftest.$ac_ext <<_ACEOF
86295 /* end confdefs.h. */
86296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86298 #define $ac_func innocuous_$ac_func
86300 /* System header to define __stub macros and hopefully few prototypes,
86301 which can conflict with char $ac_func (); below.
86302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86303 <limits.h> exists even on freestanding compilers. */
86305 #ifdef __STDC__
86306 # include <limits.h>
86307 #else
86308 # include <assert.h>
86309 #endif
86311 #undef $ac_func
86313 /* Override any gcc2 internal prototype to avoid an error. */
86314 #ifdef __cplusplus
86315 extern "C"
86317 #endif
86318 /* We use char because int might match the return type of a gcc2
86319 builtin and then its argument prototype would still apply. */
86320 char $ac_func ();
86321 /* The GNU C library defines this for functions which it implements
86322 to always fail with ENOSYS. Some functions are actually named
86323 something starting with __ and the normal name is an alias. */
86324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86325 choke me
86326 #else
86327 char (*f) () = $ac_func;
86328 #endif
86329 #ifdef __cplusplus
86331 #endif
86334 main ()
86336 return f != $ac_func;
86338 return 0;
86340 _ACEOF
86341 rm -f conftest.$ac_objext conftest$ac_exeext
86342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86343 (eval $ac_link) 2>conftest.er1
86344 ac_status=$?
86345 grep -v '^ *+' conftest.er1 >conftest.err
86346 rm -f conftest.er1
86347 cat conftest.err >&5
86348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86349 (exit $ac_status); } &&
86350 { ac_try='test -z "$ac_c_werror_flag"
86351 || test ! -s conftest.err'
86352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86353 (eval $ac_try) 2>&5
86354 ac_status=$?
86355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86356 (exit $ac_status); }; } &&
86357 { ac_try='test -s conftest$ac_exeext'
86358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86359 (eval $ac_try) 2>&5
86360 ac_status=$?
86361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86362 (exit $ac_status); }; }; then
86363 eval "$as_ac_var=yes"
86364 else
86365 echo "$as_me: failed program was:" >&5
86366 sed 's/^/| /' conftest.$ac_ext >&5
86368 eval "$as_ac_var=no"
86370 rm -f conftest.err conftest.$ac_objext \
86371 conftest$ac_exeext conftest.$ac_ext
86373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86375 if test `eval echo '${'$as_ac_var'}'` = yes; then
86376 cat >>confdefs.h <<_ACEOF
86377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86378 _ACEOF
86380 else
86381 ac_wfuncs=no
86383 done
86386 # Checks for wide character functions that are not required
86387 # for basic wchar_t support. Don't disable support if they are missing.
86388 # Injection of these is wrapped with guard macros.
86394 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86397 echo "$as_me:$LINENO: checking for $ac_func" >&5
86398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86399 if eval "test \"\${$as_ac_var+set}\" = set"; then
86400 echo $ECHO_N "(cached) $ECHO_C" >&6
86401 else
86402 if test x$gcc_no_link = xyes; then
86403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86405 { (exit 1); exit 1; }; }
86407 cat >conftest.$ac_ext <<_ACEOF
86408 /* confdefs.h. */
86409 _ACEOF
86410 cat confdefs.h >>conftest.$ac_ext
86411 cat >>conftest.$ac_ext <<_ACEOF
86412 /* end confdefs.h. */
86413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86415 #define $ac_func innocuous_$ac_func
86417 /* System header to define __stub macros and hopefully few prototypes,
86418 which can conflict with char $ac_func (); below.
86419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86420 <limits.h> exists even on freestanding compilers. */
86422 #ifdef __STDC__
86423 # include <limits.h>
86424 #else
86425 # include <assert.h>
86426 #endif
86428 #undef $ac_func
86430 /* Override any gcc2 internal prototype to avoid an error. */
86431 #ifdef __cplusplus
86432 extern "C"
86434 #endif
86435 /* We use char because int might match the return type of a gcc2
86436 builtin and then its argument prototype would still apply. */
86437 char $ac_func ();
86438 /* The GNU C library defines this for functions which it implements
86439 to always fail with ENOSYS. Some functions are actually named
86440 something starting with __ and the normal name is an alias. */
86441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86442 choke me
86443 #else
86444 char (*f) () = $ac_func;
86445 #endif
86446 #ifdef __cplusplus
86448 #endif
86451 main ()
86453 return f != $ac_func;
86455 return 0;
86457 _ACEOF
86458 rm -f conftest.$ac_objext conftest$ac_exeext
86459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86460 (eval $ac_link) 2>conftest.er1
86461 ac_status=$?
86462 grep -v '^ *+' conftest.er1 >conftest.err
86463 rm -f conftest.er1
86464 cat conftest.err >&5
86465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86466 (exit $ac_status); } &&
86467 { ac_try='test -z "$ac_c_werror_flag"
86468 || test ! -s conftest.err'
86469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86470 (eval $ac_try) 2>&5
86471 ac_status=$?
86472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86473 (exit $ac_status); }; } &&
86474 { ac_try='test -s conftest$ac_exeext'
86475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86476 (eval $ac_try) 2>&5
86477 ac_status=$?
86478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86479 (exit $ac_status); }; }; then
86480 eval "$as_ac_var=yes"
86481 else
86482 echo "$as_me: failed program was:" >&5
86483 sed 's/^/| /' conftest.$ac_ext >&5
86485 eval "$as_ac_var=no"
86487 rm -f conftest.err conftest.$ac_objext \
86488 conftest$ac_exeext conftest.$ac_ext
86490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86492 if test `eval echo '${'$as_ac_var'}'` = yes; then
86493 cat >>confdefs.h <<_ACEOF
86494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86495 _ACEOF
86498 done
86501 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86502 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86503 if test x"$has_weof" = xyes &&
86504 test x"$has_wchar_minmax" = xyes &&
86505 test x"$ac_wfuncs" = xyes;
86506 then
86507 ac_isoC99_wchar_t=yes
86508 else
86509 ac_isoC99_wchar_t=no
86511 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86512 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86514 # Use iconv for wchar_t to char conversions. As such, check for
86515 # X/Open Portability Guide, version 2 features (XPG2).
86516 if test "${ac_cv_header_iconv_h+set}" = set; then
86517 echo "$as_me:$LINENO: checking for iconv.h" >&5
86518 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86519 if test "${ac_cv_header_iconv_h+set}" = set; then
86520 echo $ECHO_N "(cached) $ECHO_C" >&6
86522 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86523 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86524 else
86525 # Is the header compilable?
86526 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86527 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86528 cat >conftest.$ac_ext <<_ACEOF
86529 /* confdefs.h. */
86530 _ACEOF
86531 cat confdefs.h >>conftest.$ac_ext
86532 cat >>conftest.$ac_ext <<_ACEOF
86533 /* end confdefs.h. */
86534 $ac_includes_default
86535 #include <iconv.h>
86536 _ACEOF
86537 rm -f conftest.$ac_objext
86538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86539 (eval $ac_compile) 2>conftest.er1
86540 ac_status=$?
86541 grep -v '^ *+' conftest.er1 >conftest.err
86542 rm -f conftest.er1
86543 cat conftest.err >&5
86544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86545 (exit $ac_status); } &&
86546 { ac_try='test -z "$ac_c_werror_flag"
86547 || test ! -s conftest.err'
86548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86549 (eval $ac_try) 2>&5
86550 ac_status=$?
86551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86552 (exit $ac_status); }; } &&
86553 { ac_try='test -s conftest.$ac_objext'
86554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86555 (eval $ac_try) 2>&5
86556 ac_status=$?
86557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86558 (exit $ac_status); }; }; then
86559 ac_header_compiler=yes
86560 else
86561 echo "$as_me: failed program was:" >&5
86562 sed 's/^/| /' conftest.$ac_ext >&5
86564 ac_header_compiler=no
86566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86568 echo "${ECHO_T}$ac_header_compiler" >&6
86570 # Is the header present?
86571 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86572 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86573 cat >conftest.$ac_ext <<_ACEOF
86574 /* confdefs.h. */
86575 _ACEOF
86576 cat confdefs.h >>conftest.$ac_ext
86577 cat >>conftest.$ac_ext <<_ACEOF
86578 /* end confdefs.h. */
86579 #include <iconv.h>
86580 _ACEOF
86581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86583 ac_status=$?
86584 grep -v '^ *+' conftest.er1 >conftest.err
86585 rm -f conftest.er1
86586 cat conftest.err >&5
86587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86588 (exit $ac_status); } >/dev/null; then
86589 if test -s conftest.err; then
86590 ac_cpp_err=$ac_c_preproc_warn_flag
86591 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86592 else
86593 ac_cpp_err=
86595 else
86596 ac_cpp_err=yes
86598 if test -z "$ac_cpp_err"; then
86599 ac_header_preproc=yes
86600 else
86601 echo "$as_me: failed program was:" >&5
86602 sed 's/^/| /' conftest.$ac_ext >&5
86604 ac_header_preproc=no
86606 rm -f conftest.err conftest.$ac_ext
86607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86608 echo "${ECHO_T}$ac_header_preproc" >&6
86610 # So? What about this header?
86611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86612 yes:no: )
86613 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86614 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86615 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86616 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86617 ac_header_preproc=yes
86619 no:yes:* )
86620 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86621 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86622 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86623 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86624 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86625 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86626 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86627 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86628 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86629 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86630 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86631 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86633 cat <<\_ASBOX
86634 ## ----------------------------------------- ##
86635 ## Report this to the package-unused lists. ##
86636 ## ----------------------------------------- ##
86637 _ASBOX
86639 sed "s/^/$as_me: WARNING: /" >&2
86641 esac
86642 echo "$as_me:$LINENO: checking for iconv.h" >&5
86643 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86644 if test "${ac_cv_header_iconv_h+set}" = set; then
86645 echo $ECHO_N "(cached) $ECHO_C" >&6
86646 else
86647 ac_cv_header_iconv_h=$ac_header_preproc
86649 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86650 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86653 if test $ac_cv_header_iconv_h = yes; then
86654 ac_has_iconv_h=yes
86655 else
86656 ac_has_iconv_h=no
86660 if test "${ac_cv_header_langinfo_h+set}" = set; then
86661 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86662 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86663 if test "${ac_cv_header_langinfo_h+set}" = set; then
86664 echo $ECHO_N "(cached) $ECHO_C" >&6
86666 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86667 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86668 else
86669 # Is the header compilable?
86670 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86671 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86672 cat >conftest.$ac_ext <<_ACEOF
86673 /* confdefs.h. */
86674 _ACEOF
86675 cat confdefs.h >>conftest.$ac_ext
86676 cat >>conftest.$ac_ext <<_ACEOF
86677 /* end confdefs.h. */
86678 $ac_includes_default
86679 #include <langinfo.h>
86680 _ACEOF
86681 rm -f conftest.$ac_objext
86682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86683 (eval $ac_compile) 2>conftest.er1
86684 ac_status=$?
86685 grep -v '^ *+' conftest.er1 >conftest.err
86686 rm -f conftest.er1
86687 cat conftest.err >&5
86688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86689 (exit $ac_status); } &&
86690 { ac_try='test -z "$ac_c_werror_flag"
86691 || test ! -s conftest.err'
86692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86693 (eval $ac_try) 2>&5
86694 ac_status=$?
86695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86696 (exit $ac_status); }; } &&
86697 { ac_try='test -s conftest.$ac_objext'
86698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86699 (eval $ac_try) 2>&5
86700 ac_status=$?
86701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86702 (exit $ac_status); }; }; then
86703 ac_header_compiler=yes
86704 else
86705 echo "$as_me: failed program was:" >&5
86706 sed 's/^/| /' conftest.$ac_ext >&5
86708 ac_header_compiler=no
86710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86712 echo "${ECHO_T}$ac_header_compiler" >&6
86714 # Is the header present?
86715 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86716 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86717 cat >conftest.$ac_ext <<_ACEOF
86718 /* confdefs.h. */
86719 _ACEOF
86720 cat confdefs.h >>conftest.$ac_ext
86721 cat >>conftest.$ac_ext <<_ACEOF
86722 /* end confdefs.h. */
86723 #include <langinfo.h>
86724 _ACEOF
86725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86727 ac_status=$?
86728 grep -v '^ *+' conftest.er1 >conftest.err
86729 rm -f conftest.er1
86730 cat conftest.err >&5
86731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86732 (exit $ac_status); } >/dev/null; then
86733 if test -s conftest.err; then
86734 ac_cpp_err=$ac_c_preproc_warn_flag
86735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86736 else
86737 ac_cpp_err=
86739 else
86740 ac_cpp_err=yes
86742 if test -z "$ac_cpp_err"; then
86743 ac_header_preproc=yes
86744 else
86745 echo "$as_me: failed program was:" >&5
86746 sed 's/^/| /' conftest.$ac_ext >&5
86748 ac_header_preproc=no
86750 rm -f conftest.err conftest.$ac_ext
86751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86752 echo "${ECHO_T}$ac_header_preproc" >&6
86754 # So? What about this header?
86755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86756 yes:no: )
86757 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86758 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86759 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86760 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86761 ac_header_preproc=yes
86763 no:yes:* )
86764 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86765 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86766 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86767 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86768 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86769 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86770 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86771 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86772 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86773 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86774 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86775 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86777 cat <<\_ASBOX
86778 ## ----------------------------------------- ##
86779 ## Report this to the package-unused lists. ##
86780 ## ----------------------------------------- ##
86781 _ASBOX
86783 sed "s/^/$as_me: WARNING: /" >&2
86785 esac
86786 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86787 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86788 if test "${ac_cv_header_langinfo_h+set}" = set; then
86789 echo $ECHO_N "(cached) $ECHO_C" >&6
86790 else
86791 ac_cv_header_langinfo_h=$ac_header_preproc
86793 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86794 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86797 if test $ac_cv_header_langinfo_h = yes; then
86798 ac_has_langinfo_h=yes
86799 else
86800 ac_has_langinfo_h=no
86805 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86806 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86807 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86808 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86809 echo $ECHO_N "(cached) $ECHO_C" >&6
86810 else
86811 ac_check_lib_save_LIBS=$LIBS
86812 LIBS="-liconv $LIBS"
86813 if test x$gcc_no_link = xyes; then
86814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86816 { (exit 1); exit 1; }; }
86818 cat >conftest.$ac_ext <<_ACEOF
86819 /* confdefs.h. */
86820 _ACEOF
86821 cat confdefs.h >>conftest.$ac_ext
86822 cat >>conftest.$ac_ext <<_ACEOF
86823 /* end confdefs.h. */
86825 /* Override any gcc2 internal prototype to avoid an error. */
86826 #ifdef __cplusplus
86827 extern "C"
86828 #endif
86829 /* We use char because int might match the return type of a gcc2
86830 builtin and then its argument prototype would still apply. */
86831 char iconv ();
86833 main ()
86835 iconv ();
86837 return 0;
86839 _ACEOF
86840 rm -f conftest.$ac_objext conftest$ac_exeext
86841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86842 (eval $ac_link) 2>conftest.er1
86843 ac_status=$?
86844 grep -v '^ *+' conftest.er1 >conftest.err
86845 rm -f conftest.er1
86846 cat conftest.err >&5
86847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86848 (exit $ac_status); } &&
86849 { ac_try='test -z "$ac_c_werror_flag"
86850 || test ! -s conftest.err'
86851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86852 (eval $ac_try) 2>&5
86853 ac_status=$?
86854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86855 (exit $ac_status); }; } &&
86856 { ac_try='test -s conftest$ac_exeext'
86857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86858 (eval $ac_try) 2>&5
86859 ac_status=$?
86860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86861 (exit $ac_status); }; }; then
86862 ac_cv_lib_iconv_iconv=yes
86863 else
86864 echo "$as_me: failed program was:" >&5
86865 sed 's/^/| /' conftest.$ac_ext >&5
86867 ac_cv_lib_iconv_iconv=no
86869 rm -f conftest.err conftest.$ac_objext \
86870 conftest$ac_exeext conftest.$ac_ext
86871 LIBS=$ac_check_lib_save_LIBS
86873 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86874 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86875 if test $ac_cv_lib_iconv_iconv = yes; then
86876 LIBICONV="-liconv"
86879 ac_save_LIBS="$LIBS"
86880 LIBS="$LIBS $LIBICONV"
86887 for ac_func in iconv_open iconv_close iconv nl_langinfo
86889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86890 echo "$as_me:$LINENO: checking for $ac_func" >&5
86891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86892 if eval "test \"\${$as_ac_var+set}\" = set"; then
86893 echo $ECHO_N "(cached) $ECHO_C" >&6
86894 else
86895 if test x$gcc_no_link = xyes; then
86896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86898 { (exit 1); exit 1; }; }
86900 cat >conftest.$ac_ext <<_ACEOF
86901 /* confdefs.h. */
86902 _ACEOF
86903 cat confdefs.h >>conftest.$ac_ext
86904 cat >>conftest.$ac_ext <<_ACEOF
86905 /* end confdefs.h. */
86906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86908 #define $ac_func innocuous_$ac_func
86910 /* System header to define __stub macros and hopefully few prototypes,
86911 which can conflict with char $ac_func (); below.
86912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86913 <limits.h> exists even on freestanding compilers. */
86915 #ifdef __STDC__
86916 # include <limits.h>
86917 #else
86918 # include <assert.h>
86919 #endif
86921 #undef $ac_func
86923 /* Override any gcc2 internal prototype to avoid an error. */
86924 #ifdef __cplusplus
86925 extern "C"
86927 #endif
86928 /* We use char because int might match the return type of a gcc2
86929 builtin and then its argument prototype would still apply. */
86930 char $ac_func ();
86931 /* The GNU C library defines this for functions which it implements
86932 to always fail with ENOSYS. Some functions are actually named
86933 something starting with __ and the normal name is an alias. */
86934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86935 choke me
86936 #else
86937 char (*f) () = $ac_func;
86938 #endif
86939 #ifdef __cplusplus
86941 #endif
86944 main ()
86946 return f != $ac_func;
86948 return 0;
86950 _ACEOF
86951 rm -f conftest.$ac_objext conftest$ac_exeext
86952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86953 (eval $ac_link) 2>conftest.er1
86954 ac_status=$?
86955 grep -v '^ *+' conftest.er1 >conftest.err
86956 rm -f conftest.er1
86957 cat conftest.err >&5
86958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86959 (exit $ac_status); } &&
86960 { ac_try='test -z "$ac_c_werror_flag"
86961 || test ! -s conftest.err'
86962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86963 (eval $ac_try) 2>&5
86964 ac_status=$?
86965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86966 (exit $ac_status); }; } &&
86967 { ac_try='test -s conftest$ac_exeext'
86968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86969 (eval $ac_try) 2>&5
86970 ac_status=$?
86971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86972 (exit $ac_status); }; }; then
86973 eval "$as_ac_var=yes"
86974 else
86975 echo "$as_me: failed program was:" >&5
86976 sed 's/^/| /' conftest.$ac_ext >&5
86978 eval "$as_ac_var=no"
86980 rm -f conftest.err conftest.$ac_objext \
86981 conftest$ac_exeext conftest.$ac_ext
86983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86985 if test `eval echo '${'$as_ac_var'}'` = yes; then
86986 cat >>confdefs.h <<_ACEOF
86987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86988 _ACEOF
86989 ac_XPG2funcs=yes
86990 else
86991 ac_XPG2funcs=no
86993 done
86996 LIBS="$ac_save_LIBS"
86998 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86999 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87000 if test x"$ac_has_iconv_h" = xyes &&
87001 test x"$ac_has_langinfo_h" = xyes &&
87002 test x"$ac_XPG2funcs" = xyes;
87003 then
87004 ac_XPG2_wchar_t=yes
87005 else
87006 ac_XPG2_wchar_t=no
87008 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87009 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87011 # At the moment, only enable wchar_t specializations if all the
87012 # above support is present.
87013 if test x"$ac_isoC99_wchar_t" = xyes &&
87014 test x"$ac_XPG2_wchar_t" = xyes;
87015 then
87016 cat >>confdefs.h <<\_ACEOF
87017 #define _GLIBCXX_USE_WCHAR_T 1
87018 _ACEOF
87020 enable_wchar_t=yes
87023 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87024 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87025 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87026 echo "${ECHO_T}$enable_wchar_t" >&6
87028 cat >>confdefs.h <<\_ACEOF
87029 #define HAVE_COPYSIGN 1
87030 _ACEOF
87032 cat >>confdefs.h <<\_ACEOF
87033 #define HAVE_COPYSIGNF 1
87034 _ACEOF
87036 cat >>confdefs.h <<\_ACEOF
87037 #define HAVE_FINITEF 1
87038 _ACEOF
87040 cat >>confdefs.h <<\_ACEOF
87041 #define HAVE_FINITE 1
87042 _ACEOF
87044 cat >>confdefs.h <<\_ACEOF
87045 #define HAVE_FREXPF 1
87046 _ACEOF
87048 cat >>confdefs.h <<\_ACEOF
87049 #define HAVE_HYPOTF 1
87050 _ACEOF
87052 cat >>confdefs.h <<\_ACEOF
87053 #define HAVE_ISINF 1
87054 _ACEOF
87056 cat >>confdefs.h <<\_ACEOF
87057 #define HAVE_ISINFF 1
87058 _ACEOF
87060 cat >>confdefs.h <<\_ACEOF
87061 #define HAVE_ISNAN 1
87062 _ACEOF
87064 cat >>confdefs.h <<\_ACEOF
87065 #define HAVE_ISNANF 1
87066 _ACEOF
87068 if test x"long_double_math_on_this_cpu" = x"yes"; then
87069 cat >>confdefs.h <<\_ACEOF
87070 #define HAVE_FINITEL 1
87071 _ACEOF
87073 cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_ISINFL 1
87075 _ACEOF
87077 cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_ISNANL 1
87079 _ACEOF
87083 *-netware)
87092 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87093 sys/types.h locale.h float.h inttypes.h
87095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87097 echo "$as_me:$LINENO: checking for $ac_header" >&5
87098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87100 echo $ECHO_N "(cached) $ECHO_C" >&6
87102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87104 else
87105 # Is the header compilable?
87106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87108 cat >conftest.$ac_ext <<_ACEOF
87109 /* confdefs.h. */
87110 _ACEOF
87111 cat confdefs.h >>conftest.$ac_ext
87112 cat >>conftest.$ac_ext <<_ACEOF
87113 /* end confdefs.h. */
87114 $ac_includes_default
87115 #include <$ac_header>
87116 _ACEOF
87117 rm -f conftest.$ac_objext
87118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87119 (eval $ac_compile) 2>conftest.er1
87120 ac_status=$?
87121 grep -v '^ *+' conftest.er1 >conftest.err
87122 rm -f conftest.er1
87123 cat conftest.err >&5
87124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87125 (exit $ac_status); } &&
87126 { ac_try='test -z "$ac_c_werror_flag"
87127 || test ! -s conftest.err'
87128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87129 (eval $ac_try) 2>&5
87130 ac_status=$?
87131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87132 (exit $ac_status); }; } &&
87133 { ac_try='test -s conftest.$ac_objext'
87134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87135 (eval $ac_try) 2>&5
87136 ac_status=$?
87137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87138 (exit $ac_status); }; }; then
87139 ac_header_compiler=yes
87140 else
87141 echo "$as_me: failed program was:" >&5
87142 sed 's/^/| /' conftest.$ac_ext >&5
87144 ac_header_compiler=no
87146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87148 echo "${ECHO_T}$ac_header_compiler" >&6
87150 # Is the header present?
87151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87153 cat >conftest.$ac_ext <<_ACEOF
87154 /* confdefs.h. */
87155 _ACEOF
87156 cat confdefs.h >>conftest.$ac_ext
87157 cat >>conftest.$ac_ext <<_ACEOF
87158 /* end confdefs.h. */
87159 #include <$ac_header>
87160 _ACEOF
87161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87163 ac_status=$?
87164 grep -v '^ *+' conftest.er1 >conftest.err
87165 rm -f conftest.er1
87166 cat conftest.err >&5
87167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168 (exit $ac_status); } >/dev/null; then
87169 if test -s conftest.err; then
87170 ac_cpp_err=$ac_c_preproc_warn_flag
87171 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87172 else
87173 ac_cpp_err=
87175 else
87176 ac_cpp_err=yes
87178 if test -z "$ac_cpp_err"; then
87179 ac_header_preproc=yes
87180 else
87181 echo "$as_me: failed program was:" >&5
87182 sed 's/^/| /' conftest.$ac_ext >&5
87184 ac_header_preproc=no
87186 rm -f conftest.err conftest.$ac_ext
87187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87188 echo "${ECHO_T}$ac_header_preproc" >&6
87190 # So? What about this header?
87191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87192 yes:no: )
87193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87197 ac_header_preproc=yes
87199 no:yes:* )
87200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87213 cat <<\_ASBOX
87214 ## ----------------------------------------- ##
87215 ## Report this to the package-unused lists. ##
87216 ## ----------------------------------------- ##
87217 _ASBOX
87219 sed "s/^/$as_me: WARNING: /" >&2
87221 esac
87222 echo "$as_me:$LINENO: checking for $ac_header" >&5
87223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87225 echo $ECHO_N "(cached) $ECHO_C" >&6
87226 else
87227 eval "$as_ac_Header=\$ac_header_preproc"
87229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87234 cat >>confdefs.h <<_ACEOF
87235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87236 _ACEOF
87240 done
87242 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87245 # If we're not using GNU ld, then there's no point in even trying these
87246 # tests. Check for that first. We should have already tested for gld
87247 # by now (in libtool), but require it now just to be safe...
87248 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87249 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87253 # The name set by libtool depends on the version of libtool. Shame on us
87254 # for depending on an impl detail, but c'est la vie. Older versions used
87255 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87256 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87257 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87258 # set (hence we're using an older libtool), then set it.
87259 if test x${with_gnu_ld+set} != xset; then
87260 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87261 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87262 with_gnu_ld=no
87263 else
87264 with_gnu_ld=$ac_cv_prog_gnu_ld
87268 # Start by getting the version number. I think the libtool test already
87269 # does some of this, but throws away the result.
87271 ldver=`$LD --version 2>/dev/null | head -1 | \
87272 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87274 glibcxx_gnu_ld_version=`echo $ldver | \
87275 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87277 # Set --gc-sections.
87278 if test "$with_gnu_ld" = "notbroken"; then
87279 # GNU ld it is! Joy and bunny rabbits!
87281 # All these tests are for C++; save the language and the compiler flags.
87282 # Need to do this so that g++ won't try to link in libstdc++
87283 ac_test_CFLAGS="${CFLAGS+set}"
87284 ac_save_CFLAGS="$CFLAGS"
87285 CFLAGS='-x c++ -Wl,--gc-sections'
87287 # Check for -Wl,--gc-sections
87288 # XXX This test is broken at the moment, as symbols required for linking
87289 # are now in libsupc++ (not built yet). In addition, this test has
87290 # cored on solaris in the past. In addition, --gc-sections doesn't
87291 # really work at the moment (keeps on discarding used sections, first
87292 # .eh_frame and now some of the glibc sections for iconv).
87293 # Bzzzzt. Thanks for playing, maybe next time.
87294 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87295 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87296 if test "$cross_compiling" = yes; then
87297 ac_sectionLDflags=yes
87298 else
87299 cat >conftest.$ac_ext <<_ACEOF
87300 /* confdefs.h. */
87301 _ACEOF
87302 cat confdefs.h >>conftest.$ac_ext
87303 cat >>conftest.$ac_ext <<_ACEOF
87304 /* end confdefs.h. */
87306 int main(void)
87308 try { throw 1; }
87309 catch (...) { };
87310 return 0;
87313 _ACEOF
87314 rm -f conftest$ac_exeext
87315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87316 (eval $ac_link) 2>&5
87317 ac_status=$?
87318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87321 (eval $ac_try) 2>&5
87322 ac_status=$?
87323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87324 (exit $ac_status); }; }; then
87325 ac_sectionLDflags=yes
87326 else
87327 echo "$as_me: program exited with status $ac_status" >&5
87328 echo "$as_me: failed program was:" >&5
87329 sed 's/^/| /' conftest.$ac_ext >&5
87331 ( exit $ac_status )
87332 ac_sectionLDflags=no
87334 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87336 if test "$ac_test_CFLAGS" = set; then
87337 CFLAGS="$ac_save_CFLAGS"
87338 else
87339 # this is the suspicious part
87340 CFLAGS=''
87342 if test "$ac_sectionLDflags" = "yes"; then
87343 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87345 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87346 echo "${ECHO_T}$ac_sectionLDflags" >&6
87349 # Set linker optimization flags.
87350 if test x"$with_gnu_ld" = x"yes"; then
87351 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87359 echo "$as_me:$LINENO: checking for main in -lm" >&5
87360 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87361 if test "${ac_cv_lib_m_main+set}" = set; then
87362 echo $ECHO_N "(cached) $ECHO_C" >&6
87363 else
87364 ac_check_lib_save_LIBS=$LIBS
87365 LIBS="-lm $LIBS"
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. */
87380 main ()
87382 main ();
87384 return 0;
87386 _ACEOF
87387 rm -f conftest.$ac_objext conftest$ac_exeext
87388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87389 (eval $ac_link) 2>conftest.er1
87390 ac_status=$?
87391 grep -v '^ *+' conftest.er1 >conftest.err
87392 rm -f conftest.er1
87393 cat conftest.err >&5
87394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87395 (exit $ac_status); } &&
87396 { ac_try='test -z "$ac_c_werror_flag"
87397 || test ! -s conftest.err'
87398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87399 (eval $ac_try) 2>&5
87400 ac_status=$?
87401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87402 (exit $ac_status); }; } &&
87403 { ac_try='test -s conftest$ac_exeext'
87404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87405 (eval $ac_try) 2>&5
87406 ac_status=$?
87407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87408 (exit $ac_status); }; }; then
87409 ac_cv_lib_m_main=yes
87410 else
87411 echo "$as_me: failed program was:" >&5
87412 sed 's/^/| /' conftest.$ac_ext >&5
87414 ac_cv_lib_m_main=no
87416 rm -f conftest.err conftest.$ac_objext \
87417 conftest$ac_exeext conftest.$ac_ext
87418 LIBS=$ac_check_lib_save_LIBS
87420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87421 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87422 if test $ac_cv_lib_m_main = yes; then
87423 cat >>confdefs.h <<_ACEOF
87424 #define HAVE_LIBM 1
87425 _ACEOF
87427 LIBS="-lm $LIBS"
87432 for ac_func in copysignf
87434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87435 echo "$as_me:$LINENO: checking for $ac_func" >&5
87436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87437 if eval "test \"\${$as_ac_var+set}\" = set"; then
87438 echo $ECHO_N "(cached) $ECHO_C" >&6
87439 else
87440 if test x$gcc_no_link = xyes; then
87441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87443 { (exit 1); exit 1; }; }
87445 cat >conftest.$ac_ext <<_ACEOF
87446 /* confdefs.h. */
87447 _ACEOF
87448 cat confdefs.h >>conftest.$ac_ext
87449 cat >>conftest.$ac_ext <<_ACEOF
87450 /* end confdefs.h. */
87451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87453 #define $ac_func innocuous_$ac_func
87455 /* System header to define __stub macros and hopefully few prototypes,
87456 which can conflict with char $ac_func (); below.
87457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87458 <limits.h> exists even on freestanding compilers. */
87460 #ifdef __STDC__
87461 # include <limits.h>
87462 #else
87463 # include <assert.h>
87464 #endif
87466 #undef $ac_func
87468 /* Override any gcc2 internal prototype to avoid an error. */
87469 #ifdef __cplusplus
87470 extern "C"
87472 #endif
87473 /* We use char because int might match the return type of a gcc2
87474 builtin and then its argument prototype would still apply. */
87475 char $ac_func ();
87476 /* The GNU C library defines this for functions which it implements
87477 to always fail with ENOSYS. Some functions are actually named
87478 something starting with __ and the normal name is an alias. */
87479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87480 choke me
87481 #else
87482 char (*f) () = $ac_func;
87483 #endif
87484 #ifdef __cplusplus
87486 #endif
87489 main ()
87491 return f != $ac_func;
87493 return 0;
87495 _ACEOF
87496 rm -f conftest.$ac_objext conftest$ac_exeext
87497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87498 (eval $ac_link) 2>conftest.er1
87499 ac_status=$?
87500 grep -v '^ *+' conftest.er1 >conftest.err
87501 rm -f conftest.er1
87502 cat conftest.err >&5
87503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87504 (exit $ac_status); } &&
87505 { ac_try='test -z "$ac_c_werror_flag"
87506 || test ! -s conftest.err'
87507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87508 (eval $ac_try) 2>&5
87509 ac_status=$?
87510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87511 (exit $ac_status); }; } &&
87512 { ac_try='test -s conftest$ac_exeext'
87513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87514 (eval $ac_try) 2>&5
87515 ac_status=$?
87516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87517 (exit $ac_status); }; }; then
87518 eval "$as_ac_var=yes"
87519 else
87520 echo "$as_me: failed program was:" >&5
87521 sed 's/^/| /' conftest.$ac_ext >&5
87523 eval "$as_ac_var=no"
87525 rm -f conftest.err conftest.$ac_objext \
87526 conftest$ac_exeext conftest.$ac_ext
87528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87530 if test `eval echo '${'$as_ac_var'}'` = yes; then
87531 cat >>confdefs.h <<_ACEOF
87532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87533 _ACEOF
87535 else
87536 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87538 done
87542 for ac_func in __signbit
87544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87545 echo "$as_me:$LINENO: checking for $ac_func" >&5
87546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87547 if eval "test \"\${$as_ac_var+set}\" = set"; then
87548 echo $ECHO_N "(cached) $ECHO_C" >&6
87549 else
87550 if test x$gcc_no_link = xyes; then
87551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87553 { (exit 1); exit 1; }; }
87555 cat >conftest.$ac_ext <<_ACEOF
87556 /* confdefs.h. */
87557 _ACEOF
87558 cat confdefs.h >>conftest.$ac_ext
87559 cat >>conftest.$ac_ext <<_ACEOF
87560 /* end confdefs.h. */
87561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87563 #define $ac_func innocuous_$ac_func
87565 /* System header to define __stub macros and hopefully few prototypes,
87566 which can conflict with char $ac_func (); below.
87567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87568 <limits.h> exists even on freestanding compilers. */
87570 #ifdef __STDC__
87571 # include <limits.h>
87572 #else
87573 # include <assert.h>
87574 #endif
87576 #undef $ac_func
87578 /* Override any gcc2 internal prototype to avoid an error. */
87579 #ifdef __cplusplus
87580 extern "C"
87582 #endif
87583 /* We use char because int might match the return type of a gcc2
87584 builtin and then its argument prototype would still apply. */
87585 char $ac_func ();
87586 /* The GNU C library defines this for functions which it implements
87587 to always fail with ENOSYS. Some functions are actually named
87588 something starting with __ and the normal name is an alias. */
87589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87590 choke me
87591 #else
87592 char (*f) () = $ac_func;
87593 #endif
87594 #ifdef __cplusplus
87596 #endif
87599 main ()
87601 return f != $ac_func;
87603 return 0;
87605 _ACEOF
87606 rm -f conftest.$ac_objext conftest$ac_exeext
87607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87608 (eval $ac_link) 2>conftest.er1
87609 ac_status=$?
87610 grep -v '^ *+' conftest.er1 >conftest.err
87611 rm -f conftest.er1
87612 cat conftest.err >&5
87613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87614 (exit $ac_status); } &&
87615 { ac_try='test -z "$ac_c_werror_flag"
87616 || test ! -s conftest.err'
87617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87618 (eval $ac_try) 2>&5
87619 ac_status=$?
87620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87621 (exit $ac_status); }; } &&
87622 { ac_try='test -s conftest$ac_exeext'
87623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87624 (eval $ac_try) 2>&5
87625 ac_status=$?
87626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87627 (exit $ac_status); }; }; then
87628 eval "$as_ac_var=yes"
87629 else
87630 echo "$as_me: failed program was:" >&5
87631 sed 's/^/| /' conftest.$ac_ext >&5
87633 eval "$as_ac_var=no"
87635 rm -f conftest.err conftest.$ac_objext \
87636 conftest$ac_exeext conftest.$ac_ext
87638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87640 if test `eval echo '${'$as_ac_var'}'` = yes; then
87641 cat >>confdefs.h <<_ACEOF
87642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87643 _ACEOF
87645 else
87646 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87648 done
87652 for ac_func in __signbitf
87654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87655 echo "$as_me:$LINENO: checking for $ac_func" >&5
87656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87657 if eval "test \"\${$as_ac_var+set}\" = set"; then
87658 echo $ECHO_N "(cached) $ECHO_C" >&6
87659 else
87660 if test x$gcc_no_link = xyes; then
87661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87663 { (exit 1); exit 1; }; }
87665 cat >conftest.$ac_ext <<_ACEOF
87666 /* confdefs.h. */
87667 _ACEOF
87668 cat confdefs.h >>conftest.$ac_ext
87669 cat >>conftest.$ac_ext <<_ACEOF
87670 /* end confdefs.h. */
87671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87673 #define $ac_func innocuous_$ac_func
87675 /* System header to define __stub macros and hopefully few prototypes,
87676 which can conflict with char $ac_func (); below.
87677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87678 <limits.h> exists even on freestanding compilers. */
87680 #ifdef __STDC__
87681 # include <limits.h>
87682 #else
87683 # include <assert.h>
87684 #endif
87686 #undef $ac_func
87688 /* Override any gcc2 internal prototype to avoid an error. */
87689 #ifdef __cplusplus
87690 extern "C"
87692 #endif
87693 /* We use char because int might match the return type of a gcc2
87694 builtin and then its argument prototype would still apply. */
87695 char $ac_func ();
87696 /* The GNU C library defines this for functions which it implements
87697 to always fail with ENOSYS. Some functions are actually named
87698 something starting with __ and the normal name is an alias. */
87699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87700 choke me
87701 #else
87702 char (*f) () = $ac_func;
87703 #endif
87704 #ifdef __cplusplus
87706 #endif
87709 main ()
87711 return f != $ac_func;
87713 return 0;
87715 _ACEOF
87716 rm -f conftest.$ac_objext conftest$ac_exeext
87717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87718 (eval $ac_link) 2>conftest.er1
87719 ac_status=$?
87720 grep -v '^ *+' conftest.er1 >conftest.err
87721 rm -f conftest.er1
87722 cat conftest.err >&5
87723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87724 (exit $ac_status); } &&
87725 { ac_try='test -z "$ac_c_werror_flag"
87726 || test ! -s conftest.err'
87727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87728 (eval $ac_try) 2>&5
87729 ac_status=$?
87730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87731 (exit $ac_status); }; } &&
87732 { ac_try='test -s conftest$ac_exeext'
87733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87734 (eval $ac_try) 2>&5
87735 ac_status=$?
87736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87737 (exit $ac_status); }; }; then
87738 eval "$as_ac_var=yes"
87739 else
87740 echo "$as_me: failed program was:" >&5
87741 sed 's/^/| /' conftest.$ac_ext >&5
87743 eval "$as_ac_var=no"
87745 rm -f conftest.err conftest.$ac_objext \
87746 conftest$ac_exeext conftest.$ac_ext
87748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87750 if test `eval echo '${'$as_ac_var'}'` = yes; then
87751 cat >>confdefs.h <<_ACEOF
87752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87753 _ACEOF
87755 else
87756 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87758 done
87761 if test x$ac_cv_func_copysignl = x"yes"; then
87763 for ac_func in __signbitl
87765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87766 echo "$as_me:$LINENO: checking for $ac_func" >&5
87767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87768 if eval "test \"\${$as_ac_var+set}\" = set"; then
87769 echo $ECHO_N "(cached) $ECHO_C" >&6
87770 else
87771 if test x$gcc_no_link = xyes; then
87772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87774 { (exit 1); exit 1; }; }
87776 cat >conftest.$ac_ext <<_ACEOF
87777 /* confdefs.h. */
87778 _ACEOF
87779 cat confdefs.h >>conftest.$ac_ext
87780 cat >>conftest.$ac_ext <<_ACEOF
87781 /* end confdefs.h. */
87782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87784 #define $ac_func innocuous_$ac_func
87786 /* System header to define __stub macros and hopefully few prototypes,
87787 which can conflict with char $ac_func (); below.
87788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87789 <limits.h> exists even on freestanding compilers. */
87791 #ifdef __STDC__
87792 # include <limits.h>
87793 #else
87794 # include <assert.h>
87795 #endif
87797 #undef $ac_func
87799 /* Override any gcc2 internal prototype to avoid an error. */
87800 #ifdef __cplusplus
87801 extern "C"
87803 #endif
87804 /* We use char because int might match the return type of a gcc2
87805 builtin and then its argument prototype would still apply. */
87806 char $ac_func ();
87807 /* The GNU C library defines this for functions which it implements
87808 to always fail with ENOSYS. Some functions are actually named
87809 something starting with __ and the normal name is an alias. */
87810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87811 choke me
87812 #else
87813 char (*f) () = $ac_func;
87814 #endif
87815 #ifdef __cplusplus
87817 #endif
87820 main ()
87822 return f != $ac_func;
87824 return 0;
87826 _ACEOF
87827 rm -f conftest.$ac_objext conftest$ac_exeext
87828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87829 (eval $ac_link) 2>conftest.er1
87830 ac_status=$?
87831 grep -v '^ *+' conftest.er1 >conftest.err
87832 rm -f conftest.er1
87833 cat conftest.err >&5
87834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87835 (exit $ac_status); } &&
87836 { ac_try='test -z "$ac_c_werror_flag"
87837 || test ! -s conftest.err'
87838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87839 (eval $ac_try) 2>&5
87840 ac_status=$?
87841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87842 (exit $ac_status); }; } &&
87843 { ac_try='test -s conftest$ac_exeext'
87844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87845 (eval $ac_try) 2>&5
87846 ac_status=$?
87847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87848 (exit $ac_status); }; }; then
87849 eval "$as_ac_var=yes"
87850 else
87851 echo "$as_me: failed program was:" >&5
87852 sed 's/^/| /' conftest.$ac_ext >&5
87854 eval "$as_ac_var=no"
87856 rm -f conftest.err conftest.$ac_objext \
87857 conftest$ac_exeext conftest.$ac_ext
87859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87861 if test `eval echo '${'$as_ac_var'}'` = yes; then
87862 cat >>confdefs.h <<_ACEOF
87863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87864 _ACEOF
87866 else
87867 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87869 done
87873 # Used in libmath/Makefile.am.
87874 if test -n "$LIBMATHOBJS"; then
87875 need_libmath=yes
87880 # Test wchar.h for mbstate_t, which is needed for char_traits and
87881 # others even if wchar_t support is not on.
87882 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87883 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87884 cat >conftest.$ac_ext <<_ACEOF
87885 /* confdefs.h. */
87886 _ACEOF
87887 cat confdefs.h >>conftest.$ac_ext
87888 cat >>conftest.$ac_ext <<_ACEOF
87889 /* end confdefs.h. */
87890 #include <wchar.h>
87892 main ()
87894 mbstate_t teststate;
87896 return 0;
87898 _ACEOF
87899 rm -f conftest.$ac_objext
87900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87901 (eval $ac_compile) 2>conftest.er1
87902 ac_status=$?
87903 grep -v '^ *+' conftest.er1 >conftest.err
87904 rm -f conftest.er1
87905 cat conftest.err >&5
87906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87907 (exit $ac_status); } &&
87908 { ac_try='test -z "$ac_c_werror_flag"
87909 || test ! -s conftest.err'
87910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87911 (eval $ac_try) 2>&5
87912 ac_status=$?
87913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87914 (exit $ac_status); }; } &&
87915 { ac_try='test -s conftest.$ac_objext'
87916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87917 (eval $ac_try) 2>&5
87918 ac_status=$?
87919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87920 (exit $ac_status); }; }; then
87921 have_mbstate_t=yes
87922 else
87923 echo "$as_me: failed program was:" >&5
87924 sed 's/^/| /' conftest.$ac_ext >&5
87926 have_mbstate_t=no
87928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87929 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87930 echo "${ECHO_T}$have_mbstate_t" >&6
87931 if test x"$have_mbstate_t" = xyes; then
87932 cat >>confdefs.h <<\_ACEOF
87933 #define HAVE_MBSTATE_T 1
87934 _ACEOF
87938 # Sanity check for existence of ISO C99 headers for extended encoding.
87940 for ac_header in wchar.h
87942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87944 echo "$as_me:$LINENO: checking for $ac_header" >&5
87945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87947 echo $ECHO_N "(cached) $ECHO_C" >&6
87949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87951 else
87952 # Is the header compilable?
87953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87955 cat >conftest.$ac_ext <<_ACEOF
87956 /* confdefs.h. */
87957 _ACEOF
87958 cat confdefs.h >>conftest.$ac_ext
87959 cat >>conftest.$ac_ext <<_ACEOF
87960 /* end confdefs.h. */
87961 $ac_includes_default
87962 #include <$ac_header>
87963 _ACEOF
87964 rm -f conftest.$ac_objext
87965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87966 (eval $ac_compile) 2>conftest.er1
87967 ac_status=$?
87968 grep -v '^ *+' conftest.er1 >conftest.err
87969 rm -f conftest.er1
87970 cat conftest.err >&5
87971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87972 (exit $ac_status); } &&
87973 { ac_try='test -z "$ac_c_werror_flag"
87974 || test ! -s conftest.err'
87975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87976 (eval $ac_try) 2>&5
87977 ac_status=$?
87978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87979 (exit $ac_status); }; } &&
87980 { ac_try='test -s conftest.$ac_objext'
87981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87982 (eval $ac_try) 2>&5
87983 ac_status=$?
87984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87985 (exit $ac_status); }; }; then
87986 ac_header_compiler=yes
87987 else
87988 echo "$as_me: failed program was:" >&5
87989 sed 's/^/| /' conftest.$ac_ext >&5
87991 ac_header_compiler=no
87993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87995 echo "${ECHO_T}$ac_header_compiler" >&6
87997 # Is the header present?
87998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88000 cat >conftest.$ac_ext <<_ACEOF
88001 /* confdefs.h. */
88002 _ACEOF
88003 cat confdefs.h >>conftest.$ac_ext
88004 cat >>conftest.$ac_ext <<_ACEOF
88005 /* end confdefs.h. */
88006 #include <$ac_header>
88007 _ACEOF
88008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88010 ac_status=$?
88011 grep -v '^ *+' conftest.er1 >conftest.err
88012 rm -f conftest.er1
88013 cat conftest.err >&5
88014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88015 (exit $ac_status); } >/dev/null; then
88016 if test -s conftest.err; then
88017 ac_cpp_err=$ac_c_preproc_warn_flag
88018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88019 else
88020 ac_cpp_err=
88022 else
88023 ac_cpp_err=yes
88025 if test -z "$ac_cpp_err"; then
88026 ac_header_preproc=yes
88027 else
88028 echo "$as_me: failed program was:" >&5
88029 sed 's/^/| /' conftest.$ac_ext >&5
88031 ac_header_preproc=no
88033 rm -f conftest.err conftest.$ac_ext
88034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88035 echo "${ECHO_T}$ac_header_preproc" >&6
88037 # So? What about this header?
88038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88039 yes:no: )
88040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88044 ac_header_preproc=yes
88046 no:yes:* )
88047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88060 cat <<\_ASBOX
88061 ## ----------------------------------------- ##
88062 ## Report this to the package-unused lists. ##
88063 ## ----------------------------------------- ##
88064 _ASBOX
88066 sed "s/^/$as_me: WARNING: /" >&2
88068 esac
88069 echo "$as_me:$LINENO: checking for $ac_header" >&5
88070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88072 echo $ECHO_N "(cached) $ECHO_C" >&6
88073 else
88074 eval "$as_ac_Header=\$ac_header_preproc"
88076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88081 cat >>confdefs.h <<_ACEOF
88082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88083 _ACEOF
88084 ac_has_wchar_h=yes
88085 else
88086 ac_has_wchar_h=no
88089 done
88092 for ac_header in wctype.h
88094 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88096 echo "$as_me:$LINENO: checking for $ac_header" >&5
88097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88099 echo $ECHO_N "(cached) $ECHO_C" >&6
88101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88103 else
88104 # Is the header compilable?
88105 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88106 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88107 cat >conftest.$ac_ext <<_ACEOF
88108 /* confdefs.h. */
88109 _ACEOF
88110 cat confdefs.h >>conftest.$ac_ext
88111 cat >>conftest.$ac_ext <<_ACEOF
88112 /* end confdefs.h. */
88113 $ac_includes_default
88114 #include <$ac_header>
88115 _ACEOF
88116 rm -f conftest.$ac_objext
88117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88118 (eval $ac_compile) 2>conftest.er1
88119 ac_status=$?
88120 grep -v '^ *+' conftest.er1 >conftest.err
88121 rm -f conftest.er1
88122 cat conftest.err >&5
88123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88124 (exit $ac_status); } &&
88125 { ac_try='test -z "$ac_c_werror_flag"
88126 || test ! -s conftest.err'
88127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88128 (eval $ac_try) 2>&5
88129 ac_status=$?
88130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88131 (exit $ac_status); }; } &&
88132 { ac_try='test -s conftest.$ac_objext'
88133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88134 (eval $ac_try) 2>&5
88135 ac_status=$?
88136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88137 (exit $ac_status); }; }; then
88138 ac_header_compiler=yes
88139 else
88140 echo "$as_me: failed program was:" >&5
88141 sed 's/^/| /' conftest.$ac_ext >&5
88143 ac_header_compiler=no
88145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88147 echo "${ECHO_T}$ac_header_compiler" >&6
88149 # Is the header present?
88150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88152 cat >conftest.$ac_ext <<_ACEOF
88153 /* confdefs.h. */
88154 _ACEOF
88155 cat confdefs.h >>conftest.$ac_ext
88156 cat >>conftest.$ac_ext <<_ACEOF
88157 /* end confdefs.h. */
88158 #include <$ac_header>
88159 _ACEOF
88160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88162 ac_status=$?
88163 grep -v '^ *+' conftest.er1 >conftest.err
88164 rm -f conftest.er1
88165 cat conftest.err >&5
88166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88167 (exit $ac_status); } >/dev/null; then
88168 if test -s conftest.err; then
88169 ac_cpp_err=$ac_c_preproc_warn_flag
88170 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88171 else
88172 ac_cpp_err=
88174 else
88175 ac_cpp_err=yes
88177 if test -z "$ac_cpp_err"; then
88178 ac_header_preproc=yes
88179 else
88180 echo "$as_me: failed program was:" >&5
88181 sed 's/^/| /' conftest.$ac_ext >&5
88183 ac_header_preproc=no
88185 rm -f conftest.err conftest.$ac_ext
88186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88187 echo "${ECHO_T}$ac_header_preproc" >&6
88189 # So? What about this header?
88190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88191 yes:no: )
88192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88196 ac_header_preproc=yes
88198 no:yes:* )
88199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88212 cat <<\_ASBOX
88213 ## ----------------------------------------- ##
88214 ## Report this to the package-unused lists. ##
88215 ## ----------------------------------------- ##
88216 _ASBOX
88218 sed "s/^/$as_me: WARNING: /" >&2
88220 esac
88221 echo "$as_me:$LINENO: checking for $ac_header" >&5
88222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88224 echo $ECHO_N "(cached) $ECHO_C" >&6
88225 else
88226 eval "$as_ac_Header=\$ac_header_preproc"
88228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88233 cat >>confdefs.h <<_ACEOF
88234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88235 _ACEOF
88236 ac_has_wctype_h=yes
88237 else
88238 ac_has_wctype_h=no
88241 done
88244 # Only continue checking if the ISO C99 headers exist and support is on.
88245 if test x"$ac_has_wchar_h" = xyes &&
88246 test x"$ac_has_wctype_h" = xyes &&
88247 test x"$enable_c_mbchar" != xno; then
88249 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88250 # numeric_limits can instantiate type_traits<wchar_t>
88251 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88252 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88253 cat >conftest.$ac_ext <<_ACEOF
88254 /* confdefs.h. */
88255 _ACEOF
88256 cat confdefs.h >>conftest.$ac_ext
88257 cat >>conftest.$ac_ext <<_ACEOF
88258 /* end confdefs.h. */
88259 #include <wchar.h>
88261 main ()
88263 int i = WCHAR_MIN; int j = WCHAR_MAX;
88265 return 0;
88267 _ACEOF
88268 rm -f conftest.$ac_objext
88269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88270 (eval $ac_compile) 2>conftest.er1
88271 ac_status=$?
88272 grep -v '^ *+' conftest.er1 >conftest.err
88273 rm -f conftest.er1
88274 cat conftest.err >&5
88275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88276 (exit $ac_status); } &&
88277 { ac_try='test -z "$ac_c_werror_flag"
88278 || test ! -s conftest.err'
88279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88280 (eval $ac_try) 2>&5
88281 ac_status=$?
88282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88283 (exit $ac_status); }; } &&
88284 { ac_try='test -s conftest.$ac_objext'
88285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88286 (eval $ac_try) 2>&5
88287 ac_status=$?
88288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88289 (exit $ac_status); }; }; then
88290 has_wchar_minmax=yes
88291 else
88292 echo "$as_me: failed program was:" >&5
88293 sed 's/^/| /' conftest.$ac_ext >&5
88295 has_wchar_minmax=no
88297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88298 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88299 echo "${ECHO_T}$has_wchar_minmax" >&6
88301 # Test wchar.h for WEOF, which is what we use to determine whether
88302 # to specialize for char_traits<wchar_t> or not.
88303 echo "$as_me:$LINENO: checking for WEOF" >&5
88304 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88305 cat >conftest.$ac_ext <<_ACEOF
88306 /* confdefs.h. */
88307 _ACEOF
88308 cat confdefs.h >>conftest.$ac_ext
88309 cat >>conftest.$ac_ext <<_ACEOF
88310 /* end confdefs.h. */
88312 #include <wchar.h>
88313 #include <stddef.h>
88315 main ()
88317 wint_t i = WEOF;
88319 return 0;
88321 _ACEOF
88322 rm -f conftest.$ac_objext
88323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88324 (eval $ac_compile) 2>conftest.er1
88325 ac_status=$?
88326 grep -v '^ *+' conftest.er1 >conftest.err
88327 rm -f conftest.er1
88328 cat conftest.err >&5
88329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88330 (exit $ac_status); } &&
88331 { ac_try='test -z "$ac_c_werror_flag"
88332 || test ! -s conftest.err'
88333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88334 (eval $ac_try) 2>&5
88335 ac_status=$?
88336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88337 (exit $ac_status); }; } &&
88338 { ac_try='test -s conftest.$ac_objext'
88339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88340 (eval $ac_try) 2>&5
88341 ac_status=$?
88342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88343 (exit $ac_status); }; }; then
88344 has_weof=yes
88345 else
88346 echo "$as_me: failed program was:" >&5
88347 sed 's/^/| /' conftest.$ac_ext >&5
88349 has_weof=no
88351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88352 echo "$as_me:$LINENO: result: $has_weof" >&5
88353 echo "${ECHO_T}$has_weof" >&6
88355 # Tests for wide character functions used in char_traits<wchar_t>.
88356 ac_wfuncs=yes
88363 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88366 echo "$as_me:$LINENO: checking for $ac_func" >&5
88367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88368 if eval "test \"\${$as_ac_var+set}\" = set"; then
88369 echo $ECHO_N "(cached) $ECHO_C" >&6
88370 else
88371 if test x$gcc_no_link = xyes; then
88372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88374 { (exit 1); exit 1; }; }
88376 cat >conftest.$ac_ext <<_ACEOF
88377 /* confdefs.h. */
88378 _ACEOF
88379 cat confdefs.h >>conftest.$ac_ext
88380 cat >>conftest.$ac_ext <<_ACEOF
88381 /* end confdefs.h. */
88382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88384 #define $ac_func innocuous_$ac_func
88386 /* System header to define __stub macros and hopefully few prototypes,
88387 which can conflict with char $ac_func (); below.
88388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88389 <limits.h> exists even on freestanding compilers. */
88391 #ifdef __STDC__
88392 # include <limits.h>
88393 #else
88394 # include <assert.h>
88395 #endif
88397 #undef $ac_func
88399 /* Override any gcc2 internal prototype to avoid an error. */
88400 #ifdef __cplusplus
88401 extern "C"
88403 #endif
88404 /* We use char because int might match the return type of a gcc2
88405 builtin and then its argument prototype would still apply. */
88406 char $ac_func ();
88407 /* The GNU C library defines this for functions which it implements
88408 to always fail with ENOSYS. Some functions are actually named
88409 something starting with __ and the normal name is an alias. */
88410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88411 choke me
88412 #else
88413 char (*f) () = $ac_func;
88414 #endif
88415 #ifdef __cplusplus
88417 #endif
88420 main ()
88422 return f != $ac_func;
88424 return 0;
88426 _ACEOF
88427 rm -f conftest.$ac_objext conftest$ac_exeext
88428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88429 (eval $ac_link) 2>conftest.er1
88430 ac_status=$?
88431 grep -v '^ *+' conftest.er1 >conftest.err
88432 rm -f conftest.er1
88433 cat conftest.err >&5
88434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88435 (exit $ac_status); } &&
88436 { ac_try='test -z "$ac_c_werror_flag"
88437 || test ! -s conftest.err'
88438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88439 (eval $ac_try) 2>&5
88440 ac_status=$?
88441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88442 (exit $ac_status); }; } &&
88443 { ac_try='test -s conftest$ac_exeext'
88444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88445 (eval $ac_try) 2>&5
88446 ac_status=$?
88447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88448 (exit $ac_status); }; }; then
88449 eval "$as_ac_var=yes"
88450 else
88451 echo "$as_me: failed program was:" >&5
88452 sed 's/^/| /' conftest.$ac_ext >&5
88454 eval "$as_ac_var=no"
88456 rm -f conftest.err conftest.$ac_objext \
88457 conftest$ac_exeext conftest.$ac_ext
88459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88461 if test `eval echo '${'$as_ac_var'}'` = yes; then
88462 cat >>confdefs.h <<_ACEOF
88463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88464 _ACEOF
88466 else
88467 ac_wfuncs=no
88469 done
88472 # Checks for names injected into std:: by the c_std headers.
88519 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88520 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88521 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88522 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88523 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88524 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88527 echo "$as_me:$LINENO: checking for $ac_func" >&5
88528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88529 if eval "test \"\${$as_ac_var+set}\" = set"; then
88530 echo $ECHO_N "(cached) $ECHO_C" >&6
88531 else
88532 if test x$gcc_no_link = xyes; then
88533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88535 { (exit 1); exit 1; }; }
88537 cat >conftest.$ac_ext <<_ACEOF
88538 /* confdefs.h. */
88539 _ACEOF
88540 cat confdefs.h >>conftest.$ac_ext
88541 cat >>conftest.$ac_ext <<_ACEOF
88542 /* end confdefs.h. */
88543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88545 #define $ac_func innocuous_$ac_func
88547 /* System header to define __stub macros and hopefully few prototypes,
88548 which can conflict with char $ac_func (); below.
88549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88550 <limits.h> exists even on freestanding compilers. */
88552 #ifdef __STDC__
88553 # include <limits.h>
88554 #else
88555 # include <assert.h>
88556 #endif
88558 #undef $ac_func
88560 /* Override any gcc2 internal prototype to avoid an error. */
88561 #ifdef __cplusplus
88562 extern "C"
88564 #endif
88565 /* We use char because int might match the return type of a gcc2
88566 builtin and then its argument prototype would still apply. */
88567 char $ac_func ();
88568 /* The GNU C library defines this for functions which it implements
88569 to always fail with ENOSYS. Some functions are actually named
88570 something starting with __ and the normal name is an alias. */
88571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88572 choke me
88573 #else
88574 char (*f) () = $ac_func;
88575 #endif
88576 #ifdef __cplusplus
88578 #endif
88581 main ()
88583 return f != $ac_func;
88585 return 0;
88587 _ACEOF
88588 rm -f conftest.$ac_objext conftest$ac_exeext
88589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88590 (eval $ac_link) 2>conftest.er1
88591 ac_status=$?
88592 grep -v '^ *+' conftest.er1 >conftest.err
88593 rm -f conftest.er1
88594 cat conftest.err >&5
88595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88596 (exit $ac_status); } &&
88597 { ac_try='test -z "$ac_c_werror_flag"
88598 || test ! -s conftest.err'
88599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88600 (eval $ac_try) 2>&5
88601 ac_status=$?
88602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88603 (exit $ac_status); }; } &&
88604 { ac_try='test -s conftest$ac_exeext'
88605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88606 (eval $ac_try) 2>&5
88607 ac_status=$?
88608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88609 (exit $ac_status); }; }; then
88610 eval "$as_ac_var=yes"
88611 else
88612 echo "$as_me: failed program was:" >&5
88613 sed 's/^/| /' conftest.$ac_ext >&5
88615 eval "$as_ac_var=no"
88617 rm -f conftest.err conftest.$ac_objext \
88618 conftest$ac_exeext conftest.$ac_ext
88620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88622 if test `eval echo '${'$as_ac_var'}'` = yes; then
88623 cat >>confdefs.h <<_ACEOF
88624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88625 _ACEOF
88627 else
88628 ac_wfuncs=no
88630 done
88633 # Checks for wide character functions that are not required
88634 # for basic wchar_t support. Don't disable support if they are missing.
88635 # Injection of these is wrapped with guard macros.
88641 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88644 echo "$as_me:$LINENO: checking for $ac_func" >&5
88645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88646 if eval "test \"\${$as_ac_var+set}\" = set"; then
88647 echo $ECHO_N "(cached) $ECHO_C" >&6
88648 else
88649 if test x$gcc_no_link = xyes; then
88650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88652 { (exit 1); exit 1; }; }
88654 cat >conftest.$ac_ext <<_ACEOF
88655 /* confdefs.h. */
88656 _ACEOF
88657 cat confdefs.h >>conftest.$ac_ext
88658 cat >>conftest.$ac_ext <<_ACEOF
88659 /* end confdefs.h. */
88660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88662 #define $ac_func innocuous_$ac_func
88664 /* System header to define __stub macros and hopefully few prototypes,
88665 which can conflict with char $ac_func (); below.
88666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88667 <limits.h> exists even on freestanding compilers. */
88669 #ifdef __STDC__
88670 # include <limits.h>
88671 #else
88672 # include <assert.h>
88673 #endif
88675 #undef $ac_func
88677 /* Override any gcc2 internal prototype to avoid an error. */
88678 #ifdef __cplusplus
88679 extern "C"
88681 #endif
88682 /* We use char because int might match the return type of a gcc2
88683 builtin and then its argument prototype would still apply. */
88684 char $ac_func ();
88685 /* The GNU C library defines this for functions which it implements
88686 to always fail with ENOSYS. Some functions are actually named
88687 something starting with __ and the normal name is an alias. */
88688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88689 choke me
88690 #else
88691 char (*f) () = $ac_func;
88692 #endif
88693 #ifdef __cplusplus
88695 #endif
88698 main ()
88700 return f != $ac_func;
88702 return 0;
88704 _ACEOF
88705 rm -f conftest.$ac_objext conftest$ac_exeext
88706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88707 (eval $ac_link) 2>conftest.er1
88708 ac_status=$?
88709 grep -v '^ *+' conftest.er1 >conftest.err
88710 rm -f conftest.er1
88711 cat conftest.err >&5
88712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88713 (exit $ac_status); } &&
88714 { ac_try='test -z "$ac_c_werror_flag"
88715 || test ! -s conftest.err'
88716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88717 (eval $ac_try) 2>&5
88718 ac_status=$?
88719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88720 (exit $ac_status); }; } &&
88721 { ac_try='test -s conftest$ac_exeext'
88722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88723 (eval $ac_try) 2>&5
88724 ac_status=$?
88725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88726 (exit $ac_status); }; }; then
88727 eval "$as_ac_var=yes"
88728 else
88729 echo "$as_me: failed program was:" >&5
88730 sed 's/^/| /' conftest.$ac_ext >&5
88732 eval "$as_ac_var=no"
88734 rm -f conftest.err conftest.$ac_objext \
88735 conftest$ac_exeext conftest.$ac_ext
88737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88739 if test `eval echo '${'$as_ac_var'}'` = yes; then
88740 cat >>confdefs.h <<_ACEOF
88741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88742 _ACEOF
88745 done
88748 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88749 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88750 if test x"$has_weof" = xyes &&
88751 test x"$has_wchar_minmax" = xyes &&
88752 test x"$ac_wfuncs" = xyes;
88753 then
88754 ac_isoC99_wchar_t=yes
88755 else
88756 ac_isoC99_wchar_t=no
88758 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88759 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88761 # Use iconv for wchar_t to char conversions. As such, check for
88762 # X/Open Portability Guide, version 2 features (XPG2).
88763 if test "${ac_cv_header_iconv_h+set}" = set; then
88764 echo "$as_me:$LINENO: checking for iconv.h" >&5
88765 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88766 if test "${ac_cv_header_iconv_h+set}" = set; then
88767 echo $ECHO_N "(cached) $ECHO_C" >&6
88769 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88770 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88771 else
88772 # Is the header compilable?
88773 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88774 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88775 cat >conftest.$ac_ext <<_ACEOF
88776 /* confdefs.h. */
88777 _ACEOF
88778 cat confdefs.h >>conftest.$ac_ext
88779 cat >>conftest.$ac_ext <<_ACEOF
88780 /* end confdefs.h. */
88781 $ac_includes_default
88782 #include <iconv.h>
88783 _ACEOF
88784 rm -f conftest.$ac_objext
88785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88786 (eval $ac_compile) 2>conftest.er1
88787 ac_status=$?
88788 grep -v '^ *+' conftest.er1 >conftest.err
88789 rm -f conftest.er1
88790 cat conftest.err >&5
88791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88792 (exit $ac_status); } &&
88793 { ac_try='test -z "$ac_c_werror_flag"
88794 || test ! -s conftest.err'
88795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88796 (eval $ac_try) 2>&5
88797 ac_status=$?
88798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88799 (exit $ac_status); }; } &&
88800 { ac_try='test -s conftest.$ac_objext'
88801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88802 (eval $ac_try) 2>&5
88803 ac_status=$?
88804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88805 (exit $ac_status); }; }; then
88806 ac_header_compiler=yes
88807 else
88808 echo "$as_me: failed program was:" >&5
88809 sed 's/^/| /' conftest.$ac_ext >&5
88811 ac_header_compiler=no
88813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88815 echo "${ECHO_T}$ac_header_compiler" >&6
88817 # Is the header present?
88818 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88819 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88820 cat >conftest.$ac_ext <<_ACEOF
88821 /* confdefs.h. */
88822 _ACEOF
88823 cat confdefs.h >>conftest.$ac_ext
88824 cat >>conftest.$ac_ext <<_ACEOF
88825 /* end confdefs.h. */
88826 #include <iconv.h>
88827 _ACEOF
88828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88830 ac_status=$?
88831 grep -v '^ *+' conftest.er1 >conftest.err
88832 rm -f conftest.er1
88833 cat conftest.err >&5
88834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88835 (exit $ac_status); } >/dev/null; then
88836 if test -s conftest.err; then
88837 ac_cpp_err=$ac_c_preproc_warn_flag
88838 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88839 else
88840 ac_cpp_err=
88842 else
88843 ac_cpp_err=yes
88845 if test -z "$ac_cpp_err"; then
88846 ac_header_preproc=yes
88847 else
88848 echo "$as_me: failed program was:" >&5
88849 sed 's/^/| /' conftest.$ac_ext >&5
88851 ac_header_preproc=no
88853 rm -f conftest.err conftest.$ac_ext
88854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88855 echo "${ECHO_T}$ac_header_preproc" >&6
88857 # So? What about this header?
88858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88859 yes:no: )
88860 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88861 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88862 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88863 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88864 ac_header_preproc=yes
88866 no:yes:* )
88867 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88868 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88869 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88870 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88871 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88872 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88873 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88874 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88875 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88876 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88877 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88878 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88880 cat <<\_ASBOX
88881 ## ----------------------------------------- ##
88882 ## Report this to the package-unused lists. ##
88883 ## ----------------------------------------- ##
88884 _ASBOX
88886 sed "s/^/$as_me: WARNING: /" >&2
88888 esac
88889 echo "$as_me:$LINENO: checking for iconv.h" >&5
88890 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88891 if test "${ac_cv_header_iconv_h+set}" = set; then
88892 echo $ECHO_N "(cached) $ECHO_C" >&6
88893 else
88894 ac_cv_header_iconv_h=$ac_header_preproc
88896 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88897 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88900 if test $ac_cv_header_iconv_h = yes; then
88901 ac_has_iconv_h=yes
88902 else
88903 ac_has_iconv_h=no
88907 if test "${ac_cv_header_langinfo_h+set}" = set; then
88908 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88909 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88910 if test "${ac_cv_header_langinfo_h+set}" = set; then
88911 echo $ECHO_N "(cached) $ECHO_C" >&6
88913 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88914 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88915 else
88916 # Is the header compilable?
88917 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88918 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88919 cat >conftest.$ac_ext <<_ACEOF
88920 /* confdefs.h. */
88921 _ACEOF
88922 cat confdefs.h >>conftest.$ac_ext
88923 cat >>conftest.$ac_ext <<_ACEOF
88924 /* end confdefs.h. */
88925 $ac_includes_default
88926 #include <langinfo.h>
88927 _ACEOF
88928 rm -f conftest.$ac_objext
88929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88930 (eval $ac_compile) 2>conftest.er1
88931 ac_status=$?
88932 grep -v '^ *+' conftest.er1 >conftest.err
88933 rm -f conftest.er1
88934 cat conftest.err >&5
88935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88936 (exit $ac_status); } &&
88937 { ac_try='test -z "$ac_c_werror_flag"
88938 || test ! -s conftest.err'
88939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88940 (eval $ac_try) 2>&5
88941 ac_status=$?
88942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88943 (exit $ac_status); }; } &&
88944 { ac_try='test -s conftest.$ac_objext'
88945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88946 (eval $ac_try) 2>&5
88947 ac_status=$?
88948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88949 (exit $ac_status); }; }; then
88950 ac_header_compiler=yes
88951 else
88952 echo "$as_me: failed program was:" >&5
88953 sed 's/^/| /' conftest.$ac_ext >&5
88955 ac_header_compiler=no
88957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88959 echo "${ECHO_T}$ac_header_compiler" >&6
88961 # Is the header present?
88962 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88963 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88964 cat >conftest.$ac_ext <<_ACEOF
88965 /* confdefs.h. */
88966 _ACEOF
88967 cat confdefs.h >>conftest.$ac_ext
88968 cat >>conftest.$ac_ext <<_ACEOF
88969 /* end confdefs.h. */
88970 #include <langinfo.h>
88971 _ACEOF
88972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88974 ac_status=$?
88975 grep -v '^ *+' conftest.er1 >conftest.err
88976 rm -f conftest.er1
88977 cat conftest.err >&5
88978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88979 (exit $ac_status); } >/dev/null; then
88980 if test -s conftest.err; then
88981 ac_cpp_err=$ac_c_preproc_warn_flag
88982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88983 else
88984 ac_cpp_err=
88986 else
88987 ac_cpp_err=yes
88989 if test -z "$ac_cpp_err"; then
88990 ac_header_preproc=yes
88991 else
88992 echo "$as_me: failed program was:" >&5
88993 sed 's/^/| /' conftest.$ac_ext >&5
88995 ac_header_preproc=no
88997 rm -f conftest.err conftest.$ac_ext
88998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88999 echo "${ECHO_T}$ac_header_preproc" >&6
89001 # So? What about this header?
89002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89003 yes:no: )
89004 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89005 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89006 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89007 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89008 ac_header_preproc=yes
89010 no:yes:* )
89011 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89012 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89013 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
89014 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
89015 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89016 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89017 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
89018 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
89019 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89020 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89021 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89022 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89024 cat <<\_ASBOX
89025 ## ----------------------------------------- ##
89026 ## Report this to the package-unused lists. ##
89027 ## ----------------------------------------- ##
89028 _ASBOX
89030 sed "s/^/$as_me: WARNING: /" >&2
89032 esac
89033 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89034 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89035 if test "${ac_cv_header_langinfo_h+set}" = set; then
89036 echo $ECHO_N "(cached) $ECHO_C" >&6
89037 else
89038 ac_cv_header_langinfo_h=$ac_header_preproc
89040 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89041 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89044 if test $ac_cv_header_langinfo_h = yes; then
89045 ac_has_langinfo_h=yes
89046 else
89047 ac_has_langinfo_h=no
89052 # Check for existence of libiconv.a providing XPG2 wchar_t support.
89053 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89054 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89055 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89056 echo $ECHO_N "(cached) $ECHO_C" >&6
89057 else
89058 ac_check_lib_save_LIBS=$LIBS
89059 LIBS="-liconv $LIBS"
89060 if test x$gcc_no_link = xyes; then
89061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89063 { (exit 1); exit 1; }; }
89065 cat >conftest.$ac_ext <<_ACEOF
89066 /* confdefs.h. */
89067 _ACEOF
89068 cat confdefs.h >>conftest.$ac_ext
89069 cat >>conftest.$ac_ext <<_ACEOF
89070 /* end confdefs.h. */
89072 /* Override any gcc2 internal prototype to avoid an error. */
89073 #ifdef __cplusplus
89074 extern "C"
89075 #endif
89076 /* We use char because int might match the return type of a gcc2
89077 builtin and then its argument prototype would still apply. */
89078 char iconv ();
89080 main ()
89082 iconv ();
89084 return 0;
89086 _ACEOF
89087 rm -f conftest.$ac_objext conftest$ac_exeext
89088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89089 (eval $ac_link) 2>conftest.er1
89090 ac_status=$?
89091 grep -v '^ *+' conftest.er1 >conftest.err
89092 rm -f conftest.er1
89093 cat conftest.err >&5
89094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89095 (exit $ac_status); } &&
89096 { ac_try='test -z "$ac_c_werror_flag"
89097 || test ! -s conftest.err'
89098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89099 (eval $ac_try) 2>&5
89100 ac_status=$?
89101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89102 (exit $ac_status); }; } &&
89103 { ac_try='test -s conftest$ac_exeext'
89104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89105 (eval $ac_try) 2>&5
89106 ac_status=$?
89107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89108 (exit $ac_status); }; }; then
89109 ac_cv_lib_iconv_iconv=yes
89110 else
89111 echo "$as_me: failed program was:" >&5
89112 sed 's/^/| /' conftest.$ac_ext >&5
89114 ac_cv_lib_iconv_iconv=no
89116 rm -f conftest.err conftest.$ac_objext \
89117 conftest$ac_exeext conftest.$ac_ext
89118 LIBS=$ac_check_lib_save_LIBS
89120 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89121 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89122 if test $ac_cv_lib_iconv_iconv = yes; then
89123 LIBICONV="-liconv"
89126 ac_save_LIBS="$LIBS"
89127 LIBS="$LIBS $LIBICONV"
89134 for ac_func in iconv_open iconv_close iconv nl_langinfo
89136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89137 echo "$as_me:$LINENO: checking for $ac_func" >&5
89138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89139 if eval "test \"\${$as_ac_var+set}\" = set"; then
89140 echo $ECHO_N "(cached) $ECHO_C" >&6
89141 else
89142 if test x$gcc_no_link = xyes; then
89143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89145 { (exit 1); exit 1; }; }
89147 cat >conftest.$ac_ext <<_ACEOF
89148 /* confdefs.h. */
89149 _ACEOF
89150 cat confdefs.h >>conftest.$ac_ext
89151 cat >>conftest.$ac_ext <<_ACEOF
89152 /* end confdefs.h. */
89153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89155 #define $ac_func innocuous_$ac_func
89157 /* System header to define __stub macros and hopefully few prototypes,
89158 which can conflict with char $ac_func (); below.
89159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89160 <limits.h> exists even on freestanding compilers. */
89162 #ifdef __STDC__
89163 # include <limits.h>
89164 #else
89165 # include <assert.h>
89166 #endif
89168 #undef $ac_func
89170 /* Override any gcc2 internal prototype to avoid an error. */
89171 #ifdef __cplusplus
89172 extern "C"
89174 #endif
89175 /* We use char because int might match the return type of a gcc2
89176 builtin and then its argument prototype would still apply. */
89177 char $ac_func ();
89178 /* The GNU C library defines this for functions which it implements
89179 to always fail with ENOSYS. Some functions are actually named
89180 something starting with __ and the normal name is an alias. */
89181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89182 choke me
89183 #else
89184 char (*f) () = $ac_func;
89185 #endif
89186 #ifdef __cplusplus
89188 #endif
89191 main ()
89193 return f != $ac_func;
89195 return 0;
89197 _ACEOF
89198 rm -f conftest.$ac_objext conftest$ac_exeext
89199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89200 (eval $ac_link) 2>conftest.er1
89201 ac_status=$?
89202 grep -v '^ *+' conftest.er1 >conftest.err
89203 rm -f conftest.er1
89204 cat conftest.err >&5
89205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89206 (exit $ac_status); } &&
89207 { ac_try='test -z "$ac_c_werror_flag"
89208 || test ! -s conftest.err'
89209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89210 (eval $ac_try) 2>&5
89211 ac_status=$?
89212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89213 (exit $ac_status); }; } &&
89214 { ac_try='test -s conftest$ac_exeext'
89215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89216 (eval $ac_try) 2>&5
89217 ac_status=$?
89218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89219 (exit $ac_status); }; }; then
89220 eval "$as_ac_var=yes"
89221 else
89222 echo "$as_me: failed program was:" >&5
89223 sed 's/^/| /' conftest.$ac_ext >&5
89225 eval "$as_ac_var=no"
89227 rm -f conftest.err conftest.$ac_objext \
89228 conftest$ac_exeext conftest.$ac_ext
89230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89232 if test `eval echo '${'$as_ac_var'}'` = yes; then
89233 cat >>confdefs.h <<_ACEOF
89234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89235 _ACEOF
89236 ac_XPG2funcs=yes
89237 else
89238 ac_XPG2funcs=no
89240 done
89243 LIBS="$ac_save_LIBS"
89245 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89246 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89247 if test x"$ac_has_iconv_h" = xyes &&
89248 test x"$ac_has_langinfo_h" = xyes &&
89249 test x"$ac_XPG2funcs" = xyes;
89250 then
89251 ac_XPG2_wchar_t=yes
89252 else
89253 ac_XPG2_wchar_t=no
89255 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89256 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89258 # At the moment, only enable wchar_t specializations if all the
89259 # above support is present.
89260 if test x"$ac_isoC99_wchar_t" = xyes &&
89261 test x"$ac_XPG2_wchar_t" = xyes;
89262 then
89263 cat >>confdefs.h <<\_ACEOF
89264 #define _GLIBCXX_USE_WCHAR_T 1
89265 _ACEOF
89267 enable_wchar_t=yes
89270 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89271 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89272 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89273 echo "${ECHO_T}$enable_wchar_t" >&6
89276 # For showmanyc_helper().
89279 for ac_header in sys/ioctl.h sys/filio.h
89281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89283 echo "$as_me:$LINENO: checking for $ac_header" >&5
89284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89286 echo $ECHO_N "(cached) $ECHO_C" >&6
89288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89290 else
89291 # Is the header compilable?
89292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89294 cat >conftest.$ac_ext <<_ACEOF
89295 /* confdefs.h. */
89296 _ACEOF
89297 cat confdefs.h >>conftest.$ac_ext
89298 cat >>conftest.$ac_ext <<_ACEOF
89299 /* end confdefs.h. */
89300 $ac_includes_default
89301 #include <$ac_header>
89302 _ACEOF
89303 rm -f conftest.$ac_objext
89304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89305 (eval $ac_compile) 2>conftest.er1
89306 ac_status=$?
89307 grep -v '^ *+' conftest.er1 >conftest.err
89308 rm -f conftest.er1
89309 cat conftest.err >&5
89310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89311 (exit $ac_status); } &&
89312 { ac_try='test -z "$ac_c_werror_flag"
89313 || test ! -s conftest.err'
89314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89315 (eval $ac_try) 2>&5
89316 ac_status=$?
89317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89318 (exit $ac_status); }; } &&
89319 { ac_try='test -s conftest.$ac_objext'
89320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89321 (eval $ac_try) 2>&5
89322 ac_status=$?
89323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89324 (exit $ac_status); }; }; then
89325 ac_header_compiler=yes
89326 else
89327 echo "$as_me: failed program was:" >&5
89328 sed 's/^/| /' conftest.$ac_ext >&5
89330 ac_header_compiler=no
89332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89334 echo "${ECHO_T}$ac_header_compiler" >&6
89336 # Is the header present?
89337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89339 cat >conftest.$ac_ext <<_ACEOF
89340 /* confdefs.h. */
89341 _ACEOF
89342 cat confdefs.h >>conftest.$ac_ext
89343 cat >>conftest.$ac_ext <<_ACEOF
89344 /* end confdefs.h. */
89345 #include <$ac_header>
89346 _ACEOF
89347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89349 ac_status=$?
89350 grep -v '^ *+' conftest.er1 >conftest.err
89351 rm -f conftest.er1
89352 cat conftest.err >&5
89353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89354 (exit $ac_status); } >/dev/null; then
89355 if test -s conftest.err; then
89356 ac_cpp_err=$ac_c_preproc_warn_flag
89357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89358 else
89359 ac_cpp_err=
89361 else
89362 ac_cpp_err=yes
89364 if test -z "$ac_cpp_err"; then
89365 ac_header_preproc=yes
89366 else
89367 echo "$as_me: failed program was:" >&5
89368 sed 's/^/| /' conftest.$ac_ext >&5
89370 ac_header_preproc=no
89372 rm -f conftest.err conftest.$ac_ext
89373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89374 echo "${ECHO_T}$ac_header_preproc" >&6
89376 # So? What about this header?
89377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89378 yes:no: )
89379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89383 ac_header_preproc=yes
89385 no:yes:* )
89386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89399 cat <<\_ASBOX
89400 ## ----------------------------------------- ##
89401 ## Report this to the package-unused lists. ##
89402 ## ----------------------------------------- ##
89403 _ASBOX
89405 sed "s/^/$as_me: WARNING: /" >&2
89407 esac
89408 echo "$as_me:$LINENO: checking for $ac_header" >&5
89409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89411 echo $ECHO_N "(cached) $ECHO_C" >&6
89412 else
89413 eval "$as_ac_Header=\$ac_header_preproc"
89415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89420 cat >>confdefs.h <<_ACEOF
89421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89422 _ACEOF
89426 done
89429 if test "${glibcxx_cv_POLL+set}" = set; then
89430 echo $ECHO_N "(cached) $ECHO_C" >&6
89431 else
89433 if test x$gcc_no_link = xyes; then
89434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89436 { (exit 1); exit 1; }; }
89438 cat >conftest.$ac_ext <<_ACEOF
89439 /* confdefs.h. */
89440 _ACEOF
89441 cat confdefs.h >>conftest.$ac_ext
89442 cat >>conftest.$ac_ext <<_ACEOF
89443 /* end confdefs.h. */
89444 #include <poll.h>
89446 main ()
89448 struct pollfd pfd[1];
89449 pfd[0].events = POLLIN;
89450 poll(pfd, 1, 0);
89452 return 0;
89454 _ACEOF
89455 rm -f conftest.$ac_objext conftest$ac_exeext
89456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89457 (eval $ac_link) 2>conftest.er1
89458 ac_status=$?
89459 grep -v '^ *+' conftest.er1 >conftest.err
89460 rm -f conftest.er1
89461 cat conftest.err >&5
89462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89463 (exit $ac_status); } &&
89464 { ac_try='test -z "$ac_c_werror_flag"
89465 || test ! -s conftest.err'
89466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89467 (eval $ac_try) 2>&5
89468 ac_status=$?
89469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89470 (exit $ac_status); }; } &&
89471 { ac_try='test -s conftest$ac_exeext'
89472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89473 (eval $ac_try) 2>&5
89474 ac_status=$?
89475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89476 (exit $ac_status); }; }; then
89477 glibcxx_cv_POLL=yes
89478 else
89479 echo "$as_me: failed program was:" >&5
89480 sed 's/^/| /' conftest.$ac_ext >&5
89482 glibcxx_cv_POLL=no
89484 rm -f conftest.err conftest.$ac_objext \
89485 conftest$ac_exeext conftest.$ac_ext
89489 if test $glibcxx_cv_POLL = yes; then
89490 cat >>confdefs.h <<\_ACEOF
89491 #define HAVE_POLL 1
89492 _ACEOF
89497 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89498 echo $ECHO_N "(cached) $ECHO_C" >&6
89499 else
89501 if test x$gcc_no_link = xyes; then
89502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89504 { (exit 1); exit 1; }; }
89506 cat >conftest.$ac_ext <<_ACEOF
89507 /* confdefs.h. */
89508 _ACEOF
89509 cat confdefs.h >>conftest.$ac_ext
89510 cat >>conftest.$ac_ext <<_ACEOF
89511 /* end confdefs.h. */
89512 #include <sys/stat.h>
89514 main ()
89516 struct stat buffer;
89517 fstat(0, &buffer);
89518 S_ISREG(buffer.st_mode);
89520 return 0;
89522 _ACEOF
89523 rm -f conftest.$ac_objext conftest$ac_exeext
89524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89525 (eval $ac_link) 2>conftest.er1
89526 ac_status=$?
89527 grep -v '^ *+' conftest.er1 >conftest.err
89528 rm -f conftest.er1
89529 cat conftest.err >&5
89530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89531 (exit $ac_status); } &&
89532 { ac_try='test -z "$ac_c_werror_flag"
89533 || test ! -s conftest.err'
89534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89535 (eval $ac_try) 2>&5
89536 ac_status=$?
89537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89538 (exit $ac_status); }; } &&
89539 { ac_try='test -s conftest$ac_exeext'
89540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89541 (eval $ac_try) 2>&5
89542 ac_status=$?
89543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89544 (exit $ac_status); }; }; then
89545 glibcxx_cv_S_ISREG=yes
89546 else
89547 echo "$as_me: failed program was:" >&5
89548 sed 's/^/| /' conftest.$ac_ext >&5
89550 glibcxx_cv_S_ISREG=no
89552 rm -f conftest.err conftest.$ac_objext \
89553 conftest$ac_exeext conftest.$ac_ext
89557 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89558 echo $ECHO_N "(cached) $ECHO_C" >&6
89559 else
89561 if test x$gcc_no_link = xyes; then
89562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89564 { (exit 1); exit 1; }; }
89566 cat >conftest.$ac_ext <<_ACEOF
89567 /* confdefs.h. */
89568 _ACEOF
89569 cat confdefs.h >>conftest.$ac_ext
89570 cat >>conftest.$ac_ext <<_ACEOF
89571 /* end confdefs.h. */
89572 #include <sys/stat.h>
89574 main ()
89576 struct stat buffer;
89577 fstat(0, &buffer);
89578 S_IFREG & buffer.st_mode;
89580 return 0;
89582 _ACEOF
89583 rm -f conftest.$ac_objext conftest$ac_exeext
89584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89585 (eval $ac_link) 2>conftest.er1
89586 ac_status=$?
89587 grep -v '^ *+' conftest.er1 >conftest.err
89588 rm -f conftest.er1
89589 cat conftest.err >&5
89590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89591 (exit $ac_status); } &&
89592 { ac_try='test -z "$ac_c_werror_flag"
89593 || test ! -s conftest.err'
89594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89595 (eval $ac_try) 2>&5
89596 ac_status=$?
89597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89598 (exit $ac_status); }; } &&
89599 { ac_try='test -s conftest$ac_exeext'
89600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89601 (eval $ac_try) 2>&5
89602 ac_status=$?
89603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89604 (exit $ac_status); }; }; then
89605 glibcxx_cv_S_IFREG=yes
89606 else
89607 echo "$as_me: failed program was:" >&5
89608 sed 's/^/| /' conftest.$ac_ext >&5
89610 glibcxx_cv_S_IFREG=no
89612 rm -f conftest.err conftest.$ac_objext \
89613 conftest$ac_exeext conftest.$ac_ext
89617 if test $glibcxx_cv_S_ISREG = yes; then
89618 cat >>confdefs.h <<\_ACEOF
89619 #define HAVE_S_ISREG 1
89620 _ACEOF
89622 elif test $glibcxx_cv_S_IFREG = yes; then
89623 cat >>confdefs.h <<\_ACEOF
89624 #define HAVE_S_IFREG 1
89625 _ACEOF
89630 # For xsputn_2().
89632 for ac_header in sys/uio.h
89634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89636 echo "$as_me:$LINENO: checking for $ac_header" >&5
89637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89639 echo $ECHO_N "(cached) $ECHO_C" >&6
89641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89643 else
89644 # Is the header compilable?
89645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89647 cat >conftest.$ac_ext <<_ACEOF
89648 /* confdefs.h. */
89649 _ACEOF
89650 cat confdefs.h >>conftest.$ac_ext
89651 cat >>conftest.$ac_ext <<_ACEOF
89652 /* end confdefs.h. */
89653 $ac_includes_default
89654 #include <$ac_header>
89655 _ACEOF
89656 rm -f conftest.$ac_objext
89657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89658 (eval $ac_compile) 2>conftest.er1
89659 ac_status=$?
89660 grep -v '^ *+' conftest.er1 >conftest.err
89661 rm -f conftest.er1
89662 cat conftest.err >&5
89663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89664 (exit $ac_status); } &&
89665 { ac_try='test -z "$ac_c_werror_flag"
89666 || test ! -s conftest.err'
89667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89668 (eval $ac_try) 2>&5
89669 ac_status=$?
89670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89671 (exit $ac_status); }; } &&
89672 { ac_try='test -s conftest.$ac_objext'
89673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89674 (eval $ac_try) 2>&5
89675 ac_status=$?
89676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89677 (exit $ac_status); }; }; then
89678 ac_header_compiler=yes
89679 else
89680 echo "$as_me: failed program was:" >&5
89681 sed 's/^/| /' conftest.$ac_ext >&5
89683 ac_header_compiler=no
89685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89687 echo "${ECHO_T}$ac_header_compiler" >&6
89689 # Is the header present?
89690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89692 cat >conftest.$ac_ext <<_ACEOF
89693 /* confdefs.h. */
89694 _ACEOF
89695 cat confdefs.h >>conftest.$ac_ext
89696 cat >>conftest.$ac_ext <<_ACEOF
89697 /* end confdefs.h. */
89698 #include <$ac_header>
89699 _ACEOF
89700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89702 ac_status=$?
89703 grep -v '^ *+' conftest.er1 >conftest.err
89704 rm -f conftest.er1
89705 cat conftest.err >&5
89706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89707 (exit $ac_status); } >/dev/null; then
89708 if test -s conftest.err; then
89709 ac_cpp_err=$ac_c_preproc_warn_flag
89710 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89711 else
89712 ac_cpp_err=
89714 else
89715 ac_cpp_err=yes
89717 if test -z "$ac_cpp_err"; then
89718 ac_header_preproc=yes
89719 else
89720 echo "$as_me: failed program was:" >&5
89721 sed 's/^/| /' conftest.$ac_ext >&5
89723 ac_header_preproc=no
89725 rm -f conftest.err conftest.$ac_ext
89726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89727 echo "${ECHO_T}$ac_header_preproc" >&6
89729 # So? What about this header?
89730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89731 yes:no: )
89732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89735 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89736 ac_header_preproc=yes
89738 no:yes:* )
89739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89743 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89744 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89745 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89752 cat <<\_ASBOX
89753 ## ----------------------------------------- ##
89754 ## Report this to the package-unused lists. ##
89755 ## ----------------------------------------- ##
89756 _ASBOX
89758 sed "s/^/$as_me: WARNING: /" >&2
89760 esac
89761 echo "$as_me:$LINENO: checking for $ac_header" >&5
89762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89764 echo $ECHO_N "(cached) $ECHO_C" >&6
89765 else
89766 eval "$as_ac_Header=\$ac_header_preproc"
89768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89773 cat >>confdefs.h <<_ACEOF
89774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89775 _ACEOF
89779 done
89782 if test "${glibcxx_cv_WRITEV+set}" = set; then
89783 echo $ECHO_N "(cached) $ECHO_C" >&6
89784 else
89786 if test x$gcc_no_link = xyes; then
89787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89789 { (exit 1); exit 1; }; }
89791 cat >conftest.$ac_ext <<_ACEOF
89792 /* confdefs.h. */
89793 _ACEOF
89794 cat confdefs.h >>conftest.$ac_ext
89795 cat >>conftest.$ac_ext <<_ACEOF
89796 /* end confdefs.h. */
89797 #include <sys/uio.h>
89799 main ()
89801 struct iovec iov[2];
89802 writev(0, iov, 0);
89804 return 0;
89806 _ACEOF
89807 rm -f conftest.$ac_objext conftest$ac_exeext
89808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89809 (eval $ac_link) 2>conftest.er1
89810 ac_status=$?
89811 grep -v '^ *+' conftest.er1 >conftest.err
89812 rm -f conftest.er1
89813 cat conftest.err >&5
89814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89815 (exit $ac_status); } &&
89816 { ac_try='test -z "$ac_c_werror_flag"
89817 || test ! -s conftest.err'
89818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89819 (eval $ac_try) 2>&5
89820 ac_status=$?
89821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89822 (exit $ac_status); }; } &&
89823 { ac_try='test -s conftest$ac_exeext'
89824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89825 (eval $ac_try) 2>&5
89826 ac_status=$?
89827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89828 (exit $ac_status); }; }; then
89829 glibcxx_cv_WRITEV=yes
89830 else
89831 echo "$as_me: failed program was:" >&5
89832 sed 's/^/| /' conftest.$ac_ext >&5
89834 glibcxx_cv_WRITEV=no
89836 rm -f conftest.err conftest.$ac_objext \
89837 conftest$ac_exeext conftest.$ac_ext
89841 if test $glibcxx_cv_WRITEV = yes; then
89842 cat >>confdefs.h <<\_ACEOF
89843 #define HAVE_WRITEV 1
89844 _ACEOF
89849 *-qnx6.1* | *-qnx6.2*)
89850 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89853 # If we're not using GNU ld, then there's no point in even trying these
89854 # tests. Check for that first. We should have already tested for gld
89855 # by now (in libtool), but require it now just to be safe...
89856 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89857 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89861 # The name set by libtool depends on the version of libtool. Shame on us
89862 # for depending on an impl detail, but c'est la vie. Older versions used
89863 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89864 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89865 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89866 # set (hence we're using an older libtool), then set it.
89867 if test x${with_gnu_ld+set} != xset; then
89868 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89869 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89870 with_gnu_ld=no
89871 else
89872 with_gnu_ld=$ac_cv_prog_gnu_ld
89876 # Start by getting the version number. I think the libtool test already
89877 # does some of this, but throws away the result.
89879 ldver=`$LD --version 2>/dev/null | head -1 | \
89880 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89882 glibcxx_gnu_ld_version=`echo $ldver | \
89883 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89885 # Set --gc-sections.
89886 if test "$with_gnu_ld" = "notbroken"; then
89887 # GNU ld it is! Joy and bunny rabbits!
89889 # All these tests are for C++; save the language and the compiler flags.
89890 # Need to do this so that g++ won't try to link in libstdc++
89891 ac_test_CFLAGS="${CFLAGS+set}"
89892 ac_save_CFLAGS="$CFLAGS"
89893 CFLAGS='-x c++ -Wl,--gc-sections'
89895 # Check for -Wl,--gc-sections
89896 # XXX This test is broken at the moment, as symbols required for linking
89897 # are now in libsupc++ (not built yet). In addition, this test has
89898 # cored on solaris in the past. In addition, --gc-sections doesn't
89899 # really work at the moment (keeps on discarding used sections, first
89900 # .eh_frame and now some of the glibc sections for iconv).
89901 # Bzzzzt. Thanks for playing, maybe next time.
89902 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89903 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89904 if test "$cross_compiling" = yes; then
89905 ac_sectionLDflags=yes
89906 else
89907 cat >conftest.$ac_ext <<_ACEOF
89908 /* confdefs.h. */
89909 _ACEOF
89910 cat confdefs.h >>conftest.$ac_ext
89911 cat >>conftest.$ac_ext <<_ACEOF
89912 /* end confdefs.h. */
89914 int main(void)
89916 try { throw 1; }
89917 catch (...) { };
89918 return 0;
89921 _ACEOF
89922 rm -f conftest$ac_exeext
89923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89924 (eval $ac_link) 2>&5
89925 ac_status=$?
89926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89929 (eval $ac_try) 2>&5
89930 ac_status=$?
89931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89932 (exit $ac_status); }; }; then
89933 ac_sectionLDflags=yes
89934 else
89935 echo "$as_me: program exited with status $ac_status" >&5
89936 echo "$as_me: failed program was:" >&5
89937 sed 's/^/| /' conftest.$ac_ext >&5
89939 ( exit $ac_status )
89940 ac_sectionLDflags=no
89942 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89944 if test "$ac_test_CFLAGS" = set; then
89945 CFLAGS="$ac_save_CFLAGS"
89946 else
89947 # this is the suspicious part
89948 CFLAGS=''
89950 if test "$ac_sectionLDflags" = "yes"; then
89951 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89953 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
89954 echo "${ECHO_T}$ac_sectionLDflags" >&6
89957 # Set linker optimization flags.
89958 if test x"$with_gnu_ld" = x"yes"; then
89959 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89967 echo "$as_me:$LINENO: checking for main in -lm" >&5
89968 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89969 if test "${ac_cv_lib_m_main+set}" = set; then
89970 echo $ECHO_N "(cached) $ECHO_C" >&6
89971 else
89972 ac_check_lib_save_LIBS=$LIBS
89973 LIBS="-lm $LIBS"
89974 if test x$gcc_no_link = xyes; then
89975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89977 { (exit 1); exit 1; }; }
89979 cat >conftest.$ac_ext <<_ACEOF
89980 /* confdefs.h. */
89981 _ACEOF
89982 cat confdefs.h >>conftest.$ac_ext
89983 cat >>conftest.$ac_ext <<_ACEOF
89984 /* end confdefs.h. */
89988 main ()
89990 main ();
89992 return 0;
89994 _ACEOF
89995 rm -f conftest.$ac_objext conftest$ac_exeext
89996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89997 (eval $ac_link) 2>conftest.er1
89998 ac_status=$?
89999 grep -v '^ *+' conftest.er1 >conftest.err
90000 rm -f conftest.er1
90001 cat conftest.err >&5
90002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90003 (exit $ac_status); } &&
90004 { ac_try='test -z "$ac_c_werror_flag"
90005 || test ! -s conftest.err'
90006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90007 (eval $ac_try) 2>&5
90008 ac_status=$?
90009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90010 (exit $ac_status); }; } &&
90011 { ac_try='test -s conftest$ac_exeext'
90012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90013 (eval $ac_try) 2>&5
90014 ac_status=$?
90015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90016 (exit $ac_status); }; }; then
90017 ac_cv_lib_m_main=yes
90018 else
90019 echo "$as_me: failed program was:" >&5
90020 sed 's/^/| /' conftest.$ac_ext >&5
90022 ac_cv_lib_m_main=no
90024 rm -f conftest.err conftest.$ac_objext \
90025 conftest$ac_exeext conftest.$ac_ext
90026 LIBS=$ac_check_lib_save_LIBS
90028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90029 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90030 if test $ac_cv_lib_m_main = yes; then
90031 cat >>confdefs.h <<_ACEOF
90032 #define HAVE_LIBM 1
90033 _ACEOF
90035 LIBS="-lm $LIBS"
90040 for ac_func in copysignf
90042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90043 echo "$as_me:$LINENO: checking for $ac_func" >&5
90044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90045 if eval "test \"\${$as_ac_var+set}\" = set"; then
90046 echo $ECHO_N "(cached) $ECHO_C" >&6
90047 else
90048 if test x$gcc_no_link = xyes; then
90049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90051 { (exit 1); exit 1; }; }
90053 cat >conftest.$ac_ext <<_ACEOF
90054 /* confdefs.h. */
90055 _ACEOF
90056 cat confdefs.h >>conftest.$ac_ext
90057 cat >>conftest.$ac_ext <<_ACEOF
90058 /* end confdefs.h. */
90059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90061 #define $ac_func innocuous_$ac_func
90063 /* System header to define __stub macros and hopefully few prototypes,
90064 which can conflict with char $ac_func (); below.
90065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90066 <limits.h> exists even on freestanding compilers. */
90068 #ifdef __STDC__
90069 # include <limits.h>
90070 #else
90071 # include <assert.h>
90072 #endif
90074 #undef $ac_func
90076 /* Override any gcc2 internal prototype to avoid an error. */
90077 #ifdef __cplusplus
90078 extern "C"
90080 #endif
90081 /* We use char because int might match the return type of a gcc2
90082 builtin and then its argument prototype would still apply. */
90083 char $ac_func ();
90084 /* The GNU C library defines this for functions which it implements
90085 to always fail with ENOSYS. Some functions are actually named
90086 something starting with __ and the normal name is an alias. */
90087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90088 choke me
90089 #else
90090 char (*f) () = $ac_func;
90091 #endif
90092 #ifdef __cplusplus
90094 #endif
90097 main ()
90099 return f != $ac_func;
90101 return 0;
90103 _ACEOF
90104 rm -f conftest.$ac_objext conftest$ac_exeext
90105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90106 (eval $ac_link) 2>conftest.er1
90107 ac_status=$?
90108 grep -v '^ *+' conftest.er1 >conftest.err
90109 rm -f conftest.er1
90110 cat conftest.err >&5
90111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90112 (exit $ac_status); } &&
90113 { ac_try='test -z "$ac_c_werror_flag"
90114 || test ! -s conftest.err'
90115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90116 (eval $ac_try) 2>&5
90117 ac_status=$?
90118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90119 (exit $ac_status); }; } &&
90120 { ac_try='test -s conftest$ac_exeext'
90121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90122 (eval $ac_try) 2>&5
90123 ac_status=$?
90124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90125 (exit $ac_status); }; }; then
90126 eval "$as_ac_var=yes"
90127 else
90128 echo "$as_me: failed program was:" >&5
90129 sed 's/^/| /' conftest.$ac_ext >&5
90131 eval "$as_ac_var=no"
90133 rm -f conftest.err conftest.$ac_objext \
90134 conftest$ac_exeext conftest.$ac_ext
90136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90138 if test `eval echo '${'$as_ac_var'}'` = yes; then
90139 cat >>confdefs.h <<_ACEOF
90140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90141 _ACEOF
90143 else
90144 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90146 done
90150 for ac_func in __signbit
90152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90153 echo "$as_me:$LINENO: checking for $ac_func" >&5
90154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90155 if eval "test \"\${$as_ac_var+set}\" = set"; then
90156 echo $ECHO_N "(cached) $ECHO_C" >&6
90157 else
90158 if test x$gcc_no_link = xyes; then
90159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90161 { (exit 1); exit 1; }; }
90163 cat >conftest.$ac_ext <<_ACEOF
90164 /* confdefs.h. */
90165 _ACEOF
90166 cat confdefs.h >>conftest.$ac_ext
90167 cat >>conftest.$ac_ext <<_ACEOF
90168 /* end confdefs.h. */
90169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90171 #define $ac_func innocuous_$ac_func
90173 /* System header to define __stub macros and hopefully few prototypes,
90174 which can conflict with char $ac_func (); below.
90175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90176 <limits.h> exists even on freestanding compilers. */
90178 #ifdef __STDC__
90179 # include <limits.h>
90180 #else
90181 # include <assert.h>
90182 #endif
90184 #undef $ac_func
90186 /* Override any gcc2 internal prototype to avoid an error. */
90187 #ifdef __cplusplus
90188 extern "C"
90190 #endif
90191 /* We use char because int might match the return type of a gcc2
90192 builtin and then its argument prototype would still apply. */
90193 char $ac_func ();
90194 /* The GNU C library defines this for functions which it implements
90195 to always fail with ENOSYS. Some functions are actually named
90196 something starting with __ and the normal name is an alias. */
90197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90198 choke me
90199 #else
90200 char (*f) () = $ac_func;
90201 #endif
90202 #ifdef __cplusplus
90204 #endif
90207 main ()
90209 return f != $ac_func;
90211 return 0;
90213 _ACEOF
90214 rm -f conftest.$ac_objext conftest$ac_exeext
90215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90216 (eval $ac_link) 2>conftest.er1
90217 ac_status=$?
90218 grep -v '^ *+' conftest.er1 >conftest.err
90219 rm -f conftest.er1
90220 cat conftest.err >&5
90221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90222 (exit $ac_status); } &&
90223 { ac_try='test -z "$ac_c_werror_flag"
90224 || test ! -s conftest.err'
90225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90226 (eval $ac_try) 2>&5
90227 ac_status=$?
90228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90229 (exit $ac_status); }; } &&
90230 { ac_try='test -s conftest$ac_exeext'
90231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90232 (eval $ac_try) 2>&5
90233 ac_status=$?
90234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90235 (exit $ac_status); }; }; then
90236 eval "$as_ac_var=yes"
90237 else
90238 echo "$as_me: failed program was:" >&5
90239 sed 's/^/| /' conftest.$ac_ext >&5
90241 eval "$as_ac_var=no"
90243 rm -f conftest.err conftest.$ac_objext \
90244 conftest$ac_exeext conftest.$ac_ext
90246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90248 if test `eval echo '${'$as_ac_var'}'` = yes; then
90249 cat >>confdefs.h <<_ACEOF
90250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90251 _ACEOF
90253 else
90254 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90256 done
90260 for ac_func in __signbitf
90262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90263 echo "$as_me:$LINENO: checking for $ac_func" >&5
90264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90265 if eval "test \"\${$as_ac_var+set}\" = set"; then
90266 echo $ECHO_N "(cached) $ECHO_C" >&6
90267 else
90268 if test x$gcc_no_link = xyes; then
90269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90271 { (exit 1); exit 1; }; }
90273 cat >conftest.$ac_ext <<_ACEOF
90274 /* confdefs.h. */
90275 _ACEOF
90276 cat confdefs.h >>conftest.$ac_ext
90277 cat >>conftest.$ac_ext <<_ACEOF
90278 /* end confdefs.h. */
90279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90281 #define $ac_func innocuous_$ac_func
90283 /* System header to define __stub macros and hopefully few prototypes,
90284 which can conflict with char $ac_func (); below.
90285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90286 <limits.h> exists even on freestanding compilers. */
90288 #ifdef __STDC__
90289 # include <limits.h>
90290 #else
90291 # include <assert.h>
90292 #endif
90294 #undef $ac_func
90296 /* Override any gcc2 internal prototype to avoid an error. */
90297 #ifdef __cplusplus
90298 extern "C"
90300 #endif
90301 /* We use char because int might match the return type of a gcc2
90302 builtin and then its argument prototype would still apply. */
90303 char $ac_func ();
90304 /* The GNU C library defines this for functions which it implements
90305 to always fail with ENOSYS. Some functions are actually named
90306 something starting with __ and the normal name is an alias. */
90307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90308 choke me
90309 #else
90310 char (*f) () = $ac_func;
90311 #endif
90312 #ifdef __cplusplus
90314 #endif
90317 main ()
90319 return f != $ac_func;
90321 return 0;
90323 _ACEOF
90324 rm -f conftest.$ac_objext conftest$ac_exeext
90325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90326 (eval $ac_link) 2>conftest.er1
90327 ac_status=$?
90328 grep -v '^ *+' conftest.er1 >conftest.err
90329 rm -f conftest.er1
90330 cat conftest.err >&5
90331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90332 (exit $ac_status); } &&
90333 { ac_try='test -z "$ac_c_werror_flag"
90334 || test ! -s conftest.err'
90335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90336 (eval $ac_try) 2>&5
90337 ac_status=$?
90338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90339 (exit $ac_status); }; } &&
90340 { ac_try='test -s conftest$ac_exeext'
90341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90342 (eval $ac_try) 2>&5
90343 ac_status=$?
90344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90345 (exit $ac_status); }; }; then
90346 eval "$as_ac_var=yes"
90347 else
90348 echo "$as_me: failed program was:" >&5
90349 sed 's/^/| /' conftest.$ac_ext >&5
90351 eval "$as_ac_var=no"
90353 rm -f conftest.err conftest.$ac_objext \
90354 conftest$ac_exeext conftest.$ac_ext
90356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90358 if test `eval echo '${'$as_ac_var'}'` = yes; then
90359 cat >>confdefs.h <<_ACEOF
90360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90361 _ACEOF
90363 else
90364 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90366 done
90369 if test x$ac_cv_func_copysignl = x"yes"; then
90371 for ac_func in __signbitl
90373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90374 echo "$as_me:$LINENO: checking for $ac_func" >&5
90375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90376 if eval "test \"\${$as_ac_var+set}\" = set"; then
90377 echo $ECHO_N "(cached) $ECHO_C" >&6
90378 else
90379 if test x$gcc_no_link = xyes; then
90380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90382 { (exit 1); exit 1; }; }
90384 cat >conftest.$ac_ext <<_ACEOF
90385 /* confdefs.h. */
90386 _ACEOF
90387 cat confdefs.h >>conftest.$ac_ext
90388 cat >>conftest.$ac_ext <<_ACEOF
90389 /* end confdefs.h. */
90390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90392 #define $ac_func innocuous_$ac_func
90394 /* System header to define __stub macros and hopefully few prototypes,
90395 which can conflict with char $ac_func (); below.
90396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90397 <limits.h> exists even on freestanding compilers. */
90399 #ifdef __STDC__
90400 # include <limits.h>
90401 #else
90402 # include <assert.h>
90403 #endif
90405 #undef $ac_func
90407 /* Override any gcc2 internal prototype to avoid an error. */
90408 #ifdef __cplusplus
90409 extern "C"
90411 #endif
90412 /* We use char because int might match the return type of a gcc2
90413 builtin and then its argument prototype would still apply. */
90414 char $ac_func ();
90415 /* The GNU C library defines this for functions which it implements
90416 to always fail with ENOSYS. Some functions are actually named
90417 something starting with __ and the normal name is an alias. */
90418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90419 choke me
90420 #else
90421 char (*f) () = $ac_func;
90422 #endif
90423 #ifdef __cplusplus
90425 #endif
90428 main ()
90430 return f != $ac_func;
90432 return 0;
90434 _ACEOF
90435 rm -f conftest.$ac_objext conftest$ac_exeext
90436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90437 (eval $ac_link) 2>conftest.er1
90438 ac_status=$?
90439 grep -v '^ *+' conftest.er1 >conftest.err
90440 rm -f conftest.er1
90441 cat conftest.err >&5
90442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90443 (exit $ac_status); } &&
90444 { ac_try='test -z "$ac_c_werror_flag"
90445 || test ! -s conftest.err'
90446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90447 (eval $ac_try) 2>&5
90448 ac_status=$?
90449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90450 (exit $ac_status); }; } &&
90451 { ac_try='test -s conftest$ac_exeext'
90452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90453 (eval $ac_try) 2>&5
90454 ac_status=$?
90455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90456 (exit $ac_status); }; }; then
90457 eval "$as_ac_var=yes"
90458 else
90459 echo "$as_me: failed program was:" >&5
90460 sed 's/^/| /' conftest.$ac_ext >&5
90462 eval "$as_ac_var=no"
90464 rm -f conftest.err conftest.$ac_objext \
90465 conftest$ac_exeext conftest.$ac_ext
90467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90469 if test `eval echo '${'$as_ac_var'}'` = yes; then
90470 cat >>confdefs.h <<_ACEOF
90471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90472 _ACEOF
90474 else
90475 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90477 done
90481 # Used in libmath/Makefile.am.
90482 if test -n "$LIBMATHOBJS"; then
90483 need_libmath=yes
90488 # Test wchar.h for mbstate_t, which is needed for char_traits and
90489 # others even if wchar_t support is not on.
90490 echo "$as_me:$LINENO: checking for mbstate_t" >&5
90491 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90492 cat >conftest.$ac_ext <<_ACEOF
90493 /* confdefs.h. */
90494 _ACEOF
90495 cat confdefs.h >>conftest.$ac_ext
90496 cat >>conftest.$ac_ext <<_ACEOF
90497 /* end confdefs.h. */
90498 #include <wchar.h>
90500 main ()
90502 mbstate_t teststate;
90504 return 0;
90506 _ACEOF
90507 rm -f conftest.$ac_objext
90508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90509 (eval $ac_compile) 2>conftest.er1
90510 ac_status=$?
90511 grep -v '^ *+' conftest.er1 >conftest.err
90512 rm -f conftest.er1
90513 cat conftest.err >&5
90514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90515 (exit $ac_status); } &&
90516 { ac_try='test -z "$ac_c_werror_flag"
90517 || test ! -s conftest.err'
90518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90519 (eval $ac_try) 2>&5
90520 ac_status=$?
90521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90522 (exit $ac_status); }; } &&
90523 { ac_try='test -s conftest.$ac_objext'
90524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90525 (eval $ac_try) 2>&5
90526 ac_status=$?
90527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90528 (exit $ac_status); }; }; then
90529 have_mbstate_t=yes
90530 else
90531 echo "$as_me: failed program was:" >&5
90532 sed 's/^/| /' conftest.$ac_ext >&5
90534 have_mbstate_t=no
90536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90537 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90538 echo "${ECHO_T}$have_mbstate_t" >&6
90539 if test x"$have_mbstate_t" = xyes; then
90540 cat >>confdefs.h <<\_ACEOF
90541 #define HAVE_MBSTATE_T 1
90542 _ACEOF
90546 # Sanity check for existence of ISO C99 headers for extended encoding.
90548 for ac_header in wchar.h
90550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90552 echo "$as_me:$LINENO: checking for $ac_header" >&5
90553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90555 echo $ECHO_N "(cached) $ECHO_C" >&6
90557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90559 else
90560 # Is the header compilable?
90561 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90563 cat >conftest.$ac_ext <<_ACEOF
90564 /* confdefs.h. */
90565 _ACEOF
90566 cat confdefs.h >>conftest.$ac_ext
90567 cat >>conftest.$ac_ext <<_ACEOF
90568 /* end confdefs.h. */
90569 $ac_includes_default
90570 #include <$ac_header>
90571 _ACEOF
90572 rm -f conftest.$ac_objext
90573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90574 (eval $ac_compile) 2>conftest.er1
90575 ac_status=$?
90576 grep -v '^ *+' conftest.er1 >conftest.err
90577 rm -f conftest.er1
90578 cat conftest.err >&5
90579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90580 (exit $ac_status); } &&
90581 { ac_try='test -z "$ac_c_werror_flag"
90582 || test ! -s conftest.err'
90583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90584 (eval $ac_try) 2>&5
90585 ac_status=$?
90586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90587 (exit $ac_status); }; } &&
90588 { ac_try='test -s conftest.$ac_objext'
90589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90590 (eval $ac_try) 2>&5
90591 ac_status=$?
90592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90593 (exit $ac_status); }; }; then
90594 ac_header_compiler=yes
90595 else
90596 echo "$as_me: failed program was:" >&5
90597 sed 's/^/| /' conftest.$ac_ext >&5
90599 ac_header_compiler=no
90601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90603 echo "${ECHO_T}$ac_header_compiler" >&6
90605 # Is the header present?
90606 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90608 cat >conftest.$ac_ext <<_ACEOF
90609 /* confdefs.h. */
90610 _ACEOF
90611 cat confdefs.h >>conftest.$ac_ext
90612 cat >>conftest.$ac_ext <<_ACEOF
90613 /* end confdefs.h. */
90614 #include <$ac_header>
90615 _ACEOF
90616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90618 ac_status=$?
90619 grep -v '^ *+' conftest.er1 >conftest.err
90620 rm -f conftest.er1
90621 cat conftest.err >&5
90622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90623 (exit $ac_status); } >/dev/null; then
90624 if test -s conftest.err; then
90625 ac_cpp_err=$ac_c_preproc_warn_flag
90626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90627 else
90628 ac_cpp_err=
90630 else
90631 ac_cpp_err=yes
90633 if test -z "$ac_cpp_err"; then
90634 ac_header_preproc=yes
90635 else
90636 echo "$as_me: failed program was:" >&5
90637 sed 's/^/| /' conftest.$ac_ext >&5
90639 ac_header_preproc=no
90641 rm -f conftest.err conftest.$ac_ext
90642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90643 echo "${ECHO_T}$ac_header_preproc" >&6
90645 # So? What about this header?
90646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90647 yes:no: )
90648 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90649 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90651 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90652 ac_header_preproc=yes
90654 no:yes:* )
90655 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90656 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90657 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90658 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90659 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90660 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90661 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90662 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90664 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90665 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90666 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90668 cat <<\_ASBOX
90669 ## ----------------------------------------- ##
90670 ## Report this to the package-unused lists. ##
90671 ## ----------------------------------------- ##
90672 _ASBOX
90674 sed "s/^/$as_me: WARNING: /" >&2
90676 esac
90677 echo "$as_me:$LINENO: checking for $ac_header" >&5
90678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90680 echo $ECHO_N "(cached) $ECHO_C" >&6
90681 else
90682 eval "$as_ac_Header=\$ac_header_preproc"
90684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90689 cat >>confdefs.h <<_ACEOF
90690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90691 _ACEOF
90692 ac_has_wchar_h=yes
90693 else
90694 ac_has_wchar_h=no
90697 done
90700 for ac_header in wctype.h
90702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90704 echo "$as_me:$LINENO: checking for $ac_header" >&5
90705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90707 echo $ECHO_N "(cached) $ECHO_C" >&6
90709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90711 else
90712 # Is the header compilable?
90713 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90714 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90715 cat >conftest.$ac_ext <<_ACEOF
90716 /* confdefs.h. */
90717 _ACEOF
90718 cat confdefs.h >>conftest.$ac_ext
90719 cat >>conftest.$ac_ext <<_ACEOF
90720 /* end confdefs.h. */
90721 $ac_includes_default
90722 #include <$ac_header>
90723 _ACEOF
90724 rm -f conftest.$ac_objext
90725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90726 (eval $ac_compile) 2>conftest.er1
90727 ac_status=$?
90728 grep -v '^ *+' conftest.er1 >conftest.err
90729 rm -f conftest.er1
90730 cat conftest.err >&5
90731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90732 (exit $ac_status); } &&
90733 { ac_try='test -z "$ac_c_werror_flag"
90734 || test ! -s conftest.err'
90735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90736 (eval $ac_try) 2>&5
90737 ac_status=$?
90738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90739 (exit $ac_status); }; } &&
90740 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
90746 ac_header_compiler=yes
90747 else
90748 echo "$as_me: failed program was:" >&5
90749 sed 's/^/| /' conftest.$ac_ext >&5
90751 ac_header_compiler=no
90753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90755 echo "${ECHO_T}$ac_header_compiler" >&6
90757 # Is the header present?
90758 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90760 cat >conftest.$ac_ext <<_ACEOF
90761 /* confdefs.h. */
90762 _ACEOF
90763 cat confdefs.h >>conftest.$ac_ext
90764 cat >>conftest.$ac_ext <<_ACEOF
90765 /* end confdefs.h. */
90766 #include <$ac_header>
90767 _ACEOF
90768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90769 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90770 ac_status=$?
90771 grep -v '^ *+' conftest.er1 >conftest.err
90772 rm -f conftest.er1
90773 cat conftest.err >&5
90774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90775 (exit $ac_status); } >/dev/null; then
90776 if test -s conftest.err; then
90777 ac_cpp_err=$ac_c_preproc_warn_flag
90778 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90779 else
90780 ac_cpp_err=
90782 else
90783 ac_cpp_err=yes
90785 if test -z "$ac_cpp_err"; then
90786 ac_header_preproc=yes
90787 else
90788 echo "$as_me: failed program was:" >&5
90789 sed 's/^/| /' conftest.$ac_ext >&5
90791 ac_header_preproc=no
90793 rm -f conftest.err conftest.$ac_ext
90794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90795 echo "${ECHO_T}$ac_header_preproc" >&6
90797 # So? What about this header?
90798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90799 yes:no: )
90800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90803 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90804 ac_header_preproc=yes
90806 no:yes:* )
90807 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90808 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90809 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90810 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90811 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90812 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90813 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90814 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90817 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90818 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90820 cat <<\_ASBOX
90821 ## ----------------------------------------- ##
90822 ## Report this to the package-unused lists. ##
90823 ## ----------------------------------------- ##
90824 _ASBOX
90826 sed "s/^/$as_me: WARNING: /" >&2
90828 esac
90829 echo "$as_me:$LINENO: checking for $ac_header" >&5
90830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90832 echo $ECHO_N "(cached) $ECHO_C" >&6
90833 else
90834 eval "$as_ac_Header=\$ac_header_preproc"
90836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90841 cat >>confdefs.h <<_ACEOF
90842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90843 _ACEOF
90844 ac_has_wctype_h=yes
90845 else
90846 ac_has_wctype_h=no
90849 done
90852 # Only continue checking if the ISO C99 headers exist and support is on.
90853 if test x"$ac_has_wchar_h" = xyes &&
90854 test x"$ac_has_wctype_h" = xyes &&
90855 test x"$enable_c_mbchar" != xno; then
90857 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90858 # numeric_limits can instantiate type_traits<wchar_t>
90859 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90860 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90861 cat >conftest.$ac_ext <<_ACEOF
90862 /* confdefs.h. */
90863 _ACEOF
90864 cat confdefs.h >>conftest.$ac_ext
90865 cat >>conftest.$ac_ext <<_ACEOF
90866 /* end confdefs.h. */
90867 #include <wchar.h>
90869 main ()
90871 int i = WCHAR_MIN; int j = WCHAR_MAX;
90873 return 0;
90875 _ACEOF
90876 rm -f conftest.$ac_objext
90877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90878 (eval $ac_compile) 2>conftest.er1
90879 ac_status=$?
90880 grep -v '^ *+' conftest.er1 >conftest.err
90881 rm -f conftest.er1
90882 cat conftest.err >&5
90883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90884 (exit $ac_status); } &&
90885 { ac_try='test -z "$ac_c_werror_flag"
90886 || test ! -s conftest.err'
90887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90888 (eval $ac_try) 2>&5
90889 ac_status=$?
90890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90891 (exit $ac_status); }; } &&
90892 { ac_try='test -s conftest.$ac_objext'
90893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90894 (eval $ac_try) 2>&5
90895 ac_status=$?
90896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90897 (exit $ac_status); }; }; then
90898 has_wchar_minmax=yes
90899 else
90900 echo "$as_me: failed program was:" >&5
90901 sed 's/^/| /' conftest.$ac_ext >&5
90903 has_wchar_minmax=no
90905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90906 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90907 echo "${ECHO_T}$has_wchar_minmax" >&6
90909 # Test wchar.h for WEOF, which is what we use to determine whether
90910 # to specialize for char_traits<wchar_t> or not.
90911 echo "$as_me:$LINENO: checking for WEOF" >&5
90912 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90913 cat >conftest.$ac_ext <<_ACEOF
90914 /* confdefs.h. */
90915 _ACEOF
90916 cat confdefs.h >>conftest.$ac_ext
90917 cat >>conftest.$ac_ext <<_ACEOF
90918 /* end confdefs.h. */
90920 #include <wchar.h>
90921 #include <stddef.h>
90923 main ()
90925 wint_t i = WEOF;
90927 return 0;
90929 _ACEOF
90930 rm -f conftest.$ac_objext
90931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90932 (eval $ac_compile) 2>conftest.er1
90933 ac_status=$?
90934 grep -v '^ *+' conftest.er1 >conftest.err
90935 rm -f conftest.er1
90936 cat conftest.err >&5
90937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90938 (exit $ac_status); } &&
90939 { ac_try='test -z "$ac_c_werror_flag"
90940 || test ! -s conftest.err'
90941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90942 (eval $ac_try) 2>&5
90943 ac_status=$?
90944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90945 (exit $ac_status); }; } &&
90946 { ac_try='test -s conftest.$ac_objext'
90947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90948 (eval $ac_try) 2>&5
90949 ac_status=$?
90950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90951 (exit $ac_status); }; }; then
90952 has_weof=yes
90953 else
90954 echo "$as_me: failed program was:" >&5
90955 sed 's/^/| /' conftest.$ac_ext >&5
90957 has_weof=no
90959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90960 echo "$as_me:$LINENO: result: $has_weof" >&5
90961 echo "${ECHO_T}$has_weof" >&6
90963 # Tests for wide character functions used in char_traits<wchar_t>.
90964 ac_wfuncs=yes
90971 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
90973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90974 echo "$as_me:$LINENO: checking for $ac_func" >&5
90975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90976 if eval "test \"\${$as_ac_var+set}\" = set"; then
90977 echo $ECHO_N "(cached) $ECHO_C" >&6
90978 else
90979 if test x$gcc_no_link = xyes; then
90980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90982 { (exit 1); exit 1; }; }
90984 cat >conftest.$ac_ext <<_ACEOF
90985 /* confdefs.h. */
90986 _ACEOF
90987 cat confdefs.h >>conftest.$ac_ext
90988 cat >>conftest.$ac_ext <<_ACEOF
90989 /* end confdefs.h. */
90990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90992 #define $ac_func innocuous_$ac_func
90994 /* System header to define __stub macros and hopefully few prototypes,
90995 which can conflict with char $ac_func (); below.
90996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90997 <limits.h> exists even on freestanding compilers. */
90999 #ifdef __STDC__
91000 # include <limits.h>
91001 #else
91002 # include <assert.h>
91003 #endif
91005 #undef $ac_func
91007 /* Override any gcc2 internal prototype to avoid an error. */
91008 #ifdef __cplusplus
91009 extern "C"
91011 #endif
91012 /* We use char because int might match the return type of a gcc2
91013 builtin and then its argument prototype would still apply. */
91014 char $ac_func ();
91015 /* The GNU C library defines this for functions which it implements
91016 to always fail with ENOSYS. Some functions are actually named
91017 something starting with __ and the normal name is an alias. */
91018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91019 choke me
91020 #else
91021 char (*f) () = $ac_func;
91022 #endif
91023 #ifdef __cplusplus
91025 #endif
91028 main ()
91030 return f != $ac_func;
91032 return 0;
91034 _ACEOF
91035 rm -f conftest.$ac_objext conftest$ac_exeext
91036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91037 (eval $ac_link) 2>conftest.er1
91038 ac_status=$?
91039 grep -v '^ *+' conftest.er1 >conftest.err
91040 rm -f conftest.er1
91041 cat conftest.err >&5
91042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91043 (exit $ac_status); } &&
91044 { ac_try='test -z "$ac_c_werror_flag"
91045 || test ! -s conftest.err'
91046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91047 (eval $ac_try) 2>&5
91048 ac_status=$?
91049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91050 (exit $ac_status); }; } &&
91051 { ac_try='test -s conftest$ac_exeext'
91052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91053 (eval $ac_try) 2>&5
91054 ac_status=$?
91055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91056 (exit $ac_status); }; }; then
91057 eval "$as_ac_var=yes"
91058 else
91059 echo "$as_me: failed program was:" >&5
91060 sed 's/^/| /' conftest.$ac_ext >&5
91062 eval "$as_ac_var=no"
91064 rm -f conftest.err conftest.$ac_objext \
91065 conftest$ac_exeext conftest.$ac_ext
91067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91069 if test `eval echo '${'$as_ac_var'}'` = yes; then
91070 cat >>confdefs.h <<_ACEOF
91071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91072 _ACEOF
91074 else
91075 ac_wfuncs=no
91077 done
91080 # Checks for names injected into std:: by the c_std headers.
91127 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91128 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91129 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91130 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91131 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91132 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91135 echo "$as_me:$LINENO: checking for $ac_func" >&5
91136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91137 if eval "test \"\${$as_ac_var+set}\" = set"; then
91138 echo $ECHO_N "(cached) $ECHO_C" >&6
91139 else
91140 if test x$gcc_no_link = xyes; then
91141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91143 { (exit 1); exit 1; }; }
91145 cat >conftest.$ac_ext <<_ACEOF
91146 /* confdefs.h. */
91147 _ACEOF
91148 cat confdefs.h >>conftest.$ac_ext
91149 cat >>conftest.$ac_ext <<_ACEOF
91150 /* end confdefs.h. */
91151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91153 #define $ac_func innocuous_$ac_func
91155 /* System header to define __stub macros and hopefully few prototypes,
91156 which can conflict with char $ac_func (); below.
91157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91158 <limits.h> exists even on freestanding compilers. */
91160 #ifdef __STDC__
91161 # include <limits.h>
91162 #else
91163 # include <assert.h>
91164 #endif
91166 #undef $ac_func
91168 /* Override any gcc2 internal prototype to avoid an error. */
91169 #ifdef __cplusplus
91170 extern "C"
91172 #endif
91173 /* We use char because int might match the return type of a gcc2
91174 builtin and then its argument prototype would still apply. */
91175 char $ac_func ();
91176 /* The GNU C library defines this for functions which it implements
91177 to always fail with ENOSYS. Some functions are actually named
91178 something starting with __ and the normal name is an alias. */
91179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91180 choke me
91181 #else
91182 char (*f) () = $ac_func;
91183 #endif
91184 #ifdef __cplusplus
91186 #endif
91189 main ()
91191 return f != $ac_func;
91193 return 0;
91195 _ACEOF
91196 rm -f conftest.$ac_objext conftest$ac_exeext
91197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91198 (eval $ac_link) 2>conftest.er1
91199 ac_status=$?
91200 grep -v '^ *+' conftest.er1 >conftest.err
91201 rm -f conftest.er1
91202 cat conftest.err >&5
91203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91204 (exit $ac_status); } &&
91205 { ac_try='test -z "$ac_c_werror_flag"
91206 || test ! -s conftest.err'
91207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91208 (eval $ac_try) 2>&5
91209 ac_status=$?
91210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91211 (exit $ac_status); }; } &&
91212 { ac_try='test -s conftest$ac_exeext'
91213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91214 (eval $ac_try) 2>&5
91215 ac_status=$?
91216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91217 (exit $ac_status); }; }; then
91218 eval "$as_ac_var=yes"
91219 else
91220 echo "$as_me: failed program was:" >&5
91221 sed 's/^/| /' conftest.$ac_ext >&5
91223 eval "$as_ac_var=no"
91225 rm -f conftest.err conftest.$ac_objext \
91226 conftest$ac_exeext conftest.$ac_ext
91228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91230 if test `eval echo '${'$as_ac_var'}'` = yes; then
91231 cat >>confdefs.h <<_ACEOF
91232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91233 _ACEOF
91235 else
91236 ac_wfuncs=no
91238 done
91241 # Checks for wide character functions that are not required
91242 # for basic wchar_t support. Don't disable support if they are missing.
91243 # Injection of these is wrapped with guard macros.
91249 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91252 echo "$as_me:$LINENO: checking for $ac_func" >&5
91253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91254 if eval "test \"\${$as_ac_var+set}\" = set"; then
91255 echo $ECHO_N "(cached) $ECHO_C" >&6
91256 else
91257 if test x$gcc_no_link = xyes; then
91258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91260 { (exit 1); exit 1; }; }
91262 cat >conftest.$ac_ext <<_ACEOF
91263 /* confdefs.h. */
91264 _ACEOF
91265 cat confdefs.h >>conftest.$ac_ext
91266 cat >>conftest.$ac_ext <<_ACEOF
91267 /* end confdefs.h. */
91268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91270 #define $ac_func innocuous_$ac_func
91272 /* System header to define __stub macros and hopefully few prototypes,
91273 which can conflict with char $ac_func (); below.
91274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91275 <limits.h> exists even on freestanding compilers. */
91277 #ifdef __STDC__
91278 # include <limits.h>
91279 #else
91280 # include <assert.h>
91281 #endif
91283 #undef $ac_func
91285 /* Override any gcc2 internal prototype to avoid an error. */
91286 #ifdef __cplusplus
91287 extern "C"
91289 #endif
91290 /* We use char because int might match the return type of a gcc2
91291 builtin and then its argument prototype would still apply. */
91292 char $ac_func ();
91293 /* The GNU C library defines this for functions which it implements
91294 to always fail with ENOSYS. Some functions are actually named
91295 something starting with __ and the normal name is an alias. */
91296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91297 choke me
91298 #else
91299 char (*f) () = $ac_func;
91300 #endif
91301 #ifdef __cplusplus
91303 #endif
91306 main ()
91308 return f != $ac_func;
91310 return 0;
91312 _ACEOF
91313 rm -f conftest.$ac_objext conftest$ac_exeext
91314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91315 (eval $ac_link) 2>conftest.er1
91316 ac_status=$?
91317 grep -v '^ *+' conftest.er1 >conftest.err
91318 rm -f conftest.er1
91319 cat conftest.err >&5
91320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91321 (exit $ac_status); } &&
91322 { ac_try='test -z "$ac_c_werror_flag"
91323 || test ! -s conftest.err'
91324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91325 (eval $ac_try) 2>&5
91326 ac_status=$?
91327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91328 (exit $ac_status); }; } &&
91329 { ac_try='test -s conftest$ac_exeext'
91330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91331 (eval $ac_try) 2>&5
91332 ac_status=$?
91333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91334 (exit $ac_status); }; }; then
91335 eval "$as_ac_var=yes"
91336 else
91337 echo "$as_me: failed program was:" >&5
91338 sed 's/^/| /' conftest.$ac_ext >&5
91340 eval "$as_ac_var=no"
91342 rm -f conftest.err conftest.$ac_objext \
91343 conftest$ac_exeext conftest.$ac_ext
91345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91347 if test `eval echo '${'$as_ac_var'}'` = yes; then
91348 cat >>confdefs.h <<_ACEOF
91349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91350 _ACEOF
91353 done
91356 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91357 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91358 if test x"$has_weof" = xyes &&
91359 test x"$has_wchar_minmax" = xyes &&
91360 test x"$ac_wfuncs" = xyes;
91361 then
91362 ac_isoC99_wchar_t=yes
91363 else
91364 ac_isoC99_wchar_t=no
91366 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91367 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91369 # Use iconv for wchar_t to char conversions. As such, check for
91370 # X/Open Portability Guide, version 2 features (XPG2).
91371 if test "${ac_cv_header_iconv_h+set}" = set; then
91372 echo "$as_me:$LINENO: checking for iconv.h" >&5
91373 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91374 if test "${ac_cv_header_iconv_h+set}" = set; then
91375 echo $ECHO_N "(cached) $ECHO_C" >&6
91377 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91378 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91379 else
91380 # Is the header compilable?
91381 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91382 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91383 cat >conftest.$ac_ext <<_ACEOF
91384 /* confdefs.h. */
91385 _ACEOF
91386 cat confdefs.h >>conftest.$ac_ext
91387 cat >>conftest.$ac_ext <<_ACEOF
91388 /* end confdefs.h. */
91389 $ac_includes_default
91390 #include <iconv.h>
91391 _ACEOF
91392 rm -f conftest.$ac_objext
91393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91394 (eval $ac_compile) 2>conftest.er1
91395 ac_status=$?
91396 grep -v '^ *+' conftest.er1 >conftest.err
91397 rm -f conftest.er1
91398 cat conftest.err >&5
91399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91400 (exit $ac_status); } &&
91401 { ac_try='test -z "$ac_c_werror_flag"
91402 || test ! -s conftest.err'
91403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91404 (eval $ac_try) 2>&5
91405 ac_status=$?
91406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91407 (exit $ac_status); }; } &&
91408 { ac_try='test -s conftest.$ac_objext'
91409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91410 (eval $ac_try) 2>&5
91411 ac_status=$?
91412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91413 (exit $ac_status); }; }; then
91414 ac_header_compiler=yes
91415 else
91416 echo "$as_me: failed program was:" >&5
91417 sed 's/^/| /' conftest.$ac_ext >&5
91419 ac_header_compiler=no
91421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91423 echo "${ECHO_T}$ac_header_compiler" >&6
91425 # Is the header present?
91426 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91427 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91428 cat >conftest.$ac_ext <<_ACEOF
91429 /* confdefs.h. */
91430 _ACEOF
91431 cat confdefs.h >>conftest.$ac_ext
91432 cat >>conftest.$ac_ext <<_ACEOF
91433 /* end confdefs.h. */
91434 #include <iconv.h>
91435 _ACEOF
91436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91438 ac_status=$?
91439 grep -v '^ *+' conftest.er1 >conftest.err
91440 rm -f conftest.er1
91441 cat conftest.err >&5
91442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91443 (exit $ac_status); } >/dev/null; then
91444 if test -s conftest.err; then
91445 ac_cpp_err=$ac_c_preproc_warn_flag
91446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91447 else
91448 ac_cpp_err=
91450 else
91451 ac_cpp_err=yes
91453 if test -z "$ac_cpp_err"; then
91454 ac_header_preproc=yes
91455 else
91456 echo "$as_me: failed program was:" >&5
91457 sed 's/^/| /' conftest.$ac_ext >&5
91459 ac_header_preproc=no
91461 rm -f conftest.err conftest.$ac_ext
91462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91463 echo "${ECHO_T}$ac_header_preproc" >&6
91465 # So? What about this header?
91466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91467 yes:no: )
91468 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91469 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91470 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91471 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91472 ac_header_preproc=yes
91474 no:yes:* )
91475 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91476 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91477 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
91478 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
91479 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91480 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91481 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
91482 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
91483 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91484 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91485 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91486 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91488 cat <<\_ASBOX
91489 ## ----------------------------------------- ##
91490 ## Report this to the package-unused lists. ##
91491 ## ----------------------------------------- ##
91492 _ASBOX
91494 sed "s/^/$as_me: WARNING: /" >&2
91496 esac
91497 echo "$as_me:$LINENO: checking for iconv.h" >&5
91498 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91499 if test "${ac_cv_header_iconv_h+set}" = set; then
91500 echo $ECHO_N "(cached) $ECHO_C" >&6
91501 else
91502 ac_cv_header_iconv_h=$ac_header_preproc
91504 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91505 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91508 if test $ac_cv_header_iconv_h = yes; then
91509 ac_has_iconv_h=yes
91510 else
91511 ac_has_iconv_h=no
91515 if test "${ac_cv_header_langinfo_h+set}" = set; then
91516 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91517 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91518 if test "${ac_cv_header_langinfo_h+set}" = set; then
91519 echo $ECHO_N "(cached) $ECHO_C" >&6
91521 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91522 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91523 else
91524 # Is the header compilable?
91525 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91526 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91527 cat >conftest.$ac_ext <<_ACEOF
91528 /* confdefs.h. */
91529 _ACEOF
91530 cat confdefs.h >>conftest.$ac_ext
91531 cat >>conftest.$ac_ext <<_ACEOF
91532 /* end confdefs.h. */
91533 $ac_includes_default
91534 #include <langinfo.h>
91535 _ACEOF
91536 rm -f conftest.$ac_objext
91537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91538 (eval $ac_compile) 2>conftest.er1
91539 ac_status=$?
91540 grep -v '^ *+' conftest.er1 >conftest.err
91541 rm -f conftest.er1
91542 cat conftest.err >&5
91543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91544 (exit $ac_status); } &&
91545 { ac_try='test -z "$ac_c_werror_flag"
91546 || test ! -s conftest.err'
91547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91548 (eval $ac_try) 2>&5
91549 ac_status=$?
91550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91551 (exit $ac_status); }; } &&
91552 { ac_try='test -s conftest.$ac_objext'
91553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91554 (eval $ac_try) 2>&5
91555 ac_status=$?
91556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91557 (exit $ac_status); }; }; then
91558 ac_header_compiler=yes
91559 else
91560 echo "$as_me: failed program was:" >&5
91561 sed 's/^/| /' conftest.$ac_ext >&5
91563 ac_header_compiler=no
91565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91567 echo "${ECHO_T}$ac_header_compiler" >&6
91569 # Is the header present?
91570 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91571 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91572 cat >conftest.$ac_ext <<_ACEOF
91573 /* confdefs.h. */
91574 _ACEOF
91575 cat confdefs.h >>conftest.$ac_ext
91576 cat >>conftest.$ac_ext <<_ACEOF
91577 /* end confdefs.h. */
91578 #include <langinfo.h>
91579 _ACEOF
91580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91582 ac_status=$?
91583 grep -v '^ *+' conftest.er1 >conftest.err
91584 rm -f conftest.er1
91585 cat conftest.err >&5
91586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91587 (exit $ac_status); } >/dev/null; then
91588 if test -s conftest.err; then
91589 ac_cpp_err=$ac_c_preproc_warn_flag
91590 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91591 else
91592 ac_cpp_err=
91594 else
91595 ac_cpp_err=yes
91597 if test -z "$ac_cpp_err"; then
91598 ac_header_preproc=yes
91599 else
91600 echo "$as_me: failed program was:" >&5
91601 sed 's/^/| /' conftest.$ac_ext >&5
91603 ac_header_preproc=no
91605 rm -f conftest.err conftest.$ac_ext
91606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91607 echo "${ECHO_T}$ac_header_preproc" >&6
91609 # So? What about this header?
91610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91611 yes:no: )
91612 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91613 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91614 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91615 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91616 ac_header_preproc=yes
91618 no:yes:* )
91619 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91620 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91621 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
91622 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
91623 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91624 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91625 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
91626 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
91627 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91628 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91629 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91630 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91632 cat <<\_ASBOX
91633 ## ----------------------------------------- ##
91634 ## Report this to the package-unused lists. ##
91635 ## ----------------------------------------- ##
91636 _ASBOX
91638 sed "s/^/$as_me: WARNING: /" >&2
91640 esac
91641 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91642 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91643 if test "${ac_cv_header_langinfo_h+set}" = set; then
91644 echo $ECHO_N "(cached) $ECHO_C" >&6
91645 else
91646 ac_cv_header_langinfo_h=$ac_header_preproc
91648 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91649 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91652 if test $ac_cv_header_langinfo_h = yes; then
91653 ac_has_langinfo_h=yes
91654 else
91655 ac_has_langinfo_h=no
91660 # Check for existence of libiconv.a providing XPG2 wchar_t support.
91661 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91662 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91663 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91664 echo $ECHO_N "(cached) $ECHO_C" >&6
91665 else
91666 ac_check_lib_save_LIBS=$LIBS
91667 LIBS="-liconv $LIBS"
91668 if test x$gcc_no_link = xyes; then
91669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91671 { (exit 1); exit 1; }; }
91673 cat >conftest.$ac_ext <<_ACEOF
91674 /* confdefs.h. */
91675 _ACEOF
91676 cat confdefs.h >>conftest.$ac_ext
91677 cat >>conftest.$ac_ext <<_ACEOF
91678 /* end confdefs.h. */
91680 /* Override any gcc2 internal prototype to avoid an error. */
91681 #ifdef __cplusplus
91682 extern "C"
91683 #endif
91684 /* We use char because int might match the return type of a gcc2
91685 builtin and then its argument prototype would still apply. */
91686 char iconv ();
91688 main ()
91690 iconv ();
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 ac_cv_lib_iconv_iconv=yes
91718 else
91719 echo "$as_me: failed program was:" >&5
91720 sed 's/^/| /' conftest.$ac_ext >&5
91722 ac_cv_lib_iconv_iconv=no
91724 rm -f conftest.err conftest.$ac_objext \
91725 conftest$ac_exeext conftest.$ac_ext
91726 LIBS=$ac_check_lib_save_LIBS
91728 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91729 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91730 if test $ac_cv_lib_iconv_iconv = yes; then
91731 LIBICONV="-liconv"
91734 ac_save_LIBS="$LIBS"
91735 LIBS="$LIBS $LIBICONV"
91742 for ac_func in iconv_open iconv_close iconv nl_langinfo
91744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91745 echo "$as_me:$LINENO: checking for $ac_func" >&5
91746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91747 if eval "test \"\${$as_ac_var+set}\" = set"; then
91748 echo $ECHO_N "(cached) $ECHO_C" >&6
91749 else
91750 if test x$gcc_no_link = xyes; then
91751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91753 { (exit 1); exit 1; }; }
91755 cat >conftest.$ac_ext <<_ACEOF
91756 /* confdefs.h. */
91757 _ACEOF
91758 cat confdefs.h >>conftest.$ac_ext
91759 cat >>conftest.$ac_ext <<_ACEOF
91760 /* end confdefs.h. */
91761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91763 #define $ac_func innocuous_$ac_func
91765 /* System header to define __stub macros and hopefully few prototypes,
91766 which can conflict with char $ac_func (); below.
91767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91768 <limits.h> exists even on freestanding compilers. */
91770 #ifdef __STDC__
91771 # include <limits.h>
91772 #else
91773 # include <assert.h>
91774 #endif
91776 #undef $ac_func
91778 /* Override any gcc2 internal prototype to avoid an error. */
91779 #ifdef __cplusplus
91780 extern "C"
91782 #endif
91783 /* We use char because int might match the return type of a gcc2
91784 builtin and then its argument prototype would still apply. */
91785 char $ac_func ();
91786 /* The GNU C library defines this for functions which it implements
91787 to always fail with ENOSYS. Some functions are actually named
91788 something starting with __ and the normal name is an alias. */
91789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91790 choke me
91791 #else
91792 char (*f) () = $ac_func;
91793 #endif
91794 #ifdef __cplusplus
91796 #endif
91799 main ()
91801 return f != $ac_func;
91803 return 0;
91805 _ACEOF
91806 rm -f conftest.$ac_objext conftest$ac_exeext
91807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91808 (eval $ac_link) 2>conftest.er1
91809 ac_status=$?
91810 grep -v '^ *+' conftest.er1 >conftest.err
91811 rm -f conftest.er1
91812 cat conftest.err >&5
91813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91814 (exit $ac_status); } &&
91815 { ac_try='test -z "$ac_c_werror_flag"
91816 || test ! -s conftest.err'
91817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91818 (eval $ac_try) 2>&5
91819 ac_status=$?
91820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91821 (exit $ac_status); }; } &&
91822 { ac_try='test -s conftest$ac_exeext'
91823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91824 (eval $ac_try) 2>&5
91825 ac_status=$?
91826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91827 (exit $ac_status); }; }; then
91828 eval "$as_ac_var=yes"
91829 else
91830 echo "$as_me: failed program was:" >&5
91831 sed 's/^/| /' conftest.$ac_ext >&5
91833 eval "$as_ac_var=no"
91835 rm -f conftest.err conftest.$ac_objext \
91836 conftest$ac_exeext conftest.$ac_ext
91838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91840 if test `eval echo '${'$as_ac_var'}'` = yes; then
91841 cat >>confdefs.h <<_ACEOF
91842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91843 _ACEOF
91844 ac_XPG2funcs=yes
91845 else
91846 ac_XPG2funcs=no
91848 done
91851 LIBS="$ac_save_LIBS"
91853 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91854 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91855 if test x"$ac_has_iconv_h" = xyes &&
91856 test x"$ac_has_langinfo_h" = xyes &&
91857 test x"$ac_XPG2funcs" = xyes;
91858 then
91859 ac_XPG2_wchar_t=yes
91860 else
91861 ac_XPG2_wchar_t=no
91863 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91864 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91866 # At the moment, only enable wchar_t specializations if all the
91867 # above support is present.
91868 if test x"$ac_isoC99_wchar_t" = xyes &&
91869 test x"$ac_XPG2_wchar_t" = xyes;
91870 then
91871 cat >>confdefs.h <<\_ACEOF
91872 #define _GLIBCXX_USE_WCHAR_T 1
91873 _ACEOF
91875 enable_wchar_t=yes
91878 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91879 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91880 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91881 echo "${ECHO_T}$enable_wchar_t" >&6
91883 cat >>confdefs.h <<\_ACEOF
91884 #define HAVE_COSF 1
91885 _ACEOF
91887 cat >>confdefs.h <<\_ACEOF
91888 #define HAVE_COSL 1
91889 _ACEOF
91891 cat >>confdefs.h <<\_ACEOF
91892 #define HAVE_COSHF 1
91893 _ACEOF
91895 cat >>confdefs.h <<\_ACEOF
91896 #define HAVE_COSHL 1
91897 _ACEOF
91899 cat >>confdefs.h <<\_ACEOF
91900 #define HAVE_LOGF 1
91901 _ACEOF
91903 cat >>confdefs.h <<\_ACEOF
91904 #define HAVE_LOGL 1
91905 _ACEOF
91907 cat >>confdefs.h <<\_ACEOF
91908 #define HAVE_LOG10F 1
91909 _ACEOF
91911 cat >>confdefs.h <<\_ACEOF
91912 #define HAVE_LOG10L 1
91913 _ACEOF
91915 cat >>confdefs.h <<\_ACEOF
91916 #define HAVE_SINF 1
91917 _ACEOF
91919 cat >>confdefs.h <<\_ACEOF
91920 #define HAVE_SINL 1
91921 _ACEOF
91923 cat >>confdefs.h <<\_ACEOF
91924 #define HAVE_SINHF 1
91925 _ACEOF
91927 cat >>confdefs.h <<\_ACEOF
91928 #define HAVE_SINHL 1
91929 _ACEOF
91932 *-solaris*)
91933 case "$target" in
91934 # *-solaris2.5)
91935 # os_include_dir="os/solaris/solaris2.5"
91936 # ;;
91937 # *-solaris2.6)
91938 # os_include_dir="os/solaris/solaris2.6"
91939 # ;;
91940 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91941 cat >>confdefs.h <<\_ACEOF
91942 #define HAVE_GETPAGESIZE 1
91943 _ACEOF
91945 cat >>confdefs.h <<\_ACEOF
91946 #define HAVE_SIGSETJMP 1
91947 _ACEOF
91949 cat >>confdefs.h <<\_ACEOF
91950 #define HAVE_MBSTATE_T 1
91951 _ACEOF
91953 cat >>confdefs.h <<\_ACEOF
91954 #define HAVE_POLL 1
91955 _ACEOF
91957 cat >>confdefs.h <<\_ACEOF
91958 #define HAVE_S_ISREG 1
91959 _ACEOF
91961 cat >>confdefs.h <<\_ACEOF
91962 #define HAVE_LC_MESSAGES 1
91963 _ACEOF
91965 cat >>confdefs.h <<\_ACEOF
91966 #define HAVE_BTOWC 1
91967 _ACEOF
91969 cat >>confdefs.h <<\_ACEOF
91970 #define HAVE_FGETWC 1
91971 _ACEOF
91973 cat >>confdefs.h <<\_ACEOF
91974 #define HAVE_FGETWS 1
91975 _ACEOF
91977 cat >>confdefs.h <<\_ACEOF
91978 #define HAVE_FINITE 1
91979 _ACEOF
91981 cat >>confdefs.h <<\_ACEOF
91982 #define HAVE_FPCLASS 1
91983 _ACEOF
91985 cat >>confdefs.h <<\_ACEOF
91986 #define HAVE_FPUTWC 1
91987 _ACEOF
91989 cat >>confdefs.h <<\_ACEOF
91990 #define HAVE_FPUTWS 1
91991 _ACEOF
91993 cat >>confdefs.h <<\_ACEOF
91994 #define HAVE_FWIDE 1
91995 _ACEOF
91997 cat >>confdefs.h <<\_ACEOF
91998 #define HAVE_FWPRINTF 1
91999 _ACEOF
92001 cat >>confdefs.h <<\_ACEOF
92002 #define HAVE_FWSCANF 1
92003 _ACEOF
92005 cat >>confdefs.h <<\_ACEOF
92006 #define HAVE_GETPAGESIZE 1
92007 _ACEOF
92009 cat >>confdefs.h <<\_ACEOF
92010 #define HAVE_GETWC 1
92011 _ACEOF
92013 cat >>confdefs.h <<\_ACEOF
92014 #define HAVE_GETWCHAR 1
92015 _ACEOF
92017 cat >>confdefs.h <<\_ACEOF
92018 #define HAVE_MBRLEN 1
92019 _ACEOF
92021 cat >>confdefs.h <<\_ACEOF
92022 #define HAVE_MBRTOWC 1
92023 _ACEOF
92025 cat >>confdefs.h <<\_ACEOF
92026 #define HAVE_MBSINIT 1
92027 _ACEOF
92029 cat >>confdefs.h <<\_ACEOF
92030 #define HAVE_MBSRTOWCS 1
92031 _ACEOF
92033 cat >>confdefs.h <<\_ACEOF
92034 #define HAVE_NL_LANGINFO 1
92035 _ACEOF
92037 cat >>confdefs.h <<\_ACEOF
92038 #define HAVE_PUTWC 1
92039 _ACEOF
92041 cat >>confdefs.h <<\_ACEOF
92042 #define HAVE_PUTWCHAR 1
92043 _ACEOF
92045 cat >>confdefs.h <<\_ACEOF
92046 #define HAVE_SWPRINTF 1
92047 _ACEOF
92049 cat >>confdefs.h <<\_ACEOF
92050 #define HAVE_SWSCANF 1
92051 _ACEOF
92053 cat >>confdefs.h <<\_ACEOF
92054 #define HAVE_UNGETWC 1
92055 _ACEOF
92057 cat >>confdefs.h <<\_ACEOF
92058 #define HAVE_VFWPRINTF 1
92059 _ACEOF
92061 cat >>confdefs.h <<\_ACEOF
92062 #define HAVE_VSWPRINTF 1
92063 _ACEOF
92065 cat >>confdefs.h <<\_ACEOF
92066 #define HAVE_VWPRINTF 1
92067 _ACEOF
92069 cat >>confdefs.h <<\_ACEOF
92070 #define HAVE_WCRTOMB 1
92071 _ACEOF
92073 cat >>confdefs.h <<\_ACEOF
92074 #define HAVE_WCSCAT 1
92075 _ACEOF
92077 cat >>confdefs.h <<\_ACEOF
92078 #define HAVE_WCSCHR 1
92079 _ACEOF
92081 cat >>confdefs.h <<\_ACEOF
92082 #define HAVE_WCSCMP 1
92083 _ACEOF
92085 cat >>confdefs.h <<\_ACEOF
92086 #define HAVE_WCSCOLL 1
92087 _ACEOF
92089 cat >>confdefs.h <<\_ACEOF
92090 #define HAVE_WCSCPY 1
92091 _ACEOF
92093 cat >>confdefs.h <<\_ACEOF
92094 #define HAVE_WCSCSPN 1
92095 _ACEOF
92097 cat >>confdefs.h <<\_ACEOF
92098 #define HAVE_WCSFTIME 1
92099 _ACEOF
92101 cat >>confdefs.h <<\_ACEOF
92102 #define HAVE_WCSLEN 1
92103 _ACEOF
92105 cat >>confdefs.h <<\_ACEOF
92106 #define HAVE_WCSNCAT 1
92107 _ACEOF
92109 cat >>confdefs.h <<\_ACEOF
92110 #define HAVE_WCSNCMP 1
92111 _ACEOF
92113 cat >>confdefs.h <<\_ACEOF
92114 #define HAVE_WCSNCPY 1
92115 _ACEOF
92117 cat >>confdefs.h <<\_ACEOF
92118 #define HAVE_WCSPBRK 1
92119 _ACEOF
92121 cat >>confdefs.h <<\_ACEOF
92122 #define HAVE_WCSRCHR 1
92123 _ACEOF
92125 cat >>confdefs.h <<\_ACEOF
92126 #define HAVE_WCSRTOMBS 1
92127 _ACEOF
92129 cat >>confdefs.h <<\_ACEOF
92130 #define HAVE_WCSSPN 1
92131 _ACEOF
92133 cat >>confdefs.h <<\_ACEOF
92134 #define HAVE_WCSSTR 1
92135 _ACEOF
92137 cat >>confdefs.h <<\_ACEOF
92138 #define HAVE_WCSTOD 1
92139 _ACEOF
92141 cat >>confdefs.h <<\_ACEOF
92142 #define HAVE_WCSTOK 1
92143 _ACEOF
92145 cat >>confdefs.h <<\_ACEOF
92146 #define HAVE_WCSTOL 1
92147 _ACEOF
92149 cat >>confdefs.h <<\_ACEOF
92150 #define HAVE_WCSTOUL 1
92151 _ACEOF
92153 cat >>confdefs.h <<\_ACEOF
92154 #define HAVE_WCSXFRM 1
92155 _ACEOF
92157 cat >>confdefs.h <<\_ACEOF
92158 #define HAVE_WCTOB 1
92159 _ACEOF
92161 cat >>confdefs.h <<\_ACEOF
92162 #define HAVE_WMEMCHR 1
92163 _ACEOF
92165 cat >>confdefs.h <<\_ACEOF
92166 #define HAVE_WMEMCMP 1
92167 _ACEOF
92169 cat >>confdefs.h <<\_ACEOF
92170 #define HAVE_WMEMCPY 1
92171 _ACEOF
92173 cat >>confdefs.h <<\_ACEOF
92174 #define HAVE_WMEMMOVE 1
92175 _ACEOF
92177 cat >>confdefs.h <<\_ACEOF
92178 #define HAVE_WMEMSET 1
92179 _ACEOF
92181 cat >>confdefs.h <<\_ACEOF
92182 #define HAVE_WPRINTF 1
92183 _ACEOF
92185 cat >>confdefs.h <<\_ACEOF
92186 #define HAVE_WSCANF 1
92187 _ACEOF
92189 cat >>confdefs.h <<\_ACEOF
92190 #define HAVE_ICONV 1
92191 _ACEOF
92193 cat >>confdefs.h <<\_ACEOF
92194 #define HAVE_ICONV_CLOSE 1
92195 _ACEOF
92197 cat >>confdefs.h <<\_ACEOF
92198 #define HAVE_ICONV_OPEN 1
92199 _ACEOF
92201 # Look for the pieces required for wchar_t support in order to
92202 # get all the right HAVE_* macros defined.
92204 # Test wchar.h for mbstate_t, which is needed for char_traits and
92205 # others even if wchar_t support is not on.
92206 echo "$as_me:$LINENO: checking for mbstate_t" >&5
92207 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92208 cat >conftest.$ac_ext <<_ACEOF
92209 /* confdefs.h. */
92210 _ACEOF
92211 cat confdefs.h >>conftest.$ac_ext
92212 cat >>conftest.$ac_ext <<_ACEOF
92213 /* end confdefs.h. */
92214 #include <wchar.h>
92216 main ()
92218 mbstate_t teststate;
92220 return 0;
92222 _ACEOF
92223 rm -f conftest.$ac_objext
92224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92225 (eval $ac_compile) 2>conftest.er1
92226 ac_status=$?
92227 grep -v '^ *+' conftest.er1 >conftest.err
92228 rm -f conftest.er1
92229 cat conftest.err >&5
92230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92231 (exit $ac_status); } &&
92232 { ac_try='test -z "$ac_c_werror_flag"
92233 || test ! -s conftest.err'
92234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92235 (eval $ac_try) 2>&5
92236 ac_status=$?
92237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92238 (exit $ac_status); }; } &&
92239 { ac_try='test -s conftest.$ac_objext'
92240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92241 (eval $ac_try) 2>&5
92242 ac_status=$?
92243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92244 (exit $ac_status); }; }; then
92245 have_mbstate_t=yes
92246 else
92247 echo "$as_me: failed program was:" >&5
92248 sed 's/^/| /' conftest.$ac_ext >&5
92250 have_mbstate_t=no
92252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92253 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92254 echo "${ECHO_T}$have_mbstate_t" >&6
92255 if test x"$have_mbstate_t" = xyes; then
92256 cat >>confdefs.h <<\_ACEOF
92257 #define HAVE_MBSTATE_T 1
92258 _ACEOF
92262 # Sanity check for existence of ISO C99 headers for extended encoding.
92264 for ac_header in wchar.h
92266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92268 echo "$as_me:$LINENO: checking for $ac_header" >&5
92269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92271 echo $ECHO_N "(cached) $ECHO_C" >&6
92273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92275 else
92276 # Is the header compilable?
92277 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92278 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92279 cat >conftest.$ac_ext <<_ACEOF
92280 /* confdefs.h. */
92281 _ACEOF
92282 cat confdefs.h >>conftest.$ac_ext
92283 cat >>conftest.$ac_ext <<_ACEOF
92284 /* end confdefs.h. */
92285 $ac_includes_default
92286 #include <$ac_header>
92287 _ACEOF
92288 rm -f conftest.$ac_objext
92289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92290 (eval $ac_compile) 2>conftest.er1
92291 ac_status=$?
92292 grep -v '^ *+' conftest.er1 >conftest.err
92293 rm -f conftest.er1
92294 cat conftest.err >&5
92295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92296 (exit $ac_status); } &&
92297 { ac_try='test -z "$ac_c_werror_flag"
92298 || test ! -s conftest.err'
92299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92300 (eval $ac_try) 2>&5
92301 ac_status=$?
92302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92303 (exit $ac_status); }; } &&
92304 { ac_try='test -s conftest.$ac_objext'
92305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92306 (eval $ac_try) 2>&5
92307 ac_status=$?
92308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92309 (exit $ac_status); }; }; then
92310 ac_header_compiler=yes
92311 else
92312 echo "$as_me: failed program was:" >&5
92313 sed 's/^/| /' conftest.$ac_ext >&5
92315 ac_header_compiler=no
92317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92319 echo "${ECHO_T}$ac_header_compiler" >&6
92321 # Is the header present?
92322 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92324 cat >conftest.$ac_ext <<_ACEOF
92325 /* confdefs.h. */
92326 _ACEOF
92327 cat confdefs.h >>conftest.$ac_ext
92328 cat >>conftest.$ac_ext <<_ACEOF
92329 /* end confdefs.h. */
92330 #include <$ac_header>
92331 _ACEOF
92332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92333 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92334 ac_status=$?
92335 grep -v '^ *+' conftest.er1 >conftest.err
92336 rm -f conftest.er1
92337 cat conftest.err >&5
92338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92339 (exit $ac_status); } >/dev/null; then
92340 if test -s conftest.err; then
92341 ac_cpp_err=$ac_c_preproc_warn_flag
92342 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92343 else
92344 ac_cpp_err=
92346 else
92347 ac_cpp_err=yes
92349 if test -z "$ac_cpp_err"; then
92350 ac_header_preproc=yes
92351 else
92352 echo "$as_me: failed program was:" >&5
92353 sed 's/^/| /' conftest.$ac_ext >&5
92355 ac_header_preproc=no
92357 rm -f conftest.err conftest.$ac_ext
92358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92359 echo "${ECHO_T}$ac_header_preproc" >&6
92361 # So? What about this header?
92362 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92363 yes:no: )
92364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92367 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92368 ac_header_preproc=yes
92370 no:yes:* )
92371 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92372 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92373 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92374 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92375 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92376 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92377 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92378 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92381 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92382 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92384 cat <<\_ASBOX
92385 ## ----------------------------------------- ##
92386 ## Report this to the package-unused lists. ##
92387 ## ----------------------------------------- ##
92388 _ASBOX
92390 sed "s/^/$as_me: WARNING: /" >&2
92392 esac
92393 echo "$as_me:$LINENO: checking for $ac_header" >&5
92394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92396 echo $ECHO_N "(cached) $ECHO_C" >&6
92397 else
92398 eval "$as_ac_Header=\$ac_header_preproc"
92400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92405 cat >>confdefs.h <<_ACEOF
92406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92407 _ACEOF
92408 ac_has_wchar_h=yes
92409 else
92410 ac_has_wchar_h=no
92413 done
92416 for ac_header in wctype.h
92418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92420 echo "$as_me:$LINENO: checking for $ac_header" >&5
92421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92423 echo $ECHO_N "(cached) $ECHO_C" >&6
92425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92427 else
92428 # Is the header compilable?
92429 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92431 cat >conftest.$ac_ext <<_ACEOF
92432 /* confdefs.h. */
92433 _ACEOF
92434 cat confdefs.h >>conftest.$ac_ext
92435 cat >>conftest.$ac_ext <<_ACEOF
92436 /* end confdefs.h. */
92437 $ac_includes_default
92438 #include <$ac_header>
92439 _ACEOF
92440 rm -f conftest.$ac_objext
92441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92442 (eval $ac_compile) 2>conftest.er1
92443 ac_status=$?
92444 grep -v '^ *+' conftest.er1 >conftest.err
92445 rm -f conftest.er1
92446 cat conftest.err >&5
92447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92448 (exit $ac_status); } &&
92449 { ac_try='test -z "$ac_c_werror_flag"
92450 || test ! -s conftest.err'
92451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92452 (eval $ac_try) 2>&5
92453 ac_status=$?
92454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92455 (exit $ac_status); }; } &&
92456 { ac_try='test -s conftest.$ac_objext'
92457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92458 (eval $ac_try) 2>&5
92459 ac_status=$?
92460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92461 (exit $ac_status); }; }; then
92462 ac_header_compiler=yes
92463 else
92464 echo "$as_me: failed program was:" >&5
92465 sed 's/^/| /' conftest.$ac_ext >&5
92467 ac_header_compiler=no
92469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92471 echo "${ECHO_T}$ac_header_compiler" >&6
92473 # Is the header present?
92474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92476 cat >conftest.$ac_ext <<_ACEOF
92477 /* confdefs.h. */
92478 _ACEOF
92479 cat confdefs.h >>conftest.$ac_ext
92480 cat >>conftest.$ac_ext <<_ACEOF
92481 /* end confdefs.h. */
92482 #include <$ac_header>
92483 _ACEOF
92484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92486 ac_status=$?
92487 grep -v '^ *+' conftest.er1 >conftest.err
92488 rm -f conftest.er1
92489 cat conftest.err >&5
92490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92491 (exit $ac_status); } >/dev/null; then
92492 if test -s conftest.err; then
92493 ac_cpp_err=$ac_c_preproc_warn_flag
92494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92495 else
92496 ac_cpp_err=
92498 else
92499 ac_cpp_err=yes
92501 if test -z "$ac_cpp_err"; then
92502 ac_header_preproc=yes
92503 else
92504 echo "$as_me: failed program was:" >&5
92505 sed 's/^/| /' conftest.$ac_ext >&5
92507 ac_header_preproc=no
92509 rm -f conftest.err conftest.$ac_ext
92510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92511 echo "${ECHO_T}$ac_header_preproc" >&6
92513 # So? What about this header?
92514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92515 yes:no: )
92516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92520 ac_header_preproc=yes
92522 no:yes:* )
92523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92536 cat <<\_ASBOX
92537 ## ----------------------------------------- ##
92538 ## Report this to the package-unused lists. ##
92539 ## ----------------------------------------- ##
92540 _ASBOX
92542 sed "s/^/$as_me: WARNING: /" >&2
92544 esac
92545 echo "$as_me:$LINENO: checking for $ac_header" >&5
92546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92548 echo $ECHO_N "(cached) $ECHO_C" >&6
92549 else
92550 eval "$as_ac_Header=\$ac_header_preproc"
92552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92557 cat >>confdefs.h <<_ACEOF
92558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92559 _ACEOF
92560 ac_has_wctype_h=yes
92561 else
92562 ac_has_wctype_h=no
92565 done
92568 # Only continue checking if the ISO C99 headers exist and support is on.
92569 if test x"$ac_has_wchar_h" = xyes &&
92570 test x"$ac_has_wctype_h" = xyes &&
92571 test x"$enable_c_mbchar" != xno; then
92573 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92574 # numeric_limits can instantiate type_traits<wchar_t>
92575 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92576 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92577 cat >conftest.$ac_ext <<_ACEOF
92578 /* confdefs.h. */
92579 _ACEOF
92580 cat confdefs.h >>conftest.$ac_ext
92581 cat >>conftest.$ac_ext <<_ACEOF
92582 /* end confdefs.h. */
92583 #include <wchar.h>
92585 main ()
92587 int i = WCHAR_MIN; int j = WCHAR_MAX;
92589 return 0;
92591 _ACEOF
92592 rm -f conftest.$ac_objext
92593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92594 (eval $ac_compile) 2>conftest.er1
92595 ac_status=$?
92596 grep -v '^ *+' conftest.er1 >conftest.err
92597 rm -f conftest.er1
92598 cat conftest.err >&5
92599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92600 (exit $ac_status); } &&
92601 { ac_try='test -z "$ac_c_werror_flag"
92602 || test ! -s conftest.err'
92603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92604 (eval $ac_try) 2>&5
92605 ac_status=$?
92606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92607 (exit $ac_status); }; } &&
92608 { ac_try='test -s conftest.$ac_objext'
92609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92610 (eval $ac_try) 2>&5
92611 ac_status=$?
92612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92613 (exit $ac_status); }; }; then
92614 has_wchar_minmax=yes
92615 else
92616 echo "$as_me: failed program was:" >&5
92617 sed 's/^/| /' conftest.$ac_ext >&5
92619 has_wchar_minmax=no
92621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92622 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92623 echo "${ECHO_T}$has_wchar_minmax" >&6
92625 # Test wchar.h for WEOF, which is what we use to determine whether
92626 # to specialize for char_traits<wchar_t> or not.
92627 echo "$as_me:$LINENO: checking for WEOF" >&5
92628 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92629 cat >conftest.$ac_ext <<_ACEOF
92630 /* confdefs.h. */
92631 _ACEOF
92632 cat confdefs.h >>conftest.$ac_ext
92633 cat >>conftest.$ac_ext <<_ACEOF
92634 /* end confdefs.h. */
92636 #include <wchar.h>
92637 #include <stddef.h>
92639 main ()
92641 wint_t i = WEOF;
92643 return 0;
92645 _ACEOF
92646 rm -f conftest.$ac_objext
92647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92648 (eval $ac_compile) 2>conftest.er1
92649 ac_status=$?
92650 grep -v '^ *+' conftest.er1 >conftest.err
92651 rm -f conftest.er1
92652 cat conftest.err >&5
92653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92654 (exit $ac_status); } &&
92655 { ac_try='test -z "$ac_c_werror_flag"
92656 || test ! -s conftest.err'
92657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92658 (eval $ac_try) 2>&5
92659 ac_status=$?
92660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92661 (exit $ac_status); }; } &&
92662 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
92668 has_weof=yes
92669 else
92670 echo "$as_me: failed program was:" >&5
92671 sed 's/^/| /' conftest.$ac_ext >&5
92673 has_weof=no
92675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92676 echo "$as_me:$LINENO: result: $has_weof" >&5
92677 echo "${ECHO_T}$has_weof" >&6
92679 # Tests for wide character functions used in char_traits<wchar_t>.
92680 ac_wfuncs=yes
92687 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92690 echo "$as_me:$LINENO: checking for $ac_func" >&5
92691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92692 if eval "test \"\${$as_ac_var+set}\" = set"; then
92693 echo $ECHO_N "(cached) $ECHO_C" >&6
92694 else
92695 if test x$gcc_no_link = xyes; then
92696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92698 { (exit 1); exit 1; }; }
92700 cat >conftest.$ac_ext <<_ACEOF
92701 /* confdefs.h. */
92702 _ACEOF
92703 cat confdefs.h >>conftest.$ac_ext
92704 cat >>conftest.$ac_ext <<_ACEOF
92705 /* end confdefs.h. */
92706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92708 #define $ac_func innocuous_$ac_func
92710 /* System header to define __stub macros and hopefully few prototypes,
92711 which can conflict with char $ac_func (); below.
92712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92713 <limits.h> exists even on freestanding compilers. */
92715 #ifdef __STDC__
92716 # include <limits.h>
92717 #else
92718 # include <assert.h>
92719 #endif
92721 #undef $ac_func
92723 /* Override any gcc2 internal prototype to avoid an error. */
92724 #ifdef __cplusplus
92725 extern "C"
92727 #endif
92728 /* We use char because int might match the return type of a gcc2
92729 builtin and then its argument prototype would still apply. */
92730 char $ac_func ();
92731 /* The GNU C library defines this for functions which it implements
92732 to always fail with ENOSYS. Some functions are actually named
92733 something starting with __ and the normal name is an alias. */
92734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92735 choke me
92736 #else
92737 char (*f) () = $ac_func;
92738 #endif
92739 #ifdef __cplusplus
92741 #endif
92744 main ()
92746 return f != $ac_func;
92748 return 0;
92750 _ACEOF
92751 rm -f conftest.$ac_objext conftest$ac_exeext
92752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92753 (eval $ac_link) 2>conftest.er1
92754 ac_status=$?
92755 grep -v '^ *+' conftest.er1 >conftest.err
92756 rm -f conftest.er1
92757 cat conftest.err >&5
92758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92759 (exit $ac_status); } &&
92760 { ac_try='test -z "$ac_c_werror_flag"
92761 || test ! -s conftest.err'
92762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92763 (eval $ac_try) 2>&5
92764 ac_status=$?
92765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92766 (exit $ac_status); }; } &&
92767 { ac_try='test -s conftest$ac_exeext'
92768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92769 (eval $ac_try) 2>&5
92770 ac_status=$?
92771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92772 (exit $ac_status); }; }; then
92773 eval "$as_ac_var=yes"
92774 else
92775 echo "$as_me: failed program was:" >&5
92776 sed 's/^/| /' conftest.$ac_ext >&5
92778 eval "$as_ac_var=no"
92780 rm -f conftest.err conftest.$ac_objext \
92781 conftest$ac_exeext conftest.$ac_ext
92783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92785 if test `eval echo '${'$as_ac_var'}'` = yes; then
92786 cat >>confdefs.h <<_ACEOF
92787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92788 _ACEOF
92790 else
92791 ac_wfuncs=no
92793 done
92796 # Checks for names injected into std:: by the c_std headers.
92843 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92844 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92845 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92846 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92847 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92848 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92851 echo "$as_me:$LINENO: checking for $ac_func" >&5
92852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92853 if eval "test \"\${$as_ac_var+set}\" = set"; then
92854 echo $ECHO_N "(cached) $ECHO_C" >&6
92855 else
92856 if test x$gcc_no_link = xyes; then
92857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92859 { (exit 1); exit 1; }; }
92861 cat >conftest.$ac_ext <<_ACEOF
92862 /* confdefs.h. */
92863 _ACEOF
92864 cat confdefs.h >>conftest.$ac_ext
92865 cat >>conftest.$ac_ext <<_ACEOF
92866 /* end confdefs.h. */
92867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92869 #define $ac_func innocuous_$ac_func
92871 /* System header to define __stub macros and hopefully few prototypes,
92872 which can conflict with char $ac_func (); below.
92873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92874 <limits.h> exists even on freestanding compilers. */
92876 #ifdef __STDC__
92877 # include <limits.h>
92878 #else
92879 # include <assert.h>
92880 #endif
92882 #undef $ac_func
92884 /* Override any gcc2 internal prototype to avoid an error. */
92885 #ifdef __cplusplus
92886 extern "C"
92888 #endif
92889 /* We use char because int might match the return type of a gcc2
92890 builtin and then its argument prototype would still apply. */
92891 char $ac_func ();
92892 /* The GNU C library defines this for functions which it implements
92893 to always fail with ENOSYS. Some functions are actually named
92894 something starting with __ and the normal name is an alias. */
92895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92896 choke me
92897 #else
92898 char (*f) () = $ac_func;
92899 #endif
92900 #ifdef __cplusplus
92902 #endif
92905 main ()
92907 return f != $ac_func;
92909 return 0;
92911 _ACEOF
92912 rm -f conftest.$ac_objext conftest$ac_exeext
92913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92914 (eval $ac_link) 2>conftest.er1
92915 ac_status=$?
92916 grep -v '^ *+' conftest.er1 >conftest.err
92917 rm -f conftest.er1
92918 cat conftest.err >&5
92919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92920 (exit $ac_status); } &&
92921 { ac_try='test -z "$ac_c_werror_flag"
92922 || test ! -s conftest.err'
92923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92924 (eval $ac_try) 2>&5
92925 ac_status=$?
92926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92927 (exit $ac_status); }; } &&
92928 { ac_try='test -s conftest$ac_exeext'
92929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92930 (eval $ac_try) 2>&5
92931 ac_status=$?
92932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92933 (exit $ac_status); }; }; then
92934 eval "$as_ac_var=yes"
92935 else
92936 echo "$as_me: failed program was:" >&5
92937 sed 's/^/| /' conftest.$ac_ext >&5
92939 eval "$as_ac_var=no"
92941 rm -f conftest.err conftest.$ac_objext \
92942 conftest$ac_exeext conftest.$ac_ext
92944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92946 if test `eval echo '${'$as_ac_var'}'` = yes; then
92947 cat >>confdefs.h <<_ACEOF
92948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92949 _ACEOF
92951 else
92952 ac_wfuncs=no
92954 done
92957 # Checks for wide character functions that are not required
92958 # for basic wchar_t support. Don't disable support if they are missing.
92959 # Injection of these is wrapped with guard macros.
92965 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92968 echo "$as_me:$LINENO: checking for $ac_func" >&5
92969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92970 if eval "test \"\${$as_ac_var+set}\" = set"; then
92971 echo $ECHO_N "(cached) $ECHO_C" >&6
92972 else
92973 if test x$gcc_no_link = xyes; then
92974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92976 { (exit 1); exit 1; }; }
92978 cat >conftest.$ac_ext <<_ACEOF
92979 /* confdefs.h. */
92980 _ACEOF
92981 cat confdefs.h >>conftest.$ac_ext
92982 cat >>conftest.$ac_ext <<_ACEOF
92983 /* end confdefs.h. */
92984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92986 #define $ac_func innocuous_$ac_func
92988 /* System header to define __stub macros and hopefully few prototypes,
92989 which can conflict with char $ac_func (); below.
92990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92991 <limits.h> exists even on freestanding compilers. */
92993 #ifdef __STDC__
92994 # include <limits.h>
92995 #else
92996 # include <assert.h>
92997 #endif
92999 #undef $ac_func
93001 /* Override any gcc2 internal prototype to avoid an error. */
93002 #ifdef __cplusplus
93003 extern "C"
93005 #endif
93006 /* We use char because int might match the return type of a gcc2
93007 builtin and then its argument prototype would still apply. */
93008 char $ac_func ();
93009 /* The GNU C library defines this for functions which it implements
93010 to always fail with ENOSYS. Some functions are actually named
93011 something starting with __ and the normal name is an alias. */
93012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93013 choke me
93014 #else
93015 char (*f) () = $ac_func;
93016 #endif
93017 #ifdef __cplusplus
93019 #endif
93022 main ()
93024 return f != $ac_func;
93026 return 0;
93028 _ACEOF
93029 rm -f conftest.$ac_objext conftest$ac_exeext
93030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93031 (eval $ac_link) 2>conftest.er1
93032 ac_status=$?
93033 grep -v '^ *+' conftest.er1 >conftest.err
93034 rm -f conftest.er1
93035 cat conftest.err >&5
93036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93037 (exit $ac_status); } &&
93038 { ac_try='test -z "$ac_c_werror_flag"
93039 || test ! -s conftest.err'
93040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93041 (eval $ac_try) 2>&5
93042 ac_status=$?
93043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93044 (exit $ac_status); }; } &&
93045 { ac_try='test -s conftest$ac_exeext'
93046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93047 (eval $ac_try) 2>&5
93048 ac_status=$?
93049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93050 (exit $ac_status); }; }; then
93051 eval "$as_ac_var=yes"
93052 else
93053 echo "$as_me: failed program was:" >&5
93054 sed 's/^/| /' conftest.$ac_ext >&5
93056 eval "$as_ac_var=no"
93058 rm -f conftest.err conftest.$ac_objext \
93059 conftest$ac_exeext conftest.$ac_ext
93061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93063 if test `eval echo '${'$as_ac_var'}'` = yes; then
93064 cat >>confdefs.h <<_ACEOF
93065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93066 _ACEOF
93069 done
93072 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93073 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93074 if test x"$has_weof" = xyes &&
93075 test x"$has_wchar_minmax" = xyes &&
93076 test x"$ac_wfuncs" = xyes;
93077 then
93078 ac_isoC99_wchar_t=yes
93079 else
93080 ac_isoC99_wchar_t=no
93082 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93083 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93085 # Use iconv for wchar_t to char conversions. As such, check for
93086 # X/Open Portability Guide, version 2 features (XPG2).
93087 if test "${ac_cv_header_iconv_h+set}" = set; then
93088 echo "$as_me:$LINENO: checking for iconv.h" >&5
93089 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93090 if test "${ac_cv_header_iconv_h+set}" = set; then
93091 echo $ECHO_N "(cached) $ECHO_C" >&6
93093 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93094 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93095 else
93096 # Is the header compilable?
93097 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93098 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93099 cat >conftest.$ac_ext <<_ACEOF
93100 /* confdefs.h. */
93101 _ACEOF
93102 cat confdefs.h >>conftest.$ac_ext
93103 cat >>conftest.$ac_ext <<_ACEOF
93104 /* end confdefs.h. */
93105 $ac_includes_default
93106 #include <iconv.h>
93107 _ACEOF
93108 rm -f conftest.$ac_objext
93109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93110 (eval $ac_compile) 2>conftest.er1
93111 ac_status=$?
93112 grep -v '^ *+' conftest.er1 >conftest.err
93113 rm -f conftest.er1
93114 cat conftest.err >&5
93115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93116 (exit $ac_status); } &&
93117 { ac_try='test -z "$ac_c_werror_flag"
93118 || test ! -s conftest.err'
93119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93120 (eval $ac_try) 2>&5
93121 ac_status=$?
93122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93123 (exit $ac_status); }; } &&
93124 { ac_try='test -s conftest.$ac_objext'
93125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93126 (eval $ac_try) 2>&5
93127 ac_status=$?
93128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93129 (exit $ac_status); }; }; then
93130 ac_header_compiler=yes
93131 else
93132 echo "$as_me: failed program was:" >&5
93133 sed 's/^/| /' conftest.$ac_ext >&5
93135 ac_header_compiler=no
93137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93139 echo "${ECHO_T}$ac_header_compiler" >&6
93141 # Is the header present?
93142 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93143 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93144 cat >conftest.$ac_ext <<_ACEOF
93145 /* confdefs.h. */
93146 _ACEOF
93147 cat confdefs.h >>conftest.$ac_ext
93148 cat >>conftest.$ac_ext <<_ACEOF
93149 /* end confdefs.h. */
93150 #include <iconv.h>
93151 _ACEOF
93152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93154 ac_status=$?
93155 grep -v '^ *+' conftest.er1 >conftest.err
93156 rm -f conftest.er1
93157 cat conftest.err >&5
93158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93159 (exit $ac_status); } >/dev/null; then
93160 if test -s conftest.err; then
93161 ac_cpp_err=$ac_c_preproc_warn_flag
93162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93163 else
93164 ac_cpp_err=
93166 else
93167 ac_cpp_err=yes
93169 if test -z "$ac_cpp_err"; then
93170 ac_header_preproc=yes
93171 else
93172 echo "$as_me: failed program was:" >&5
93173 sed 's/^/| /' conftest.$ac_ext >&5
93175 ac_header_preproc=no
93177 rm -f conftest.err conftest.$ac_ext
93178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93179 echo "${ECHO_T}$ac_header_preproc" >&6
93181 # So? What about this header?
93182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93183 yes:no: )
93184 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93185 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93186 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93187 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93188 ac_header_preproc=yes
93190 no:yes:* )
93191 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93192 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93193 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
93194 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
93195 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93196 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93197 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
93198 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
93199 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93200 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93201 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93202 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93204 cat <<\_ASBOX
93205 ## ----------------------------------------- ##
93206 ## Report this to the package-unused lists. ##
93207 ## ----------------------------------------- ##
93208 _ASBOX
93210 sed "s/^/$as_me: WARNING: /" >&2
93212 esac
93213 echo "$as_me:$LINENO: checking for iconv.h" >&5
93214 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93215 if test "${ac_cv_header_iconv_h+set}" = set; then
93216 echo $ECHO_N "(cached) $ECHO_C" >&6
93217 else
93218 ac_cv_header_iconv_h=$ac_header_preproc
93220 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93221 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93224 if test $ac_cv_header_iconv_h = yes; then
93225 ac_has_iconv_h=yes
93226 else
93227 ac_has_iconv_h=no
93231 if test "${ac_cv_header_langinfo_h+set}" = set; then
93232 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93233 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93234 if test "${ac_cv_header_langinfo_h+set}" = set; then
93235 echo $ECHO_N "(cached) $ECHO_C" >&6
93237 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93238 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93239 else
93240 # Is the header compilable?
93241 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93242 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93243 cat >conftest.$ac_ext <<_ACEOF
93244 /* confdefs.h. */
93245 _ACEOF
93246 cat confdefs.h >>conftest.$ac_ext
93247 cat >>conftest.$ac_ext <<_ACEOF
93248 /* end confdefs.h. */
93249 $ac_includes_default
93250 #include <langinfo.h>
93251 _ACEOF
93252 rm -f conftest.$ac_objext
93253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93254 (eval $ac_compile) 2>conftest.er1
93255 ac_status=$?
93256 grep -v '^ *+' conftest.er1 >conftest.err
93257 rm -f conftest.er1
93258 cat conftest.err >&5
93259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93260 (exit $ac_status); } &&
93261 { ac_try='test -z "$ac_c_werror_flag"
93262 || test ! -s conftest.err'
93263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93264 (eval $ac_try) 2>&5
93265 ac_status=$?
93266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93267 (exit $ac_status); }; } &&
93268 { ac_try='test -s conftest.$ac_objext'
93269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93270 (eval $ac_try) 2>&5
93271 ac_status=$?
93272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93273 (exit $ac_status); }; }; then
93274 ac_header_compiler=yes
93275 else
93276 echo "$as_me: failed program was:" >&5
93277 sed 's/^/| /' conftest.$ac_ext >&5
93279 ac_header_compiler=no
93281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93283 echo "${ECHO_T}$ac_header_compiler" >&6
93285 # Is the header present?
93286 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93287 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93288 cat >conftest.$ac_ext <<_ACEOF
93289 /* confdefs.h. */
93290 _ACEOF
93291 cat confdefs.h >>conftest.$ac_ext
93292 cat >>conftest.$ac_ext <<_ACEOF
93293 /* end confdefs.h. */
93294 #include <langinfo.h>
93295 _ACEOF
93296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93298 ac_status=$?
93299 grep -v '^ *+' conftest.er1 >conftest.err
93300 rm -f conftest.er1
93301 cat conftest.err >&5
93302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93303 (exit $ac_status); } >/dev/null; then
93304 if test -s conftest.err; then
93305 ac_cpp_err=$ac_c_preproc_warn_flag
93306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93307 else
93308 ac_cpp_err=
93310 else
93311 ac_cpp_err=yes
93313 if test -z "$ac_cpp_err"; then
93314 ac_header_preproc=yes
93315 else
93316 echo "$as_me: failed program was:" >&5
93317 sed 's/^/| /' conftest.$ac_ext >&5
93319 ac_header_preproc=no
93321 rm -f conftest.err conftest.$ac_ext
93322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93323 echo "${ECHO_T}$ac_header_preproc" >&6
93325 # So? What about this header?
93326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93327 yes:no: )
93328 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93329 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93330 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93331 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93332 ac_header_preproc=yes
93334 no:yes:* )
93335 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93336 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93337 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
93338 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
93339 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93340 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93341 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
93342 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
93343 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93344 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93345 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93346 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93348 cat <<\_ASBOX
93349 ## ----------------------------------------- ##
93350 ## Report this to the package-unused lists. ##
93351 ## ----------------------------------------- ##
93352 _ASBOX
93354 sed "s/^/$as_me: WARNING: /" >&2
93356 esac
93357 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93358 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93359 if test "${ac_cv_header_langinfo_h+set}" = set; then
93360 echo $ECHO_N "(cached) $ECHO_C" >&6
93361 else
93362 ac_cv_header_langinfo_h=$ac_header_preproc
93364 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93365 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93368 if test $ac_cv_header_langinfo_h = yes; then
93369 ac_has_langinfo_h=yes
93370 else
93371 ac_has_langinfo_h=no
93376 # Check for existence of libiconv.a providing XPG2 wchar_t support.
93377 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93378 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93379 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93380 echo $ECHO_N "(cached) $ECHO_C" >&6
93381 else
93382 ac_check_lib_save_LIBS=$LIBS
93383 LIBS="-liconv $LIBS"
93384 if test x$gcc_no_link = xyes; then
93385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93387 { (exit 1); exit 1; }; }
93389 cat >conftest.$ac_ext <<_ACEOF
93390 /* confdefs.h. */
93391 _ACEOF
93392 cat confdefs.h >>conftest.$ac_ext
93393 cat >>conftest.$ac_ext <<_ACEOF
93394 /* end confdefs.h. */
93396 /* Override any gcc2 internal prototype to avoid an error. */
93397 #ifdef __cplusplus
93398 extern "C"
93399 #endif
93400 /* We use char because int might match the return type of a gcc2
93401 builtin and then its argument prototype would still apply. */
93402 char iconv ();
93404 main ()
93406 iconv ();
93408 return 0;
93410 _ACEOF
93411 rm -f conftest.$ac_objext conftest$ac_exeext
93412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93413 (eval $ac_link) 2>conftest.er1
93414 ac_status=$?
93415 grep -v '^ *+' conftest.er1 >conftest.err
93416 rm -f conftest.er1
93417 cat conftest.err >&5
93418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93419 (exit $ac_status); } &&
93420 { ac_try='test -z "$ac_c_werror_flag"
93421 || test ! -s conftest.err'
93422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93423 (eval $ac_try) 2>&5
93424 ac_status=$?
93425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93426 (exit $ac_status); }; } &&
93427 { ac_try='test -s conftest$ac_exeext'
93428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93429 (eval $ac_try) 2>&5
93430 ac_status=$?
93431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93432 (exit $ac_status); }; }; then
93433 ac_cv_lib_iconv_iconv=yes
93434 else
93435 echo "$as_me: failed program was:" >&5
93436 sed 's/^/| /' conftest.$ac_ext >&5
93438 ac_cv_lib_iconv_iconv=no
93440 rm -f conftest.err conftest.$ac_objext \
93441 conftest$ac_exeext conftest.$ac_ext
93442 LIBS=$ac_check_lib_save_LIBS
93444 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93445 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93446 if test $ac_cv_lib_iconv_iconv = yes; then
93447 LIBICONV="-liconv"
93450 ac_save_LIBS="$LIBS"
93451 LIBS="$LIBS $LIBICONV"
93458 for ac_func in iconv_open iconv_close iconv nl_langinfo
93460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93461 echo "$as_me:$LINENO: checking for $ac_func" >&5
93462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93463 if eval "test \"\${$as_ac_var+set}\" = set"; then
93464 echo $ECHO_N "(cached) $ECHO_C" >&6
93465 else
93466 if test x$gcc_no_link = xyes; then
93467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93469 { (exit 1); exit 1; }; }
93471 cat >conftest.$ac_ext <<_ACEOF
93472 /* confdefs.h. */
93473 _ACEOF
93474 cat confdefs.h >>conftest.$ac_ext
93475 cat >>conftest.$ac_ext <<_ACEOF
93476 /* end confdefs.h. */
93477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93479 #define $ac_func innocuous_$ac_func
93481 /* System header to define __stub macros and hopefully few prototypes,
93482 which can conflict with char $ac_func (); below.
93483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93484 <limits.h> exists even on freestanding compilers. */
93486 #ifdef __STDC__
93487 # include <limits.h>
93488 #else
93489 # include <assert.h>
93490 #endif
93492 #undef $ac_func
93494 /* Override any gcc2 internal prototype to avoid an error. */
93495 #ifdef __cplusplus
93496 extern "C"
93498 #endif
93499 /* We use char because int might match the return type of a gcc2
93500 builtin and then its argument prototype would still apply. */
93501 char $ac_func ();
93502 /* The GNU C library defines this for functions which it implements
93503 to always fail with ENOSYS. Some functions are actually named
93504 something starting with __ and the normal name is an alias. */
93505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93506 choke me
93507 #else
93508 char (*f) () = $ac_func;
93509 #endif
93510 #ifdef __cplusplus
93512 #endif
93515 main ()
93517 return f != $ac_func;
93519 return 0;
93521 _ACEOF
93522 rm -f conftest.$ac_objext conftest$ac_exeext
93523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93524 (eval $ac_link) 2>conftest.er1
93525 ac_status=$?
93526 grep -v '^ *+' conftest.er1 >conftest.err
93527 rm -f conftest.er1
93528 cat conftest.err >&5
93529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93530 (exit $ac_status); } &&
93531 { ac_try='test -z "$ac_c_werror_flag"
93532 || test ! -s conftest.err'
93533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93534 (eval $ac_try) 2>&5
93535 ac_status=$?
93536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93537 (exit $ac_status); }; } &&
93538 { ac_try='test -s conftest$ac_exeext'
93539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93540 (eval $ac_try) 2>&5
93541 ac_status=$?
93542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93543 (exit $ac_status); }; }; then
93544 eval "$as_ac_var=yes"
93545 else
93546 echo "$as_me: failed program was:" >&5
93547 sed 's/^/| /' conftest.$ac_ext >&5
93549 eval "$as_ac_var=no"
93551 rm -f conftest.err conftest.$ac_objext \
93552 conftest$ac_exeext conftest.$ac_ext
93554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93556 if test `eval echo '${'$as_ac_var'}'` = yes; then
93557 cat >>confdefs.h <<_ACEOF
93558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93559 _ACEOF
93560 ac_XPG2funcs=yes
93561 else
93562 ac_XPG2funcs=no
93564 done
93567 LIBS="$ac_save_LIBS"
93569 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93570 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93571 if test x"$ac_has_iconv_h" = xyes &&
93572 test x"$ac_has_langinfo_h" = xyes &&
93573 test x"$ac_XPG2funcs" = xyes;
93574 then
93575 ac_XPG2_wchar_t=yes
93576 else
93577 ac_XPG2_wchar_t=no
93579 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93580 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93582 # At the moment, only enable wchar_t specializations if all the
93583 # above support is present.
93584 if test x"$ac_isoC99_wchar_t" = xyes &&
93585 test x"$ac_XPG2_wchar_t" = xyes;
93586 then
93587 cat >>confdefs.h <<\_ACEOF
93588 #define _GLIBCXX_USE_WCHAR_T 1
93589 _ACEOF
93591 enable_wchar_t=yes
93594 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93595 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93596 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93597 echo "${ECHO_T}$enable_wchar_t" >&6
93599 # All of the dependencies for wide character support are here, so
93600 # turn it on. This requires some syncronization with the
93601 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93602 cat >>confdefs.h <<\_ACEOF
93603 #define _GLIBCXX_USE_WCHAR_T 1
93604 _ACEOF
93606 # Are these tested for even when cross?
93607 cat >>confdefs.h <<\_ACEOF
93608 #define HAVE_FLOAT_H 1
93609 _ACEOF
93611 cat >>confdefs.h <<\_ACEOF
93612 #define HAVE_IEEEFP_H 1
93613 _ACEOF
93615 cat >>confdefs.h <<\_ACEOF
93616 #define HAVE_INTTYPES_H 1
93617 _ACEOF
93619 cat >>confdefs.h <<\_ACEOF
93620 #define HAVE_LOCALE_H 1
93621 _ACEOF
93623 cat >>confdefs.h <<\_ACEOF
93624 #define HAVE_NAN_H 1
93625 _ACEOF
93627 cat >>confdefs.h <<\_ACEOF
93628 #define HAVE_SYS_FILIO_H 1
93629 _ACEOF
93631 cat >>confdefs.h <<\_ACEOF
93632 #define HAVE_SYS_IOCTL_H 1
93633 _ACEOF
93635 cat >>confdefs.h <<\_ACEOF
93636 #define HAVE_SYS_ISA_DEFS_H 1
93637 _ACEOF
93639 cat >>confdefs.h <<\_ACEOF
93640 #define HAVE_SYS_RESOURCE_H 1
93641 _ACEOF
93643 cat >>confdefs.h <<\_ACEOF
93644 #define HAVE_SYS_TIME_H 1
93645 _ACEOF
93647 cat >>confdefs.h <<\_ACEOF
93648 #define HAVE_SYS_TYPES_H 1
93649 _ACEOF
93651 cat >>confdefs.h <<\_ACEOF
93652 #define HAVE_UNISTD_H 1
93653 _ACEOF
93655 cat >>confdefs.h <<\_ACEOF
93656 #define HAVE_WCHAR_H 1
93657 _ACEOF
93659 cat >>confdefs.h <<\_ACEOF
93660 #define HAVE_WCTYPE_H 1
93661 _ACEOF
93663 cat >>confdefs.h <<\_ACEOF
93664 #define HAVE_LIBM 1
93665 _ACEOF
93668 esac
93669 case "$target" in
93670 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93671 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93672 cat >>confdefs.h <<\_ACEOF
93673 #define HAVE___BUILTIN_ABS 1
93674 _ACEOF
93676 cat >>confdefs.h <<\_ACEOF
93677 #define HAVE___BUILTIN_LABS 1
93678 _ACEOF
93680 cat >>confdefs.h <<\_ACEOF
93681 #define HAVE___BUILTIN_FABS 1
93682 _ACEOF
93684 cat >>confdefs.h <<\_ACEOF
93685 #define HAVE___BUILTIN_FABSF 1
93686 _ACEOF
93688 cat >>confdefs.h <<\_ACEOF
93689 #define HAVE___BUILTIN_FABSL 1
93690 _ACEOF
93692 cat >>confdefs.h <<\_ACEOF
93693 #define HAVE___BUILTIN_COS 1
93694 _ACEOF
93696 cat >>confdefs.h <<\_ACEOF
93697 #define HAVE___BUILTIN_COSF 1
93698 _ACEOF
93700 cat >>confdefs.h <<\_ACEOF
93701 #define HAVE___BUILTIN_SIN 1
93702 _ACEOF
93704 cat >>confdefs.h <<\_ACEOF
93705 #define HAVE___BUILTIN_SINF 1
93706 _ACEOF
93709 esac
93710 cat >>confdefs.h <<\_ACEOF
93711 #define HAVE_STRTOF 1
93712 _ACEOF
93714 cat >>confdefs.h <<\_ACEOF
93715 #define HAVE_STRTOLD 1
93716 _ACEOF
93718 cat >>confdefs.h <<\_ACEOF
93719 #define HAVE_MMAP 1
93720 _ACEOF
93722 cat >>confdefs.h <<\_ACEOF
93723 #define HAVE_COPYSIGN 1
93724 _ACEOF
93726 cat >>confdefs.h <<\_ACEOF
93727 #define HAVE_ISNAN 1
93728 _ACEOF
93730 cat >>confdefs.h <<\_ACEOF
93731 #define HAVE_ISNANF 1
93732 _ACEOF
93734 cat >>confdefs.h <<\_ACEOF
93735 #define HAVE_MODFF 1
93736 _ACEOF
93738 cat >>confdefs.h <<\_ACEOF
93739 #define HAVE_HYPOT 1
93740 _ACEOF
93743 *-tpf)
93752 for ac_header in nan.h endian.h machine/endian.h \
93753 sys/param.h sys/types.h locale.h float.h inttypes.h
93755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93757 echo "$as_me:$LINENO: checking for $ac_header" >&5
93758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93760 echo $ECHO_N "(cached) $ECHO_C" >&6
93762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93764 else
93765 # Is the header compilable?
93766 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93767 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93768 cat >conftest.$ac_ext <<_ACEOF
93769 /* confdefs.h. */
93770 _ACEOF
93771 cat confdefs.h >>conftest.$ac_ext
93772 cat >>conftest.$ac_ext <<_ACEOF
93773 /* end confdefs.h. */
93774 $ac_includes_default
93775 #include <$ac_header>
93776 _ACEOF
93777 rm -f conftest.$ac_objext
93778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93779 (eval $ac_compile) 2>conftest.er1
93780 ac_status=$?
93781 grep -v '^ *+' conftest.er1 >conftest.err
93782 rm -f conftest.er1
93783 cat conftest.err >&5
93784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93785 (exit $ac_status); } &&
93786 { ac_try='test -z "$ac_c_werror_flag"
93787 || test ! -s conftest.err'
93788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93789 (eval $ac_try) 2>&5
93790 ac_status=$?
93791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93792 (exit $ac_status); }; } &&
93793 { ac_try='test -s conftest.$ac_objext'
93794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93795 (eval $ac_try) 2>&5
93796 ac_status=$?
93797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93798 (exit $ac_status); }; }; then
93799 ac_header_compiler=yes
93800 else
93801 echo "$as_me: failed program was:" >&5
93802 sed 's/^/| /' conftest.$ac_ext >&5
93804 ac_header_compiler=no
93806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93807 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93808 echo "${ECHO_T}$ac_header_compiler" >&6
93810 # Is the header present?
93811 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93812 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93813 cat >conftest.$ac_ext <<_ACEOF
93814 /* confdefs.h. */
93815 _ACEOF
93816 cat confdefs.h >>conftest.$ac_ext
93817 cat >>conftest.$ac_ext <<_ACEOF
93818 /* end confdefs.h. */
93819 #include <$ac_header>
93820 _ACEOF
93821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93822 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93823 ac_status=$?
93824 grep -v '^ *+' conftest.er1 >conftest.err
93825 rm -f conftest.er1
93826 cat conftest.err >&5
93827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93828 (exit $ac_status); } >/dev/null; then
93829 if test -s conftest.err; then
93830 ac_cpp_err=$ac_c_preproc_warn_flag
93831 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93832 else
93833 ac_cpp_err=
93835 else
93836 ac_cpp_err=yes
93838 if test -z "$ac_cpp_err"; then
93839 ac_header_preproc=yes
93840 else
93841 echo "$as_me: failed program was:" >&5
93842 sed 's/^/| /' conftest.$ac_ext >&5
93844 ac_header_preproc=no
93846 rm -f conftest.err conftest.$ac_ext
93847 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93848 echo "${ECHO_T}$ac_header_preproc" >&6
93850 # So? What about this header?
93851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93852 yes:no: )
93853 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93854 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93856 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93857 ac_header_preproc=yes
93859 no:yes:* )
93860 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93861 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93862 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93863 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93864 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93865 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93866 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93867 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93870 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93871 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93873 cat <<\_ASBOX
93874 ## ----------------------------------------- ##
93875 ## Report this to the package-unused lists. ##
93876 ## ----------------------------------------- ##
93877 _ASBOX
93879 sed "s/^/$as_me: WARNING: /" >&2
93881 esac
93882 echo "$as_me:$LINENO: checking for $ac_header" >&5
93883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93885 echo $ECHO_N "(cached) $ECHO_C" >&6
93886 else
93887 eval "$as_ac_Header=\$ac_header_preproc"
93889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93894 cat >>confdefs.h <<_ACEOF
93895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93896 _ACEOF
93900 done
93902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93905 # If we're not using GNU ld, then there's no point in even trying these
93906 # tests. Check for that first. We should have already tested for gld
93907 # by now (in libtool), but require it now just to be safe...
93908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93913 # The name set by libtool depends on the version of libtool. Shame on us
93914 # for depending on an impl detail, but c'est la vie. Older versions used
93915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93918 # set (hence we're using an older libtool), then set it.
93919 if test x${with_gnu_ld+set} != xset; then
93920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93922 with_gnu_ld=no
93923 else
93924 with_gnu_ld=$ac_cv_prog_gnu_ld
93928 # Start by getting the version number. I think the libtool test already
93929 # does some of this, but throws away the result.
93931 ldver=`$LD --version 2>/dev/null | head -1 | \
93932 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93934 glibcxx_gnu_ld_version=`echo $ldver | \
93935 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93937 # Set --gc-sections.
93938 if test "$with_gnu_ld" = "notbroken"; then
93939 # GNU ld it is! Joy and bunny rabbits!
93941 # All these tests are for C++; save the language and the compiler flags.
93942 # Need to do this so that g++ won't try to link in libstdc++
93943 ac_test_CFLAGS="${CFLAGS+set}"
93944 ac_save_CFLAGS="$CFLAGS"
93945 CFLAGS='-x c++ -Wl,--gc-sections'
93947 # Check for -Wl,--gc-sections
93948 # XXX This test is broken at the moment, as symbols required for linking
93949 # are now in libsupc++ (not built yet). In addition, this test has
93950 # cored on solaris in the past. In addition, --gc-sections doesn't
93951 # really work at the moment (keeps on discarding used sections, first
93952 # .eh_frame and now some of the glibc sections for iconv).
93953 # Bzzzzt. Thanks for playing, maybe next time.
93954 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
93955 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
93956 if test "$cross_compiling" = yes; then
93957 ac_sectionLDflags=yes
93958 else
93959 cat >conftest.$ac_ext <<_ACEOF
93960 /* confdefs.h. */
93961 _ACEOF
93962 cat confdefs.h >>conftest.$ac_ext
93963 cat >>conftest.$ac_ext <<_ACEOF
93964 /* end confdefs.h. */
93966 int main(void)
93968 try { throw 1; }
93969 catch (...) { };
93970 return 0;
93973 _ACEOF
93974 rm -f conftest$ac_exeext
93975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93976 (eval $ac_link) 2>&5
93977 ac_status=$?
93978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
93980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93981 (eval $ac_try) 2>&5
93982 ac_status=$?
93983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93984 (exit $ac_status); }; }; then
93985 ac_sectionLDflags=yes
93986 else
93987 echo "$as_me: program exited with status $ac_status" >&5
93988 echo "$as_me: failed program was:" >&5
93989 sed 's/^/| /' conftest.$ac_ext >&5
93991 ( exit $ac_status )
93992 ac_sectionLDflags=no
93994 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
93996 if test "$ac_test_CFLAGS" = set; then
93997 CFLAGS="$ac_save_CFLAGS"
93998 else
93999 # this is the suspicious part
94000 CFLAGS=''
94002 if test "$ac_sectionLDflags" = "yes"; then
94003 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94005 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94006 echo "${ECHO_T}$ac_sectionLDflags" >&6
94009 # Set linker optimization flags.
94010 if test x"$with_gnu_ld" = x"yes"; then
94011 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94019 echo "$as_me:$LINENO: checking for main in -lm" >&5
94020 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94021 if test "${ac_cv_lib_m_main+set}" = set; then
94022 echo $ECHO_N "(cached) $ECHO_C" >&6
94023 else
94024 ac_check_lib_save_LIBS=$LIBS
94025 LIBS="-lm $LIBS"
94026 if test x$gcc_no_link = xyes; then
94027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94029 { (exit 1); exit 1; }; }
94031 cat >conftest.$ac_ext <<_ACEOF
94032 /* confdefs.h. */
94033 _ACEOF
94034 cat confdefs.h >>conftest.$ac_ext
94035 cat >>conftest.$ac_ext <<_ACEOF
94036 /* end confdefs.h. */
94040 main ()
94042 main ();
94044 return 0;
94046 _ACEOF
94047 rm -f conftest.$ac_objext conftest$ac_exeext
94048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94049 (eval $ac_link) 2>conftest.er1
94050 ac_status=$?
94051 grep -v '^ *+' conftest.er1 >conftest.err
94052 rm -f conftest.er1
94053 cat conftest.err >&5
94054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94055 (exit $ac_status); } &&
94056 { ac_try='test -z "$ac_c_werror_flag"
94057 || test ! -s conftest.err'
94058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94059 (eval $ac_try) 2>&5
94060 ac_status=$?
94061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94062 (exit $ac_status); }; } &&
94063 { ac_try='test -s conftest$ac_exeext'
94064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94065 (eval $ac_try) 2>&5
94066 ac_status=$?
94067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94068 (exit $ac_status); }; }; then
94069 ac_cv_lib_m_main=yes
94070 else
94071 echo "$as_me: failed program was:" >&5
94072 sed 's/^/| /' conftest.$ac_ext >&5
94074 ac_cv_lib_m_main=no
94076 rm -f conftest.err conftest.$ac_objext \
94077 conftest$ac_exeext conftest.$ac_ext
94078 LIBS=$ac_check_lib_save_LIBS
94080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94081 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94082 if test $ac_cv_lib_m_main = yes; then
94083 cat >>confdefs.h <<_ACEOF
94084 #define HAVE_LIBM 1
94085 _ACEOF
94087 LIBS="-lm $LIBS"
94092 for ac_func in copysignf
94094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94095 echo "$as_me:$LINENO: checking for $ac_func" >&5
94096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94097 if eval "test \"\${$as_ac_var+set}\" = set"; then
94098 echo $ECHO_N "(cached) $ECHO_C" >&6
94099 else
94100 if test x$gcc_no_link = xyes; then
94101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94103 { (exit 1); exit 1; }; }
94105 cat >conftest.$ac_ext <<_ACEOF
94106 /* confdefs.h. */
94107 _ACEOF
94108 cat confdefs.h >>conftest.$ac_ext
94109 cat >>conftest.$ac_ext <<_ACEOF
94110 /* end confdefs.h. */
94111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94113 #define $ac_func innocuous_$ac_func
94115 /* System header to define __stub macros and hopefully few prototypes,
94116 which can conflict with char $ac_func (); below.
94117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94118 <limits.h> exists even on freestanding compilers. */
94120 #ifdef __STDC__
94121 # include <limits.h>
94122 #else
94123 # include <assert.h>
94124 #endif
94126 #undef $ac_func
94128 /* Override any gcc2 internal prototype to avoid an error. */
94129 #ifdef __cplusplus
94130 extern "C"
94132 #endif
94133 /* We use char because int might match the return type of a gcc2
94134 builtin and then its argument prototype would still apply. */
94135 char $ac_func ();
94136 /* The GNU C library defines this for functions which it implements
94137 to always fail with ENOSYS. Some functions are actually named
94138 something starting with __ and the normal name is an alias. */
94139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94140 choke me
94141 #else
94142 char (*f) () = $ac_func;
94143 #endif
94144 #ifdef __cplusplus
94146 #endif
94149 main ()
94151 return f != $ac_func;
94153 return 0;
94155 _ACEOF
94156 rm -f conftest.$ac_objext conftest$ac_exeext
94157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94158 (eval $ac_link) 2>conftest.er1
94159 ac_status=$?
94160 grep -v '^ *+' conftest.er1 >conftest.err
94161 rm -f conftest.er1
94162 cat conftest.err >&5
94163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94164 (exit $ac_status); } &&
94165 { ac_try='test -z "$ac_c_werror_flag"
94166 || test ! -s conftest.err'
94167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94168 (eval $ac_try) 2>&5
94169 ac_status=$?
94170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94171 (exit $ac_status); }; } &&
94172 { ac_try='test -s conftest$ac_exeext'
94173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94174 (eval $ac_try) 2>&5
94175 ac_status=$?
94176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94177 (exit $ac_status); }; }; then
94178 eval "$as_ac_var=yes"
94179 else
94180 echo "$as_me: failed program was:" >&5
94181 sed 's/^/| /' conftest.$ac_ext >&5
94183 eval "$as_ac_var=no"
94185 rm -f conftest.err conftest.$ac_objext \
94186 conftest$ac_exeext conftest.$ac_ext
94188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94190 if test `eval echo '${'$as_ac_var'}'` = yes; then
94191 cat >>confdefs.h <<_ACEOF
94192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94193 _ACEOF
94195 else
94196 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94198 done
94202 for ac_func in __signbit
94204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94205 echo "$as_me:$LINENO: checking for $ac_func" >&5
94206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94207 if eval "test \"\${$as_ac_var+set}\" = set"; then
94208 echo $ECHO_N "(cached) $ECHO_C" >&6
94209 else
94210 if test x$gcc_no_link = xyes; then
94211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94213 { (exit 1); exit 1; }; }
94215 cat >conftest.$ac_ext <<_ACEOF
94216 /* confdefs.h. */
94217 _ACEOF
94218 cat confdefs.h >>conftest.$ac_ext
94219 cat >>conftest.$ac_ext <<_ACEOF
94220 /* end confdefs.h. */
94221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94223 #define $ac_func innocuous_$ac_func
94225 /* System header to define __stub macros and hopefully few prototypes,
94226 which can conflict with char $ac_func (); below.
94227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94228 <limits.h> exists even on freestanding compilers. */
94230 #ifdef __STDC__
94231 # include <limits.h>
94232 #else
94233 # include <assert.h>
94234 #endif
94236 #undef $ac_func
94238 /* Override any gcc2 internal prototype to avoid an error. */
94239 #ifdef __cplusplus
94240 extern "C"
94242 #endif
94243 /* We use char because int might match the return type of a gcc2
94244 builtin and then its argument prototype would still apply. */
94245 char $ac_func ();
94246 /* The GNU C library defines this for functions which it implements
94247 to always fail with ENOSYS. Some functions are actually named
94248 something starting with __ and the normal name is an alias. */
94249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94250 choke me
94251 #else
94252 char (*f) () = $ac_func;
94253 #endif
94254 #ifdef __cplusplus
94256 #endif
94259 main ()
94261 return f != $ac_func;
94263 return 0;
94265 _ACEOF
94266 rm -f conftest.$ac_objext conftest$ac_exeext
94267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94268 (eval $ac_link) 2>conftest.er1
94269 ac_status=$?
94270 grep -v '^ *+' conftest.er1 >conftest.err
94271 rm -f conftest.er1
94272 cat conftest.err >&5
94273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94274 (exit $ac_status); } &&
94275 { ac_try='test -z "$ac_c_werror_flag"
94276 || test ! -s conftest.err'
94277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94278 (eval $ac_try) 2>&5
94279 ac_status=$?
94280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94281 (exit $ac_status); }; } &&
94282 { ac_try='test -s conftest$ac_exeext'
94283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94284 (eval $ac_try) 2>&5
94285 ac_status=$?
94286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94287 (exit $ac_status); }; }; then
94288 eval "$as_ac_var=yes"
94289 else
94290 echo "$as_me: failed program was:" >&5
94291 sed 's/^/| /' conftest.$ac_ext >&5
94293 eval "$as_ac_var=no"
94295 rm -f conftest.err conftest.$ac_objext \
94296 conftest$ac_exeext conftest.$ac_ext
94298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94300 if test `eval echo '${'$as_ac_var'}'` = yes; then
94301 cat >>confdefs.h <<_ACEOF
94302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94303 _ACEOF
94305 else
94306 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94308 done
94312 for ac_func in __signbitf
94314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94315 echo "$as_me:$LINENO: checking for $ac_func" >&5
94316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94317 if eval "test \"\${$as_ac_var+set}\" = set"; then
94318 echo $ECHO_N "(cached) $ECHO_C" >&6
94319 else
94320 if test x$gcc_no_link = xyes; then
94321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94323 { (exit 1); exit 1; }; }
94325 cat >conftest.$ac_ext <<_ACEOF
94326 /* confdefs.h. */
94327 _ACEOF
94328 cat confdefs.h >>conftest.$ac_ext
94329 cat >>conftest.$ac_ext <<_ACEOF
94330 /* end confdefs.h. */
94331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94333 #define $ac_func innocuous_$ac_func
94335 /* System header to define __stub macros and hopefully few prototypes,
94336 which can conflict with char $ac_func (); below.
94337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94338 <limits.h> exists even on freestanding compilers. */
94340 #ifdef __STDC__
94341 # include <limits.h>
94342 #else
94343 # include <assert.h>
94344 #endif
94346 #undef $ac_func
94348 /* Override any gcc2 internal prototype to avoid an error. */
94349 #ifdef __cplusplus
94350 extern "C"
94352 #endif
94353 /* We use char because int might match the return type of a gcc2
94354 builtin and then its argument prototype would still apply. */
94355 char $ac_func ();
94356 /* The GNU C library defines this for functions which it implements
94357 to always fail with ENOSYS. Some functions are actually named
94358 something starting with __ and the normal name is an alias. */
94359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94360 choke me
94361 #else
94362 char (*f) () = $ac_func;
94363 #endif
94364 #ifdef __cplusplus
94366 #endif
94369 main ()
94371 return f != $ac_func;
94373 return 0;
94375 _ACEOF
94376 rm -f conftest.$ac_objext conftest$ac_exeext
94377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94378 (eval $ac_link) 2>conftest.er1
94379 ac_status=$?
94380 grep -v '^ *+' conftest.er1 >conftest.err
94381 rm -f conftest.er1
94382 cat conftest.err >&5
94383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94384 (exit $ac_status); } &&
94385 { ac_try='test -z "$ac_c_werror_flag"
94386 || test ! -s conftest.err'
94387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94388 (eval $ac_try) 2>&5
94389 ac_status=$?
94390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94391 (exit $ac_status); }; } &&
94392 { ac_try='test -s conftest$ac_exeext'
94393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94394 (eval $ac_try) 2>&5
94395 ac_status=$?
94396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94397 (exit $ac_status); }; }; then
94398 eval "$as_ac_var=yes"
94399 else
94400 echo "$as_me: failed program was:" >&5
94401 sed 's/^/| /' conftest.$ac_ext >&5
94403 eval "$as_ac_var=no"
94405 rm -f conftest.err conftest.$ac_objext \
94406 conftest$ac_exeext conftest.$ac_ext
94408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94410 if test `eval echo '${'$as_ac_var'}'` = yes; then
94411 cat >>confdefs.h <<_ACEOF
94412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94413 _ACEOF
94415 else
94416 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94418 done
94421 if test x$ac_cv_func_copysignl = x"yes"; then
94423 for ac_func in __signbitl
94425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94426 echo "$as_me:$LINENO: checking for $ac_func" >&5
94427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94428 if eval "test \"\${$as_ac_var+set}\" = set"; then
94429 echo $ECHO_N "(cached) $ECHO_C" >&6
94430 else
94431 if test x$gcc_no_link = xyes; then
94432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94434 { (exit 1); exit 1; }; }
94436 cat >conftest.$ac_ext <<_ACEOF
94437 /* confdefs.h. */
94438 _ACEOF
94439 cat confdefs.h >>conftest.$ac_ext
94440 cat >>conftest.$ac_ext <<_ACEOF
94441 /* end confdefs.h. */
94442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94444 #define $ac_func innocuous_$ac_func
94446 /* System header to define __stub macros and hopefully few prototypes,
94447 which can conflict with char $ac_func (); below.
94448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94449 <limits.h> exists even on freestanding compilers. */
94451 #ifdef __STDC__
94452 # include <limits.h>
94453 #else
94454 # include <assert.h>
94455 #endif
94457 #undef $ac_func
94459 /* Override any gcc2 internal prototype to avoid an error. */
94460 #ifdef __cplusplus
94461 extern "C"
94463 #endif
94464 /* We use char because int might match the return type of a gcc2
94465 builtin and then its argument prototype would still apply. */
94466 char $ac_func ();
94467 /* The GNU C library defines this for functions which it implements
94468 to always fail with ENOSYS. Some functions are actually named
94469 something starting with __ and the normal name is an alias. */
94470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94471 choke me
94472 #else
94473 char (*f) () = $ac_func;
94474 #endif
94475 #ifdef __cplusplus
94477 #endif
94480 main ()
94482 return f != $ac_func;
94484 return 0;
94486 _ACEOF
94487 rm -f conftest.$ac_objext conftest$ac_exeext
94488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94489 (eval $ac_link) 2>conftest.er1
94490 ac_status=$?
94491 grep -v '^ *+' conftest.er1 >conftest.err
94492 rm -f conftest.er1
94493 cat conftest.err >&5
94494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94495 (exit $ac_status); } &&
94496 { ac_try='test -z "$ac_c_werror_flag"
94497 || test ! -s conftest.err'
94498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94499 (eval $ac_try) 2>&5
94500 ac_status=$?
94501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94502 (exit $ac_status); }; } &&
94503 { ac_try='test -s conftest$ac_exeext'
94504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94505 (eval $ac_try) 2>&5
94506 ac_status=$?
94507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94508 (exit $ac_status); }; }; then
94509 eval "$as_ac_var=yes"
94510 else
94511 echo "$as_me: failed program was:" >&5
94512 sed 's/^/| /' conftest.$ac_ext >&5
94514 eval "$as_ac_var=no"
94516 rm -f conftest.err conftest.$ac_objext \
94517 conftest$ac_exeext conftest.$ac_ext
94519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94521 if test `eval echo '${'$as_ac_var'}'` = yes; then
94522 cat >>confdefs.h <<_ACEOF
94523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94524 _ACEOF
94526 else
94527 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94529 done
94533 # Used in libmath/Makefile.am.
94534 if test -n "$LIBMATHOBJS"; then
94535 need_libmath=yes
94540 # Test wchar.h for mbstate_t, which is needed for char_traits and
94541 # others even if wchar_t support is not on.
94542 echo "$as_me:$LINENO: checking for mbstate_t" >&5
94543 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94544 cat >conftest.$ac_ext <<_ACEOF
94545 /* confdefs.h. */
94546 _ACEOF
94547 cat confdefs.h >>conftest.$ac_ext
94548 cat >>conftest.$ac_ext <<_ACEOF
94549 /* end confdefs.h. */
94550 #include <wchar.h>
94552 main ()
94554 mbstate_t teststate;
94556 return 0;
94558 _ACEOF
94559 rm -f conftest.$ac_objext
94560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94561 (eval $ac_compile) 2>conftest.er1
94562 ac_status=$?
94563 grep -v '^ *+' conftest.er1 >conftest.err
94564 rm -f conftest.er1
94565 cat conftest.err >&5
94566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94567 (exit $ac_status); } &&
94568 { ac_try='test -z "$ac_c_werror_flag"
94569 || test ! -s conftest.err'
94570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94571 (eval $ac_try) 2>&5
94572 ac_status=$?
94573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94574 (exit $ac_status); }; } &&
94575 { ac_try='test -s conftest.$ac_objext'
94576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94577 (eval $ac_try) 2>&5
94578 ac_status=$?
94579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94580 (exit $ac_status); }; }; then
94581 have_mbstate_t=yes
94582 else
94583 echo "$as_me: failed program was:" >&5
94584 sed 's/^/| /' conftest.$ac_ext >&5
94586 have_mbstate_t=no
94588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94589 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94590 echo "${ECHO_T}$have_mbstate_t" >&6
94591 if test x"$have_mbstate_t" = xyes; then
94592 cat >>confdefs.h <<\_ACEOF
94593 #define HAVE_MBSTATE_T 1
94594 _ACEOF
94598 # Sanity check for existence of ISO C99 headers for extended encoding.
94600 for ac_header in wchar.h
94602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94604 echo "$as_me:$LINENO: checking for $ac_header" >&5
94605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94607 echo $ECHO_N "(cached) $ECHO_C" >&6
94609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94611 else
94612 # Is the header compilable?
94613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94615 cat >conftest.$ac_ext <<_ACEOF
94616 /* confdefs.h. */
94617 _ACEOF
94618 cat confdefs.h >>conftest.$ac_ext
94619 cat >>conftest.$ac_ext <<_ACEOF
94620 /* end confdefs.h. */
94621 $ac_includes_default
94622 #include <$ac_header>
94623 _ACEOF
94624 rm -f conftest.$ac_objext
94625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94626 (eval $ac_compile) 2>conftest.er1
94627 ac_status=$?
94628 grep -v '^ *+' conftest.er1 >conftest.err
94629 rm -f conftest.er1
94630 cat conftest.err >&5
94631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94632 (exit $ac_status); } &&
94633 { ac_try='test -z "$ac_c_werror_flag"
94634 || test ! -s conftest.err'
94635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94636 (eval $ac_try) 2>&5
94637 ac_status=$?
94638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94639 (exit $ac_status); }; } &&
94640 { ac_try='test -s conftest.$ac_objext'
94641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94642 (eval $ac_try) 2>&5
94643 ac_status=$?
94644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94645 (exit $ac_status); }; }; then
94646 ac_header_compiler=yes
94647 else
94648 echo "$as_me: failed program was:" >&5
94649 sed 's/^/| /' conftest.$ac_ext >&5
94651 ac_header_compiler=no
94653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94655 echo "${ECHO_T}$ac_header_compiler" >&6
94657 # Is the header present?
94658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94660 cat >conftest.$ac_ext <<_ACEOF
94661 /* confdefs.h. */
94662 _ACEOF
94663 cat confdefs.h >>conftest.$ac_ext
94664 cat >>conftest.$ac_ext <<_ACEOF
94665 /* end confdefs.h. */
94666 #include <$ac_header>
94667 _ACEOF
94668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94670 ac_status=$?
94671 grep -v '^ *+' conftest.er1 >conftest.err
94672 rm -f conftest.er1
94673 cat conftest.err >&5
94674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94675 (exit $ac_status); } >/dev/null; then
94676 if test -s conftest.err; then
94677 ac_cpp_err=$ac_c_preproc_warn_flag
94678 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94679 else
94680 ac_cpp_err=
94682 else
94683 ac_cpp_err=yes
94685 if test -z "$ac_cpp_err"; then
94686 ac_header_preproc=yes
94687 else
94688 echo "$as_me: failed program was:" >&5
94689 sed 's/^/| /' conftest.$ac_ext >&5
94691 ac_header_preproc=no
94693 rm -f conftest.err conftest.$ac_ext
94694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94695 echo "${ECHO_T}$ac_header_preproc" >&6
94697 # So? What about this header?
94698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94699 yes:no: )
94700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94704 ac_header_preproc=yes
94706 no:yes:* )
94707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94720 cat <<\_ASBOX
94721 ## ----------------------------------------- ##
94722 ## Report this to the package-unused lists. ##
94723 ## ----------------------------------------- ##
94724 _ASBOX
94726 sed "s/^/$as_me: WARNING: /" >&2
94728 esac
94729 echo "$as_me:$LINENO: checking for $ac_header" >&5
94730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94732 echo $ECHO_N "(cached) $ECHO_C" >&6
94733 else
94734 eval "$as_ac_Header=\$ac_header_preproc"
94736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94741 cat >>confdefs.h <<_ACEOF
94742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94743 _ACEOF
94744 ac_has_wchar_h=yes
94745 else
94746 ac_has_wchar_h=no
94749 done
94752 for ac_header in wctype.h
94754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94756 echo "$as_me:$LINENO: checking for $ac_header" >&5
94757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94759 echo $ECHO_N "(cached) $ECHO_C" >&6
94761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94763 else
94764 # Is the header compilable?
94765 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94766 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94767 cat >conftest.$ac_ext <<_ACEOF
94768 /* confdefs.h. */
94769 _ACEOF
94770 cat confdefs.h >>conftest.$ac_ext
94771 cat >>conftest.$ac_ext <<_ACEOF
94772 /* end confdefs.h. */
94773 $ac_includes_default
94774 #include <$ac_header>
94775 _ACEOF
94776 rm -f conftest.$ac_objext
94777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94778 (eval $ac_compile) 2>conftest.er1
94779 ac_status=$?
94780 grep -v '^ *+' conftest.er1 >conftest.err
94781 rm -f conftest.er1
94782 cat conftest.err >&5
94783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94784 (exit $ac_status); } &&
94785 { ac_try='test -z "$ac_c_werror_flag"
94786 || test ! -s conftest.err'
94787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94788 (eval $ac_try) 2>&5
94789 ac_status=$?
94790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791 (exit $ac_status); }; } &&
94792 { ac_try='test -s conftest.$ac_objext'
94793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94794 (eval $ac_try) 2>&5
94795 ac_status=$?
94796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94797 (exit $ac_status); }; }; then
94798 ac_header_compiler=yes
94799 else
94800 echo "$as_me: failed program was:" >&5
94801 sed 's/^/| /' conftest.$ac_ext >&5
94803 ac_header_compiler=no
94805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94807 echo "${ECHO_T}$ac_header_compiler" >&6
94809 # Is the header present?
94810 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94811 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94812 cat >conftest.$ac_ext <<_ACEOF
94813 /* confdefs.h. */
94814 _ACEOF
94815 cat confdefs.h >>conftest.$ac_ext
94816 cat >>conftest.$ac_ext <<_ACEOF
94817 /* end confdefs.h. */
94818 #include <$ac_header>
94819 _ACEOF
94820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94822 ac_status=$?
94823 grep -v '^ *+' conftest.er1 >conftest.err
94824 rm -f conftest.er1
94825 cat conftest.err >&5
94826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94827 (exit $ac_status); } >/dev/null; then
94828 if test -s conftest.err; then
94829 ac_cpp_err=$ac_c_preproc_warn_flag
94830 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94831 else
94832 ac_cpp_err=
94834 else
94835 ac_cpp_err=yes
94837 if test -z "$ac_cpp_err"; then
94838 ac_header_preproc=yes
94839 else
94840 echo "$as_me: failed program was:" >&5
94841 sed 's/^/| /' conftest.$ac_ext >&5
94843 ac_header_preproc=no
94845 rm -f conftest.err conftest.$ac_ext
94846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94847 echo "${ECHO_T}$ac_header_preproc" >&6
94849 # So? What about this header?
94850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94851 yes:no: )
94852 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94855 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94856 ac_header_preproc=yes
94858 no:yes:* )
94859 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94861 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94862 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94863 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94864 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94865 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94866 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94869 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94870 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94872 cat <<\_ASBOX
94873 ## ----------------------------------------- ##
94874 ## Report this to the package-unused lists. ##
94875 ## ----------------------------------------- ##
94876 _ASBOX
94878 sed "s/^/$as_me: WARNING: /" >&2
94880 esac
94881 echo "$as_me:$LINENO: checking for $ac_header" >&5
94882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94884 echo $ECHO_N "(cached) $ECHO_C" >&6
94885 else
94886 eval "$as_ac_Header=\$ac_header_preproc"
94888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94893 cat >>confdefs.h <<_ACEOF
94894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94895 _ACEOF
94896 ac_has_wctype_h=yes
94897 else
94898 ac_has_wctype_h=no
94901 done
94904 # Only continue checking if the ISO C99 headers exist and support is on.
94905 if test x"$ac_has_wchar_h" = xyes &&
94906 test x"$ac_has_wctype_h" = xyes &&
94907 test x"$enable_c_mbchar" != xno; then
94909 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94910 # numeric_limits can instantiate type_traits<wchar_t>
94911 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94912 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94913 cat >conftest.$ac_ext <<_ACEOF
94914 /* confdefs.h. */
94915 _ACEOF
94916 cat confdefs.h >>conftest.$ac_ext
94917 cat >>conftest.$ac_ext <<_ACEOF
94918 /* end confdefs.h. */
94919 #include <wchar.h>
94921 main ()
94923 int i = WCHAR_MIN; int j = WCHAR_MAX;
94925 return 0;
94927 _ACEOF
94928 rm -f conftest.$ac_objext
94929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94930 (eval $ac_compile) 2>conftest.er1
94931 ac_status=$?
94932 grep -v '^ *+' conftest.er1 >conftest.err
94933 rm -f conftest.er1
94934 cat conftest.err >&5
94935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94936 (exit $ac_status); } &&
94937 { ac_try='test -z "$ac_c_werror_flag"
94938 || test ! -s conftest.err'
94939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94940 (eval $ac_try) 2>&5
94941 ac_status=$?
94942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94943 (exit $ac_status); }; } &&
94944 { ac_try='test -s conftest.$ac_objext'
94945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94946 (eval $ac_try) 2>&5
94947 ac_status=$?
94948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94949 (exit $ac_status); }; }; then
94950 has_wchar_minmax=yes
94951 else
94952 echo "$as_me: failed program was:" >&5
94953 sed 's/^/| /' conftest.$ac_ext >&5
94955 has_wchar_minmax=no
94957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94958 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
94959 echo "${ECHO_T}$has_wchar_minmax" >&6
94961 # Test wchar.h for WEOF, which is what we use to determine whether
94962 # to specialize for char_traits<wchar_t> or not.
94963 echo "$as_me:$LINENO: checking for WEOF" >&5
94964 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
94965 cat >conftest.$ac_ext <<_ACEOF
94966 /* confdefs.h. */
94967 _ACEOF
94968 cat confdefs.h >>conftest.$ac_ext
94969 cat >>conftest.$ac_ext <<_ACEOF
94970 /* end confdefs.h. */
94972 #include <wchar.h>
94973 #include <stddef.h>
94975 main ()
94977 wint_t i = WEOF;
94979 return 0;
94981 _ACEOF
94982 rm -f conftest.$ac_objext
94983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94984 (eval $ac_compile) 2>conftest.er1
94985 ac_status=$?
94986 grep -v '^ *+' conftest.er1 >conftest.err
94987 rm -f conftest.er1
94988 cat conftest.err >&5
94989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94990 (exit $ac_status); } &&
94991 { ac_try='test -z "$ac_c_werror_flag"
94992 || test ! -s conftest.err'
94993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94994 (eval $ac_try) 2>&5
94995 ac_status=$?
94996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94997 (exit $ac_status); }; } &&
94998 { ac_try='test -s conftest.$ac_objext'
94999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95000 (eval $ac_try) 2>&5
95001 ac_status=$?
95002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95003 (exit $ac_status); }; }; then
95004 has_weof=yes
95005 else
95006 echo "$as_me: failed program was:" >&5
95007 sed 's/^/| /' conftest.$ac_ext >&5
95009 has_weof=no
95011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95012 echo "$as_me:$LINENO: result: $has_weof" >&5
95013 echo "${ECHO_T}$has_weof" >&6
95015 # Tests for wide character functions used in char_traits<wchar_t>.
95016 ac_wfuncs=yes
95023 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95026 echo "$as_me:$LINENO: checking for $ac_func" >&5
95027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95028 if eval "test \"\${$as_ac_var+set}\" = set"; then
95029 echo $ECHO_N "(cached) $ECHO_C" >&6
95030 else
95031 if test x$gcc_no_link = xyes; then
95032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95034 { (exit 1); exit 1; }; }
95036 cat >conftest.$ac_ext <<_ACEOF
95037 /* confdefs.h. */
95038 _ACEOF
95039 cat confdefs.h >>conftest.$ac_ext
95040 cat >>conftest.$ac_ext <<_ACEOF
95041 /* end confdefs.h. */
95042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95044 #define $ac_func innocuous_$ac_func
95046 /* System header to define __stub macros and hopefully few prototypes,
95047 which can conflict with char $ac_func (); below.
95048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95049 <limits.h> exists even on freestanding compilers. */
95051 #ifdef __STDC__
95052 # include <limits.h>
95053 #else
95054 # include <assert.h>
95055 #endif
95057 #undef $ac_func
95059 /* Override any gcc2 internal prototype to avoid an error. */
95060 #ifdef __cplusplus
95061 extern "C"
95063 #endif
95064 /* We use char because int might match the return type of a gcc2
95065 builtin and then its argument prototype would still apply. */
95066 char $ac_func ();
95067 /* The GNU C library defines this for functions which it implements
95068 to always fail with ENOSYS. Some functions are actually named
95069 something starting with __ and the normal name is an alias. */
95070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95071 choke me
95072 #else
95073 char (*f) () = $ac_func;
95074 #endif
95075 #ifdef __cplusplus
95077 #endif
95080 main ()
95082 return f != $ac_func;
95084 return 0;
95086 _ACEOF
95087 rm -f conftest.$ac_objext conftest$ac_exeext
95088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95089 (eval $ac_link) 2>conftest.er1
95090 ac_status=$?
95091 grep -v '^ *+' conftest.er1 >conftest.err
95092 rm -f conftest.er1
95093 cat conftest.err >&5
95094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95095 (exit $ac_status); } &&
95096 { ac_try='test -z "$ac_c_werror_flag"
95097 || test ! -s conftest.err'
95098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95099 (eval $ac_try) 2>&5
95100 ac_status=$?
95101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95102 (exit $ac_status); }; } &&
95103 { ac_try='test -s conftest$ac_exeext'
95104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95105 (eval $ac_try) 2>&5
95106 ac_status=$?
95107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95108 (exit $ac_status); }; }; then
95109 eval "$as_ac_var=yes"
95110 else
95111 echo "$as_me: failed program was:" >&5
95112 sed 's/^/| /' conftest.$ac_ext >&5
95114 eval "$as_ac_var=no"
95116 rm -f conftest.err conftest.$ac_objext \
95117 conftest$ac_exeext conftest.$ac_ext
95119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95121 if test `eval echo '${'$as_ac_var'}'` = yes; then
95122 cat >>confdefs.h <<_ACEOF
95123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95124 _ACEOF
95126 else
95127 ac_wfuncs=no
95129 done
95132 # Checks for names injected into std:: by the c_std headers.
95179 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95180 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95181 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95182 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95183 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95184 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95187 echo "$as_me:$LINENO: checking for $ac_func" >&5
95188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95189 if eval "test \"\${$as_ac_var+set}\" = set"; then
95190 echo $ECHO_N "(cached) $ECHO_C" >&6
95191 else
95192 if test x$gcc_no_link = xyes; then
95193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95195 { (exit 1); exit 1; }; }
95197 cat >conftest.$ac_ext <<_ACEOF
95198 /* confdefs.h. */
95199 _ACEOF
95200 cat confdefs.h >>conftest.$ac_ext
95201 cat >>conftest.$ac_ext <<_ACEOF
95202 /* end confdefs.h. */
95203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95205 #define $ac_func innocuous_$ac_func
95207 /* System header to define __stub macros and hopefully few prototypes,
95208 which can conflict with char $ac_func (); below.
95209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95210 <limits.h> exists even on freestanding compilers. */
95212 #ifdef __STDC__
95213 # include <limits.h>
95214 #else
95215 # include <assert.h>
95216 #endif
95218 #undef $ac_func
95220 /* Override any gcc2 internal prototype to avoid an error. */
95221 #ifdef __cplusplus
95222 extern "C"
95224 #endif
95225 /* We use char because int might match the return type of a gcc2
95226 builtin and then its argument prototype would still apply. */
95227 char $ac_func ();
95228 /* The GNU C library defines this for functions which it implements
95229 to always fail with ENOSYS. Some functions are actually named
95230 something starting with __ and the normal name is an alias. */
95231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95232 choke me
95233 #else
95234 char (*f) () = $ac_func;
95235 #endif
95236 #ifdef __cplusplus
95238 #endif
95241 main ()
95243 return f != $ac_func;
95245 return 0;
95247 _ACEOF
95248 rm -f conftest.$ac_objext conftest$ac_exeext
95249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95250 (eval $ac_link) 2>conftest.er1
95251 ac_status=$?
95252 grep -v '^ *+' conftest.er1 >conftest.err
95253 rm -f conftest.er1
95254 cat conftest.err >&5
95255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95256 (exit $ac_status); } &&
95257 { ac_try='test -z "$ac_c_werror_flag"
95258 || test ! -s conftest.err'
95259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95260 (eval $ac_try) 2>&5
95261 ac_status=$?
95262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95263 (exit $ac_status); }; } &&
95264 { ac_try='test -s conftest$ac_exeext'
95265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95266 (eval $ac_try) 2>&5
95267 ac_status=$?
95268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95269 (exit $ac_status); }; }; then
95270 eval "$as_ac_var=yes"
95271 else
95272 echo "$as_me: failed program was:" >&5
95273 sed 's/^/| /' conftest.$ac_ext >&5
95275 eval "$as_ac_var=no"
95277 rm -f conftest.err conftest.$ac_objext \
95278 conftest$ac_exeext conftest.$ac_ext
95280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95282 if test `eval echo '${'$as_ac_var'}'` = yes; then
95283 cat >>confdefs.h <<_ACEOF
95284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95285 _ACEOF
95287 else
95288 ac_wfuncs=no
95290 done
95293 # Checks for wide character functions that are not required
95294 # for basic wchar_t support. Don't disable support if they are missing.
95295 # Injection of these is wrapped with guard macros.
95301 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95304 echo "$as_me:$LINENO: checking for $ac_func" >&5
95305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95306 if eval "test \"\${$as_ac_var+set}\" = set"; then
95307 echo $ECHO_N "(cached) $ECHO_C" >&6
95308 else
95309 if test x$gcc_no_link = xyes; then
95310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95312 { (exit 1); exit 1; }; }
95314 cat >conftest.$ac_ext <<_ACEOF
95315 /* confdefs.h. */
95316 _ACEOF
95317 cat confdefs.h >>conftest.$ac_ext
95318 cat >>conftest.$ac_ext <<_ACEOF
95319 /* end confdefs.h. */
95320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95322 #define $ac_func innocuous_$ac_func
95324 /* System header to define __stub macros and hopefully few prototypes,
95325 which can conflict with char $ac_func (); below.
95326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95327 <limits.h> exists even on freestanding compilers. */
95329 #ifdef __STDC__
95330 # include <limits.h>
95331 #else
95332 # include <assert.h>
95333 #endif
95335 #undef $ac_func
95337 /* Override any gcc2 internal prototype to avoid an error. */
95338 #ifdef __cplusplus
95339 extern "C"
95341 #endif
95342 /* We use char because int might match the return type of a gcc2
95343 builtin and then its argument prototype would still apply. */
95344 char $ac_func ();
95345 /* The GNU C library defines this for functions which it implements
95346 to always fail with ENOSYS. Some functions are actually named
95347 something starting with __ and the normal name is an alias. */
95348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95349 choke me
95350 #else
95351 char (*f) () = $ac_func;
95352 #endif
95353 #ifdef __cplusplus
95355 #endif
95358 main ()
95360 return f != $ac_func;
95362 return 0;
95364 _ACEOF
95365 rm -f conftest.$ac_objext conftest$ac_exeext
95366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95367 (eval $ac_link) 2>conftest.er1
95368 ac_status=$?
95369 grep -v '^ *+' conftest.er1 >conftest.err
95370 rm -f conftest.er1
95371 cat conftest.err >&5
95372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95373 (exit $ac_status); } &&
95374 { ac_try='test -z "$ac_c_werror_flag"
95375 || test ! -s conftest.err'
95376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95377 (eval $ac_try) 2>&5
95378 ac_status=$?
95379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95380 (exit $ac_status); }; } &&
95381 { ac_try='test -s conftest$ac_exeext'
95382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95383 (eval $ac_try) 2>&5
95384 ac_status=$?
95385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95386 (exit $ac_status); }; }; then
95387 eval "$as_ac_var=yes"
95388 else
95389 echo "$as_me: failed program was:" >&5
95390 sed 's/^/| /' conftest.$ac_ext >&5
95392 eval "$as_ac_var=no"
95394 rm -f conftest.err conftest.$ac_objext \
95395 conftest$ac_exeext conftest.$ac_ext
95397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95399 if test `eval echo '${'$as_ac_var'}'` = yes; then
95400 cat >>confdefs.h <<_ACEOF
95401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95402 _ACEOF
95405 done
95408 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95409 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95410 if test x"$has_weof" = xyes &&
95411 test x"$has_wchar_minmax" = xyes &&
95412 test x"$ac_wfuncs" = xyes;
95413 then
95414 ac_isoC99_wchar_t=yes
95415 else
95416 ac_isoC99_wchar_t=no
95418 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95419 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95421 # Use iconv for wchar_t to char conversions. As such, check for
95422 # X/Open Portability Guide, version 2 features (XPG2).
95423 if test "${ac_cv_header_iconv_h+set}" = set; then
95424 echo "$as_me:$LINENO: checking for iconv.h" >&5
95425 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95426 if test "${ac_cv_header_iconv_h+set}" = set; then
95427 echo $ECHO_N "(cached) $ECHO_C" >&6
95429 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95430 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95431 else
95432 # Is the header compilable?
95433 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95434 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95435 cat >conftest.$ac_ext <<_ACEOF
95436 /* confdefs.h. */
95437 _ACEOF
95438 cat confdefs.h >>conftest.$ac_ext
95439 cat >>conftest.$ac_ext <<_ACEOF
95440 /* end confdefs.h. */
95441 $ac_includes_default
95442 #include <iconv.h>
95443 _ACEOF
95444 rm -f conftest.$ac_objext
95445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95446 (eval $ac_compile) 2>conftest.er1
95447 ac_status=$?
95448 grep -v '^ *+' conftest.er1 >conftest.err
95449 rm -f conftest.er1
95450 cat conftest.err >&5
95451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95452 (exit $ac_status); } &&
95453 { ac_try='test -z "$ac_c_werror_flag"
95454 || test ! -s conftest.err'
95455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95456 (eval $ac_try) 2>&5
95457 ac_status=$?
95458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95459 (exit $ac_status); }; } &&
95460 { ac_try='test -s conftest.$ac_objext'
95461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95462 (eval $ac_try) 2>&5
95463 ac_status=$?
95464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95465 (exit $ac_status); }; }; then
95466 ac_header_compiler=yes
95467 else
95468 echo "$as_me: failed program was:" >&5
95469 sed 's/^/| /' conftest.$ac_ext >&5
95471 ac_header_compiler=no
95473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95475 echo "${ECHO_T}$ac_header_compiler" >&6
95477 # Is the header present?
95478 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95479 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95480 cat >conftest.$ac_ext <<_ACEOF
95481 /* confdefs.h. */
95482 _ACEOF
95483 cat confdefs.h >>conftest.$ac_ext
95484 cat >>conftest.$ac_ext <<_ACEOF
95485 /* end confdefs.h. */
95486 #include <iconv.h>
95487 _ACEOF
95488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95490 ac_status=$?
95491 grep -v '^ *+' conftest.er1 >conftest.err
95492 rm -f conftest.er1
95493 cat conftest.err >&5
95494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95495 (exit $ac_status); } >/dev/null; then
95496 if test -s conftest.err; then
95497 ac_cpp_err=$ac_c_preproc_warn_flag
95498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95499 else
95500 ac_cpp_err=
95502 else
95503 ac_cpp_err=yes
95505 if test -z "$ac_cpp_err"; then
95506 ac_header_preproc=yes
95507 else
95508 echo "$as_me: failed program was:" >&5
95509 sed 's/^/| /' conftest.$ac_ext >&5
95511 ac_header_preproc=no
95513 rm -f conftest.err conftest.$ac_ext
95514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95515 echo "${ECHO_T}$ac_header_preproc" >&6
95517 # So? What about this header?
95518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95519 yes:no: )
95520 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95521 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95522 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95523 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95524 ac_header_preproc=yes
95526 no:yes:* )
95527 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95528 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95529 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
95530 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
95531 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95532 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95533 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
95534 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
95535 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95536 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95537 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95538 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95540 cat <<\_ASBOX
95541 ## ----------------------------------------- ##
95542 ## Report this to the package-unused lists. ##
95543 ## ----------------------------------------- ##
95544 _ASBOX
95546 sed "s/^/$as_me: WARNING: /" >&2
95548 esac
95549 echo "$as_me:$LINENO: checking for iconv.h" >&5
95550 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95551 if test "${ac_cv_header_iconv_h+set}" = set; then
95552 echo $ECHO_N "(cached) $ECHO_C" >&6
95553 else
95554 ac_cv_header_iconv_h=$ac_header_preproc
95556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95560 if test $ac_cv_header_iconv_h = yes; then
95561 ac_has_iconv_h=yes
95562 else
95563 ac_has_iconv_h=no
95567 if test "${ac_cv_header_langinfo_h+set}" = set; then
95568 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95569 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95570 if test "${ac_cv_header_langinfo_h+set}" = set; then
95571 echo $ECHO_N "(cached) $ECHO_C" >&6
95573 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95574 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95575 else
95576 # Is the header compilable?
95577 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95578 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95579 cat >conftest.$ac_ext <<_ACEOF
95580 /* confdefs.h. */
95581 _ACEOF
95582 cat confdefs.h >>conftest.$ac_ext
95583 cat >>conftest.$ac_ext <<_ACEOF
95584 /* end confdefs.h. */
95585 $ac_includes_default
95586 #include <langinfo.h>
95587 _ACEOF
95588 rm -f conftest.$ac_objext
95589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95590 (eval $ac_compile) 2>conftest.er1
95591 ac_status=$?
95592 grep -v '^ *+' conftest.er1 >conftest.err
95593 rm -f conftest.er1
95594 cat conftest.err >&5
95595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95596 (exit $ac_status); } &&
95597 { ac_try='test -z "$ac_c_werror_flag"
95598 || test ! -s conftest.err'
95599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95600 (eval $ac_try) 2>&5
95601 ac_status=$?
95602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95603 (exit $ac_status); }; } &&
95604 { ac_try='test -s conftest.$ac_objext'
95605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95606 (eval $ac_try) 2>&5
95607 ac_status=$?
95608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95609 (exit $ac_status); }; }; then
95610 ac_header_compiler=yes
95611 else
95612 echo "$as_me: failed program was:" >&5
95613 sed 's/^/| /' conftest.$ac_ext >&5
95615 ac_header_compiler=no
95617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95619 echo "${ECHO_T}$ac_header_compiler" >&6
95621 # Is the header present?
95622 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95623 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95624 cat >conftest.$ac_ext <<_ACEOF
95625 /* confdefs.h. */
95626 _ACEOF
95627 cat confdefs.h >>conftest.$ac_ext
95628 cat >>conftest.$ac_ext <<_ACEOF
95629 /* end confdefs.h. */
95630 #include <langinfo.h>
95631 _ACEOF
95632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95634 ac_status=$?
95635 grep -v '^ *+' conftest.er1 >conftest.err
95636 rm -f conftest.er1
95637 cat conftest.err >&5
95638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95639 (exit $ac_status); } >/dev/null; then
95640 if test -s conftest.err; then
95641 ac_cpp_err=$ac_c_preproc_warn_flag
95642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95643 else
95644 ac_cpp_err=
95646 else
95647 ac_cpp_err=yes
95649 if test -z "$ac_cpp_err"; then
95650 ac_header_preproc=yes
95651 else
95652 echo "$as_me: failed program was:" >&5
95653 sed 's/^/| /' conftest.$ac_ext >&5
95655 ac_header_preproc=no
95657 rm -f conftest.err conftest.$ac_ext
95658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95659 echo "${ECHO_T}$ac_header_preproc" >&6
95661 # So? What about this header?
95662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95663 yes:no: )
95664 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95665 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95666 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95667 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95668 ac_header_preproc=yes
95670 no:yes:* )
95671 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95672 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95673 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
95674 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
95675 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95676 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95677 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
95678 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
95679 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95680 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95681 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95682 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95684 cat <<\_ASBOX
95685 ## ----------------------------------------- ##
95686 ## Report this to the package-unused lists. ##
95687 ## ----------------------------------------- ##
95688 _ASBOX
95690 sed "s/^/$as_me: WARNING: /" >&2
95692 esac
95693 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95694 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95695 if test "${ac_cv_header_langinfo_h+set}" = set; then
95696 echo $ECHO_N "(cached) $ECHO_C" >&6
95697 else
95698 ac_cv_header_langinfo_h=$ac_header_preproc
95700 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95701 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95704 if test $ac_cv_header_langinfo_h = yes; then
95705 ac_has_langinfo_h=yes
95706 else
95707 ac_has_langinfo_h=no
95712 # Check for existence of libiconv.a providing XPG2 wchar_t support.
95713 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95714 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95715 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95716 echo $ECHO_N "(cached) $ECHO_C" >&6
95717 else
95718 ac_check_lib_save_LIBS=$LIBS
95719 LIBS="-liconv $LIBS"
95720 if test x$gcc_no_link = xyes; then
95721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95723 { (exit 1); exit 1; }; }
95725 cat >conftest.$ac_ext <<_ACEOF
95726 /* confdefs.h. */
95727 _ACEOF
95728 cat confdefs.h >>conftest.$ac_ext
95729 cat >>conftest.$ac_ext <<_ACEOF
95730 /* end confdefs.h. */
95732 /* Override any gcc2 internal prototype to avoid an error. */
95733 #ifdef __cplusplus
95734 extern "C"
95735 #endif
95736 /* We use char because int might match the return type of a gcc2
95737 builtin and then its argument prototype would still apply. */
95738 char iconv ();
95740 main ()
95742 iconv ();
95744 return 0;
95746 _ACEOF
95747 rm -f conftest.$ac_objext conftest$ac_exeext
95748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95749 (eval $ac_link) 2>conftest.er1
95750 ac_status=$?
95751 grep -v '^ *+' conftest.er1 >conftest.err
95752 rm -f conftest.er1
95753 cat conftest.err >&5
95754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95755 (exit $ac_status); } &&
95756 { ac_try='test -z "$ac_c_werror_flag"
95757 || test ! -s conftest.err'
95758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95759 (eval $ac_try) 2>&5
95760 ac_status=$?
95761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95762 (exit $ac_status); }; } &&
95763 { ac_try='test -s conftest$ac_exeext'
95764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95765 (eval $ac_try) 2>&5
95766 ac_status=$?
95767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95768 (exit $ac_status); }; }; then
95769 ac_cv_lib_iconv_iconv=yes
95770 else
95771 echo "$as_me: failed program was:" >&5
95772 sed 's/^/| /' conftest.$ac_ext >&5
95774 ac_cv_lib_iconv_iconv=no
95776 rm -f conftest.err conftest.$ac_objext \
95777 conftest$ac_exeext conftest.$ac_ext
95778 LIBS=$ac_check_lib_save_LIBS
95780 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95781 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95782 if test $ac_cv_lib_iconv_iconv = yes; then
95783 LIBICONV="-liconv"
95786 ac_save_LIBS="$LIBS"
95787 LIBS="$LIBS $LIBICONV"
95794 for ac_func in iconv_open iconv_close iconv nl_langinfo
95796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95797 echo "$as_me:$LINENO: checking for $ac_func" >&5
95798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95799 if eval "test \"\${$as_ac_var+set}\" = set"; then
95800 echo $ECHO_N "(cached) $ECHO_C" >&6
95801 else
95802 if test x$gcc_no_link = xyes; then
95803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95805 { (exit 1); exit 1; }; }
95807 cat >conftest.$ac_ext <<_ACEOF
95808 /* confdefs.h. */
95809 _ACEOF
95810 cat confdefs.h >>conftest.$ac_ext
95811 cat >>conftest.$ac_ext <<_ACEOF
95812 /* end confdefs.h. */
95813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95815 #define $ac_func innocuous_$ac_func
95817 /* System header to define __stub macros and hopefully few prototypes,
95818 which can conflict with char $ac_func (); below.
95819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95820 <limits.h> exists even on freestanding compilers. */
95822 #ifdef __STDC__
95823 # include <limits.h>
95824 #else
95825 # include <assert.h>
95826 #endif
95828 #undef $ac_func
95830 /* Override any gcc2 internal prototype to avoid an error. */
95831 #ifdef __cplusplus
95832 extern "C"
95834 #endif
95835 /* We use char because int might match the return type of a gcc2
95836 builtin and then its argument prototype would still apply. */
95837 char $ac_func ();
95838 /* The GNU C library defines this for functions which it implements
95839 to always fail with ENOSYS. Some functions are actually named
95840 something starting with __ and the normal name is an alias. */
95841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95842 choke me
95843 #else
95844 char (*f) () = $ac_func;
95845 #endif
95846 #ifdef __cplusplus
95848 #endif
95851 main ()
95853 return f != $ac_func;
95855 return 0;
95857 _ACEOF
95858 rm -f conftest.$ac_objext conftest$ac_exeext
95859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95860 (eval $ac_link) 2>conftest.er1
95861 ac_status=$?
95862 grep -v '^ *+' conftest.er1 >conftest.err
95863 rm -f conftest.er1
95864 cat conftest.err >&5
95865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95866 (exit $ac_status); } &&
95867 { ac_try='test -z "$ac_c_werror_flag"
95868 || test ! -s conftest.err'
95869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95870 (eval $ac_try) 2>&5
95871 ac_status=$?
95872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95873 (exit $ac_status); }; } &&
95874 { ac_try='test -s conftest$ac_exeext'
95875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95876 (eval $ac_try) 2>&5
95877 ac_status=$?
95878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95879 (exit $ac_status); }; }; then
95880 eval "$as_ac_var=yes"
95881 else
95882 echo "$as_me: failed program was:" >&5
95883 sed 's/^/| /' conftest.$ac_ext >&5
95885 eval "$as_ac_var=no"
95887 rm -f conftest.err conftest.$ac_objext \
95888 conftest$ac_exeext conftest.$ac_ext
95890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95892 if test `eval echo '${'$as_ac_var'}'` = yes; then
95893 cat >>confdefs.h <<_ACEOF
95894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95895 _ACEOF
95896 ac_XPG2funcs=yes
95897 else
95898 ac_XPG2funcs=no
95900 done
95903 LIBS="$ac_save_LIBS"
95905 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95906 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95907 if test x"$ac_has_iconv_h" = xyes &&
95908 test x"$ac_has_langinfo_h" = xyes &&
95909 test x"$ac_XPG2funcs" = xyes;
95910 then
95911 ac_XPG2_wchar_t=yes
95912 else
95913 ac_XPG2_wchar_t=no
95915 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95916 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95918 # At the moment, only enable wchar_t specializations if all the
95919 # above support is present.
95920 if test x"$ac_isoC99_wchar_t" = xyes &&
95921 test x"$ac_XPG2_wchar_t" = xyes;
95922 then
95923 cat >>confdefs.h <<\_ACEOF
95924 #define _GLIBCXX_USE_WCHAR_T 1
95925 _ACEOF
95927 enable_wchar_t=yes
95930 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95931 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95932 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95933 echo "${ECHO_T}$enable_wchar_t" >&6
95935 cat >>confdefs.h <<\_ACEOF
95936 #define HAVE_COPYSIGN 1
95937 _ACEOF
95939 cat >>confdefs.h <<\_ACEOF
95940 #define HAVE_COPYSIGNF 1
95941 _ACEOF
95943 cat >>confdefs.h <<\_ACEOF
95944 #define HAVE_FINITE 1
95945 _ACEOF
95947 cat >>confdefs.h <<\_ACEOF
95948 #define HAVE_FINITEF 1
95949 _ACEOF
95951 cat >>confdefs.h <<\_ACEOF
95952 #define HAVE_FREXPF 1
95953 _ACEOF
95955 cat >>confdefs.h <<\_ACEOF
95956 #define HAVE_HYPOTF 1
95957 _ACEOF
95959 cat >>confdefs.h <<\_ACEOF
95960 #define HAVE_ISINF 1
95961 _ACEOF
95963 cat >>confdefs.h <<\_ACEOF
95964 #define HAVE_ISINFF 1
95965 _ACEOF
95967 cat >>confdefs.h <<\_ACEOF
95968 #define HAVE_ISNAN 1
95969 _ACEOF
95971 cat >>confdefs.h <<\_ACEOF
95972 #define HAVE_ISNANF 1
95973 _ACEOF
95975 cat >>confdefs.h <<\_ACEOF
95976 #define HAVE_SINCOS 1
95977 _ACEOF
95979 cat >>confdefs.h <<\_ACEOF
95980 #define HAVE_SINCOSF 1
95981 _ACEOF
95983 if test x"long_double_math_on_this_cpu" = x"yes"; then
95984 cat >>confdefs.h <<\_ACEOF
95985 #define HAVE_FINITEL 1
95986 _ACEOF
95988 cat >>confdefs.h <<\_ACEOF
95989 #define HAVE_HYPOTL 1
95990 _ACEOF
95992 cat >>confdefs.h <<\_ACEOF
95993 #define HAVE_ISINFL 1
95994 _ACEOF
95996 cat >>confdefs.h <<\_ACEOF
95997 #define HAVE_ISNANL 1
95998 _ACEOF
96002 *-vxworks)
96003 cat >>confdefs.h <<\_ACEOF
96004 #define HAVE_MMAP 1
96005 _ACEOF
96007 cat >>confdefs.h <<\_ACEOF
96008 #define HAVE_ACOSF 1
96009 _ACEOF
96011 cat >>confdefs.h <<\_ACEOF
96012 #define HAVE_ASINF 1
96013 _ACEOF
96015 cat >>confdefs.h <<\_ACEOF
96016 #define HAVE_ATAN2F 1
96017 _ACEOF
96019 cat >>confdefs.h <<\_ACEOF
96020 #define HAVE_ATANF 1
96021 _ACEOF
96023 cat >>confdefs.h <<\_ACEOF
96024 #define HAVE_CEILF 1
96025 _ACEOF
96027 cat >>confdefs.h <<\_ACEOF
96028 #define HAVE_COSF 1
96029 _ACEOF
96031 cat >>confdefs.h <<\_ACEOF
96032 #define HAVE_COSHF 1
96033 _ACEOF
96035 cat >>confdefs.h <<\_ACEOF
96036 #define HAVE_EXPF 1
96037 _ACEOF
96039 cat >>confdefs.h <<\_ACEOF
96040 #define HAVE_FABSF 1
96041 _ACEOF
96043 cat >>confdefs.h <<\_ACEOF
96044 #define HAVE_FLOORF 1
96045 _ACEOF
96047 cat >>confdefs.h <<\_ACEOF
96048 #define HAVE_FMODF 1
96049 _ACEOF
96051 cat >>confdefs.h <<\_ACEOF
96052 #define HAVE_HYPOT 1
96053 _ACEOF
96055 cat >>confdefs.h <<\_ACEOF
96056 #define HAVE_LOG10F 1
96057 _ACEOF
96059 cat >>confdefs.h <<\_ACEOF
96060 #define HAVE_LOGF 1
96061 _ACEOF
96063 cat >>confdefs.h <<\_ACEOF
96064 #define HAVE_POWF 1
96065 _ACEOF
96067 cat >>confdefs.h <<\_ACEOF
96068 #define HAVE_SINF 1
96069 _ACEOF
96071 cat >>confdefs.h <<\_ACEOF
96072 #define HAVE_SINHF 1
96073 _ACEOF
96075 cat >>confdefs.h <<\_ACEOF
96076 #define HAVE_SQRTF 1
96077 _ACEOF
96079 cat >>confdefs.h <<\_ACEOF
96080 #define HAVE_TANF 1
96081 _ACEOF
96083 cat >>confdefs.h <<\_ACEOF
96084 #define HAVE_TANHF 1
96085 _ACEOF
96088 *-windiss*)
96089 cat >>confdefs.h <<\_ACEOF
96090 #define HAVE_ACOSF 1
96091 _ACEOF
96093 cat >>confdefs.h <<\_ACEOF
96094 #define HAVE_ACOSL 1
96095 _ACEOF
96097 cat >>confdefs.h <<\_ACEOF
96098 #define HAVE_ASINF 1
96099 _ACEOF
96101 cat >>confdefs.h <<\_ACEOF
96102 #define HAVE_ASINL 1
96103 _ACEOF
96105 cat >>confdefs.h <<\_ACEOF
96106 #define HAVE_ATAN2F 1
96107 _ACEOF
96109 cat >>confdefs.h <<\_ACEOF
96110 #define HAVE_ATAN2L 1
96111 _ACEOF
96113 cat >>confdefs.h <<\_ACEOF
96114 #define HAVE_ATANF 1
96115 _ACEOF
96117 cat >>confdefs.h <<\_ACEOF
96118 #define HAVE_ATANL 1
96119 _ACEOF
96121 cat >>confdefs.h <<\_ACEOF
96122 #define HAVE_CEILF 1
96123 _ACEOF
96125 cat >>confdefs.h <<\_ACEOF
96126 #define HAVE_CEILL 1
96127 _ACEOF
96129 cat >>confdefs.h <<\_ACEOF
96130 #define HAVE_COPYSIGN 1
96131 _ACEOF
96133 cat >>confdefs.h <<\_ACEOF
96134 #define HAVE_COPYSIGNF 1
96135 _ACEOF
96137 cat >>confdefs.h <<\_ACEOF
96138 #define HAVE_COSF 1
96139 _ACEOF
96141 cat >>confdefs.h <<\_ACEOF
96142 #define HAVE_COSL 1
96143 _ACEOF
96145 cat >>confdefs.h <<\_ACEOF
96146 #define HAVE_COSHF 1
96147 _ACEOF
96149 cat >>confdefs.h <<\_ACEOF
96150 #define HAVE_COSHL 1
96151 _ACEOF
96153 cat >>confdefs.h <<\_ACEOF
96154 #define HAVE_EXPF 1
96155 _ACEOF
96157 cat >>confdefs.h <<\_ACEOF
96158 #define HAVE_EXPL 1
96159 _ACEOF
96161 cat >>confdefs.h <<\_ACEOF
96162 #define HAVE_FABSF 1
96163 _ACEOF
96165 cat >>confdefs.h <<\_ACEOF
96166 #define HAVE_FABSL 1
96167 _ACEOF
96169 cat >>confdefs.h <<\_ACEOF
96170 #define HAVE_FLOORF 1
96171 _ACEOF
96173 cat >>confdefs.h <<\_ACEOF
96174 #define HAVE_FLOORL 1
96175 _ACEOF
96177 cat >>confdefs.h <<\_ACEOF
96178 #define HAVE_FMODF 1
96179 _ACEOF
96181 cat >>confdefs.h <<\_ACEOF
96182 #define HAVE_FMODL 1
96183 _ACEOF
96185 cat >>confdefs.h <<\_ACEOF
96186 #define HAVE_FREXPF 1
96187 _ACEOF
96189 cat >>confdefs.h <<\_ACEOF
96190 #define HAVE_FREXPL 1
96191 _ACEOF
96193 cat >>confdefs.h <<\_ACEOF
96194 #define HAVE_LDEXPF 1
96195 _ACEOF
96197 cat >>confdefs.h <<\_ACEOF
96198 #define HAVE_LDEXPL 1
96199 _ACEOF
96201 cat >>confdefs.h <<\_ACEOF
96202 #define HAVE_LOG10F 1
96203 _ACEOF
96205 cat >>confdefs.h <<\_ACEOF
96206 #define HAVE_LOG10L 1
96207 _ACEOF
96209 cat >>confdefs.h <<\_ACEOF
96210 #define HAVE_LOGF 1
96211 _ACEOF
96213 cat >>confdefs.h <<\_ACEOF
96214 #define HAVE_MODFF 1
96215 _ACEOF
96217 cat >>confdefs.h <<\_ACEOF
96218 #define HAVE_MODFL 1
96219 _ACEOF
96221 cat >>confdefs.h <<\_ACEOF
96222 #define HAVE_POWF 1
96223 _ACEOF
96225 cat >>confdefs.h <<\_ACEOF
96226 #define HAVE_POWL 1
96227 _ACEOF
96229 cat >>confdefs.h <<\_ACEOF
96230 #define HAVE_SINF 1
96231 _ACEOF
96233 cat >>confdefs.h <<\_ACEOF
96234 #define HAVE_SINL 1
96235 _ACEOF
96237 cat >>confdefs.h <<\_ACEOF
96238 #define HAVE_SINHF 1
96239 _ACEOF
96241 cat >>confdefs.h <<\_ACEOF
96242 #define HAVE_SINHL 1
96243 _ACEOF
96245 cat >>confdefs.h <<\_ACEOF
96246 #define HAVE_SQRTF 1
96247 _ACEOF
96249 cat >>confdefs.h <<\_ACEOF
96250 #define HAVE_SQRTL 1
96251 _ACEOF
96253 cat >>confdefs.h <<\_ACEOF
96254 #define HAVE_TANF 1
96255 _ACEOF
96257 cat >>confdefs.h <<\_ACEOF
96258 #define HAVE_TANL 1
96259 _ACEOF
96261 cat >>confdefs.h <<\_ACEOF
96262 #define HAVE_TANHF 1
96263 _ACEOF
96265 cat >>confdefs.h <<\_ACEOF
96266 #define HAVE_TANHL 1
96267 _ACEOF
96271 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96272 echo "$as_me: error: No support for this host/target combination." >&2;}
96273 { (exit 1); exit 1; }; }
96275 esac
96280 # At some point, we should differentiate between architectures
96281 # like x86, which have long double versions, and alpha/powerpc/etc.,
96282 # which don't. For the time being, punt.
96283 if test x"long_double_math_on_this_cpu" = x"yes"; then
96284 cat >>confdefs.h <<\_ACEOF
96285 #define HAVE_ACOSL 1
96286 _ACEOF
96288 cat >>confdefs.h <<\_ACEOF
96289 #define HAVE_ASINL 1
96290 _ACEOF
96292 cat >>confdefs.h <<\_ACEOF
96293 #define HAVE_ATAN2L 1
96294 _ACEOF
96296 cat >>confdefs.h <<\_ACEOF
96297 #define HAVE_ATANL 1
96298 _ACEOF
96300 cat >>confdefs.h <<\_ACEOF
96301 #define HAVE_CEILL 1
96302 _ACEOF
96304 cat >>confdefs.h <<\_ACEOF
96305 #define HAVE_COPYSIGNL 1
96306 _ACEOF
96308 cat >>confdefs.h <<\_ACEOF
96309 #define HAVE_COSL 1
96310 _ACEOF
96312 cat >>confdefs.h <<\_ACEOF
96313 #define HAVE_COSHL 1
96314 _ACEOF
96316 cat >>confdefs.h <<\_ACEOF
96317 #define HAVE_EXPL 1
96318 _ACEOF
96320 cat >>confdefs.h <<\_ACEOF
96321 #define HAVE_FABSL 1
96322 _ACEOF
96324 cat >>confdefs.h <<\_ACEOF
96325 #define HAVE_FLOORL 1
96326 _ACEOF
96328 cat >>confdefs.h <<\_ACEOF
96329 #define HAVE_FMODL 1
96330 _ACEOF
96332 cat >>confdefs.h <<\_ACEOF
96333 #define HAVE_FREXPL 1
96334 _ACEOF
96336 cat >>confdefs.h <<\_ACEOF
96337 #define HAVE_LDEXPL 1
96338 _ACEOF
96340 cat >>confdefs.h <<\_ACEOF
96341 #define HAVE_LOG10L 1
96342 _ACEOF
96344 cat >>confdefs.h <<\_ACEOF
96345 #define HAVE_LOGL 1
96346 _ACEOF
96348 cat >>confdefs.h <<\_ACEOF
96349 #define HAVE_MODFL 1
96350 _ACEOF
96352 cat >>confdefs.h <<\_ACEOF
96353 #define HAVE_POWL 1
96354 _ACEOF
96356 cat >>confdefs.h <<\_ACEOF
96357 #define HAVE_SINCOSL 1
96358 _ACEOF
96360 cat >>confdefs.h <<\_ACEOF
96361 #define HAVE_SINL 1
96362 _ACEOF
96364 cat >>confdefs.h <<\_ACEOF
96365 #define HAVE_SINHL 1
96366 _ACEOF
96368 cat >>confdefs.h <<\_ACEOF
96369 #define HAVE_SQRTL 1
96370 _ACEOF
96372 cat >>confdefs.h <<\_ACEOF
96373 #define HAVE_TANL 1
96374 _ACEOF
96376 cat >>confdefs.h <<\_ACEOF
96377 #define HAVE_TANHL 1
96378 _ACEOF
96384 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96387 # Check whether --enable-symvers or --disable-symvers was given.
96388 if test "${enable_symvers+set}" = set; then
96389 enableval="$enable_symvers"
96391 case "$enableval" in
96392 yes|no|gnu) ;;
96393 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96394 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96395 { (exit 1); exit 1; }; } ;;
96396 esac
96398 else
96399 enable_symvers=yes
96403 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96404 # don't know enough about $LD to do tricks...
96406 # FIXME The following test is too strict, in theory.
96407 if test $enable_shared = no ||
96408 test "x$LD" = x ||
96409 test x$glibcxx_gnu_ld_version = x; then
96410 enable_symvers=no
96413 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96414 if test $enable_symvers != no; then
96415 echo "$as_me:$LINENO: checking for shared libgcc" >&5
96416 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96417 ac_save_CFLAGS="$CFLAGS"
96418 CFLAGS=' -lgcc_s'
96419 if test x$gcc_no_link = xyes; then
96420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96422 { (exit 1); exit 1; }; }
96424 cat >conftest.$ac_ext <<_ACEOF
96425 /* confdefs.h. */
96426 _ACEOF
96427 cat confdefs.h >>conftest.$ac_ext
96428 cat >>conftest.$ac_ext <<_ACEOF
96429 /* end confdefs.h. */
96432 main ()
96434 return 0;
96436 return 0;
96438 _ACEOF
96439 rm -f conftest.$ac_objext conftest$ac_exeext
96440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96441 (eval $ac_link) 2>conftest.er1
96442 ac_status=$?
96443 grep -v '^ *+' conftest.er1 >conftest.err
96444 rm -f conftest.er1
96445 cat conftest.err >&5
96446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96447 (exit $ac_status); } &&
96448 { ac_try='test -z "$ac_c_werror_flag"
96449 || test ! -s conftest.err'
96450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96451 (eval $ac_try) 2>&5
96452 ac_status=$?
96453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96454 (exit $ac_status); }; } &&
96455 { ac_try='test -s conftest$ac_exeext'
96456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96457 (eval $ac_try) 2>&5
96458 ac_status=$?
96459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96460 (exit $ac_status); }; }; then
96461 glibcxx_shared_libgcc=yes
96462 else
96463 echo "$as_me: failed program was:" >&5
96464 sed 's/^/| /' conftest.$ac_ext >&5
96466 glibcxx_shared_libgcc=no
96468 rm -f conftest.err conftest.$ac_objext \
96469 conftest$ac_exeext conftest.$ac_ext
96470 CFLAGS="$ac_save_CFLAGS"
96471 if test $glibcxx_shared_libgcc = no; then
96472 cat > conftest.c <<EOF
96473 int main (void) { return 0; }
96475 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96476 -shared -shared-libgcc -o conftest.so \
96477 conftest.c -v 2>&1 >/dev/null \
96478 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96479 rm -f conftest.c conftest.so
96480 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96481 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96482 if test x$gcc_no_link = xyes; then
96483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96485 { (exit 1); exit 1; }; }
96487 cat >conftest.$ac_ext <<_ACEOF
96488 /* confdefs.h. */
96489 _ACEOF
96490 cat confdefs.h >>conftest.$ac_ext
96491 cat >>conftest.$ac_ext <<_ACEOF
96492 /* end confdefs.h. */
96495 main ()
96497 return 0;
96499 return 0;
96501 _ACEOF
96502 rm -f conftest.$ac_objext conftest$ac_exeext
96503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96504 (eval $ac_link) 2>conftest.er1
96505 ac_status=$?
96506 grep -v '^ *+' conftest.er1 >conftest.err
96507 rm -f conftest.er1
96508 cat conftest.err >&5
96509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96510 (exit $ac_status); } &&
96511 { ac_try='test -z "$ac_c_werror_flag"
96512 || test ! -s conftest.err'
96513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96514 (eval $ac_try) 2>&5
96515 ac_status=$?
96516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96517 (exit $ac_status); }; } &&
96518 { ac_try='test -s conftest$ac_exeext'
96519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96520 (eval $ac_try) 2>&5
96521 ac_status=$?
96522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96523 (exit $ac_status); }; }; then
96524 glibcxx_shared_libgcc=yes
96525 else
96526 echo "$as_me: failed program was:" >&5
96527 sed 's/^/| /' conftest.$ac_ext >&5
96530 rm -f conftest.err conftest.$ac_objext \
96531 conftest$ac_exeext conftest.$ac_ext
96532 CFLAGS="$ac_save_CFLAGS"
96535 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96536 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96539 # For GNU ld, we need at least this version. The format is described in
96540 # GLIBCXX_CHECK_LINKER_FEATURES above.
96541 glibcxx_min_gnu_ld_version=21400
96542 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96544 # Check to see if unspecified "yes" value can win, given results above.
96545 # Change "yes" into either "no" or a style name.
96546 if test $enable_symvers = yes; then
96547 if test $with_gnu_ld = yes &&
96548 test $glibcxx_shared_libgcc = yes;
96549 then
96550 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96551 enable_symvers=gnu
96552 else
96553 # The right tools, the right setup, but too old. Fallbacks?
96554 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96555 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96556 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96557 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96558 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96559 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96560 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96561 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96562 if test $glibcxx_gnu_ld_version -ge 21200 ; then
96563 # Globbing fix is present, proper block support is not.
96564 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96565 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96566 enable_symvers=no
96567 else
96568 # 2.11 or older.
96569 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96570 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96571 enable_symvers=no
96574 else
96575 # just fail for now
96576 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96577 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96578 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96579 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96580 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96581 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96582 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96583 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96584 enable_symvers=no
96588 # Everything parsed; figure out what file to use.
96589 case $enable_symvers in
96591 SYMVER_MAP=config/linker-map.dummy
96593 gnu)
96594 SYMVER_MAP=config/linker-map.gnu
96595 cat >>confdefs.h <<\_ACEOF
96596 #define _GLIBCXX_SYMVER 1
96597 _ACEOF
96600 esac
96605 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96606 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96609 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96611 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96612 # Do checks for resource limit functions.
96614 setrlimit_have_headers=yes
96618 for ac_header in unistd.h sys/time.h sys/resource.h
96620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96622 echo "$as_me:$LINENO: checking for $ac_header" >&5
96623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96625 echo $ECHO_N "(cached) $ECHO_C" >&6
96627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96629 else
96630 # Is the header compilable?
96631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96633 cat >conftest.$ac_ext <<_ACEOF
96634 /* confdefs.h. */
96635 _ACEOF
96636 cat confdefs.h >>conftest.$ac_ext
96637 cat >>conftest.$ac_ext <<_ACEOF
96638 /* end confdefs.h. */
96639 $ac_includes_default
96640 #include <$ac_header>
96641 _ACEOF
96642 rm -f conftest.$ac_objext
96643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96644 (eval $ac_compile) 2>conftest.er1
96645 ac_status=$?
96646 grep -v '^ *+' conftest.er1 >conftest.err
96647 rm -f conftest.er1
96648 cat conftest.err >&5
96649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96650 (exit $ac_status); } &&
96651 { ac_try='test -z "$ac_c_werror_flag"
96652 || test ! -s conftest.err'
96653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96654 (eval $ac_try) 2>&5
96655 ac_status=$?
96656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96657 (exit $ac_status); }; } &&
96658 { ac_try='test -s conftest.$ac_objext'
96659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96660 (eval $ac_try) 2>&5
96661 ac_status=$?
96662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96663 (exit $ac_status); }; }; then
96664 ac_header_compiler=yes
96665 else
96666 echo "$as_me: failed program was:" >&5
96667 sed 's/^/| /' conftest.$ac_ext >&5
96669 ac_header_compiler=no
96671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96673 echo "${ECHO_T}$ac_header_compiler" >&6
96675 # Is the header present?
96676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96678 cat >conftest.$ac_ext <<_ACEOF
96679 /* confdefs.h. */
96680 _ACEOF
96681 cat confdefs.h >>conftest.$ac_ext
96682 cat >>conftest.$ac_ext <<_ACEOF
96683 /* end confdefs.h. */
96684 #include <$ac_header>
96685 _ACEOF
96686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96688 ac_status=$?
96689 grep -v '^ *+' conftest.er1 >conftest.err
96690 rm -f conftest.er1
96691 cat conftest.err >&5
96692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96693 (exit $ac_status); } >/dev/null; then
96694 if test -s conftest.err; then
96695 ac_cpp_err=$ac_c_preproc_warn_flag
96696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96697 else
96698 ac_cpp_err=
96700 else
96701 ac_cpp_err=yes
96703 if test -z "$ac_cpp_err"; then
96704 ac_header_preproc=yes
96705 else
96706 echo "$as_me: failed program was:" >&5
96707 sed 's/^/| /' conftest.$ac_ext >&5
96709 ac_header_preproc=no
96711 rm -f conftest.err conftest.$ac_ext
96712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96713 echo "${ECHO_T}$ac_header_preproc" >&6
96715 # So? What about this header?
96716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96717 yes:no: )
96718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96722 ac_header_preproc=yes
96724 no:yes:* )
96725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96738 cat <<\_ASBOX
96739 ## ----------------------------------------- ##
96740 ## Report this to the package-unused lists. ##
96741 ## ----------------------------------------- ##
96742 _ASBOX
96744 sed "s/^/$as_me: WARNING: /" >&2
96746 esac
96747 echo "$as_me:$LINENO: checking for $ac_header" >&5
96748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96750 echo $ECHO_N "(cached) $ECHO_C" >&6
96751 else
96752 eval "$as_ac_Header=\$ac_header_preproc"
96754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96759 cat >>confdefs.h <<_ACEOF
96760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96761 _ACEOF
96763 else
96764 setrlimit_have_headers=no
96767 done
96769 # If don't have the headers, then we can't run the tests now, and we
96770 # won't be seeing any of these during testsuite compilation.
96771 if test $setrlimit_have_headers = yes; then
96772 # Can't do these in a loop, else the resulting syntax is wrong.
96774 cat >conftest.$ac_ext <<_ACEOF
96775 /* confdefs.h. */
96776 _ACEOF
96777 cat confdefs.h >>conftest.$ac_ext
96778 cat >>conftest.$ac_ext <<_ACEOF
96779 /* end confdefs.h. */
96780 #include <unistd.h>
96781 #include <sys/time.h>
96782 #include <sys/resource.h>
96785 main ()
96787 int f = RLIMIT_DATA ;
96789 return 0;
96791 _ACEOF
96792 rm -f conftest.$ac_objext
96793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96794 (eval $ac_compile) 2>conftest.er1
96795 ac_status=$?
96796 grep -v '^ *+' conftest.er1 >conftest.err
96797 rm -f conftest.er1
96798 cat conftest.err >&5
96799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96800 (exit $ac_status); } &&
96801 { ac_try='test -z "$ac_c_werror_flag"
96802 || test ! -s conftest.err'
96803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96804 (eval $ac_try) 2>&5
96805 ac_status=$?
96806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96807 (exit $ac_status); }; } &&
96808 { ac_try='test -s conftest.$ac_objext'
96809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96810 (eval $ac_try) 2>&5
96811 ac_status=$?
96812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96813 (exit $ac_status); }; }; then
96814 glibcxx_mresult=1
96815 else
96816 echo "$as_me: failed program was:" >&5
96817 sed 's/^/| /' conftest.$ac_ext >&5
96819 glibcxx_mresult=0
96821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96823 cat >>confdefs.h <<_ACEOF
96824 #define HAVE_LIMIT_DATA $glibcxx_mresult
96825 _ACEOF
96829 cat >conftest.$ac_ext <<_ACEOF
96830 /* confdefs.h. */
96831 _ACEOF
96832 cat confdefs.h >>conftest.$ac_ext
96833 cat >>conftest.$ac_ext <<_ACEOF
96834 /* end confdefs.h. */
96835 #include <unistd.h>
96836 #include <sys/time.h>
96837 #include <sys/resource.h>
96840 main ()
96842 int f = RLIMIT_RSS ;
96844 return 0;
96846 _ACEOF
96847 rm -f conftest.$ac_objext
96848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96849 (eval $ac_compile) 2>conftest.er1
96850 ac_status=$?
96851 grep -v '^ *+' conftest.er1 >conftest.err
96852 rm -f conftest.er1
96853 cat conftest.err >&5
96854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96855 (exit $ac_status); } &&
96856 { ac_try='test -z "$ac_c_werror_flag"
96857 || test ! -s conftest.err'
96858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96859 (eval $ac_try) 2>&5
96860 ac_status=$?
96861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96862 (exit $ac_status); }; } &&
96863 { ac_try='test -s conftest.$ac_objext'
96864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96865 (eval $ac_try) 2>&5
96866 ac_status=$?
96867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96868 (exit $ac_status); }; }; then
96869 glibcxx_mresult=1
96870 else
96871 echo "$as_me: failed program was:" >&5
96872 sed 's/^/| /' conftest.$ac_ext >&5
96874 glibcxx_mresult=0
96876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96878 cat >>confdefs.h <<_ACEOF
96879 #define HAVE_LIMIT_RSS $glibcxx_mresult
96880 _ACEOF
96884 cat >conftest.$ac_ext <<_ACEOF
96885 /* confdefs.h. */
96886 _ACEOF
96887 cat confdefs.h >>conftest.$ac_ext
96888 cat >>conftest.$ac_ext <<_ACEOF
96889 /* end confdefs.h. */
96890 #include <unistd.h>
96891 #include <sys/time.h>
96892 #include <sys/resource.h>
96895 main ()
96897 int f = RLIMIT_VMEM ;
96899 return 0;
96901 _ACEOF
96902 rm -f conftest.$ac_objext
96903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96904 (eval $ac_compile) 2>conftest.er1
96905 ac_status=$?
96906 grep -v '^ *+' conftest.er1 >conftest.err
96907 rm -f conftest.er1
96908 cat conftest.err >&5
96909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96910 (exit $ac_status); } &&
96911 { ac_try='test -z "$ac_c_werror_flag"
96912 || test ! -s conftest.err'
96913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96914 (eval $ac_try) 2>&5
96915 ac_status=$?
96916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96917 (exit $ac_status); }; } &&
96918 { ac_try='test -s conftest.$ac_objext'
96919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96920 (eval $ac_try) 2>&5
96921 ac_status=$?
96922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96923 (exit $ac_status); }; }; then
96924 glibcxx_mresult=1
96925 else
96926 echo "$as_me: failed program was:" >&5
96927 sed 's/^/| /' conftest.$ac_ext >&5
96929 glibcxx_mresult=0
96931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96933 cat >>confdefs.h <<_ACEOF
96934 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96935 _ACEOF
96939 cat >conftest.$ac_ext <<_ACEOF
96940 /* confdefs.h. */
96941 _ACEOF
96942 cat confdefs.h >>conftest.$ac_ext
96943 cat >>conftest.$ac_ext <<_ACEOF
96944 /* end confdefs.h. */
96945 #include <unistd.h>
96946 #include <sys/time.h>
96947 #include <sys/resource.h>
96950 main ()
96952 int f = RLIMIT_AS ;
96954 return 0;
96956 _ACEOF
96957 rm -f conftest.$ac_objext
96958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96959 (eval $ac_compile) 2>conftest.er1
96960 ac_status=$?
96961 grep -v '^ *+' conftest.er1 >conftest.err
96962 rm -f conftest.er1
96963 cat conftest.err >&5
96964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96965 (exit $ac_status); } &&
96966 { ac_try='test -z "$ac_c_werror_flag"
96967 || test ! -s conftest.err'
96968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96969 (eval $ac_try) 2>&5
96970 ac_status=$?
96971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96972 (exit $ac_status); }; } &&
96973 { ac_try='test -s conftest.$ac_objext'
96974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96975 (eval $ac_try) 2>&5
96976 ac_status=$?
96977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96978 (exit $ac_status); }; }; then
96979 glibcxx_mresult=1
96980 else
96981 echo "$as_me: failed program was:" >&5
96982 sed 's/^/| /' conftest.$ac_ext >&5
96984 glibcxx_mresult=0
96986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96988 cat >>confdefs.h <<_ACEOF
96989 #define HAVE_LIMIT_AS $glibcxx_mresult
96990 _ACEOF
96994 cat >conftest.$ac_ext <<_ACEOF
96995 /* confdefs.h. */
96996 _ACEOF
96997 cat confdefs.h >>conftest.$ac_ext
96998 cat >>conftest.$ac_ext <<_ACEOF
96999 /* end confdefs.h. */
97000 #include <unistd.h>
97001 #include <sys/time.h>
97002 #include <sys/resource.h>
97005 main ()
97007 int f = RLIMIT_FSIZE ;
97009 return 0;
97011 _ACEOF
97012 rm -f conftest.$ac_objext
97013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97014 (eval $ac_compile) 2>conftest.er1
97015 ac_status=$?
97016 grep -v '^ *+' conftest.er1 >conftest.err
97017 rm -f conftest.er1
97018 cat conftest.err >&5
97019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97020 (exit $ac_status); } &&
97021 { ac_try='test -z "$ac_c_werror_flag"
97022 || test ! -s conftest.err'
97023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97024 (eval $ac_try) 2>&5
97025 ac_status=$?
97026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97027 (exit $ac_status); }; } &&
97028 { ac_try='test -s conftest.$ac_objext'
97029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97030 (eval $ac_try) 2>&5
97031 ac_status=$?
97032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97033 (exit $ac_status); }; }; then
97034 glibcxx_mresult=1
97035 else
97036 echo "$as_me: failed program was:" >&5
97037 sed 's/^/| /' conftest.$ac_ext >&5
97039 glibcxx_mresult=0
97041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97043 cat >>confdefs.h <<_ACEOF
97044 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97045 _ACEOF
97049 # Check for rlimit, setrlimit.
97050 if test "${ac_setrlimit+set}" = set; then
97051 echo $ECHO_N "(cached) $ECHO_C" >&6
97052 else
97054 cat >conftest.$ac_ext <<_ACEOF
97055 /* confdefs.h. */
97056 _ACEOF
97057 cat confdefs.h >>conftest.$ac_ext
97058 cat >>conftest.$ac_ext <<_ACEOF
97059 /* end confdefs.h. */
97060 #include <unistd.h>
97061 #include <sys/time.h>
97062 #include <sys/resource.h>
97065 main ()
97067 struct rlimit r;
97068 setrlimit(0, &r);
97070 return 0;
97072 _ACEOF
97073 rm -f conftest.$ac_objext
97074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97075 (eval $ac_compile) 2>conftest.er1
97076 ac_status=$?
97077 grep -v '^ *+' conftest.er1 >conftest.err
97078 rm -f conftest.er1
97079 cat conftest.err >&5
97080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97081 (exit $ac_status); } &&
97082 { ac_try='test -z "$ac_c_werror_flag"
97083 || test ! -s conftest.err'
97084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97085 (eval $ac_try) 2>&5
97086 ac_status=$?
97087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97088 (exit $ac_status); }; } &&
97089 { ac_try='test -s conftest.$ac_objext'
97090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97091 (eval $ac_try) 2>&5
97092 ac_status=$?
97093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97094 (exit $ac_status); }; }; then
97095 ac_setrlimit=yes
97096 else
97097 echo "$as_me: failed program was:" >&5
97098 sed 's/^/| /' conftest.$ac_ext >&5
97100 ac_setrlimit=no
97102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97108 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97109 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97110 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97111 ac_res_limits=yes
97112 cat >>confdefs.h <<\_ACEOF
97113 #define _GLIBCXX_RES_LIMITS 1
97114 _ACEOF
97116 else
97117 ac_res_limits=no
97119 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97120 echo "${ECHO_T}$ac_res_limits" >&6
97123 # Look for setenv, so that extended locale tests can be performed.
97125 echo "$as_me:$LINENO: checking for setenv declaration" >&5
97126 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97127 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97128 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97129 echo $ECHO_N "(cached) $ECHO_C" >&6
97130 else
97134 ac_ext=cc
97135 ac_cpp='$CXXCPP $CPPFLAGS'
97136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97140 cat >conftest.$ac_ext <<_ACEOF
97141 /* confdefs.h. */
97142 _ACEOF
97143 cat confdefs.h >>conftest.$ac_ext
97144 cat >>conftest.$ac_ext <<_ACEOF
97145 /* end confdefs.h. */
97146 #include <stdlib.h>
97148 main ()
97150 setenv(0, 0, 0);
97152 return 0;
97154 _ACEOF
97155 rm -f conftest.$ac_objext
97156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97157 (eval $ac_compile) 2>conftest.er1
97158 ac_status=$?
97159 grep -v '^ *+' conftest.er1 >conftest.err
97160 rm -f conftest.er1
97161 cat conftest.err >&5
97162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97163 (exit $ac_status); } &&
97164 { ac_try='test -z "$ac_cxx_werror_flag"
97165 || test ! -s conftest.err'
97166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97167 (eval $ac_try) 2>&5
97168 ac_status=$?
97169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97170 (exit $ac_status); }; } &&
97171 { ac_try='test -s conftest.$ac_objext'
97172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97173 (eval $ac_try) 2>&5
97174 ac_status=$?
97175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97176 (exit $ac_status); }; }; then
97177 glibcxx_cv_func_setenv_use=yes
97178 else
97179 echo "$as_me: failed program was:" >&5
97180 sed 's/^/| /' conftest.$ac_ext >&5
97182 glibcxx_cv_func_setenv_use=no
97184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97185 ac_ext=c
97186 ac_cpp='$CPP $CPPFLAGS'
97187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97196 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97197 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97199 for ac_func in setenv
97201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97202 echo "$as_me:$LINENO: checking for $ac_func" >&5
97203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97204 if eval "test \"\${$as_ac_var+set}\" = set"; then
97205 echo $ECHO_N "(cached) $ECHO_C" >&6
97206 else
97207 if test x$gcc_no_link = xyes; then
97208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97210 { (exit 1); exit 1; }; }
97212 cat >conftest.$ac_ext <<_ACEOF
97213 /* confdefs.h. */
97214 _ACEOF
97215 cat confdefs.h >>conftest.$ac_ext
97216 cat >>conftest.$ac_ext <<_ACEOF
97217 /* end confdefs.h. */
97218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97220 #define $ac_func innocuous_$ac_func
97222 /* System header to define __stub macros and hopefully few prototypes,
97223 which can conflict with char $ac_func (); below.
97224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97225 <limits.h> exists even on freestanding compilers. */
97227 #ifdef __STDC__
97228 # include <limits.h>
97229 #else
97230 # include <assert.h>
97231 #endif
97233 #undef $ac_func
97235 /* Override any gcc2 internal prototype to avoid an error. */
97236 #ifdef __cplusplus
97237 extern "C"
97239 #endif
97240 /* We use char because int might match the return type of a gcc2
97241 builtin and then its argument prototype would still apply. */
97242 char $ac_func ();
97243 /* The GNU C library defines this for functions which it implements
97244 to always fail with ENOSYS. Some functions are actually named
97245 something starting with __ and the normal name is an alias. */
97246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97247 choke me
97248 #else
97249 char (*f) () = $ac_func;
97250 #endif
97251 #ifdef __cplusplus
97253 #endif
97256 main ()
97258 return f != $ac_func;
97260 return 0;
97262 _ACEOF
97263 rm -f conftest.$ac_objext conftest$ac_exeext
97264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97265 (eval $ac_link) 2>conftest.er1
97266 ac_status=$?
97267 grep -v '^ *+' conftest.er1 >conftest.err
97268 rm -f conftest.er1
97269 cat conftest.err >&5
97270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97271 (exit $ac_status); } &&
97272 { ac_try='test -z "$ac_c_werror_flag"
97273 || test ! -s conftest.err'
97274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97275 (eval $ac_try) 2>&5
97276 ac_status=$?
97277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97278 (exit $ac_status); }; } &&
97279 { ac_try='test -s conftest$ac_exeext'
97280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97281 (eval $ac_try) 2>&5
97282 ac_status=$?
97283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97284 (exit $ac_status); }; }; then
97285 eval "$as_ac_var=yes"
97286 else
97287 echo "$as_me: failed program was:" >&5
97288 sed 's/^/| /' conftest.$ac_ext >&5
97290 eval "$as_ac_var=no"
97292 rm -f conftest.err conftest.$ac_objext \
97293 conftest$ac_exeext conftest.$ac_ext
97295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97297 if test `eval echo '${'$as_ac_var'}'` = yes; then
97298 cat >>confdefs.h <<_ACEOF
97299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97300 _ACEOF
97303 done
97308 if test $enable_symvers = no; then
97309 enable_abi_check=no
97310 else
97311 case "$host" in
97312 *-*-cygwin*)
97313 enable_abi_check=no ;;
97315 enable_abi_check=yes ;;
97316 esac
97318 else
97319 # Only build this as native, since automake does not understand
97320 # CXX_FOR_BUILD.
97321 enable_abi_check=no
97324 # Export file names for ABI checking.
97325 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97332 # Propagate the target-specific source directories through the build chain.
97333 ATOMICITY_SRCDIR=config/${atomicity_dir}
97334 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97335 OS_INC_SRCDIR=config/${os_include_dir}
97336 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97342 # Determine cross-compile flags and AM_CONDITIONALs.
97343 #AC_SUBST(GLIBCXX_IS_NATIVE)
97344 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97345 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97346 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
97349 if test $is_hosted = yes; then
97350 GLIBCXX_HOSTED_TRUE=
97351 GLIBCXX_HOSTED_FALSE='#'
97352 else
97353 GLIBCXX_HOSTED_TRUE='#'
97354 GLIBCXX_HOSTED_FALSE=
97360 if test $enable_libstdcxx_pch = yes; then
97361 GLIBCXX_BUILD_PCH_TRUE=
97362 GLIBCXX_BUILD_PCH_FALSE='#'
97363 else
97364 GLIBCXX_BUILD_PCH_TRUE='#'
97365 GLIBCXX_BUILD_PCH_FALSE=
97371 if test $enable_cheaders = c; then
97372 GLIBCXX_C_HEADERS_C_TRUE=
97373 GLIBCXX_C_HEADERS_C_FALSE='#'
97374 else
97375 GLIBCXX_C_HEADERS_C_TRUE='#'
97376 GLIBCXX_C_HEADERS_C_FALSE=
97382 if test $enable_cheaders = c_std; then
97383 GLIBCXX_C_HEADERS_C_STD_TRUE=
97384 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97385 else
97386 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97387 GLIBCXX_C_HEADERS_C_STD_FALSE=
97393 if test $c_compatibility = yes; then
97394 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97395 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97396 else
97397 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97398 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97404 if test $enable_libstdcxx_debug = yes; then
97405 GLIBCXX_BUILD_DEBUG_TRUE=
97406 GLIBCXX_BUILD_DEBUG_FALSE='#'
97407 else
97408 GLIBCXX_BUILD_DEBUG_TRUE='#'
97409 GLIBCXX_BUILD_DEBUG_FALSE=
97415 if test $enable_symvers != no; then
97416 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97417 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97418 else
97419 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97420 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97426 if test $enable_wchar_t = yes; then
97427 GLIBCXX_TEST_WCHAR_T_TRUE=
97428 GLIBCXX_TEST_WCHAR_T_FALSE='#'
97429 else
97430 GLIBCXX_TEST_WCHAR_T_TRUE='#'
97431 GLIBCXX_TEST_WCHAR_T_FALSE=
97437 if test $enable_abi_check = yes; then
97438 GLIBCXX_TEST_ABI_TRUE=
97439 GLIBCXX_TEST_ABI_FALSE='#'
97440 else
97441 GLIBCXX_TEST_ABI_TRUE='#'
97442 GLIBCXX_TEST_ABI_FALSE=
97448 cat >confcache <<\_ACEOF
97449 # This file is a shell script that caches the results of configure
97450 # tests run on this system so they can be shared between configure
97451 # scripts and configure runs, see configure's option --config-cache.
97452 # It is not useful on other systems. If it contains results you don't
97453 # want to keep, you may remove or edit it.
97455 # config.status only pays attention to the cache file if you give it
97456 # the --recheck option to rerun configure.
97458 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97459 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97460 # following values.
97462 _ACEOF
97464 # The following way of writing the cache mishandles newlines in values,
97465 # but we know of no workaround that is simple, portable, and efficient.
97466 # So, don't put newlines in cache variables' values.
97467 # Ultrix sh set writes to stderr and can't be redirected directly,
97468 # and sets the high bit in the cache file unless we assign to the vars.
97470 (set) 2>&1 |
97471 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97472 *ac_space=\ *)
97473 # `set' does not quote correctly, so add quotes (double-quote
97474 # substitution turns \\\\ into \\, and sed turns \\ into \).
97475 sed -n \
97476 "s/'/'\\\\''/g;
97477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97480 # `set' quotes correctly as required by POSIX, so do not add quotes.
97481 sed -n \
97482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97484 esac;
97486 sed '
97487 t clear
97488 : clear
97489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97490 t end
97491 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97492 : end' >>confcache
97493 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97494 if test -w $cache_file; then
97495 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97496 cat confcache >$cache_file
97497 else
97498 echo "not updating unwritable cache $cache_file"
97501 rm -f confcache
97503 if test ${multilib} = yes; then
97504 multilib_arg="--enable-multilib"
97505 else
97506 multilib_arg=
97509 # Export all the install information.
97511 glibcxx_toolexecdir=no
97512 glibcxx_toolexeclibdir=no
97513 glibcxx_prefixdir=$prefix
97515 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97516 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97518 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97519 if test "${with_gxx_include_dir+set}" = set; then
97520 withval="$with_gxx_include_dir"
97521 case "$withval" in
97522 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97523 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97524 { (exit 1); exit 1; }; } ;;
97525 no) gxx_include_dir=no ;;
97526 *) gxx_include_dir=$withval ;;
97527 esac
97528 else
97529 gxx_include_dir=no
97531 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97532 echo "${ECHO_T}$gxx_include_dir" >&6
97534 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97535 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97536 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97537 if test "${enable_version_specific_runtime_libs+set}" = set; then
97538 enableval="$enable_version_specific_runtime_libs"
97539 case "$enableval" in
97540 yes) version_specific_libs=yes ;;
97541 no) version_specific_libs=no ;;
97542 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97543 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97544 { (exit 1); exit 1; }; };;
97545 esac
97546 else
97547 version_specific_libs=no
97549 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97550 echo "${ECHO_T}$version_specific_libs" >&6
97552 # Default case for install directory for include files.
97553 if test $version_specific_libs = no && test $gxx_include_dir = no; then
97554 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97557 # Version-specific runtime libs processing.
97558 if test $version_specific_libs = yes; then
97559 # Need the gcc compiler version to know where to install libraries
97560 # and header files if --enable-version-specific-runtime-libs option
97561 # is selected. FIXME: these variables are misnamed, there are
97562 # no executables installed in _toolexecdir or _toolexeclibdir.
97563 if test x"$gxx_include_dir" = x"no"; then
97564 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97566 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97567 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97570 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97571 # Install a library built with a cross compiler in tooldir, not libdir.
97572 if test x"$glibcxx_toolexecdir" = x"no"; then
97573 if test -n "$with_cross_host" &&
97574 test x"$with_cross_host" != x"no"; then
97575 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97576 glibcxx_toolexeclibdir='${toolexecdir}/lib'
97577 else
97578 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97579 glibcxx_toolexeclibdir='${libdir}'
97581 multi_os_directory=`$CXX -print-multi-os-directory`
97582 case $multi_os_directory in
97583 .) ;; # Avoid trailing /.
97584 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97585 esac
97588 echo "$as_me:$LINENO: checking for install location" >&5
97589 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97590 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97591 echo "${ECHO_T}$gxx_include_dir" >&6
97599 # Export all the include and flag information to Makefiles.
97601 # Used for every C++ compile we perform.
97602 GLIBCXX_INCLUDES="\
97603 -I$glibcxx_builddir/include/$host_alias \
97604 -I$glibcxx_builddir/include \
97605 -I$glibcxx_srcdir/libsupc++"
97607 # For Canadian crosses, pick this up too.
97608 if test $CANADIAN = yes; then
97609 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97612 # Stuff in the actual top level. Currently only used by libsupc++ to
97613 # get unwind* headers from the gcc dir.
97614 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97615 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97617 # Now, export this to all the little Makefiles....
97622 # Optimization flags that are probably a good idea for thrill-seekers. Just
97623 # uncomment the lines below and make, everything else is ready to go...
97624 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97625 OPTIMIZE_CXXFLAGS=
97628 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97632 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97633 grep "enable shared" > /dev/null;
97634 then
97635 LIBSUPCXX_PICFLAGS=-prefer-pic
97636 else
97637 LIBSUPCXX_PICFLAGS=
97641 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97643 ac_config_files="$ac_config_files scripts/check_survey"
97645 ac_config_files="$ac_config_files scripts/testsuite_flags"
97648 ac_config_commands="$ac_config_commands default"
97651 cat >confcache <<\_ACEOF
97652 # This file is a shell script that caches the results of configure
97653 # tests run on this system so they can be shared between configure
97654 # scripts and configure runs, see configure's option --config-cache.
97655 # It is not useful on other systems. If it contains results you don't
97656 # want to keep, you may remove or edit it.
97658 # config.status only pays attention to the cache file if you give it
97659 # the --recheck option to rerun configure.
97661 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97662 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97663 # following values.
97665 _ACEOF
97667 # The following way of writing the cache mishandles newlines in values,
97668 # but we know of no workaround that is simple, portable, and efficient.
97669 # So, don't put newlines in cache variables' values.
97670 # Ultrix sh set writes to stderr and can't be redirected directly,
97671 # and sets the high bit in the cache file unless we assign to the vars.
97673 (set) 2>&1 |
97674 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97675 *ac_space=\ *)
97676 # `set' does not quote correctly, so add quotes (double-quote
97677 # substitution turns \\\\ into \\, and sed turns \\ into \).
97678 sed -n \
97679 "s/'/'\\\\''/g;
97680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97683 # `set' quotes correctly as required by POSIX, so do not add quotes.
97684 sed -n \
97685 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97687 esac;
97689 sed '
97690 t clear
97691 : clear
97692 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97693 t end
97694 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97695 : end' >>confcache
97696 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97697 if test -w $cache_file; then
97698 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97699 cat confcache >$cache_file
97700 else
97701 echo "not updating unwritable cache $cache_file"
97704 rm -f confcache
97706 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97707 # Let make expand exec_prefix.
97708 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97710 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97711 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97712 # trailing colons and then remove the whole line if VPATH becomes empty
97713 # (actually we leave an empty line to preserve line numbers).
97714 if test "x$srcdir" = x.; then
97715 ac_vpsub='/^[ ]*VPATH[ ]*=/{
97716 s/:*\$(srcdir):*/:/;
97717 s/:*\${srcdir}:*/:/;
97718 s/:*@srcdir@:*/:/;
97719 s/^\([^=]*=[ ]*\):*/\1/;
97720 s/:*$//;
97721 s/^[^=]*=[ ]*$//;
97725 DEFS=-DHAVE_CONFIG_H
97727 ac_libobjs=
97728 ac_ltlibobjs=
97729 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97730 # 1. Remove the extension, and $U if already installed.
97731 ac_i=`echo "$ac_i" |
97732 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97733 # 2. Add them.
97734 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97735 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97736 done
97737 LIBOBJS=$ac_libobjs
97739 LTLIBOBJS=$ac_ltlibobjs
97742 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97743 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97744 Usually this means the macro was only invoked conditionally." >&5
97745 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97746 Usually this means the macro was only invoked conditionally." >&2;}
97747 { (exit 1); exit 1; }; }
97749 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97750 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97751 Usually this means the macro was only invoked conditionally." >&5
97752 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97753 Usually this means the macro was only invoked conditionally." >&2;}
97754 { (exit 1); exit 1; }; }
97756 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97757 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97758 Usually this means the macro was only invoked conditionally." >&5
97759 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97760 Usually this means the macro was only invoked conditionally." >&2;}
97761 { (exit 1); exit 1; }; }
97763 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97764 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97765 Usually this means the macro was only invoked conditionally." >&5
97766 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97767 Usually this means the macro was only invoked conditionally." >&2;}
97768 { (exit 1); exit 1; }; }
97770 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97771 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97772 Usually this means the macro was only invoked conditionally." >&5
97773 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97774 Usually this means the macro was only invoked conditionally." >&2;}
97775 { (exit 1); exit 1; }; }
97777 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97778 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97779 Usually this means the macro was only invoked conditionally." >&5
97780 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97781 Usually this means the macro was only invoked conditionally." >&2;}
97782 { (exit 1); exit 1; }; }
97784 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97785 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97786 Usually this means the macro was only invoked conditionally." >&5
97787 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97788 Usually this means the macro was only invoked conditionally." >&2;}
97789 { (exit 1); exit 1; }; }
97791 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97792 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97793 Usually this means the macro was only invoked conditionally." >&5
97794 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97795 Usually this means the macro was only invoked conditionally." >&2;}
97796 { (exit 1); exit 1; }; }
97798 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97799 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97800 Usually this means the macro was only invoked conditionally." >&5
97801 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97802 Usually this means the macro was only invoked conditionally." >&2;}
97803 { (exit 1); exit 1; }; }
97805 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97806 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97807 Usually this means the macro was only invoked conditionally." >&5
97808 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97809 Usually this means the macro was only invoked conditionally." >&2;}
97810 { (exit 1); exit 1; }; }
97813 : ${CONFIG_STATUS=./config.status}
97814 ac_clean_files_save=$ac_clean_files
97815 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97816 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97817 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97818 cat >$CONFIG_STATUS <<_ACEOF
97819 #! $SHELL
97820 # Generated by $as_me.
97821 # Run this file to recreate the current configuration.
97822 # Compiler output produced by configure, useful for debugging
97823 # configure, is in config.log if it exists.
97825 debug=false
97826 ac_cs_recheck=false
97827 ac_cs_silent=false
97828 SHELL=\${CONFIG_SHELL-$SHELL}
97829 _ACEOF
97831 cat >>$CONFIG_STATUS <<\_ACEOF
97832 ## --------------------- ##
97833 ## M4sh Initialization. ##
97834 ## --------------------- ##
97836 # Be Bourne compatible
97837 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97838 emulate sh
97839 NULLCMD=:
97840 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97841 # is contrary to our usage. Disable this feature.
97842 alias -g '${1+"$@"}'='"$@"'
97843 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97844 set -o posix
97846 DUALCASE=1; export DUALCASE # for MKS sh
97848 # Support unset when possible.
97849 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97850 as_unset=unset
97851 else
97852 as_unset=false
97856 # Work around bugs in pre-3.0 UWIN ksh.
97857 $as_unset ENV MAIL MAILPATH
97858 PS1='$ '
97859 PS2='> '
97860 PS4='+ '
97862 # NLS nuisances.
97863 for as_var in \
97864 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97865 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97866 LC_TELEPHONE LC_TIME
97868 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97869 eval $as_var=C; export $as_var
97870 else
97871 $as_unset $as_var
97873 done
97875 # Required to use basename.
97876 if expr a : '\(a\)' >/dev/null 2>&1; then
97877 as_expr=expr
97878 else
97879 as_expr=false
97882 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97883 as_basename=basename
97884 else
97885 as_basename=false
97889 # Name of the executable.
97890 as_me=`$as_basename "$0" ||
97891 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97892 X"$0" : 'X\(//\)$' \| \
97893 X"$0" : 'X\(/\)$' \| \
97894 . : '\(.\)' 2>/dev/null ||
97895 echo X/"$0" |
97896 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97897 /^X\/\(\/\/\)$/{ s//\1/; q; }
97898 /^X\/\(\/\).*/{ s//\1/; q; }
97899 s/.*/./; q'`
97902 # PATH needs CR, and LINENO needs CR and PATH.
97903 # Avoid depending upon Character Ranges.
97904 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97905 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97906 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97907 as_cr_digits='0123456789'
97908 as_cr_alnum=$as_cr_Letters$as_cr_digits
97910 # The user is always right.
97911 if test "${PATH_SEPARATOR+set}" != set; then
97912 echo "#! /bin/sh" >conf$$.sh
97913 echo "exit 0" >>conf$$.sh
97914 chmod +x conf$$.sh
97915 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97916 PATH_SEPARATOR=';'
97917 else
97918 PATH_SEPARATOR=:
97920 rm -f conf$$.sh
97924 as_lineno_1=$LINENO
97925 as_lineno_2=$LINENO
97926 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97927 test "x$as_lineno_1" != "x$as_lineno_2" &&
97928 test "x$as_lineno_3" = "x$as_lineno_2" || {
97929 # Find who we are. Look in the path if we contain no path at all
97930 # relative or not.
97931 case $0 in
97932 *[\\/]* ) as_myself=$0 ;;
97933 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97934 for as_dir in $PATH
97936 IFS=$as_save_IFS
97937 test -z "$as_dir" && as_dir=.
97938 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
97939 done
97942 esac
97943 # We did not find ourselves, most probably we were run as `sh COMMAND'
97944 # in which case we are not to be found in the path.
97945 if test "x$as_myself" = x; then
97946 as_myself=$0
97948 if test ! -f "$as_myself"; then
97949 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
97950 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
97951 { (exit 1); exit 1; }; }
97953 case $CONFIG_SHELL in
97955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97956 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
97958 IFS=$as_save_IFS
97959 test -z "$as_dir" && as_dir=.
97960 for as_base in sh bash ksh sh5; do
97961 case $as_dir in
97963 if ("$as_dir/$as_base" -c '
97964 as_lineno_1=$LINENO
97965 as_lineno_2=$LINENO
97966 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97967 test "x$as_lineno_1" != "x$as_lineno_2" &&
97968 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
97969 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
97970 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
97971 CONFIG_SHELL=$as_dir/$as_base
97972 export CONFIG_SHELL
97973 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
97974 fi;;
97975 esac
97976 done
97977 done
97979 esac
97981 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
97982 # uniformly replaced by the line number. The first 'sed' inserts a
97983 # line-number line before each line; the second 'sed' does the real
97984 # work. The second script uses 'N' to pair each line-number line
97985 # with the numbered line, and appends trailing '-' during
97986 # substitution so that $LINENO is not a special case at line end.
97987 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
97988 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
97989 sed '=' <$as_myself |
97990 sed '
97992 s,$,-,
97993 : loop
97994 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
97995 t loop
97996 s,-$,,
97997 s,^['$as_cr_digits']*\n,,
97998 ' >$as_me.lineno &&
97999 chmod +x $as_me.lineno ||
98000 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98001 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98002 { (exit 1); exit 1; }; }
98004 # Don't try to exec as it changes $[0], causing all sort of problems
98005 # (the dirname of $[0] is not the place where we might find the
98006 # original and so on. Autoconf is especially sensible to this).
98007 . ./$as_me.lineno
98008 # Exit status is that of the last command.
98009 exit
98013 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98014 *c*,-n*) ECHO_N= ECHO_C='
98015 ' ECHO_T=' ' ;;
98016 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98017 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98018 esac
98020 if expr a : '\(a\)' >/dev/null 2>&1; then
98021 as_expr=expr
98022 else
98023 as_expr=false
98026 rm -f conf$$ conf$$.exe conf$$.file
98027 echo >conf$$.file
98028 if ln -s conf$$.file conf$$ 2>/dev/null; then
98029 # We could just check for DJGPP; but this test a) works b) is more generic
98030 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98031 if test -f conf$$.exe; then
98032 # Don't use ln at all; we don't have any links
98033 as_ln_s='cp -p'
98034 else
98035 as_ln_s='ln -s'
98037 elif ln conf$$.file conf$$ 2>/dev/null; then
98038 as_ln_s=ln
98039 else
98040 as_ln_s='cp -p'
98042 rm -f conf$$ conf$$.exe conf$$.file
98044 if mkdir -p . 2>/dev/null; then
98045 as_mkdir_p=:
98046 else
98047 test -d ./-p && rmdir ./-p
98048 as_mkdir_p=false
98051 as_executable_p="test -f"
98053 # Sed expression to map a string onto a valid CPP name.
98054 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98056 # Sed expression to map a string onto a valid variable name.
98057 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98060 # IFS
98061 # We need space, tab and new line, in precisely that order.
98062 as_nl='
98064 IFS=" $as_nl"
98066 # CDPATH.
98067 $as_unset CDPATH
98069 exec 6>&1
98071 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98072 # report actual input values of CONFIG_FILES etc. instead of their
98073 # values after options handling. Logging --version etc. is OK.
98074 exec 5>>config.log
98076 echo
98077 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98078 ## Running $as_me. ##
98079 _ASBOX
98080 } >&5
98081 cat >&5 <<_CSEOF
98083 This file was extended by package-unused $as_me version-unused, which was
98084 generated by GNU Autoconf 2.59. Invocation command line was
98086 CONFIG_FILES = $CONFIG_FILES
98087 CONFIG_HEADERS = $CONFIG_HEADERS
98088 CONFIG_LINKS = $CONFIG_LINKS
98089 CONFIG_COMMANDS = $CONFIG_COMMANDS
98090 $ $0 $@
98092 _CSEOF
98093 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98094 echo >&5
98095 _ACEOF
98097 # Files that config.status was made for.
98098 if test -n "$ac_config_files"; then
98099 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98102 if test -n "$ac_config_headers"; then
98103 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98106 if test -n "$ac_config_links"; then
98107 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98110 if test -n "$ac_config_commands"; then
98111 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98114 cat >>$CONFIG_STATUS <<\_ACEOF
98116 ac_cs_usage="\
98117 \`$as_me' instantiates files from templates according to the
98118 current configuration.
98120 Usage: $0 [OPTIONS] [FILE]...
98122 -h, --help print this help, then exit
98123 -V, --version print version number, then exit
98124 -q, --quiet do not print progress messages
98125 -d, --debug don't remove temporary files
98126 --recheck update $as_me by reconfiguring in the same conditions
98127 --file=FILE[:TEMPLATE]
98128 instantiate the configuration file FILE
98129 --header=FILE[:TEMPLATE]
98130 instantiate the configuration header FILE
98132 Configuration files:
98133 $config_files
98135 Configuration headers:
98136 $config_headers
98138 Configuration commands:
98139 $config_commands
98141 Report bugs to <bug-autoconf@gnu.org>."
98142 _ACEOF
98144 cat >>$CONFIG_STATUS <<_ACEOF
98145 ac_cs_version="\\
98146 package-unused config.status version-unused
98147 configured by $0, generated by GNU Autoconf 2.59,
98148 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98150 Copyright (C) 2003 Free Software Foundation, Inc.
98151 This config.status script is free software; the Free Software Foundation
98152 gives unlimited permission to copy, distribute and modify it."
98153 srcdir=$srcdir
98154 INSTALL="$INSTALL"
98155 _ACEOF
98157 cat >>$CONFIG_STATUS <<\_ACEOF
98158 # If no file are specified by the user, then we need to provide default
98159 # value. By we need to know if files were specified by the user.
98160 ac_need_defaults=:
98161 while test $# != 0
98163 case $1 in
98164 --*=*)
98165 ac_option=`expr "x$1" : 'x\([^=]*\)='`
98166 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98167 ac_shift=:
98170 ac_option=$1
98171 ac_optarg=$2
98172 ac_shift=shift
98174 *) # This is not an option, so the user has probably given explicit
98175 # arguments.
98176 ac_option=$1
98177 ac_need_defaults=false;;
98178 esac
98180 case $ac_option in
98181 # Handling of the options.
98182 _ACEOF
98183 cat >>$CONFIG_STATUS <<\_ACEOF
98184 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98185 ac_cs_recheck=: ;;
98186 --version | --vers* | -V )
98187 echo "$ac_cs_version"; exit 0 ;;
98188 --he | --h)
98189 # Conflict between --help and --header
98190 { { echo "$as_me:$LINENO: error: ambiguous option: $1
98191 Try \`$0 --help' for more information." >&5
98192 echo "$as_me: error: ambiguous option: $1
98193 Try \`$0 --help' for more information." >&2;}
98194 { (exit 1); exit 1; }; };;
98195 --help | --hel | -h )
98196 echo "$ac_cs_usage"; exit 0 ;;
98197 --debug | --d* | -d )
98198 debug=: ;;
98199 --file | --fil | --fi | --f )
98200 $ac_shift
98201 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98202 ac_need_defaults=false;;
98203 --header | --heade | --head | --hea )
98204 $ac_shift
98205 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98206 ac_need_defaults=false;;
98207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98208 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98209 ac_cs_silent=: ;;
98211 # This is an error.
98212 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98213 Try \`$0 --help' for more information." >&5
98214 echo "$as_me: error: unrecognized option: $1
98215 Try \`$0 --help' for more information." >&2;}
98216 { (exit 1); exit 1; }; } ;;
98218 *) ac_config_targets="$ac_config_targets $1" ;;
98220 esac
98221 shift
98222 done
98224 ac_configure_extra_args=
98226 if $ac_cs_silent; then
98227 exec 6>/dev/null
98228 ac_configure_extra_args="$ac_configure_extra_args --silent"
98231 _ACEOF
98232 cat >>$CONFIG_STATUS <<_ACEOF
98233 if \$ac_cs_recheck; then
98234 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98235 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98238 _ACEOF
98240 cat >>$CONFIG_STATUS <<_ACEOF
98242 # INIT-COMMANDS section.
98246 srcdir="$srcdir"
98247 host="$host"
98248 target="$target"
98249 with_multisubdir="$with_multisubdir"
98250 with_multisrctop="$with_multisrctop"
98251 with_target_subdir="$with_target_subdir"
98252 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98253 multi_basedir="$multi_basedir"
98254 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98255 CC="$CC"
98257 # Variables needed in config.status (file generation) which aren't already
98258 # passed by autoconf.
98259 SUBDIRS="$SUBDIRS"
98262 _ACEOF
98266 cat >>$CONFIG_STATUS <<\_ACEOF
98267 for ac_config_target in $ac_config_targets
98269 case "$ac_config_target" in
98270 # Handling of arguments.
98271 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98272 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98273 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98274 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98275 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98276 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98277 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98278 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98279 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98280 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98281 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98282 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98283 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98284 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98285 { (exit 1); exit 1; }; };;
98286 esac
98287 done
98289 # If the user did not use the arguments to specify the items to instantiate,
98290 # then the envvar interface is used. Set only those that are not.
98291 # We use the long form for the default assignment because of an extremely
98292 # bizarre bug on SunOS 4.1.3.
98293 if $ac_need_defaults; then
98294 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98295 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98296 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98299 # Have a temporary directory for convenience. Make it in the build tree
98300 # simply because there is no reason to put it here, and in addition,
98301 # creating and moving files from /tmp can sometimes cause problems.
98302 # Create a temporary directory, and hook for its removal unless debugging.
98303 $debug ||
98305 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98306 trap '{ (exit 1); exit 1; }' 1 2 13 15
98309 # Create a (secure) tmp directory for tmp files.
98312 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98313 test -n "$tmp" && test -d "$tmp"
98314 } ||
98316 tmp=./confstat$$-$RANDOM
98317 (umask 077 && mkdir $tmp)
98318 } ||
98320 echo "$me: cannot create a temporary directory in ." >&2
98321 { (exit 1); exit 1; }
98324 _ACEOF
98326 cat >>$CONFIG_STATUS <<_ACEOF
98329 # CONFIG_FILES section.
98332 # No need to generate the scripts if there are no CONFIG_FILES.
98333 # This happens for instance when ./config.status config.h
98334 if test -n "\$CONFIG_FILES"; then
98335 # Protect against being on the right side of a sed subst in config.status.
98336 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98337 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98338 s,@SHELL@,$SHELL,;t t
98339 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98340 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98341 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98342 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98343 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98344 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98345 s,@exec_prefix@,$exec_prefix,;t t
98346 s,@prefix@,$prefix,;t t
98347 s,@program_transform_name@,$program_transform_name,;t t
98348 s,@bindir@,$bindir,;t t
98349 s,@sbindir@,$sbindir,;t t
98350 s,@libexecdir@,$libexecdir,;t t
98351 s,@datadir@,$datadir,;t t
98352 s,@sysconfdir@,$sysconfdir,;t t
98353 s,@sharedstatedir@,$sharedstatedir,;t t
98354 s,@localstatedir@,$localstatedir,;t t
98355 s,@libdir@,$libdir,;t t
98356 s,@includedir@,$includedir,;t t
98357 s,@oldincludedir@,$oldincludedir,;t t
98358 s,@infodir@,$infodir,;t t
98359 s,@mandir@,$mandir,;t t
98360 s,@build_alias@,$build_alias,;t t
98361 s,@host_alias@,$host_alias,;t t
98362 s,@target_alias@,$target_alias,;t t
98363 s,@DEFS@,$DEFS,;t t
98364 s,@ECHO_C@,$ECHO_C,;t t
98365 s,@ECHO_N@,$ECHO_N,;t t
98366 s,@ECHO_T@,$ECHO_T,;t t
98367 s,@LIBS@,$LIBS,;t t
98368 s,@libtool_VERSION@,$libtool_VERSION,;t t
98369 s,@multi_basedir@,$multi_basedir,;t t
98370 s,@build@,$build,;t t
98371 s,@build_cpu@,$build_cpu,;t t
98372 s,@build_vendor@,$build_vendor,;t t
98373 s,@build_os@,$build_os,;t t
98374 s,@host@,$host,;t t
98375 s,@host_cpu@,$host_cpu,;t t
98376 s,@host_vendor@,$host_vendor,;t t
98377 s,@host_os@,$host_os,;t t
98378 s,@target@,$target,;t t
98379 s,@target_cpu@,$target_cpu,;t t
98380 s,@target_vendor@,$target_vendor,;t t
98381 s,@target_os@,$target_os,;t t
98382 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98383 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98384 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98385 s,@CYGPATH_W@,$CYGPATH_W,;t t
98386 s,@PACKAGE@,$PACKAGE,;t t
98387 s,@VERSION@,$VERSION,;t t
98388 s,@ACLOCAL@,$ACLOCAL,;t t
98389 s,@AUTOCONF@,$AUTOCONF,;t t
98390 s,@AUTOMAKE@,$AUTOMAKE,;t t
98391 s,@AUTOHEADER@,$AUTOHEADER,;t t
98392 s,@MAKEINFO@,$MAKEINFO,;t t
98393 s,@install_sh@,$install_sh,;t t
98394 s,@STRIP@,$STRIP,;t t
98395 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98396 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98397 s,@mkdir_p@,$mkdir_p,;t t
98398 s,@AWK@,$AWK,;t t
98399 s,@SET_MAKE@,$SET_MAKE,;t t
98400 s,@am__leading_dot@,$am__leading_dot,;t t
98401 s,@AMTAR@,$AMTAR,;t t
98402 s,@am__tar@,$am__tar,;t t
98403 s,@am__untar@,$am__untar,;t t
98404 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98405 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98406 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98407 s,@CC@,$CC,;t t
98408 s,@ac_ct_CC@,$ac_ct_CC,;t t
98409 s,@EXEEXT@,$EXEEXT,;t t
98410 s,@OBJEXT@,$OBJEXT,;t t
98411 s,@CXX@,$CXX,;t t
98412 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98413 s,@CFLAGS@,$CFLAGS,;t t
98414 s,@CXXFLAGS@,$CXXFLAGS,;t t
98415 s,@LN_S@,$LN_S,;t t
98416 s,@AS@,$AS,;t t
98417 s,@ac_ct_AS@,$ac_ct_AS,;t t
98418 s,@AR@,$AR,;t t
98419 s,@ac_ct_AR@,$ac_ct_AR,;t t
98420 s,@RANLIB@,$RANLIB,;t t
98421 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98422 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98423 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98424 s,@MAINT@,$MAINT,;t t
98425 s,@LIBTOOL@,$LIBTOOL,;t t
98426 s,@CXXCPP@,$CXXCPP,;t t
98427 s,@CPPFLAGS@,$CPPFLAGS,;t t
98428 s,@enable_shared@,$enable_shared,;t t
98429 s,@enable_static@,$enable_static,;t t
98430 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98431 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98432 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98433 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98434 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98435 s,@CSTDIO_H@,$CSTDIO_H,;t t
98436 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98437 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98438 s,@CPP@,$CPP,;t t
98439 s,@EGREP@,$EGREP,;t t
98440 s,@check_msgfmt@,$check_msgfmt,;t t
98441 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98442 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98443 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98444 s,@USE_NLS@,$USE_NLS,;t t
98445 s,@CLOCALE_H@,$CLOCALE_H,;t t
98446 s,@CCODECVT_H@,$CCODECVT_H,;t t
98447 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98448 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98449 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98450 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98451 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98452 s,@CMONEY_CC@,$CMONEY_CC,;t t
98453 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98454 s,@CTIME_H@,$CTIME_H,;t t
98455 s,@CTIME_CC@,$CTIME_CC,;t t
98456 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98457 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98458 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98459 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98460 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98461 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98462 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98463 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98464 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98465 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98466 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98467 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98468 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98469 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98470 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98471 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98472 s,@WERROR@,$WERROR,;t t
98473 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98474 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98475 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98476 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98477 s,@LIBICONV@,$LIBICONV,;t t
98478 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98479 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98480 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98481 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98482 s,@baseline_dir@,$baseline_dir,;t t
98483 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98484 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98485 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98486 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98487 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98488 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98489 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98490 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98491 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98492 s,@gxx_include_dir@,$gxx_include_dir,;t t
98493 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98494 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98495 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98496 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98497 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98498 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98499 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98500 s,@LIBOBJS@,$LIBOBJS,;t t
98501 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98502 CEOF
98504 _ACEOF
98506 cat >>$CONFIG_STATUS <<\_ACEOF
98507 # Split the substitutions into bite-sized pieces for seds with
98508 # small command number limits, like on Digital OSF/1 and HP-UX.
98509 ac_max_sed_lines=48
98510 ac_sed_frag=1 # Number of current file.
98511 ac_beg=1 # First line for current file.
98512 ac_end=$ac_max_sed_lines # Line after last line for current file.
98513 ac_more_lines=:
98514 ac_sed_cmds=
98515 while $ac_more_lines; do
98516 if test $ac_beg -gt 1; then
98517 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98518 else
98519 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98521 if test ! -s $tmp/subs.frag; then
98522 ac_more_lines=false
98523 else
98524 # The purpose of the label and of the branching condition is to
98525 # speed up the sed processing (if there are no `@' at all, there
98526 # is no need to browse any of the substitutions).
98527 # These are the two extra sed commands mentioned above.
98528 (echo ':t
98529 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98530 if test -z "$ac_sed_cmds"; then
98531 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98532 else
98533 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98535 ac_sed_frag=`expr $ac_sed_frag + 1`
98536 ac_beg=$ac_end
98537 ac_end=`expr $ac_end + $ac_max_sed_lines`
98539 done
98540 if test -z "$ac_sed_cmds"; then
98541 ac_sed_cmds=cat
98543 fi # test -n "$CONFIG_FILES"
98545 _ACEOF
98546 cat >>$CONFIG_STATUS <<\_ACEOF
98547 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98548 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98549 case $ac_file in
98550 - | *:- | *:-:* ) # input from stdin
98551 cat >$tmp/stdin
98552 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98553 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98554 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98555 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98556 * ) ac_file_in=$ac_file.in ;;
98557 esac
98559 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98560 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98561 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98562 X"$ac_file" : 'X\(//\)[^/]' \| \
98563 X"$ac_file" : 'X\(//\)$' \| \
98564 X"$ac_file" : 'X\(/\)' \| \
98565 . : '\(.\)' 2>/dev/null ||
98566 echo X"$ac_file" |
98567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98569 /^X\(\/\/\)$/{ s//\1/; q; }
98570 /^X\(\/\).*/{ s//\1/; q; }
98571 s/.*/./; q'`
98572 { if $as_mkdir_p; then
98573 mkdir -p "$ac_dir"
98574 else
98575 as_dir="$ac_dir"
98576 as_dirs=
98577 while test ! -d "$as_dir"; do
98578 as_dirs="$as_dir $as_dirs"
98579 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98581 X"$as_dir" : 'X\(//\)[^/]' \| \
98582 X"$as_dir" : 'X\(//\)$' \| \
98583 X"$as_dir" : 'X\(/\)' \| \
98584 . : '\(.\)' 2>/dev/null ||
98585 echo X"$as_dir" |
98586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98588 /^X\(\/\/\)$/{ s//\1/; q; }
98589 /^X\(\/\).*/{ s//\1/; q; }
98590 s/.*/./; q'`
98591 done
98592 test ! -n "$as_dirs" || mkdir $as_dirs
98593 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98594 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98595 { (exit 1); exit 1; }; }; }
98597 ac_builddir=.
98599 if test "$ac_dir" != .; then
98600 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98601 # A "../" for each directory in $ac_dir_suffix.
98602 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98603 else
98604 ac_dir_suffix= ac_top_builddir=
98607 case $srcdir in
98608 .) # No --srcdir option. We are building in place.
98609 ac_srcdir=.
98610 if test -z "$ac_top_builddir"; then
98611 ac_top_srcdir=.
98612 else
98613 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98614 fi ;;
98615 [\\/]* | ?:[\\/]* ) # Absolute path.
98616 ac_srcdir=$srcdir$ac_dir_suffix;
98617 ac_top_srcdir=$srcdir ;;
98618 *) # Relative path.
98619 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98620 ac_top_srcdir=$ac_top_builddir$srcdir ;;
98621 esac
98623 # Do not use `cd foo && pwd` to compute absolute paths, because
98624 # the directories may not exist.
98625 case `pwd` in
98626 .) ac_abs_builddir="$ac_dir";;
98628 case "$ac_dir" in
98629 .) ac_abs_builddir=`pwd`;;
98630 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98631 *) ac_abs_builddir=`pwd`/"$ac_dir";;
98632 esac;;
98633 esac
98634 case $ac_abs_builddir in
98635 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98637 case ${ac_top_builddir}. in
98638 .) ac_abs_top_builddir=$ac_abs_builddir;;
98639 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98640 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98641 esac;;
98642 esac
98643 case $ac_abs_builddir in
98644 .) ac_abs_srcdir=$ac_srcdir;;
98646 case $ac_srcdir in
98647 .) ac_abs_srcdir=$ac_abs_builddir;;
98648 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98649 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98650 esac;;
98651 esac
98652 case $ac_abs_builddir in
98653 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98655 case $ac_top_srcdir in
98656 .) ac_abs_top_srcdir=$ac_abs_builddir;;
98657 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98658 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98659 esac;;
98660 esac
98663 case $INSTALL in
98664 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98665 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98666 esac
98668 if test x"$ac_file" != x-; then
98669 { echo "$as_me:$LINENO: creating $ac_file" >&5
98670 echo "$as_me: creating $ac_file" >&6;}
98671 rm -f "$ac_file"
98673 # Let's still pretend it is `configure' which instantiates (i.e., don't
98674 # use $as_me), people would be surprised to read:
98675 # /* config.h. Generated by config.status. */
98676 if test x"$ac_file" = x-; then
98677 configure_input=
98678 else
98679 configure_input="$ac_file. "
98681 configure_input=$configure_input"Generated from `echo $ac_file_in |
98682 sed 's,.*/,,'` by configure."
98684 # First look for the input files in the build tree, otherwise in the
98685 # src tree.
98686 ac_file_inputs=`IFS=:
98687 for f in $ac_file_in; do
98688 case $f in
98689 -) echo $tmp/stdin ;;
98690 [\\/$]*)
98691 # Absolute (can't be DOS-style, as IFS=:)
98692 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98693 echo "$as_me: error: cannot find input file: $f" >&2;}
98694 { (exit 1); exit 1; }; }
98695 echo "$f";;
98696 *) # Relative
98697 if test -f "$f"; then
98698 # Build tree
98699 echo "$f"
98700 elif test -f "$srcdir/$f"; then
98701 # Source tree
98702 echo "$srcdir/$f"
98703 else
98704 # /dev/null tree
98705 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98706 echo "$as_me: error: cannot find input file: $f" >&2;}
98707 { (exit 1); exit 1; }; }
98708 fi;;
98709 esac
98710 done` || { (exit 1); exit 1; }
98711 _ACEOF
98712 cat >>$CONFIG_STATUS <<_ACEOF
98713 sed "$ac_vpsub
98714 $extrasub
98715 _ACEOF
98716 cat >>$CONFIG_STATUS <<\_ACEOF
98718 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98719 s,@configure_input@,$configure_input,;t t
98720 s,@srcdir@,$ac_srcdir,;t t
98721 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98722 s,@top_srcdir@,$ac_top_srcdir,;t t
98723 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98724 s,@builddir@,$ac_builddir,;t t
98725 s,@abs_builddir@,$ac_abs_builddir,;t t
98726 s,@top_builddir@,$ac_top_builddir,;t t
98727 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98728 s,@INSTALL@,$ac_INSTALL,;t t
98729 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98730 rm -f $tmp/stdin
98731 if test x"$ac_file" != x-; then
98732 mv $tmp/out $ac_file
98733 else
98734 cat $tmp/out
98735 rm -f $tmp/out
98738 # Run the commands associated with the file.
98739 case $ac_file in
98740 scripts/check_survey ) chmod +x scripts/check_survey ;;
98741 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98742 esac
98743 done
98744 _ACEOF
98745 cat >>$CONFIG_STATUS <<\_ACEOF
98748 # CONFIG_HEADER section.
98751 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98752 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98754 # ac_d sets the value in "#define NAME VALUE" lines.
98755 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
98756 ac_dB='[ ].*$,\1#\2'
98757 ac_dC=' '
98758 ac_dD=',;t'
98759 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98760 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
98761 ac_uB='$,\1#\2define\3'
98762 ac_uC=' '
98763 ac_uD=',;t'
98765 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98766 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98767 case $ac_file in
98768 - | *:- | *:-:* ) # input from stdin
98769 cat >$tmp/stdin
98770 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98771 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98772 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98773 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98774 * ) ac_file_in=$ac_file.in ;;
98775 esac
98777 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98778 echo "$as_me: creating $ac_file" >&6;}
98780 # First look for the input files in the build tree, otherwise in the
98781 # src tree.
98782 ac_file_inputs=`IFS=:
98783 for f in $ac_file_in; do
98784 case $f in
98785 -) echo $tmp/stdin ;;
98786 [\\/$]*)
98787 # Absolute (can't be DOS-style, as IFS=:)
98788 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98789 echo "$as_me: error: cannot find input file: $f" >&2;}
98790 { (exit 1); exit 1; }; }
98791 # Do quote $f, to prevent DOS paths from being IFS'd.
98792 echo "$f";;
98793 *) # Relative
98794 if test -f "$f"; then
98795 # Build tree
98796 echo "$f"
98797 elif test -f "$srcdir/$f"; then
98798 # Source tree
98799 echo "$srcdir/$f"
98800 else
98801 # /dev/null tree
98802 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98803 echo "$as_me: error: cannot find input file: $f" >&2;}
98804 { (exit 1); exit 1; }; }
98805 fi;;
98806 esac
98807 done` || { (exit 1); exit 1; }
98808 # Remove the trailing spaces.
98809 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
98811 _ACEOF
98813 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98814 # `conftest.undefs', that substitutes the proper values into
98815 # config.h.in to produce config.h. The first handles `#define'
98816 # templates, and the second `#undef' templates.
98817 # And first: Protect against being on the right side of a sed subst in
98818 # config.status. Protect against being in an unquoted here document
98819 # in config.status.
98820 rm -f conftest.defines conftest.undefs
98821 # Using a here document instead of a string reduces the quoting nightmare.
98822 # Putting comments in sed scripts is not portable.
98824 # `end' is used to avoid that the second main sed command (meant for
98825 # 0-ary CPP macros) applies to n-ary macro definitions.
98826 # See the Autoconf documentation for `clear'.
98827 cat >confdef2sed.sed <<\_ACEOF
98828 s/[\\&,]/\\&/g
98829 s,[\\$`],\\&,g
98830 t clear
98831 : clear
98832 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98833 t end
98834 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98835 : end
98836 _ACEOF
98837 # If some macros were called several times there might be several times
98838 # the same #defines, which is useless. Nevertheless, we may not want to
98839 # sort them, since we want the *last* AC-DEFINE to be honored.
98840 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98841 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98842 rm -f confdef2sed.sed
98844 # This sed command replaces #undef with comments. This is necessary, for
98845 # example, in the case of _POSIX_SOURCE, which is predefined and required
98846 # on some systems where configure will not decide to define it.
98847 cat >>conftest.undefs <<\_ACEOF
98848 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98849 _ACEOF
98851 # Break up conftest.defines because some shells have a limit on the size
98852 # of here documents, and old seds have small limits too (100 cmds).
98853 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98854 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98855 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98856 echo ' :' >>$CONFIG_STATUS
98857 rm -f conftest.tail
98858 while grep . conftest.defines >/dev/null
98860 # Write a limited-size here document to $tmp/defines.sed.
98861 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98862 # Speed up: don't consider the non `#define' lines.
98863 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
98864 # Work around the forget-to-reset-the-flag bug.
98865 echo 't clr' >>$CONFIG_STATUS
98866 echo ': clr' >>$CONFIG_STATUS
98867 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98868 echo 'CEOF
98869 sed -f $tmp/defines.sed $tmp/in >$tmp/out
98870 rm -f $tmp/in
98871 mv $tmp/out $tmp/in
98872 ' >>$CONFIG_STATUS
98873 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98874 rm -f conftest.defines
98875 mv conftest.tail conftest.defines
98876 done
98877 rm -f conftest.defines
98878 echo ' fi # grep' >>$CONFIG_STATUS
98879 echo >>$CONFIG_STATUS
98881 # Break up conftest.undefs because some shells have a limit on the size
98882 # of here documents, and old seds have small limits too (100 cmds).
98883 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
98884 rm -f conftest.tail
98885 while grep . conftest.undefs >/dev/null
98887 # Write a limited-size here document to $tmp/undefs.sed.
98888 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98889 # Speed up: don't consider the non `#undef'
98890 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
98891 # Work around the forget-to-reset-the-flag bug.
98892 echo 't clr' >>$CONFIG_STATUS
98893 echo ': clr' >>$CONFIG_STATUS
98894 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98895 echo 'CEOF
98896 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98897 rm -f $tmp/in
98898 mv $tmp/out $tmp/in
98899 ' >>$CONFIG_STATUS
98900 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98901 rm -f conftest.undefs
98902 mv conftest.tail conftest.undefs
98903 done
98904 rm -f conftest.undefs
98906 cat >>$CONFIG_STATUS <<\_ACEOF
98907 # Let's still pretend it is `configure' which instantiates (i.e., don't
98908 # use $as_me), people would be surprised to read:
98909 # /* config.h. Generated by config.status. */
98910 if test x"$ac_file" = x-; then
98911 echo "/* Generated by configure. */" >$tmp/config.h
98912 else
98913 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
98915 cat $tmp/in >>$tmp/config.h
98916 rm -f $tmp/in
98917 if test x"$ac_file" != x-; then
98918 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98919 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98920 echo "$as_me: $ac_file is unchanged" >&6;}
98921 else
98922 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98923 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98924 X"$ac_file" : 'X\(//\)[^/]' \| \
98925 X"$ac_file" : 'X\(//\)$' \| \
98926 X"$ac_file" : 'X\(/\)' \| \
98927 . : '\(.\)' 2>/dev/null ||
98928 echo X"$ac_file" |
98929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98931 /^X\(\/\/\)$/{ s//\1/; q; }
98932 /^X\(\/\).*/{ s//\1/; q; }
98933 s/.*/./; q'`
98934 { if $as_mkdir_p; then
98935 mkdir -p "$ac_dir"
98936 else
98937 as_dir="$ac_dir"
98938 as_dirs=
98939 while test ! -d "$as_dir"; do
98940 as_dirs="$as_dir $as_dirs"
98941 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98943 X"$as_dir" : 'X\(//\)[^/]' \| \
98944 X"$as_dir" : 'X\(//\)$' \| \
98945 X"$as_dir" : 'X\(/\)' \| \
98946 . : '\(.\)' 2>/dev/null ||
98947 echo X"$as_dir" |
98948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98949 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98950 /^X\(\/\/\)$/{ s//\1/; q; }
98951 /^X\(\/\).*/{ s//\1/; q; }
98952 s/.*/./; q'`
98953 done
98954 test ! -n "$as_dirs" || mkdir $as_dirs
98955 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98956 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98957 { (exit 1); exit 1; }; }; }
98959 rm -f $ac_file
98960 mv $tmp/config.h $ac_file
98962 else
98963 cat $tmp/config.h
98964 rm -f $tmp/config.h
98966 # Compute $ac_file's index in $config_headers.
98967 _am_stamp_count=1
98968 for _am_header in $config_headers :; do
98969 case $_am_header in
98970 $ac_file | $ac_file:* )
98971 break ;;
98973 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
98974 esac
98975 done
98976 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
98977 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98978 X$ac_file : 'X\(//\)[^/]' \| \
98979 X$ac_file : 'X\(//\)$' \| \
98980 X$ac_file : 'X\(/\)' \| \
98981 . : '\(.\)' 2>/dev/null ||
98982 echo X$ac_file |
98983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98985 /^X\(\/\/\)$/{ s//\1/; q; }
98986 /^X\(\/\).*/{ s//\1/; q; }
98987 s/.*/./; q'`/stamp-h$_am_stamp_count
98988 done
98989 _ACEOF
98990 cat >>$CONFIG_STATUS <<\_ACEOF
98993 # CONFIG_COMMANDS section.
98995 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
98996 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
98997 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
98998 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
98999 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99000 X"$ac_dest" : 'X\(//\)[^/]' \| \
99001 X"$ac_dest" : 'X\(//\)$' \| \
99002 X"$ac_dest" : 'X\(/\)' \| \
99003 . : '\(.\)' 2>/dev/null ||
99004 echo X"$ac_dest" |
99005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99007 /^X\(\/\/\)$/{ s//\1/; q; }
99008 /^X\(\/\).*/{ s//\1/; q; }
99009 s/.*/./; q'`
99010 { if $as_mkdir_p; then
99011 mkdir -p "$ac_dir"
99012 else
99013 as_dir="$ac_dir"
99014 as_dirs=
99015 while test ! -d "$as_dir"; do
99016 as_dirs="$as_dir $as_dirs"
99017 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99019 X"$as_dir" : 'X\(//\)[^/]' \| \
99020 X"$as_dir" : 'X\(//\)$' \| \
99021 X"$as_dir" : 'X\(/\)' \| \
99022 . : '\(.\)' 2>/dev/null ||
99023 echo X"$as_dir" |
99024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99026 /^X\(\/\/\)$/{ s//\1/; q; }
99027 /^X\(\/\).*/{ s//\1/; q; }
99028 s/.*/./; q'`
99029 done
99030 test ! -n "$as_dirs" || mkdir $as_dirs
99031 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99032 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99033 { (exit 1); exit 1; }; }; }
99035 ac_builddir=.
99037 if test "$ac_dir" != .; then
99038 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99039 # A "../" for each directory in $ac_dir_suffix.
99040 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99041 else
99042 ac_dir_suffix= ac_top_builddir=
99045 case $srcdir in
99046 .) # No --srcdir option. We are building in place.
99047 ac_srcdir=.
99048 if test -z "$ac_top_builddir"; then
99049 ac_top_srcdir=.
99050 else
99051 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99052 fi ;;
99053 [\\/]* | ?:[\\/]* ) # Absolute path.
99054 ac_srcdir=$srcdir$ac_dir_suffix;
99055 ac_top_srcdir=$srcdir ;;
99056 *) # Relative path.
99057 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99058 ac_top_srcdir=$ac_top_builddir$srcdir ;;
99059 esac
99061 # Do not use `cd foo && pwd` to compute absolute paths, because
99062 # the directories may not exist.
99063 case `pwd` in
99064 .) ac_abs_builddir="$ac_dir";;
99066 case "$ac_dir" in
99067 .) ac_abs_builddir=`pwd`;;
99068 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99069 *) ac_abs_builddir=`pwd`/"$ac_dir";;
99070 esac;;
99071 esac
99072 case $ac_abs_builddir in
99073 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99075 case ${ac_top_builddir}. in
99076 .) ac_abs_top_builddir=$ac_abs_builddir;;
99077 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99078 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99079 esac;;
99080 esac
99081 case $ac_abs_builddir in
99082 .) ac_abs_srcdir=$ac_srcdir;;
99084 case $ac_srcdir in
99085 .) ac_abs_srcdir=$ac_abs_builddir;;
99086 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99087 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99088 esac;;
99089 esac
99090 case $ac_abs_builddir in
99091 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99093 case $ac_top_srcdir in
99094 .) ac_abs_top_srcdir=$ac_abs_builddir;;
99095 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99096 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99097 esac;;
99098 esac
99101 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99102 echo "$as_me: executing $ac_dest commands" >&6;}
99103 case $ac_dest in
99104 default-1 )
99105 # Only add multilib support code if we just rebuilt the top-level
99106 # Makefile.
99107 case " $CONFIG_FILES " in
99108 *" Makefile "*)
99109 ac_file=Makefile . ${multi_basedir}/config-ml.in
99111 esac ;;
99112 default ) if test -n "$CONFIG_FILES"; then
99113 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99114 # that multilib installs will end up installed in the correct place.
99115 # The testsuite needs it for multilib-aware ABI baseline files.
99116 # To work around this not being passed down from config-ml.in ->
99117 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99118 # append it here. Only modify Makefiles that have just been created.
99120 # Also, get rid of this simulated-VPATH thing that automake does.
99121 cat > vpsed << \_EOF
99122 s!`test -f '$<' || echo '$(srcdir)/'`!!
99123 _EOF
99124 for i in $SUBDIRS; do
99125 case $CONFIG_FILES in
99126 *${i}/Makefile*)
99127 #echo "Adding MULTISUBDIR to $i/Makefile"
99128 sed -f vpsed $i/Makefile > tmp
99129 grep '^MULTISUBDIR =' Makefile >> tmp
99130 mv tmp $i/Makefile
99132 esac
99133 done
99134 rm vpsed
99136 (cd include && ${MAKE-make})
99138 esac
99139 done
99140 _ACEOF
99142 cat >>$CONFIG_STATUS <<\_ACEOF
99144 { (exit 0); exit 0; }
99145 _ACEOF
99146 chmod +x $CONFIG_STATUS
99147 ac_clean_files=$ac_clean_files_save
99150 # configure is writing to config.log, and then calls config.status.
99151 # config.status does its own redirection, appending to config.log.
99152 # Unfortunately, on DOS this fails, as config.log is still kept open
99153 # by configure, so config.status won't be able to write to it; its
99154 # output is simply discarded. So we exec the FD to /dev/null,
99155 # effectively closing config.log, so it can be properly (re)opened and
99156 # appended to by config.status. When coming back to configure, we
99157 # need to make the FD available again.
99158 if test "$no_create" != yes; then
99159 ac_cs_success=:
99160 ac_config_status_args=
99161 test "$silent" = yes &&
99162 ac_config_status_args="$ac_config_status_args --quiet"
99163 exec 5>/dev/null
99164 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99165 exec 5>>config.log
99166 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99167 # would make configure fail if this is the last instruction.
99168 $ac_cs_success || { (exit 1); exit 1; }